<!--   
// Fixes the infamous Netscape 4 resize bug; 
// Adapted by jon stephens from an unknown source 
// Copyleft 1998-99 -- use it, enjoy it, share the wealth :-)  
 
// ... function resizeFix() ... 
// This checks to see if the window's dimensions 
// have actually changed (because Netscape 4 often 
// fires a false Resize event when it forms 
// scrollbars); if they have, the document is reloaded. 
// Note that document.location is not 
// supposed to be settable, but here's yet 
// another case where the implementation does *not* 
// match the specs!   

function resizeFix(){ 
if(document.resizeFix.initWidth!=window.innerWidth ||document.resizeFix.initHeight!=window.innerHeight) document.location=document.location; 
}   

// ... function checkBrowser() ... 
// This function checks to see if the browser 
// supports the Layer object (i.e., Netscape 4.X); 
// if it does, then it creates a new object with 
// properties to hold the current window width & 
// height and assigns the resizeFix() function to 
// the window's onResize event.   

function checkBrowser(){ 
if(document.layers){ 
if(typeof document.resizeFix=="undefined"){ 
document.resizeFix=new Object(); document.resizeFix.initWidth=window.innerWidth; document.resizeFix.initHeight=window.innerHeight; 
} 
window.onresize=resizeFix; 
} 
}   

// This calls the browser check function above   
checkBrowser();   
//--> 
