// +++++++++++++++++++++++++++++++++++++++++++++++++++ // Allgemeine Popup Funktion // +++++++++++++++++++++++++++++++++++++++++++++++++++ function popup(pname, width, height, scrollbars) { msg=open(pname,"pname","width=" + width + ",height=" + height + ",toolbar=no,location=no,directories=no,status=no,scrollbars=" + scrollbars + ",resizeable=no,menubar=no"); } function popup_online_special() { popup('http://www.deichmann.at/at/schuhfashion/', 990, 700, 'no'); } // +++++++++++++++++++++++++++++++++++++++++++++++++++ // Funktionen fuer Newsletter Bestellung // +++++++++++++++++++++++++++++++++++++++++++++++++++ function newsletter(mail){ parent.opener.location="/website/skript/mc_news.php?mail=" + mail+"&cmd=update"; self.close(); } function popup_newsletter() { var type="text"; if( document.newsletter.mailType[0].checked == true ) type="html"; window.open("https://www.deichmann.com/website/news_popup.php?Email="+document.newsletter.Email.value+"&type="+type,"test","width=310,height=200,left=0,top=0"); } function newsletterClose(mail) { parent.opener.location="/website/skript/mc_news.php?mail=" + mail+"&action=thxMail"; self.close(); } // +++++++++++++++++++++++++++++++++++++++++++++++++++ // Popup Link in den Shop // +++++++++++++++++++++++++++++++++++++++++++++++++++ function popup_deeplink_ref(sku, refcode) { if( refcode == '' ) msg = self.opener.location.href = 'http://shop.deichmann.com/is-bin/INTERSHOP.enfinity/eTS/Store/de/-/EUR/GIShopEntry-DisplayProduct?refCode=01000029003000&ProductSKU=' + sku + '&NavType=EXTERN'; else msg = self.opener.location.href = 'http://shop.deichmann.com/is-bin/INTERSHOP.enfinity/eTS/Store/de/-/EUR/GIShopEntry-DisplayProduct?refCode=' + refcode + '&ProductSKU=' + sku + '&NavType=EXTERN'; self.close(); } // +++++++++++++++++++++++++++++++++++++++++++++++++++ // Link in den Shop // +++++++++++++++++++++++++++++++++++++++++++++++++++ function popup_deeplink_ref2(sku, refcode) { if( refcode == '' ) msg = location.href = 'http://shop.deichmann.com/is-bin/INTERSHOP.enfinity/eTS/Store/de/-/EUR/GIShopEntry-DisplayProduct?refCode=01000029003000&ProductSKU=' + sku + '&NavType=EXTERN'; else msg = location.href = 'http://shop.deichmann.com/is-bin/INTERSHOP.enfinity/eTS/Store/de/-/EUR/GIShopEntry-DisplayProduct?refCode=' + refcode + '&ProductSKU=' + sku + '&NavType=EXTERN'; self.close(); } // +++++++++++++++++++++++++++++++++++++++++++++++++++ // Popup für das Online-Special "SCHUHfashion interaktiv" // +++++++++++++++++++++++++++++++++++++++++++++++++++ function popup_online_special() { popup('http://www.deichmann.at/at/schuhfashion/', 990, 700, 'no'); } // +++++++++++++++++++++++++++++++++++++++++++++++++++ // Unternehmensgruppe Select Box // +++++++++++++++++++++++++++++++++++++++++++++++++++ function filiale(x) { parent.location.href = x; document.forms[0].reset(); document.forms[0].elements[0].blur(); } // +++++++++++++++++++++++++++++++++++++++++++++++++++ // Popups für Prospekt und Anzeigen // +++++++++++++++++++++++++++++++++++++++++++++++++++ function nicht_verfuegbar() { width=325; height=220; InfoWin=window.open("/prospekte/de/text_popups/nicht_verfuegbar.html","Message1","height=" + height + ",width=" + width + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } function nur_vkst() { width=325; height=220; InfoWin=window.open("/prospekte/de/text_popups/nur_vkst.html","Message1","height=" + height + ",width=" + width + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } function nicht_mehr_verfuegbar() { width=325; height=220; InfoWin=window.open("/prospekte/de/text_popups/nicht_mehr_verfuegbar.html","Message1","height=" + height + ",width=" + width +",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } function andere_farbe() { width=325; height=220; InfoWin=window.open("/prospekte/de/text_popups/andere_farbe.htm","Message1","height=" + height + ",width=" + width + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } function prospekt() { width=600; height=600; InfoWin=window.open("/prospekte/Sommer/prospekt_seite1.html","Message","height=" + height + ",width=" + width + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } function prospekt_ref(sku, refcode) { parent.prospekt_ref_deep(sku, refcode); } function prospekt_ref_deep(sku, refcode) { self.opener.location.href = 'http://shop.deichmann.com/is-bin/INTERSHOP.enfinity/eTS/Store/de/-/EUR/GIShopEntry-DisplayProduct?refCode=' + refcode +'&ProductSKU=' + sku ; } // +++++++++++++++++++++++++++++++++++++++++++++++++++ // Prospekte // +++++++++++++++++++++++++++++++++++++++++++++++++++ function prospekt_at() { width=920; height = 625; pdw=open("http://www.deichmann.com/prospekte/2007/p4_bts_at/index.html","pdw","width=" + width + ",height=" + height + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } function prospekt_cz() { width=920; height = 625; pdw=open("http://www.deichmann.com/prospekte/2007/p4_cz/index.html","pdw","width=" + width + ",height=" + height + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } function prospekt3() { width=920; height = 625; pdw=open("http://www.deichmann.com/prospekte/2007/p3_at/index.html","pdw","width=" + width + ",height=" + height + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } function prospekt_hu() { width=920; height = 625; pdw=open("http://www.deichmann.com/prospekte/2007/p4_hu/index.html","pdw","width=" + width + ",height=" + height + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } function prospekt_at_07_P5() { width=920; height = 625; pdw=open("http://www.deichmann.com/katalog/index.html?lang=lang_aut&cat=_at_07_P5","pdw","width=" + width + ",height=" + height + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } function prospekt_at_07_Kundenmagazin2() { width=920; height = 625; pdw=open("http://www.deichmann.com/katalog/index.html?lang=lang_aut&cat=_at_07_Kundenmagazin2","pdw","width=" + width + ",height=" + height + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } function prospekt_at_07_P6() { width=920; height = 625; pdw=open("http://www.deichmann.com/katalog/index.html?lang=lang_aut&cat=_at_07_P6","pdw","width=" + width + ",height=" + height + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } function prospekt(katalog) { width=920; height = 625; pdw=open("http://www.deichmann.de/catalog/index.php?lang=lang_de_at&cat=" + katalog ,"pdw","width=" + width + ",height=" + height + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } function prospekt_at_08_P2() { width=920; height = 625; pdw=open("http://www.deichmann.com/katalog/index.html?lang=lang_aut&cat=_at_08_P2","pdw","width=" + width + ",height=" + height + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no"); } // +++++++++++++++++++++++++++++++++++++++++++++++++++ // Jobboerse // +++++++++++++++++++++++++++++++++++++++++++++++++++ function check_type_textarea(elementname,laenge){ var tocount = ""; countit = 0; tocount = document.job_angaben.elements[elementname].value; countit = tocount.length if(countit >= laenge){ alert("Bitte nicht mehr als " + laenge + " Zeichen eingeben."); document.job_angaben.elements[elementname].focus(); document.job_angaben.elements[elementname].select(); } } function check_type(elementname,elementtype){ if(elementtype != "M"){ var numerisch = 0; var typtest = ""; var ergebnis = 0; typtest = document.job_angaben.elements[elementname].value; ergebnis = Number(typtest); if (elementtype == "N"){ if(ergebnis >= 0){ } else { alert("In diesem Feld bitte nur Zahlen eingeben."); document.job_angaben.elements[elementname].focus(); document.job_angaben.elements[elementname].select(); } } } if(elementtype == "M" && document.job_angaben.mail_n.value != ""){ if(document.job_angaben.mail_n.value.match(/^.+\@.+\..+$/) == null){ alert("Bitte die korrekte Form der Emailadresse beachten.\n(aa@bb.cc)"); document.job_angaben.elements[elementname].focus(); document.job_angaben.elements[elementname].select(); } } } function check_job_angaben(fields){ var merk = 0; var wert = 0; var check = ""; // Flex-Felder zShlen wert=Number(fields)+13; // XXX if (document.job_angaben.firstname_n.value == "") { merk = 1; } if (document.job_angaben.lastname_n.value == "") { if (merk != 1){ merk = 2; } } if (document.job_angaben.birth_day_n.value == "") { if (merk != 1 && merk != 2){ merk = 3; } } if (document.job_angaben.birth_month_n.value == "") { if (merk != 1 && merk != 2 && merk != 3){ merk = 4; } } if (document.job_angaben.birth_year_n.value == "") { if (merk != 1 && merk != 2 && merk != 3 && merk != 4){ merk = 5; } } if (document.job_angaben.street_n.value == "") { if (merk != 1 && merk != 2 && merk != 3 && merk != 4 && merk != 5){ merk = 6; } } if (document.job_angaben.zip_n.value == "") { if (merk != 1 && merk != 2 && merk != 3 && merk != 4 && merk != 5 && merk != 6){ merk = 7; } } if (document.job_angaben.city_n.value == "") { if (merk != 1 && merk != 2 && merk != 3 && merk != 4 && merk != 5 && merk != 6 && merk != 7){ merk = 8; } } if (document.job_angaben.country_n.value == "") { if (merk != 1 && merk != 2 && merk != 3 && merk != 4 && merk != 5 && merk != 6 && merk != 7 && merk != 8){ merk = 9; } } if (document.job_angaben.birth_city_n.value == "") { if (merk != 1 && merk != 2 && merk != 3 && merk != 4 && merk != 5 && merk != 6 && merk != 7 && merk != 8 && merk != 9){ merk = 10; } } if (document.job_angaben.phone_n.value == "") { if (merk != 1 && merk != 2 && merk != 3 && merk != 4 && merk != 5 && merk != 6 && merk != 7 && merk != 8 && merk != 9 && merk != 10){ merk = 11; } } if (document.job_angaben.mail_n.value == "" || document.job_angaben.mail_n.value.match(/^.+\@.+\..+$/) == null) { if (merk != 1 && merk != 2 && merk != 3 && merk != 4 && merk != 5 && merk != 6 && merk != 7 && merk != 8 && merk != 9 && merk != 10 && merk != 11){ merk = 12; } } if (merk != 1 && merk != 2 && merk != 3 && merk != 4 && merk != 5 && merk != 6 && merk != 7 && merk != 8 && merk != 9 && merk != 10 && merk != 11 && merk != 12){ for (i = 13; i <= wert; i++){ check = document.job_angaben.elements[i].name.substr(0,2); if(document.job_angaben.elements[i].value == "" && check == "r_"){ alert("Bitte alle Felder ausfYllen."); document.job_angaben.elements[i].focus(); return false; } } } if (merk != 0){ alert("Bitte alle Felder ausfYllen."); switch(merk){ case 1: document.job_angaben.firstname_n.focus(); break; case 2: document.job_angaben.lastname_n.focus(); break; case 3: document.job_angaben.birth_day_n.focus(); break; case 4: document.job_angaben.birth_month_n.focus(); break; case 5: document.job_angaben.birth_year_n.focus(); break; case 6: document.job_angaben.street_n.focus(); break; case 7: document.job_angaben.zip_n.focus(); break; case 8: document.job_angaben.city_n.focus(); break; case 9: document.job_angaben.country_n.focus(); break; case 10: document.job_angaben.birth_city_n.focus(); break; case 11: document.job_angaben.phone_n.focus(); break; case 12: document.job_angaben.mail_n.focus(); break; } return false; } else { return true; } } function check_attachment(){ if(document.attachment.form_data.value == ""){ document.attachment.form_data.focus(); alert("Bitte ein Attachment in das zugehsrige Feld eintragen"); return false; } if(document.attachment.form_description.value == ""){ document.attachment.form_description.focus(); alert("Bitte eine Beschreibung in das zugehsrige Feld eintragen"); return false; } else { return true; } } function check_jobid(){ var checktype = ""; if (document.jobid.searchterm_n.value == "" || document.jobid.searchterm_n.value =="Eintrag erforderlich"){ document.jobid.searchterm_n.value = "Eintrag erforderlich"; document.jobid.searchterm_n.select(); return false; } else { checktype = check_field_type("jobid","searchterm_n","N"); if (checktype == false){ return false; } else { return true; } } } function check_field_type(formname,elementname,elementtype){ if (elementtype == "N"){ var typtest = ""; var ergebnis = 0; typtest = document.forms[formname].elements[elementname].value; ergebnis = Number(typtest); if(ergebnis >= 0){ return true; } else { alert("In diesem Feld bitte nur Zahlen eingeben."); document.forms[formname].elements[elementname].focus(); document.forms[formname].elements[elementname].select(); return false; } } } function tusem() { parent.opener.location='skript/bestellung.php'; self.close(); }