includes/clientside/static/functions.js
changeset 1200 0f94802001ee
parent 1129 d56a55a3011b
child 1227 bdac73ed481e
equal deleted inserted replaced
1198:3ec9ac297045 1200:0f94802001ee
   877 {
   877 {
   878   z = 0;
   878   z = 0;
   879   var divs = document.getElementsByTagName('div');
   879   var divs = document.getElementsByTagName('div');
   880   for(var i = 0; i < divs.length; i++)
   880   for(var i = 0; i < divs.length; i++)
   881   {
   881   {
   882     if(divs[i].style.zIndex > z && divs[i].style.display != 'none' && divs[i].innerHTML != '') z = divs[i].style.zIndex;
   882     if ( divs[i].style.zIndex > z && divs[i].style.display != 'none' )
       
   883       z = divs[i].style.zIndex;
   883   }
   884   }
   884   return parseInt(z);
   885   return parseInt(z);
   885 }
   886 }
   886 
   887 
   887 var shift = false;
   888 var shift = false;