function openAGB(nr){ f=window.open('/site.php?site_ID='+nr+'&popup_only=1','AGB'+nr,'width=700,height=550,scrollbars=yes,resizable=yes'); f.focus(); return ; } function openFern(){ f=window.open('/fernabsatzvertraege.html','Fernabsatzgesetz','width=670,height=350,scrollbars=yes,resizable=yes'); } function OpenAGBDruck(SiteID) { f=window.open('/agbdruck.php?site_ID='+SiteID,'AGB','width=670,height=280,scrollbars=yes,resizable=yes');void(0) f.focus(); return ; } function OpenBBand() { // f=window.open('http://www.b-band.com','_blank','width=670,height=300,scrollbars=yes,resizable=yes') f=window.open('/site.php?site_ID=31&popup_only=1#bband','Glossar_im_popup','width=670,height=300,scrollbars=yes,resizable=yes') f.focus(); return ; } function OpenBeratung() { f=window.open('/site.php?site_ID=29&popup_only=1','Beratung_im_popup','width=670,height=500,scrollbars=yes,resizable=yes') f.focus(); return ; } function OpenGitarrenwerkstatt() { f=window.open('http://www.gitarrenwerkstatt.de/english/','Gitarrenwerkstatt','width=670,height=400,scrollbars=yes,resizable=yes,menubar=yes,status=yes,location=yes,toolbar=yes') f.focus(); return ; } function OpenHilfe() { f=window.open('/site.php?site_ID=20&popup_only=1','Hilfe_im_popup','width=670,height=410,scrollbars=yes,resizable=yes') f.focus(); return ; } function OpenKaufen() { f=window.open('/site.php?site_ID=44&popup_only=1','Kaufoptionen_im_popup','width=680,height=700,scrollbars=yes,resizable=yes') } function OpenLeihen() { f=window.open('/site.php?site_ID=45&popup_only=1','Leih_im_popup','width=670, height=550, scrollbars=yes,resizable=yes') f.focus(); return ; } function OpenOptimierung() { f=window.open('/optimierung.html','Optimierung_im_popup','width=670,height=320,scrollbars=no,resizable=no') f.focus(); return ; } function OpenRaten() { f=window.open('/site.php?site_ID=32&popup_only=1#ratenkauf','FAQ_im_popup','width=670,height=420,scrollbars=yes,resizable=yes') f.focus(); return ; } function OpenRechner() { f=window.open('http://www.santander.de/rechenmodule/warenhaendler.asp?kennung=demo&laufzeit=72&zinssatz6=10,9&zinssatz12=10,9&zinssatz24=10,9&zinssatz36=10,9&zinssatz48=10,9&zinssatz60=10,9&zinssatz72=10,9&showAnzahlung=nein', 'Rechenmodul', 'toolbar=0,menubar=1,width=470,height=470,location=0,scrollbars=1');void(0) f.focus(); return ; } function OpenTabellen() { f=window.open('/site.php?site_ID=16&popup_only=1','Groessentabellen_im_popup','width=670,height=660, scrollbars=yes,resizable=yes') f.focus(); return ; } function OpenKaution() { f=window.open('/site.php?site_ID=26&popup_only=1#kaution','Kaution_im_popup','width=670,height=150,scrollbars=yes,resizable=yes') f.focus(); return ; } function OpenVorkasse() { f=window.open('/site.php?site_ID=26&popup_only=1#sofortkauf','Vorkasse_im_popup','width=670,height=140,scrollbars=no,resizable=no') f.focus(); return ; } function OpenMiet() { f=window.open('/site.php?site_ID=26&popup_only=1#miet','Miet_im_popup','width=670,height=170,scrollbars=yes,resizable=yes') f.focus(); return ; } function OpenMietvertrag() { f=window.open('/site.php?site_ID=26&popup_only=1#mietvertrag','Leihsystem_im_popup','width=670,height=220,scrollbars=yes,resizable=yes') f.focus(); return ; } var ziSofort=35; var ziVorkasse=36; var ziNachnahme=37; var ziPayPal=38; var ziRatenkauf=39; var ziLastschrift=41; function OpenZahlart(Zahlart) { f=window.open('/site.php?site_ID='+Zahlart+'&popup_only=1','Zahlart_im_popup','width=700,height=450,scrollbars=yes,resizable=yes') f.focus(); return ; } function OpenZSofort() {return OpenZahlart(ziSofort)}; function OpenZVorkasse() {return OpenZahlart(ziVorkasse)}; function OpenZNachnahme() {return OpenZahlart(ziNachnahme)}; function OpenZPayPal() {return OpenZahlart(ziPayPal)}; function OpenZRatenkauf() {return OpenZahlart(ziRatenkauf)}; function OpenZLastschrift() {return OpenZahlart(ziLastschrift)}; function OpenSchweiz() { f=window.open('/site.php?site_ID=32&popup_only=1#laender','Versandländer_im_popup','width=670,height=150,scrollbars=yes,resizable=yes') f.focus(); return ; } function OpenVersandAuswahl(Query) { var OpenStr = '/versandkosten.php' if (Query) OpenStr += Query; f=window.open(OpenStr, 'Versandkosten_im_popup','width=760,height=670,scrollbars=yes,resizable=yes,status=no'); f.focus(); return ; } //addOnloadEvent(myFunctionName); //addOnloadEvent(function(){ myFunctionName('myArgument') }); function addOnloadEvent(fnc){ if ( typeof window.addEventListener != "undefined" ) window.addEventListener( "load", fnc, false ); else if ( typeof window.attachEvent != "undefined" ) { window.attachEvent( "onload", fnc ); } else { if ( window.onload != null ) { var oldOnload = window.onload; window.onload = function ( e ) { oldOnload( e ); window[fnc](); }; } else window.onload = fnc; } } function changeLinks(){ for (var i = 0; i < document.links.length; ++i) { if (document.links[i].name) { if (typeof window[document.links[i].name] == "function") { if (document.links[i].name.indexOf(')') > -1) document.links[i].href = 'javascript: '+document.links[i].name+';'; else document.links[i].href = 'javascript: '+document.links[i].name+'();'; document.links[i].target = ''; } } } } // addOnloadEvent(changeLinks);