var ie=document.all; // false, kui tegemist pole DOM standardit toetava brauseriga brauseriga. var dom=document.getElementById; // false, kui tegemist pole Netscape4.X brauseriga. var ns4=document.layers; document.write('
 
'); // This is a fix for one of the CSS warnings (2007-02-13) try { document.execCommand("BackgroundImageCache", false, true); } catch(err) {} var myimages = new Array(); var oldsrc = null; function preloadImgs(){ for (i=0;i< document.all.tags( elmID ).length; i++ ) { obj = document.all.tags( elmID )[i]; if( !obj || !obj.offsetParent ) { continue; } // Find the element's offsetTop and offsetLeft relative to the BODY tag. objLeft = obj.offsetLeft; objTop = obj.offsetTop; objParent = obj.offsetParent; while( objParent.tagName.toUpperCase() != "BODY" ) { objLeft += objParent.offsetLeft; objTop += objParent.offsetTop; objParent = objParent.offsetParent; if (objParent.tagName == "HTML") break; } objHeight = obj.offsetHeight; objWidth = obj.offsetWidth; if(( overDiv.offsetLeft + overDiv.offsetWidth ) <= objLeft ); else if(( overDiv.offsetTop + overDiv.offsetHeight ) <= objTop ); else if( overDiv.offsetTop >= ( objTop + objHeight )); else if( overDiv.offsetLeft >= ( objLeft + objWidth )); else { obj.style.visibility = "hidden"; } } } } /* * unhides