/* DHTML-Bibliothek */ DHTML = 0, DOM = 0, MS = 0, NS = 0, OP = 0; MAC=0; maxWidth=0; root='http://www.hamburger-drahtseilerei.de';// Initiate Platform Surround Detection// if (window.opera) { OP = 1; } if(document.getElementById) { DHTML = 1; DOM = 1; } if(document.all && !OP) { DHTML = 1; MS = 1; } if (window.netscape && window.screen && !DOM && !OP){ DHTML = 1; NS = 1; } brw=navigator.appVersion.split (";"); if (brw[2]==" Macintosh"){ MAC=1;} function fitToScreen () { WidthCorrection = 20; MenuWidth =170; if (MS == 0) { maxWidth=window.innerWidth; } else { maxWidth=document.body.offsetWidth + WidthCorrection; } maxWidth=maxWidth - MenuWidth; size=maxWidth+"px"; document.getElementById("top").style.width=size; document.getElementById("topline").style.width=size; document.getElementById("topcorrect").style.width=size; } function gifHover (id,onoff) { pf="css/images/"; document.getElementById(id).src=pf+id+onoff+".gif"; } function RollOverMiniLink (id,onoff) { if (onoff==1){document.getElementById(id+"i").src="../css/images/arrow_b_r_mini.gif";} else {document.getElementById(id+"i").src="../css/images/arrow_g_r_mini.gif";} } function RollOverNormalLink (id,onoff) { if (onoff==1){document.getElementById(id+"i").src="../css/images/arrow_b_r.gif";} else {document.getElementById(id+"i").src="../css/images/arrow_g_r.gif";} } function RollOverArrow (id,onoff) { if (onoff==1){document.getElementById(id+"i").src="../css/images/weiter_1.gif";} else {document.getElementById(id+"i").src="../css/images/weiter_0.gif";} } function InputButton (id, onoff) { document.getElementById(id).className="InputButton"+onoff; } function showPopup (page) { path=root+page; x = window.open (path,"extraWindow","scrollbars=yes, dependent=yes, left=480, top=250, height=400, width=400"); x.focus (); } function convertDB() { document.getElementById("S").value = document.getElementById("szip").value+"%20"+document.getElementById("scity").value+"%2C%20"+document.getElementById("sstreet").value; } function routeCalc () { if (document.getElementById('goby1').checked) check = "routeo" else check = "bahn"; document.getElementById(check).submit(); } function subblock(id,onoff) { ClassNow=document.getElementById(id).className; ClassNew=ClassNow.substring(0, ClassNow.length-1); ClassNew=ClassNew+onoff; document.getElementById(id).className=ClassNew; if (onoff==1) { document.getElementById(id+"b").style.display="block";} else { document.getElementById(id+"b").style.display="none";} }