minpreis=15; minpreisorig=15; zweite=11; rabatt=1; min[9999]=15; min[3011]=15;min[3013]=15;min[3014]=15; function tagundmonatloop() { if(document.form1.prechf.value<40) { if(document.getElementById('paytextTD')){document.getElementById('paytextTD').style.display='none';document.getElementById('paytext0').style.display='none'} } else { if(document.getElementById('paytextTD')){document.getElementById('paytextTD').style.display='table-row';document.getElementById('paytext0').style.display='inline'} } tagundmonat(); document.form1.timrepeat.value=1; if(document.form1.timjeden.value==''||document.form1.toplz.value==''||document.form1.toort.value=='') { document.getElementById('blumen').innerHTML='...'; document.getElementById('total').innerHTML='...'; } if((document.form1.timpre.value999 && document.form1.toort.value!='' && document.form1.toplz.value!='9999')||document.form1.tolan.value!='CH_')){ document.getElementById('timmininfo').innerHTML='Der Blumen-Mindestwert für die Lieferdestination '+document.form1.toplz.value+' '+document.form1.toort.value+' ist '+currency(0,'curname')+' '+document.form1.pre.value; setTimeout("document.getElementById('timmininfo').innerHTML=''",7777); document.form1.timpre.selectedIndex=document.form1.timpre.selectedIndex+1; document.form1.timrepeat.onchange(); document.form1.timjeden.onchange(); } if(whodelivers=='XXXpost') { document.getElementById('pexinfo').innerHTML="Für die Destination "+document.form1.toplz.value+" "+document.form1.toort.value+" erfolgt der Versand via Postexpress; die resultierenden Lieferspesen betragen total "+document.getElementById("lieferung").innerHTML+" Wenn Sie die günstigere Lieferung durch ein Partnergeschäft von Fleurop wünschen, geben Sie im untenstehenden Feld «Instruktionen zur Auslieferung» das Wort FLEUROP ein.

"; } else document.getElementById('pexinfo').innerHTML=''; //if(document.getElementsByClassName('bei')[0])document.getElementsByClassName('bei')[0].style.visibility='hidden'; //if(document.getElementsByClassName('bei')[1])document.getElementsByClassName('bei')[1].style.visibility='hidden'; if(location.href.indexOf('mobile')>0) { document.getElementsByTagName('table')[4].style.marginTop='-22px'; document.getElementsByTagName('table')[6].style.marginTop='-80px'; } else { document.getElementsByTagName('table')[5].style.marginTop='-22px'; document.getElementsByTagName('table')[7].style.marginTop='-55px'; } setTimeout("tagundmonatloop()",333); } function tagundmonat() { womostring=document.getElementById('timwomo').innerHTML; if(location.href.indexOf("mobile.php")>0) { womostring=womostring.replace(/WOCHENTAG/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/MO/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/DI/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/MI/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/DO/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/FR/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/SA/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/SO/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/MO/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/TU/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/WE/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/TH/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/FR/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/SA/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/SU/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/LU/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/MA/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/ME/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/JE/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/VE/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/SA/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); womostring=womostring.replace(/DI/g,document.getElementById('zeigwt').innerHTML.toUpperCase().substring(0,2)); } else { womostring=womostring.replace(/WOCHENTAG/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/MONTAG/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/DIENSTAG/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/MITTWOCH/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/DONNERSTAG/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/FREITAG/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/SAMSTAG/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/SONNTAG/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/MONDAY/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/TUESDAY/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/WEDNESDAY/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/THURSDAY/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/FRIDAY/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/SATURDAY/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/SUNDAY/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/LUNDI/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/MARDI/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/MERCREDI/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/JEUDI/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/VENDREDI/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/SAMEDI/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); womostring=womostring.replace(/DIMANCHE/g,document.getElementById('zeigwt').innerHTML.toUpperCase()); } womostring=womostring.replace(/31/g,'DDDDDDD'); womostring=womostring.replace(/30/g,'DDDDDDD'); womostring=womostring.replace(/29/g,'DDDDDDD'); womostring=womostring.replace(/28/g,'DDDDDDD'); womostring=womostring.replace(/27/g,'DDDDDDD'); womostring=womostring.replace(/26/g,'DDDDDDD'); womostring=womostring.replace(/25/g,'DDDDDDD'); womostring=womostring.replace(/24/g,'DDDDDDD'); womostring=womostring.replace(/23/g,'DDDDDDD'); womostring=womostring.replace(/22/g,'DDDDDDD'); womostring=womostring.replace(/21/g,'DDDDDDD'); womostring=womostring.replace(/20/g,'DDDDDDD'); womostring=womostring.replace(/19/g,'DDDDDDD'); womostring=womostring.replace(/18/g,'DDDDDDD'); womostring=womostring.replace(/17/g,'DDDDDDD'); womostring=womostring.replace(/16/g,'DDDDDDD'); womostring=womostring.replace(/15/g,'DDDDDDD'); womostring=womostring.replace(/14/g,'DDDDDDD'); womostring=womostring.replace(/13/g,'DDDDDDD'); womostring=womostring.replace(/12/g,'DDDDDDD'); womostring=womostring.replace(/11/g,'DDDDDDD'); womostring=womostring.replace(/10/g,'DDDDDDD'); womostring=womostring.replace(/9/g,'DDDDDDD'); womostring=womostring.replace(/8/g,'DDDDDDD'); womostring=womostring.replace(/7/g,'DDDDDDD'); womostring=womostring.replace(/6/g,'DDDDDDD'); womostring=womostring.replace(/5/g,'DDDDDDD'); womostring=womostring.replace(/4/g,'DDDDDDD'); womostring=womostring.replace(/3/g,'DDDDDDD'); womostring=womostring.replace(/2/g,'DDDDDDD'); womostring=womostring.replace(/1/g,'DDDDDDD'); womostring=womostring.replace(/DDDDDDD/g,document.getElementById('d').value); if(document.getElementById('timwomo').innerHTML!=womostring)document.getElementById('timwomo').innerHTML=womostring; } function validaterepeat() { if(document.getElementById('form1') && location.href.indexOf('s_order')<0) { if(document.getElementById('timkarte')) { if(document.getElementById('timkarte').selectedIndex==2)document.form1.kok.value=document.form1.kok.value*document.form1.timrepeat.value-0; if(document.getElementById('timkarte').selectedIndex>0)document.form1.kar[0].click(); else document.form1.kar[1].click(); } validateplz(); document.form1.kol.value=document.form1.kol.value*document.form1.timrepeat.value-0; if(document.form1.kol.value==='NaN')document.form1.kol.value=7*document.form1.timrepeat.value-0; if(document.form1.vas[0].checked)document.form1.kov.value=Math.floor((2.5*karte+0.2*document.form1.prechf.value/document.form1.timrepeat.value-0)); else document.form1.kov.value=0; document.form1.kot.value=(document.form1.prechf.value-0)+(document.form1.kok.value-0)+(document.form1.kov.value-0)+(document.form1.kol.value-0); } } function timrepval() { document.form1.wae.value=document.form1.timwae.value document.form1.pre.value=document.form1.timpre.value*document.form1.timrepeat.value if((document.form1.timpre.selectedIndex-0+1)==1){pluralde='';pluralfren='';} else{pluralde='n';pluralfren='s';} document.form1.timrem.value=(document.form1.timpre.selectedIndex-0+1)+" Rose"+pluralde+""+" "+document.form1.timjeden.value+" "+document.form1.timpre.value+" "+document.form1.timwae.value.toUpperCase()+" "+String.fromCharCode(11044)+" "+document.form1.timdesc.value+" "+String.fromCharCode(11044)+" "+document.form1.timkarte.value+" "+String.fromCharCode(11044)+" "+document.form1.timremnew.value; document.form1.timrem.value=document.form1.timrem.value.replace(/\s\s+/g,' '); if(document.getElementById('proapri'))document.getElementById('proapri').style.display='none'; if(document.getElementById('trkar1'))document.getElementById('trkar1').style.display='none'; if(document.getElementById('trkar2'))document.getElementById('trkar2').style.display='none'; if(document.getElementById('trkar3'))document.getElementById('trkar3').style.display='none'; if(document.getElementById('TrScLf'))document.getElementById('TrScLf').style.display='none'; if(document.getElementById('destination'))document.getElementById('destination').style.display='none'; //if(document.getElementById('ttitle1'))document.getElementById('ttitle1').innerHTML='Erste Lieferung am (Ankunft)'; } function isInViewport(element) { var rect = element.getBoundingClientRect(); var html = document.documentElement; return ( rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || html.clientHeight) && rect.right <= (window.innerWidth || html.clientWidth) ); } function flashzeigtag() { if(!isInViewport(document.getElementById('zeigwt'))){document.getElementById('zeigwt').scrollIntoView();window.scrollBy(0,-100);} if(location.href.indexOf('mobile.php')>0)window.scrollBy(0,-50); document.getElementById('zeigwt').style.background='yellow'; setTimeout("document.getElementById('zeigwt').style.background='transparent'",777); setTimeout("document.getElementById('zeigwt').style.background='yellow'",777*2); setTimeout("document.getElementById('zeigwt').style.background='transparent'",777*3); setTimeout("document.getElementById('zeigwt').style.background='yellow'",777*4); setTimeout("document.getElementById('zeigwt').style.background='transparent'",777*5); setTimeout("document.getElementById('zeigwt').style.background='yellow'",777*6); setTimeout("document.getElementById('zeigwt').style.background='transparent'",777*7); setTimeout("document.getElementById('zeigwt').style.background='yellow'",777*8); setTimeout("document.getElementById('zeigwt').style.background='transparent'",777*9); setTimeout("document.getElementById('zeigwt').style.background='yellow'",777*10); setTimeout("document.getElementById('zeigwt').style.background='transparent'",777*11); setTimeout("document.getElementById('zeigwt').style.background='yellow'",777*12); setTimeout("document.getElementById('zeigwt').style.background='transparent'",777*13); setTimeout("document.getElementById('zeigwt').style.background='yellow'",777*14); setTimeout("document.getElementById('zeigwt').style.background='transparent'",777*15); setTimeout("document.getElementById('zeigwt').style.background='yellow'",777*16); setTimeout("document.getElementById('zeigwt').style.background='transparent'",777*17); } if(document.getElementById('form1') && location.href.indexOf('s_order')<0) { setTimeout("tagundmonatloop()",1111); setTimeout("timrepval()",111); setTimeout("tagundmonat()",222); andererwochentag="Im Auswahlschalter für die Periodizität wird der Wochentag des Datums der ersten Auslieferung übernommen, welches Sie weiter oben eingestellt haben. \n\nBitte stellen Sie das Datum der ersten Auslieferung so ein, dass der dortige Wochentag (Montag bis Samstag sind möglich) auch für die Folgelieferungen passt."; document.getElementById('trtimrem').innerHTML='\ \ \ Anzahl Rosen
\ (üblich ist eine ungerade Anzahl)
\ \ \
\


Anzahl Ausführungen und Periodizität
\
\

Farbe
\

\
⇧ Anderer Wochentag? ⇧
\
\

Instruktionen Auslieferung (optional)
\
\ \

Bemerkungen (optional)\
\ \

Grusskarte (Ihre Mitteilung können Sie weiter unten eingeben)
\ \ \ \ '; if(location.href.indexOf('h=')>0) { document.getElementById('trtimrem').innerHTML+=''; setTimeout("document.getElementById('verlang').src='aa.php?h='+location.href.split('h=')[1]",1111); } //if(location.href.indexOf("mobile.php")>0)document.getElementById("timwomo").style.fontSize="80%"; } setTimeout("if(document.getElementById('TrScLf'))document.getElementById('TrScLf').style.display='none'",1111); setTimeout("if(document.getElementsByClassName('detailtext')[0])document.getElementsByClassName('detailtext')[0].style.display='none'",111); setTimeout("if(document.getElementsByClassName('detailtext')[0])document.getElementsByClassName('detailtext')[0].style.display='none'",1111); //if(location.href.indexOf('s_order')>0)document.getElementById('trtimrem').innerHTML+=''; if(location.href.indexOf('s_order')>0) { person='ja'; if(person=='ja'&&location.href.indexOf('beilagen')<0) { setTimeout("if(document.getElementById('chkbei'))if(document.getElementById('dbeilauti'))document.getElementById('dbeilauti').innerHTML=''",777); setTimeout("if(document.getElementById('chkbei'))if(document.getElementById('mbeilauti'))document.getElementById('mbeilauti').innerHTML=''",777); } } setTimeout("if((location.href.indexOf('&id=1266&')>0 || location.href.indexOf('&id=1267&')>0) && document.getElementById('otherh1'))document.getElementById('otherh1').innerHTML='Bestellung Rosen'",1111); //setTimeout("if(document.form1.bei)if(location.href.indexOf('s_order')<0)document.form1.bei[1].click()",1111); //setTimeout("if(document.getElementById('dbeilauti'))document.getElementById('dbeilauti').style.display='none'",1); //setTimeout("if(document.getElementById('mbeilauti'))document.getElementById('mbeilauti').style.display='none'",1); setTimeout("if(document.getElementById('kosten'))document.getElementById('kosten').style.marginTop='55px'",777); setTimeout("if(!document.getElementById('beilautimg'))if(document.form1.bei)document.form1.bei[1].click()",777);