/* fehlerbehandlung */
function stopError() {
return true;
}
window.onerror = stopError;

/* übergeordnete framesets */
if (window != window.top) {top.location.href = location.href;}

/* statusleiste */
window.defaultStatus = "Strassenmedizin - Onlineinfo der Autonomen Demosanis";

/* netscape 4.x erkennen */
/*if(document.layers) {
 document.writeln("<link rel='stylesheet' type='text/css' href='css/netscape.css' media='screen' /" + ">");
}*/

/* neuladen bei größenänderung (netscape) */
function reloadPage(init){
if (init==true) with (navigator) {if((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.pgW=window.innerWidth; document.pgH=window.innerHeight; }}
else if (window.innerWidth!=document.pgW||window.innerHeight!=document.pgH) {
document.location = document.location;
}
}
if(document.layers) {
reloadPage(true);
}

/* pop-up */
function popup(neu) {
info= window.open(neu, 'neu', 'height=250,width=200,top=200,left=200,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,titlebar=0,dependend');
info.focus();
}
