var msg1="Warnung: Ihr Computersystem bzw. Ihr Web-Browser ist veraltet";var msg2='Um Schaden von sich und dem Internet abzuwenden aktuallsieren Sie bitte umgehend Ihr System oder trennen Sie den Computer vom Netz. Aktuelle Updates für Microsoft Windows System erhalten Sie unter <a href="http://windowsupdate.microsoft.com"/>windowsupdate.microsoft.com</a>. Um unsere Website zu betrachten empfehlen wir Ihnen eine neuere Version Ihres Browsers oder einen anderen Web Browser zu benutzen. Sie können Sie auch aus der folgenden Liste einen neuen Browser wählen.';var msg3="Klicken Sie hier um diesen Hinweis auszublenden";var br1="Internet Explorer";var br2="Firefox";var br3="Safari";var br4="Opera";var br5="Chrome";var url1="http://www.microsoft.com/windows/Internet-explorer/default.aspx";var url2="http://www.mozilla.com/firefox/";var url3="http://www.apple.com/safari/download/";var url4="http://www.opera.com/download/";var url5="http://www.google.com/chrome";var imgPath;var BrowserDetect={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.searchOS()},searchString:function(d){for(var a=0;a<d.length;a++){var b=d[a].string;var c=d[a].prop;if(b){if(b.indexOf(d[a].subString)!=-1){this.browser_check=d[a];return d[a].identity}}else{if(c){return d[a].identity}}}},searchOS:function(){if(navigator.userAgent.indexOf("Windows NT 7.0")!=-1){this.OS="Windows";this.OS_Version="7.0";this.OS_Alias="7"}else{if(navigator.userAgent.indexOf("Windows NT 6.0")!=-1){this.OS="Windows";this.OS_Version="6.0";this.OS_Alias="Vista"}else{if(navigator.userAgent.indexOf("Windows NT 5.0")!=-1){this.OS="Windows";this.OS_Version="5.0";this.OS_Alias="XP"}else{if(navigator.userAgent.indexOf("Windows NT 4.0")!=-1){this.OS="Windows";this.OS_Version="4.0"}}}}},searchVersion:function(d){var c=this.browser_check;var a=c.versionSearch||c.identity;var b=d.indexOf(a);if(b==-1){return}return parseFloat(d.substring(b+a.length+1))},dataBrowser:[{string:navigator.userAgent,subString:"Chrome",identity:"Chrome"},{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Microsoft Internet Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],is_known_to_be_unsafe:function(){if(this.browser=="Microsoft Internet Explorer"){if(this.version<8){return true}}else{if(this.browser=="Firefox"){if(this.version<3.6){return true}}}return false},check:function(){if(this.is_known_to_be_unsafe()){this.warn()}else{return}},warn:function(){imgPath="/lib/js/warn_browser/";var d=document.getElementsByTagName("body")[0];var c=document.createElement("div");_pop='<div id="warning_pop" style="overflow:auto; z-index:500; width: 700px; height: 350px; position: absolute; top: 0px; left: 0px; background: none repeat scroll 0% 0% rgb(255, 255, 255); border: 1px solid rgb(204, 204, 204); list-style-type: none; color: rgb(79, 79, 79); font-size: 12px;" ><div style="margin:20px;position: relative;">';_pop+="<p>"+this.browser+" "+this.version+" "+this.OS+" "+this.OS_Alias+' </p><h1 style="display: block; font-size: 1.3em; color: rgb(51, 51, 51); font-family: Helvetica,Arial,sans-serif; font-weight: bold;">';_pop+=msg1;_pop+="</h1>";_pop+='<p style="margin-bottom: 1em;" >';_pop+=msg2;_pop+='</p><p onclick="close_warning_pop();" style="margin-bottom: 1em; text-decoration:underline; cursor:pointer" >';_pop+=msg3;_pop+='</p><ul style="margin:0px; list-style: none outside none; padding: 0px 0px 0px 5px;">';_pop+=br(br1,url1,"ie");_pop+=br(br2,url2,"firefox");_pop+=br(br3,url3,"safari");_pop+=br(br4,url4,"opera");_pop+=br(br5,url5,"chrome");_pop+="</ul></div></div>";c.innerHTML=_pop;d.appendChild(c);_pop=document.getElementById("warning_pop");var a=0;var b=0;_ddw=650;_ddh=260;if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}else{if(document.body&&(document.body.clientWidth||document.body.clientHeight)){a=document.body.clientWidth;b=document.body.clientHeight}}if(a<_ddw){a=_ddw}if(b<_ddh){b=_ddh}_pop.style.left=((a-_ddw)/2)+"px";_pop.style.top=((b-_ddh)/2)+"px"}};BrowserDetect.init();window.onload=function(){BrowserDetect.check()};function close_warning_pop(){var a=document.getElementById("warning_pop");a.style.display="none"}function br(c,b,e){var a=imgPath+"browser_"+e+".gif";var d='<li style="float:left; background: url(&quot;'+imgPath+'background_browser.gif&quot;) no-repeat scroll left top transparent; width: 120px; height: 122px; margin: 0pt 10px 0px 0pt;" >';d+='<a href="'+b+'"><div style="display:block; cursor: pointer; width: 100px; height: 100px; margin: 1px auto; background: url(&quot;'+a+'&quot;) no-repeat scroll left top transparent;"></div>';d+='<span style="display:block; color: rgb(128, 128, 128); font-size: 0.8em; height: 18px; line-height: 17px; margin: 1px auto; width: 118px; text-align: center;" >'+c+"</span></a></li>";return d};
