IE4 = document.all ? true: false;
NS4 = document.layers ? true: false;

if(top.frames.length > 0)  top.location.href=self.location; //Frame-Buster
//if (NS4) window.resizeBy(-1,-1); //Verrenkung wegen Netscape-Bug bei Tabellendarstellung ;-)

function WM_netscapeCssFix() { 
if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth || document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight) 
{ document.location = document.location; } 
} 

function WM_netscapeCssFixCheckIn() { 
if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) { 
if (typeof document.WM == 'undefined'){ document.WM = new Object; } 
if (typeof document.WM.WM_scaleFont == 'undefined') { 
document.WM.WM_netscapeCssFix = new Object; 
document.WM.WM_netscapeCssFix.initWindowWidth = window.innerWidth; 
document.WM.WM_netscapeCssFix.initWindowHeight = window.innerHeight; } 
window.onresize = WM_netscapeCssFix; } 
} 

WM_netscapeCssFixCheckIn(); 

// catch all errors... 
function stopError() {return true;} 
window.onerror=stopError; 


function PopUp(url,name,w,h,params,mode)
{
 s = 'height='+h+',width='+w;
 if (params) s=s+','+params;
 W = window.open(url,name,s);
 W.moveTo(300,50);
}

