equal
deleted
inserted
replaced
366 var divs = new Array(); |
366 var divs = new Array(); |
367 d = document.getElementsByTagName('div'); |
367 d = document.getElementsByTagName('div'); |
368 j = 0; |
368 j = 0; |
369 for(var i in d) |
369 for(var i in d) |
370 { |
370 { |
|
371 if ( !d[i] ) |
|
372 continue; |
371 if ( !d[i].tagName ) |
373 if ( !d[i].tagName ) |
372 continue; |
374 continue; |
373 if(d[i].className=='info-box' || d[i].className=='error-box' || d[i].className=='warning-box' || d[i].className=='question-box') |
375 if(d[i].className=='info-box' || d[i].className=='error-box' || d[i].className=='warning-box' || d[i].className=='question-box') |
374 { |
376 { |
375 divs[j] = d[i]; |
377 divs[j] = d[i]; |