function openpopup(popurl,info,options){ winpops=window.open(popurl,info,options) } function setCookie(NameOfCookie, value, expiredays, path, domain, secure) { var ExpireDate = new Date(); ExpireDate.setTime(ExpireDate.getTime() + (expiredays*24*3600*1000)); document.cookie = NameOfCookie +"="+ escape(value) + ((expiredays == null)? "": ";expires="+ ExpireDate.toGMTString()) + ((path == null)? "": (";path=/")) + ((domain == null) ? "" : (";domain=" + domein)) + ((secure == true) ?";secure":""); } function getCookie(NameOfCookie) { if(document.cookie.length > 0) { begin = document.cookie.indexOf(NameOfCookie+"="); if(begin != -1) { begin += NameOfCookie.length + 1; end = document.cookie.indexOf(";",begin); if(end == -1) end = document.cookie.length; return unescape(document.cookie.substring(begin,end)); } } return null; } intro = getCookie("intro"); seite_type =getCookie("seite"); //alert(seite_type); if(seite_type == null) { setCookie("seite","xxx",30); } var ie4 = (document.all) ? true : false; var ns4 = (document.layers) ? true : false; var ns6 = (document.getElementById && !document.all) ? true : false; function hidelayer(lay) { if (ie4) {document.all[lay].style.visibility = "hidden";} if (ns4) {document.layers[lay].visibility = "hide";} if (ns6) {document.getElementById([lay]).style.visibility = "hidden";} } var div_space = new Array(23,198,316,410,529); var noflash =(!FlashPlugin5 && !FlashPlugin6) ? true : false; var flash =(FlashPlugin5 || FlashPlugin6) ? true : false; function showlayer(lay) { if(lay){ if(window.current!=lay){ if(window.current)hidelayer(window.current); window.current=lay; if( window.noflash || seite_type=="html") {document["nav"].src= window.nav_slice[lay].src; } if(!window.FlashPlugin6 || seite_type=="html" ){ window.clearTimeout(window.active); if (ie4) {document.all[lay].style.visibility = "visible"; document["headimg"].src= window.nav_head[lay].src; document.getElementById("headbg").className = lay + 'bg' ; } if (ns4) {document.layers[lay].visibility = "show";} if (ns6) {document.getElementById([lay]).style.visibility = "visible"; document["headimg"].src= window.nav_head[lay].src; document.getElementById("headbg").className } }} } } function resizeFix() { if (ns4) { if (window.innerWidth != origWidth || window.innerHeight != origHeight) { window.location.reload() } } }