/* DHTML-Bibliothek */ DHTML = 0, DOM = 0, MS = 0, NS = 0, OP = 0; MAC=0; maxWidth=0; CBlock = "C1"; cBlock = "1"; // 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 imgHover (id,onoff) { pf="../css/images/all/"; document.getElementById(id).src=pf+id+onoff+".jpg"; } function FlagHover (id,onoff) { pf="../css/images/all/"; if (onoff==1) { document.getElementById(id).src=pf+id+"l.jpg";} else { document.getElementById(id).src=pf+id+"h.jpg";} } function RollOverTopMenu (id, onoff) { document.getElementById(id+"i").src="../css/images/all/"+id+onoff+".jpg"; } function RollOverTopMenuG (id, onoff) { document.getElementById(id+"i").src="../css/images/all/"+id+onoff+".gif"; } function RollOverArrow (id, onoff) { document.getElementById(id).src="../../css/images/arrows/arrow_r_r_"+onoff+".jpg"; } function subblock(id,onoff) { ClassNow=document.getElementById("master"+id).className; ClassNew=ClassNow.substring(0, ClassNow.length-1); ClassNew=ClassNew+onoff; document.getElementById("master"+id).className=ClassNew; if (onoff==1) { document.getElementById("psubblock"+id).style.display="block";} else { document.getElementById("psubblock"+id).style.display="none";} } function showCat(id) { if (document.getElementById("l"+id).className == "catswitch0") { document.getElementById("l"+cBlock).className="catswitch0"; document.getElementById("c"+cBlock).style.display="none"; document.getElementById("l"+id).className="catswitch1"; document.getElementById("c"+id).style.display="block"; cBlock = id; } else { document.getElementById("l"+id).className="catswitch0"; document.getElementById("c"+id).style.display="none"; } } 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 increase (id) { test= document.getElementById(id).value; test++; document.getElementById(id).value=test; } function decrease (id) { test= document.getElementById(id).value; if (test>0) { test--; if (test==0) test=""; document.getElementById(id).value=test; } } function deleteitem (id) { test=""; document.getElementById(id).value=test; } function RollOverMiniArrow (id, dir, onoff) { id2 = "of"+id.substr(3); test= document.getElementById(id2).value; if (dir == "b" && test == 0 && onoff == "r" ) { } else { document.getElementById(id).src="../../css/images/arrows/arrow_"+onoff+"_"+dir+"_mini.gif"; } } function stepper (id,dir,onoff) { document.getElementById(id).className="ahead"+dir+onoff; } function shopstepper (dir) { document.getElementById('shopStep').value = dir; document.getElementById('shopform').submit(); // } function showaddy () { if (document.getElementById('diffadd').checked == false) document.getElementById('deliveradd').style.display = "none"; else document.getElementById('deliveradd').style.display = "block"; } function RollOverNew (id, lang, onoff) { document.getElementById(id).src="../../css/images/all/"+id+"_"+lang+"_"+onoff+".jpg"; } function RollOverIcon (id, onoff) { document.getElementById(id).src="../../css/images/all/"+id+"_"+onoff+".jpg"; }