maarsen=0; deliverable=0; minpreis=40; origminpreis=minpreis; minpreisdelta=10; whodelivers='maarsen'; nogodays=''; dodamove=0; notexist=0;deliverable='1'; euro=0.9402; dollar=0.8653; karte=5; kartef=6.9; fspes=19.8; fmin=35; pspes=27; pmin=35; fnoon=7; anoon=13; asnoon=13; anoonpost=13; pexstat=1; awelt=20; ach=3; abe=3; bwelt=0; bch=0; bbe=0; cwelt=5; cch=2.5; cbe=2.5; arg=0; brg=0; crg=1; amz=1; bmz=1; cmz=1; shlei=60; title='Angel’s wings'; text='Angel’s wings. On the order form, you can order a ribbon and enter its text.'; von=480; bis=800; bild=550; vincl=2; person='Schleife'; fleuslot=0; function flslot() { if((document.form1.tim[0].checked || document.form1.tim[1].checked) && whodelivers=='fleurop' && fleuslot==0){fleuslot=1;alert("Your setting Forenoon vs. Afternoon: As this is a Fleurop order (selected by you or delivery abroad), we will transmit the order to a partner store. According to Fleurop's instructions, the partner stores are free to choose their own delivery times, so your indication is only a recommendation.") } } function fshifn(){ if(document.getElementById('hidelc'))document.getElementById('hidelc').parentNode.parentNode.style.display='none'; if(document.getElementById('hidelc'))document.getElementById('hideld').parentNode.parentNode.style.display='none'; if(document.getElementById('hidelc'))document.getElementById('hidele').parentNode.parentNode.style.display='none'; if(document.getElementById('hidelc'))document.getElementById('hidelf').parentNode.parentNode.style.display='none'; if(document.form1.bei)document.form1.bei[1].click(); } if(1316>=10049){setTimeout("fshifn()",1111);setTimeout("fshifn()",3333);} document.write(''); ////////////////////////////////// PLZDATEN min = new Array(); spes = new Array(); allplz='_'; min[3000]=35; spes[3000]=12; allplz+='3000_'; min[3001]=35; spes[3001]=12; allplz+='3001_'; min[3002]=35; spes[3002]=12; allplz+='3002_'; min[3003]=35; spes[3003]=12; allplz+='3003_'; min[3004]=35; spes[3004]=12; allplz+='3004_'; min[3005]=35; spes[3005]=12; allplz+='3005_'; min[3006]=35; spes[3006]=12; allplz+='3006_'; min[3007]=35; spes[3007]=12; allplz+='3007_'; min[3008]=35; spes[3008]=12; allplz+='3008_'; min[3009]=35; spes[3009]=12; allplz+='3009_'; min[3010]=35; spes[3010]=14; allplz+='3010_'; min[3011]=35; spes[3011]=12; allplz+='3011_'; min[3012]=35; spes[3012]=12; allplz+='3012_'; min[3013]=30; spes[3013]=8; allplz+='3013_'; min[3014]=30; spes[3014]=8; allplz+='3014_'; min[3015]=35; spes[3015]=14; allplz+='3015_'; min[3016]=40; spes[3016]=16; allplz+='3016_'; min[3017]=40; spes[3017]=16; allplz+='3017_'; min[3018]=35; spes[3018]=14; allplz+='3018_'; min[3019]=60; spes[3019]=25; allplz+='3019_'; min[3020]=60; spes[3020]=25; allplz+='3020_'; min[3021]=40; spes[3021]=16; allplz+='3021_'; min[3022]=40; spes[3022]=16; allplz+='3022_'; min[3023]=40; spes[3023]=16; allplz+='3023_'; min[3024]=40; spes[3024]=16; allplz+='3024_'; min[3025]=40; spes[3025]=16; allplz+='3025_'; min[3026]=40; spes[3026]=16; allplz+='3026_'; min[3027]=35; spes[3027]=14; allplz+='3027_'; min[3030]=35; spes[3030]=14; allplz+='3030_'; min[3031]=40; spes[3031]=16; allplz+='3031_'; min[3032]=45; spes[3032]=18; allplz+='3032_'; min[3033]=60; spes[3033]=23; allplz+='3033_'; min[3034]=60; spes[3034]=30; allplz+='3034_'; min[3035]=100; spes[3035]=40; allplz+='3035_'; min[3036]=120; spes[3036]=45; allplz+='3036_'; min[3037]=45; spes[3037]=23; allplz+='3037_'; min[3038]=50; spes[3038]=24; allplz+='3038_'; min[3042]=50; spes[3042]=27; allplz+='3042_'; min[3043]=50; spes[3043]=25; allplz+='3043_'; min[3044]=60; spes[3044]=35; allplz+='3044_'; min[3045]=60; spes[3045]=30; allplz+='3045_'; min[3046]=60; spes[3046]=30; allplz+='3046_'; min[3047]=35; spes[3047]=15; allplz+='3047_'; min[3048]=35; spes[3048]=13; allplz+='3048_'; min[3049]=70; spes[3049]=30; allplz+='3049_'; min[3050]=35; spes[3050]=13; allplz+='3050_'; min[3052]=35; spes[3052]=13; allplz+='3052_'; min[3053]=60; spes[3053]=23; allplz+='3053_'; min[3053]=60; spes[3053]=23; allplz+='3053_'; min[3053]=60; spes[3053]=23; allplz+='3053_'; min[3053]=60; spes[3053]=23; allplz+='3053_'; min[3053]=60; spes[3053]=23; allplz+='3053_'; min[3054]=70; spes[3054]=30; allplz+='3054_'; min[3063]=35; spes[3063]=13; allplz+='3063_'; min[3065]=35; spes[3065]=13; allplz+='3065_'; min[3066]=50; spes[3066]=19; allplz+='3066_'; min[3067]=60; spes[3067]=22; allplz+='3067_'; min[3068]=70; spes[3068]=32; allplz+='3068_'; min[3072]=35; spes[3072]=14; allplz+='3072_'; min[3073]=35; spes[3073]=14; allplz+='3073_'; min[3074]=35; spes[3074]=14; allplz+='3074_'; min[3075]=60; spes[3075]=18; allplz+='3075_'; min[3076]=70; spes[3076]=30; allplz+='3076_'; min[3077]=70; spes[3077]=35; allplz+='3077_'; min[3078]=70; spes[3078]=32; allplz+='3078_'; min[3082]=100; spes[3082]=40; allplz+='3082_'; min[3083]=70; spes[3083]=35; allplz+='3083_'; min[3084]=45; spes[3084]=16; allplz+='3084_'; min[3086]=100; spes[3086]=40; allplz+='3086_'; min[3087]=100; spes[3087]=40; allplz+='3087_'; min[3095]=35; spes[3095]=14; allplz+='3095_'; min[3096]=100; spes[3096]=40; allplz+='3096_'; min[3097]=35; spes[3097]=13; allplz+='3097_'; min[3098]=40; spes[3098]=14; allplz+='3098_'; min[3098]=40; spes[3098]=14; allplz+='3098_'; min[3110]=80; spes[3110]=30; allplz+='3110_'; min[3111]=100; spes[3111]=40; allplz+='3111_'; min[3112]=50; spes[3112]=23; allplz+='3112_'; min[3113]=80; spes[3113]=28; allplz+='3113_'; min[3114]=100; spes[3114]=40; allplz+='3114_'; min[3122]=60; spes[3122]=23; allplz+='3122_'; min[3123]=80; spes[3123]=28; allplz+='3123_'; min[3124]=120; spes[3124]=45; allplz+='3124_'; min[3125]=120; spes[3125]=40; allplz+='3125_'; min[3126]=120; spes[3126]=40; allplz+='3126_'; min[3126]=120; spes[3126]=40; allplz+='3126_'; min[3128]=120; spes[3128]=40; allplz+='3128_'; min[3128]=120; spes[3128]=40; allplz+='3128_'; min[3144]=60; spes[3144]=25; allplz+='3144_'; min[3145]=70; spes[3145]=35; allplz+='3145_'; min[3147]=120; spes[3147]=40; allplz+='3147_'; min[3172]=60; spes[3172]=23; allplz+='3172_'; min[3173]=80; spes[3173]=27; allplz+='3173_'; min[3174]=80; spes[3174]=27; allplz+='3174_'; min[3175]=120; spes[3175]=38; allplz+='3175_'; min[3176]=120; spes[3176]=38; allplz+='3176_'; min[3177]=120; spes[3177]=38; allplz+='3177_'; min[3182]=120; spes[3182]=38; allplz+='3182_'; min[3184]=120; spes[3184]=45; allplz+='3184_'; min[3202]=80; spes[3202]=30; allplz+='3202_'; min[3203]=120; spes[3203]=45; allplz+='3203_'; min[3204]=120; spes[3204]=45; allplz+='3204_'; min[3205]=120; spes[3205]=45; allplz+='3205_'; min[3251]=120; spes[3251]=40; allplz+='3251_'; min[3251]=120; spes[3251]=40; allplz+='3251_'; min[3255]=120; spes[3255]=40; allplz+='3255_'; min[3256]=120; spes[3256]=45; allplz+='3256_'; min[3256]=120; spes[3256]=45; allplz+='3256_'; min[3256]=120; spes[3256]=45; allplz+='3256_'; min[3266]=80; spes[3266]=35; allplz+='3266_'; min[3267]=80; spes[3267]=35; allplz+='3267_'; min[3268]=120; spes[3268]=40; allplz+='3268_'; min[3302]=60; spes[3302]=23; allplz+='3302_'; min[3303]=80; spes[3303]=35; allplz+='3303_'; min[3303]=80; spes[3303]=35; allplz+='3303_'; min[3303]=80; spes[3303]=35; allplz+='3303_'; min[3303]=80; spes[3303]=35; allplz+='3303_'; min[3305]=120; spes[3305]=40; allplz+='3305_'; min[3305]=120; spes[3305]=40; allplz+='3305_'; min[3306]=120; spes[3306]=40; allplz+='3306_'; min[3307]=120; spes[3307]=45; allplz+='3307_'; min[3308]=120; spes[3308]=45; allplz+='3308_'; min[3309]=120; spes[3309]=45; allplz+='3309_'; min[3309]=120; spes[3309]=45; allplz+='3309_'; min[3322]=70; spes[3322]=26; allplz+='3322_'; min[3322]=70; spes[3322]=26; allplz+='3322_'; min[3323]=70; spes[3323]=29; allplz+='3323_'; min[3324]=120; spes[3324]=40; allplz+='3324_'; min[3324]=120; spes[3324]=40; allplz+='3324_'; min[3325]=120; spes[3325]=30; allplz+='3325_'; min[3326]=120; spes[3326]=40; allplz+='3326_'; min[9999]=20; spes[9999]=0; allplz+='9999_'; function fleuche() { if(document.form1.timrem.value.replace(/fleurop/ig,'')!=document.form1.timrem.value){whodelivers='fleurop';return true}; if(document.form1.timremnew) { if(document.form1.timremnew.value.replace(/fleurop/ig,'')!=document.form1.timremnew.value){whodelivers='fleurop';return true}; } } function replace(string,text,by) { // Replaces text with by in string var strLength = string.length, txtLength = text.length; if ((strLength == 0) || (txtLength == 0)) return string; var i = string.indexOf(text); if ((!i) && (text != string.substring(0,txtLength))) return string; if (i == -1) return string; var newstr = string.substring(0,i) + by; if (i+txtLength < strLength) newstr += replace(string.substring(i+txtLength,strLength),text,by); return newstr; } function numonly(string) { string=replace(string,'o','0'); string=replace(string,'O','0'); string=replace(string,'l','1'); string=replace(string,'L','1'); string=replace(string,'i','1'); string=replace(string,'I','1'); for (var i=0, output='', valid="0123456789"; i-1) { // is CH showcreditcard(); } else { // is not CH //hidecreditcard(); if (document.form1.pay[5].checked==true) document.form1.pay[5].checked=false; } } function validateplz() { if (document.form1.tolan.value.indexOf('CH_')>-1) { // is CH if(document.form1.toplz.value.replace(/\s/g,'')!=numonly(document.form1.toplz.value)){document.form1.tolan.selectedIndex=0}; if(document.form1.toplz.value!=numonly(document.form1.toplz.value))document.form1.toplz.value=numonly(document.form1.toplz.value); if (allplz.indexOf(document.form1.toplz.value)>0||document.form1.toplz.value<1000) { document.form1.kol.value=spes[document.form1.toplz.value]; minpreis=min[document.form1.toplz.value]; maarsen=1; whodelivers='maarsen'; document.getElementById('mplzspes').innerHTML=beautify(spes[document.form1.toplz.value]); document.getElementById('mplzmin').innerHTML=beautify(min[document.form1.toplz.value]); } else { if (deliverable==3 || deliverable==4 || deliverable>4) { maarsen=1; document.form1.kol.value=pspes; minpreis=pmin; whodelivers='post'; dateval(); } else { document.form1.kol.value=fspes; maarsen=0; minpreis=fmin; whodelivers='fleurop'; } }if(minpreis>pmin||minpreis>fmin)MPFmin('inline');else MPFmin('none'); } else { // is not CH document.form1.kol.value=document.form1.tolan.value.split('___')[1]; maarsen=0; minpreis=document.form1.tolan.value.split('___')[2]; whodelivers='fleurop'; } if(replace(document.form1.toplz.value,' ','')>999 && deliverable<5 && whodelivers=='maarsen' && (spes[document.form1.toplz.value]>=pspes || origminpreis-1) { document.getElementById('odelio').style.display='block'; document.getElementById('odelio1').style.display='inline'; document.getElementById('odelio2').style.display='inline'; if (deliverable==1 || deliverable==2)document.getElementById('odelio3').style.display='inline'; if (deliverable!=1 && deliverable!=2) { document.form1.deliveryoptions[2].checked=false; document.getElementById('odelio3').style.display='none'; } } else if(replace(document.form1.toplz.value,' ','')>999 && deliverable<5 && whodelivers=='fleurop' && document.form1.tolan.value.indexOf('CH_')>-1) { document.getElementById('odelio').style.display='block'; document.getElementById('odelio2').style.display='inline'; document.getElementById('odelio3').style.display='inline'; document.form1.deliveryoptions[0].checked=false; document.getElementById('odelio1').style.display='none'; } else { document.form1.deliveryoptions[0].checked=false; document.form1.deliveryoptions[1].checked=false; document.form1.deliveryoptions[2].checked=false; document.getElementById('odelio1').style.display='none'; document.getElementById('odelio2').style.display='none'; document.getElementById('odelio3').style.display='none'; document.getElementById('odelio').style.display='none'; } if(fleuche()) { document.form1.deliveryoptions[0].checked=false; document.form1.deliveryoptions[1].checked=false; document.form1.deliveryoptions[2].checked=false; document.getElementById('odelio1').style.display='none'; document.getElementById('odelio2').style.display='none'; document.getElementById('odelio3').style.display='none'; document.getElementById('odelio').style.display='none'; } if(document.form1.deliveryoptions[0].checked) { document.form1.kol.value=spes[document.form1.toplz.value]; minpreis=min[document.form1.toplz.value]; maarsen=1; setTimeout("whodelivers='maarsen';dateval();validatebeivis()",1); } if(document.form1.deliveryoptions[1].checked) { maarsen=1; document.form1.kol.value=pspes; minpreis=pmin; setTimeout("whodelivers='post';dateval();validatebeivis()",1); } if(document.form1.deliveryoptions[2].checked||fleuche()) { document.form1.kol.value=fspes; maarsen=0; minpreis=fmin; setTimeout("whodelivers='fleurop';dateval();validatebeivis()",1); } } function validatepre() { if (deliverable<5) { if (Math.floor(currency(document.form1.pre.value.split('.')[0],'tochf'))=von)) { document.form1.pre.value=Math.ceil(currency(minpreis,'chfto')); document.getElementById('mininfo').innerHTML='
Minimun price for the delivery destination '+document.form1.toplz.value+' '+document.form1.toort.value+' is '+currency(0,'curname')+' '+document.form1.pre.value; } else if (Math.floor(currency(document.form1.pre.value.split('.')[0],'tochf'))0)document.form1.kok.value=document.getElementById('sjkpre').value; document.getElementById('art').required=true; } else { document.getElementById('trkar3').style.display='none'; document.form1.kok.value=0; document.getElementById('art').required=false; } document.getElementById('art').readOnly=false; document.getElementById('art').style.background='transparent'; if(document.form1.tolan.value!='CH_') { document.getElementById('sjka').style.display='none'; if(document.getElementById('sjkpre').value!='') { document.getElementById('sjkpre').value=''; document.getElementById('sjkgeo').value=''; document.getElementById('art').value=''; } } else { document.getElementById('sjka').style.display='inline'; setTimeout("if(document.getElementById('sjkgeo').value=='vincl2' && whodelivers=='fleurop'){document.getElementById('sjkpre').value='';document.getElementById('sjkgeo').value='';document.getElementById('art').value='';validate();}",111); if(document.getElementById('sjkgeo').value!='') { document.getElementById('art').readOnly=true; document.getElementById('art').style.background='lightgreen'; } } if(document.form1.art.value.indexOf('(#')>0) { document.getElementById('karimg').innerHTML=''; } else { document.getElementById('karimg').innerHTML=''; } } function vatnice() { return document.form1.txt.value.replace(/(\r\n|\r|\n){2,}/g, '$1\n').replace(/ \n/g,'\n').replace(/\n /g,'\n').replace(/ \r/g,'\n').replace(/\r /g,'\n').replace(/\t/g,' ').trim().replace(/ /g,' ').replace(/ /g,' ').replace(/(\r\n|\r|\n){2,}/g, '$1\n').replace(/ \n/g,'\n').replace(/\n /g,'\n').replace(/ \r/g,'\n').replace(/\r /g,'\n').replace(/\t/g,' ').trim().replace(/ /g,' ').replace(/ /g,' ').replace(/(\r\n|\r|\n){2,}/g, '$1\n').replace(/ \n/g,'\n').replace(/\n /g,'\n').replace(/ \r/g,'\n').replace(/\r /g,'\n').replace(/\t/g,' ').trim().replace(/ /g,' ').replace(/ /g,' ').replace(/(\r\n|\r|\n){2,}/g, '$1\n').replace(/ \n/g,'\n').replace(/\n /g,'\n').replace(/ \r/g,'\n').replace(/\r /g,'\n').replace(/\t/g,' ').trim().replace(/ /g,' ').replace(/ /g,' ').replace(/(\r\n|\r|\n){2,}/g, '$1\n').replace(/ \n/g,'\n').replace(/\n /g,'\n').replace(/ \r/g,'\n').replace(/\r /g,'\n').replace(/\t/g,' ').trim().replace(/ /g,' ').replace(/ /g,' ').replace(/(\r\n|\r|\n){2,}/g, '$1\n').replace(/ \n/g,'\n').replace(/\n /g,'\n').replace(/ \r/g,'\n').replace(/\r /g,'\n').replace(/\t/g,' ').trim().replace(/ /g,' ').replace(/ /g,' ').replace(/(\r\n|\r|\n){2,}/g, '$1\n').replace(/ \n/g,'\n').replace(/\n /g,'\n').replace(/ \r/g,'\n').replace(/\r /g,'\n').replace(/\t/g,' ').trim().replace(/ /g,' ').replace(/ /g,' '); } function vatreg() { document.form1.txt.value=vatnice(); } function validatetxt() { if (maarsen==0) txthemax=400; else txthemax=8000; document.getElementById('fotxc').innerHTML=vatnice().length+'/'+txthemax; if(vatnice().length>txthemax) { document.form1.txt.style.background='pink'; document.getElementById('fotxc').style.color='red'; document.getElementById('fotxc').classList.add("blink_me"); } else { document.form1.txt.style.background='white'; document.getElementById('fotxc').style.color='black'; document.getElementById('fotxc').classList.remove("blink_me"); } if(document.getElementById('kartxt').innerHTML.indexOf('b.php')>0) { document.getElementById('chkbei911').checked=false; document.getElementById('chkbei911').click(); } } function validatevas() { if (vincl==2) { document.getElementById('vasb').innerHTML=' unnecessary'; } if (vincl>0) { document.form1.vas[1].checked=true; document.getElementById('vasa').style.display='none'; document.getElementById('vasb').style.display='block'; } else { document.getElementById('vasa').style.display='block'; document.getElementById('vasb').style.display='none'; } if (document.form1.vas[0].checked==true) document.form1.kov.value=Math.floor((2.5*karte+0.2*document.form1.prechf.value)); else document.form1.kov.value=0; } function validatebeivis() { if(person=='ja' && whodelivers!='XXXmaarsen' && document.form1.tolan.value.indexOf('CH_')>-1) { if(whodelivers=='fleurop'||fleuche()) { setTimeout("flslot()",111) e=document.getElementsByClassName('vclbei'); for(i=0;i-1) { validatebeivis(); if (document.form1.wae.value=='usd') { e=document.getElementsByClassName('chkbei'); for(i=0;i4) document.form1.kot.value=(document.form1.prerem.value-0)*(document.form1.prechf.value-0)+(document.form1.kok.value-0)+(document.form1.kov.value-0)+(document.form1.kol.value-0); else 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 beautify(amount) { zehntel=Math.round((amount-Math.floor(amount))*100); ganze=Math.floor(amount); if (zehntel==0) zehntel='.--'; else if (zehntel<10) zehntel='.0'+zehntel; else zehntel='.'+zehntel; return(' '+ganze+zehntel+' '); } function displayamounts() { document.getElementById('blumen').innerHTML=currency(0,'curname')+' '+beautify(document.form1.pre.value); document.getElementById('karte').innerHTML=currency(0,'curname')+' '+beautify(currency(document.form1.kok.value,'chfto')); document.getElementById('vase').innerHTML=currency(0,'curname')+' '+beautify(currency(document.form1.kov.value,'chfto')); document.getElementById('lieferung').innerHTML=currency(0,'curname')+' '+beautify(currency(document.form1.kol.value,'chfto')); if (deliverable>4) realtotal=(document.form1.prerem.value-0)*(document.form1.pre.value-0)+(currency(document.form1.kok.value,'chfto')-0)+(currency(document.form1.kov.value,'chfto')-0)+(currency(document.form1.kol.value,'chfto')-0); else realtotal=(document.form1.pre.value-0)+(currency(document.form1.kok.value,'chfto')-0)+(currency(document.form1.kov.value,'chfto')-0)+(currency(document.form1.kol.value,'chfto')-0); document.getElementById('total').innerHTML=currency(0,'curname')+' '+beautify(realtotal); if(document.form1.Submit)document.form1.Submit.value=document.form1.Submit.value.split(':')[0]+': '+document.getElementById('total').innerHTML; document.form1.totalstring.value=currency(0,'curname')+' '+beautify(realtotal); if (vincl==1) document.getElementById('vase').innerHTML='incl.'; setTimeout("document.form1.basket.value=document.getElementById('kosten').innerHTML+'<'+'!-- DDD-'+whodelivers+'-DDD --'+'>'",111); } function displaydeliverable() { if (deliverable>1 && deliverable!=5 && deliverable!=8 && deliverable!=11 && (document.form1.tolan.value.indexOf('CH_')<0 && document.form1.tolan.value!='')) { document.getElementById('destination').innerHTML='
The offer you have chosen is appropriate to be delivered to addresses in Switzerland. Change.';} else if ((deliverable==4 || deliverable==7 || deliverable==10 || deliverable==13) && (document.form1.tolan.value.indexOf('CH_')>-1 && document.form1.tolan.value!='') && allplz.indexOf(document.form1.toplz.value)<0) { if(document.form1.toplz.value>999&&document.form1.toort.value!=''){document.getElementById('destination').innerHTML='
The selected offer we actually deliver only with our driver in the greater Bern area. Is there possibly a typo in the zip code? If it is very important for you to have this offer delivered to '+document.form1.toplz.value+' '+document.form1.toort.value+', we can delegate it to a local Fleurop partner, he will create a best possible approximation. To do this, write the word FLEUROP in the instructions field below. Change offer?'};} else document.getElementById('destination').innerHTML=''; } function hideonhidel() { if (deliverable>4) { window.onload=document.getElementById('hidela').style.display='none'; window.onload=document.getElementById('hidelb').style.display='none'; window.onload=document.getElementById('hidelc').style.display='none'; window.onload=document.getElementById('hideld').style.display='none'; window.onload=document.getElementById('hidele').style.display='none'; window.onload=document.getElementById('hidelf').style.display='none'; window.onload=document.getElementById('blumenlabel').innerHTML='product ('+document.form1.prerem.value+'x)'; } } function setfixspes() { if (deliverable>4) { if (deliverable==5 || deliverable==6 || deliverable==7) { if (document.form1.tolan.value.indexOf('CH_')>-1 || document.form1.tolan.value=='') document.form1.kol.value=ach; else document.form1.kol.value=awelt; if (maarsen==1) document.form1.kol.value=abe; } if (deliverable==8 || deliverable==9 || deliverable==10) { if (document.form1.tolan.value.indexOf('CH_')>-1 || document.form1.tolan.value=='') document.form1.kol.value=bch; else document.form1.kol.value=bwelt; if (maarsen==1) document.form1.kol.value=bbe; } if (deliverable==11 || deliverable==12 || deliverable==13) { if (document.form1.tolan.value.indexOf('CH_')>-1 || document.form1.tolan.value=='') document.form1.kol.value=cch; else document.form1.kol.value=cwelt; if (maarsen==1) document.form1.kol.value=cbe; } } } function showcreditcard() { document.getElementById('paytext0').style.display='block'; document.getElementById('paytext1').style.display='block'; document.getElementById('paytextTD').style.display='table-row'; document.getElementById('paytext2').style.display='block'; document.getElementById('paytext3').style.display='block'; } function hidecreditcard() { document.getElementById('paytext0').style.display='none'; document.getElementById('paytext1').style.display='none'; document.getElementById('paytextTD').style.display='none'; document.getElementById('paytext2').style.display='none'; document.getElementById('paytext3').style.display='none'; if (document.form1.pay[5].checked==true) document.form1.pay[5].checked=false; } function mzandrg() { if (deliverable>4) { if (deliverable==5 || deliverable==6 || deliverable==7) { if (arg==0) hidecreditcard(); if (amz>document.form1.prerem.value-0) { document.form1.prerem.value=amz; if (document.form1.tonam.value!='') alert('minimum quantity is '+amz); } } if (deliverable==8 || deliverable==9 || deliverable==10) { if (brg==0) hidecreditcard(); if (bmz>document.form1.prerem.value-0) { document.form1.prerem.value=bmz; if (document.form1.tonam.value!='') alert('minimum quantity is '+bmz); } } if (deliverable==11 || deliverable==12 || deliverable==13) { if (crg==0) hidecreditcard(); if (cmz>document.form1.prerem.value-0) { document.form1.prerem.value=cmz; if (document.form1.tonam.value!='') alert('minimum quantity is '+cmz); } } } } function delivbeil() { e=document.getElementsByClassName('chkbei'); delivbeilpos=0; for(i=0;i0) { if (allplz.indexOf(document.form1.toplz.value)>0||document.form1.toplz.value<1000)document.form1.kol.value=spes[document.form1.toplz.value]; else document.form1.kol.value=pspes; } } function validate() { if (typeof fnb2b == 'function') fnb2b(); setTimeout("dateval()",333); if (deliverable>4) setfixpreis(); if (deliverable>4) hideonhidel(); validateplz(); validatepre(); validatekar(); validatevas(); validatebei(); if (deliverable>4) setfixspes(); if(deliverable>4)delivbeil(); validatetot(); if(typeof validaterepeat==="function")validaterepeat(); displaydeliverable(); displayamounts(); validatefrlan(); if (deliverable>4) mzandrg(); if (deliverable>4) setfixpreis(); validatetxt(); } ffield=''; function errmsg(field,msg) { if(document.getElementById(ffield))document.getElementById(ffield).style.background='white'; if (eval('document.form1.'+field+'.value.replace(/\\s/g,"")')=='') { alert(msg); jQuery('html, body').animate({ scrollTop: ($("#"+field).offset().top)-200 }, 700); ffield=field; setTimeout("document.getElementById(ffield).focus()",800); setTimeout("document.getElementById(ffield).style.background='yellow'",800); return 1; } else return 0 } function getradix(that) { var options = document.getElementsByName(that); if (options) { for (var i = 0; i < options.length; i++) { if (options[i].checked){ return i; } } } } jsunix=new Date().getTime(); jsunix=Math.floor(jsunix / 1000); jsunix2=jsunix; forcefromgrc=false; function fu12() { jsunix2=new Date().getTime(); jsunix2=Math.floor(jsunix2 / 1000) if(jsunix2-1200>jsunix || forcefromgrc) { e=document.getElementsByTagName('textarea'); for(i=0;i0)nocentermobile='strong'; else nocentermobile='center'; document.getElementsByTagName('body')[0].innerHTML='
<'+nocentermobile+'>


Please wait 5 seconds, thanks!
'; if(location.href.indexOf('&x=')>0)rcx=location.href.split('&x=')[1].split('&')[0]; setTimeout("location.href=location.href.split('&x=')[0]+'&x='+(rcx-0+1)",2000); } } function fu12b() { fu12(); setTimeout("fu12b()",77777); } setTimeout("fu12b()",77777); function mandatory(){ protto(2); fu12(); validate(); error=0; if (error==0) error=error+(errmsg('tonam','Please record the name of the recipient.')-0); if (error==0) error=error+(errmsg('toadr','Please record the address of the recipient.')-0); if (error==0) error=error+(errmsg('toplz','Please record the zip code of the recipient.')-0); if (error==0) error=error+(errmsg('toort','Please record the place of the recipient.')-0); if (error==0) error=error+(errmsg('tolan','Please record the country of the recipient.')-0); if (error==0 && (document.getElementById('baddate').innerHTML.split('<')[0].replace(/\s/g,'')!='' && document.getElementById('baddate').style.display!='none')) { error=1; /////////////////////////////// jQuery('html, body').animate({ scrollTop: ($("#baddate").offset().top)-150 }, 700); setTimeout("document.getElementById('baddate').style.background='yellow'",1000); setTimeout("document.getElementById('baddate').style.background='transparent'",2000); setTimeout("document.getElementById('baddate').style.background='yellow'",3000); setTimeout("document.getElementById('baddate').style.background='transparent'",4000); setTimeout("document.getElementById('baddate').style.background='yellow'",5000); setTimeout("document.getElementById('baddate').style.background='transparent'",6000); setTimeout("document.getElementById('baddate').style.background='yellow'",7000); setTimeout("document.getElementById('baddate').style.background='transparent'",10000); /////////////////////////////// } if (error==0 && (document.getElementById('badslot').innerHTML.replace(/\s/g,'')!='' && document.getElementById('badslot').style.display!='none')) { error=1; /////////////////////////////// jQuery('html, body').animate({ scrollTop: ($("#badslot").offset().top)-150 }, 700); setTimeout("document.getElementById('badslot').style.background='yellow'",1000); setTimeout("document.getElementById('badslot').style.background='transparent'",2000); setTimeout("document.getElementById('badslot').style.background='yellow'",3000); setTimeout("document.getElementById('badslot').style.background='transparent'",4000); setTimeout("document.getElementById('badslot').style.background='yellow'",5000); setTimeout("document.getElementById('badslot').style.background='transparent'",6000); setTimeout("document.getElementById('badslot').style.background='yellow'",7000); setTimeout("document.getElementById('badslot').style.background='transparent'",10000); /////////////////////////////// } if (error==0) error=error+(errmsg('frnam','Please complete your name information.')-0); if (error==0) error=error+(errmsg('frvor','Please complete your name information.')-0); if (error==0) error=error+(errmsg('email','Please record your e-mail address.')-0); if (error==0) error=error+(errmsg('frtel','Please record your phone number.')-0); if (error==0) error=error+(errmsg('fradr','Please record your address.')-0); if (error==0) error=error+(errmsg('frplz','Please record your zip code.')-0); if (error==0) error=error+(errmsg('frort','Please record your place.')-0); if (error==0) error=error+(errmsg('frlan','Please record your country.')-0); if ((error==0 && document.form1.pay[0].checked==false && document.form1.pay[1].checked==false && document.form1.pay[2].checked==false && document.form1.pay[3].checked==false && document.form1.pay[4].checked==false && document.form1.pay[5].checked==false) || (error==0 && document.form1.frlan.value!='CH_' && document.form1.pay[5].checked)) { error=1; alert('Please choose a payment method.\n\nWe send invoices only to swiss addresses.'); /////////////////////////////// jQuery('html, body').animate({ scrollTop: ($("#zahlung").offset().top)-50 }, 700); if(document.getElementById('yzah')) { setTimeout("document.getElementById('yzah').style.textShadow='0px 0px 5px yellow'",800); setTimeout("document.getElementById('yzah').style.textShadow='none'",1500); setTimeout("document.getElementById('yzah').style.textShadow='0px 0px 5px yellow'",2000); setTimeout("document.getElementById('yzah').style.textShadow='none'",4000); } else { setTimeout("document.getElementById('zahlung').style.background='yellow'",800); setTimeout("document.getElementById('zahlung').style.background='transparent'",1800); } /////////////////////////////// } if (error>0) { submitready=0; return false; } else { submitready=1; return true; } } submitready=0; function preis(that) { if (that=='-') { document.form1.pre.value=Math.ceil(document.form1.pre.value-currency(bild,'chfto')*0.1); } if (that=='+') { document.form1.pre.value=Math.floor(document.form1.pre.value-0+currency(bild,'chfto')*0.1); } if (that=='|') { document.form1.pre.value=Math.ceil(currency(bild,'chfto')); } //if (document.form1.pre.valueMath.round(currency(bis,'chfto'))) document.form1.pre.value=Math.round(currency(bis,'chfto')); validate(); } function cleanmail($that) { $that=replace($that,' ',''); $that=replace($that,',','.'); return $that; } function checkemail() { if (document.form1.email.value!='' && (document.form1.email.value.indexOf('@')<1 || document.form1.email.value.indexOf('.')<1)) { document.form1.email.focus(); alert('Your e-mail address is wrong.'); } } oldfrnam=''; oldfrvor=''; oldfrtel=''; oldfradr=''; oldfrplz=''; oldfrort=''; oldfrlan=''; function autoliefer(that) { if (that=='ja') { oldfrnam=document.form1.frnam.value; oldfrvor=document.form1.frvor.value; oldfrtel=document.form1.frtel.value; oldfradr=document.form1.fradr.value; oldfrplz=document.form1.frplz.value; oldfrort=document.form1.frort.value; oldfrlan=document.form1.frlan.value; document.form1.frnam.value=document.form1.tonam.value; document.form1.frvor.value=document.form1.tovor.value; document.form1.frtel.value=document.form1.totel.value; document.form1.fradr.value=document.form1.toadr.value; document.form1.frplz.value=document.form1.toplz.value; document.form1.frort.value=document.form1.toort.value; document.form1.frlan.value=document.form1.tolan.value.split('_')[0]+'_'; //////////////////////////////////////////////////////////////// if(document.form1.b2b.checked && document.form1.frvor.value.indexOf(',')<1) { document.form1.frvor.value=document.form1.frnam.value+', '+document.form1.frvor.value; e=document.form1.fradr.value.split('\n'); foundab2b=0; for(i=0;i"); return that; } function cookieasave() { cookiea.document.location.href='cookiea.php?tonam='+escape(document.form1.tonam.value)+'&tovor='+escape(document.form1.tovor.value)+'&totel='+escape(document.form1.totel.value)+'&toadr='+escape(tobr(document.form1.toadr.value))+'&toplz='+escape(document.form1.toplz.value)+'&toort='+escape(document.form1.toort.value)+'&tolan='+escape(document.form1.tolan.value); } function cookiebsave(that) { if(document.form1.b2b.checked==true)b2bvalue='on'; else b2bvalue=''; cookieb.document.location.href='cookieb.php?vb='+that+'&b2b='+escape(b2bvalue)+'&frnam='+escape(document.form1.frnam.value)+'&frvor='+escape(document.form1.frvor.value)+'&email='+escape(document.form1.email.value)+'&frtel='+escape(document.form1.frtel.value)+'&fradr='+escape(tobr(document.form1.fradr.value))+'&frplz='+escape(document.form1.frplz.value)+'&frort='+escape(document.form1.frort.value)+'&frlan='+escape(document.form1.frlan.value); } function takedate() { document.form1.d.value=document.form1.f_date_b.value.split('/')[0]-0; document.form1.m.value=document.form1.f_date_b.value.split('/')[1]-0; document.form1.y.value=document.form1.f_date_b.value.split('/')[2]-0; dateval(); } function autoland() { if(document.form1.frplz) { if (replace(document.form1.toplz.value,' ','')>999 && replace(document.form1.toplz.value,' ','')<10000 && document.form1.tolan.value=='' && document.form1.toort.value!='') { document.form1.tolan[1].selected=true; document.form1.tolan.onchange(); validate(); } if (replace(document.form1.frplz.value,' ','')>999 && replace(document.form1.frplz.value,' ','')<10000 && document.form1.frlan.value=='' && document.form1.frort.value!='') { document.form1.frlan[1].selected=true; document.form1.frlan.onchange(); validate(); } } } function setfixpreis() { document.form1.pre.value=Math.round(currency(document.form1.prechf.value,'chfto')); if (document.form1.wae.value=='chf') document.form1.pre.value=document.form1.prechf.value; } function zeiggdtag() { gewdatum=new Date(0); gewdatum.setFullYear(document.form1.y.value); gewdatum.setMonth(document.form1.m.value-1); gewdatum.setDate(document.form1.d.value); if (gewdatum.getDay()==0) document.getElementById('zeigwt').innerHTML='Sunday'; if (gewdatum.getDay()==1) document.getElementById('zeigwt').innerHTML='Monday'; if (gewdatum.getDay()==2) document.getElementById('zeigwt').innerHTML='Tuesday'; if (gewdatum.getDay()==3) document.getElementById('zeigwt').innerHTML='Wednesday'; if (gewdatum.getDay()==4) document.getElementById('zeigwt').innerHTML='Thursday'; if (gewdatum.getDay()==5) document.getElementById('zeigwt').innerHTML='Friday'; if (gewdatum.getDay()==6) document.getElementById('zeigwt').innerHTML='Saturday'; setTimeout("notrauerpostex()",2); } timkeys=("0,1,2,3,4,5,6,7,8,9,vor,nach,before,after,avant,après,uhr,clock,hour,heur,früh,frueh,spät,spaet,early,late,tôt,tard").split(","); function dateval() { tkymatch=0; for(tkyi=0;tkyi-1)tkymatch++; } else { if(document.form1.timrem.value.toLowerCase().indexOf(tkyvalue)>-1)tkymatch++; } } tky1="Delivery to an exact time is only"; tky2="Delivery on an exact time is possible only in exceptional cases, for example, for weddings, for funerals, for corporate customers for the purpose of bouquets for occasions, etc. The reason for this is that our chauffeurs make a tour, which is ecologically and economically better than zigzagging (in city traffic) to individual stops. Therefore, we ask you to choose a rough time window (morning 8-12 and or afternoon 14-18) and allow us the freedom of time within the time window. If your order does not fall within the scope of the aforementioned exceptions and delivery in the rough time windows is inappropriate for your order, please contact us briefly afterwards. Kind regards from your Blumen Maarsen team with chaffeuse and chaffeur."; if(document.getElementById('timremrem')) { if(tkymatch>0 && whodelivers=='maarsen' && document.form1.toplz.value!=9999 && !document.form1.schleife)document.getElementById('timremrem').innerHTML=tky1+ ' ...more'; else document.getElementById('timremrem').innerHTML=''; } afterholidays=0; if ('Neujahrstag'.toLowerCase().indexOf('autolimit')<0 && document.form1.d.value==02 && document.form1.m.value==01 && document.form1.y.value==2009) afterholidays++; if ('Berchtoldstag'.toLowerCase().indexOf('autolimit')<0 && document.form1.d.value==03 && document.form1.m.value==01 && document.form1.y.value==2009) afterholidays++; if ('Karfreitag!'.toLowerCase().indexOf('autolimit')<0 && document.form1.d.value==19 && document.form1.m.value==04 && document.form1.y.value==2025) afterholidays++; if ('Ostermontag!'.toLowerCase().indexOf('autolimit')<0 && document.form1.d.value==22 && document.form1.m.value==04 && document.form1.y.value==2025) afterholidays++; if ('Auffahrt!'.toLowerCase().indexOf('autolimit')<0 && document.form1.d.value==30 && document.form1.m.value==05 && document.form1.y.value==2025) afterholidays++; if ('Pfingstmontag!'.toLowerCase().indexOf('autolimit')<0 && document.form1.d.value==10 && document.form1.m.value==06 && document.form1.y.value==2025) afterholidays++; if ('Erster August'.toLowerCase().indexOf('autolimit')<0 && document.form1.d.value==02 && document.form1.m.value==08 && document.form1.y.value==2009) afterholidays++; if ('Weihnachtstag'.toLowerCase().indexOf('autolimit')<0 && document.form1.d.value==26 && document.form1.m.value==12 && document.form1.y.value==2009) afterholidays++; if ('Stephanstag'.toLowerCase().indexOf('autolimit')<0 && document.form1.d.value==27 && document.form1.m.value==12 && document.form1.y.value==2009) afterholidays++; document.getElementById('badslot').innerHTML=''; document.getElementById('baddate').style.display='none'; document.getElementById('baddate').innerHTML=''; heutegewaehlt=0; if (10==document.form1.d.value-0 && 11==document.form1.m.value-0 && 2024==document.form1.y.value-0) heutegewaehlt=1; morgengewaehlt=0; if (11==document.form1.d.value-0 && 11==document.form1.m.value-0 && 2024==document.form1.y.value-0) morgengewaehlt=1; if (isdfocstat==0) document.getElementById('baddate').style.display='inline'; gewdatum=new Date(0); gewdatum.setFullYear(document.form1.y.value); gewdatum.setMonth(document.form1.m.value-1); gewdatum.setDate(document.form1.d.value); if (gewdatum.getDate()==25 && gewdatum.getMonth()==12-1 && document.getElementById('baddate').innerHTML.indexOf('<')<0) { document.getElementById('baddate').innerHTML=' holiday, not possible! '; if(dodamove==0 && document.getElementById('baddate').innerHTML.indexOf('movedate')>0)sunsun(); } if (gewdatum.getDate()==26 && gewdatum.getMonth()==12-1 && document.getElementById('baddate').innerHTML.indexOf('<')<0) { document.getElementById('baddate').innerHTML=' holiday, not possible! '; if(dodamove==0 && document.getElementById('baddate').innerHTML.indexOf('movedate')>0)sunsun(); } if (gewdatum.getDate()==1 && gewdatum.getMonth()==1-1 && document.getElementById('baddate').innerHTML.indexOf('<')<0) { document.getElementById('baddate').innerHTML=' holiday, not possible! '; if(dodamove==0 && document.getElementById('baddate').innerHTML.indexOf('movedate')>0)sunsun(); } if (gewdatum.getDate()==1 && gewdatum.getMonth()==8-1 && document.getElementById('baddate').innerHTML.indexOf('<')<0) { document.getElementById('baddate').innerHTML=' holiday, not possible! '; if(dodamove==0 && document.getElementById('baddate').innerHTML.indexOf('movedate')>0)sunsun(); } if (gewdatum.getDate()==2 && gewdatum.getMonth()==1-1 && document.getElementById('baddate').innerHTML.indexOf('<')<0) { document.getElementById('baddate').innerHTML=' holiday, not possible! '; if(dodamove==0 && document.getElementById('baddate').innerHTML.indexOf('movedate')>0)sunsun(); } if (gewdatum.getDate()==11 && gewdatum.getMonth()==5-1 && gewdatum.getFullYear()==2025) { if(document.getElementById('baddate').innerHTML.indexOf('movedate')>0 || 'Sun'=='Sun')document.getElementById('baddate').innerHTML='✔OK! Special opening day'; setTimeout("document.getElementById('unregodays').value='Muttertagsonntag MAXORD 100 ohne Nachmittag ohne Postexpress ohne Fleurop'",1); } else {document.getElementById('unregodays').value='';} document.getElementsByName('tim')[1].required=false; if (gewdatum.getDate()==11 && gewdatum.getMonth()==5-1 && gewdatum.getFullYear()==2025) { if(document.getElementsByName('tim')[1].checked) { document.getElementsByName('tim')[1].checked=false; document.getElementsByName('tim')[0].required=true; alert("On the delivery day you requested, only the forenoon is possible for delivery. Therefore, please tick the forenoon."); } } if (gewdatum.getDate()==19 && gewdatum.getMonth()==8-1 && gewdatum.getFullYear()==2024) { if(document.getElementById('baddate').innerHTML.indexOf('movedate')>0 || 'Mon'=='Sun')document.getElementById('baddate').innerHTML='✔OK! Special opening day'; setTimeout("document.getElementById('unregodays').value='knapp MAXORD 3'",1); } else {document.getElementById('unregodays').value='';} document.getElementsByName('tim')[1].required=false; if (gewdatum.getDay()==0 && document.getElementById('baddate').innerHTML.indexOf('<')<0) { document.getElementById('baddate').innerHTML=' Sunday not possible '; //wenn Sonntag if(dodamove==0 && document.getElementById('baddate').innerHTML.indexOf('movedate')>0)sunsun(); } if (gewdatum.getDate()==18 && gewdatum.getMonth()==4-1 && gewdatum.getFullYear()==2025) { fullybooked='\nWHY CAN I NOT ORDER FOR THIS DATE?\n\nIf we are open on the date you have placed an order and the message appears that we are fully booked, we have the maximum number of orders that we can fulfil while meeting our quality standards.\n\nWe ask for your understanding.\n\nIt is important for us to always meet the Maarsen quality that you and we expect; therefore we do not accept any order quantities that exceed our performance limits.'; document.getElementById('baddate').innerHTML=' NOT POSSIBlE! (fully booked or closed on this date) '; if(dodamove==0 && document.getElementById('baddate').innerHTML.indexOf('movedate')>0)sunsun(); } if (gewdatum.getDate()==21 && gewdatum.getMonth()==4-1 && gewdatum.getFullYear()==2025) { fullybooked='\nWHY CAN I NOT ORDER FOR THIS DATE?\n\nIf we are open on the date you have placed an order and the message appears that we are fully booked, we have the maximum number of orders that we can fulfil while meeting our quality standards.\n\nWe ask for your understanding.\n\nIt is important for us to always meet the Maarsen quality that you and we expect; therefore we do not accept any order quantities that exceed our performance limits.'; document.getElementById('baddate').innerHTML=' NOT POSSIBlE! (fully booked or closed on this date) '; if(dodamove==0 && document.getElementById('baddate').innerHTML.indexOf('movedate')>0)sunsun(); } if (gewdatum.getDate()==29 && gewdatum.getMonth()==5-1 && gewdatum.getFullYear()==2025) { fullybooked='\nWHY CAN I NOT ORDER FOR THIS DATE?\n\nIf we are open on the date you have placed an order and the message appears that we are fully booked, we have the maximum number of orders that we can fulfil while meeting our quality standards.\n\nWe ask for your understanding.\n\nIt is important for us to always meet the Maarsen quality that you and we expect; therefore we do not accept any order quantities that exceed our performance limits.'; document.getElementById('baddate').innerHTML=' NOT POSSIBlE! (fully booked or closed on this date) '; if(dodamove==0 && document.getElementById('baddate').innerHTML.indexOf('movedate')>0)sunsun(); } if (gewdatum.getDate()==9 && gewdatum.getMonth()==6-1 && gewdatum.getFullYear()==2025) { fullybooked='\nWHY CAN I NOT ORDER FOR THIS DATE?\n\nIf we are open on the date you have placed an order and the message appears that we are fully booked, we have the maximum number of orders that we can fulfil while meeting our quality standards.\n\nWe ask for your understanding.\n\nIt is important for us to always meet the Maarsen quality that you and we expect; therefore we do not accept any order quantities that exceed our performance limits.'; document.getElementById('baddate').innerHTML=' NOT POSSIBlE! (fully booked or closed on this date) '; if(dodamove==0 && document.getElementById('baddate').innerHTML.indexOf('movedate')>0)sunsun(); } if ('20241110'>document.form1.y.value+''+("0"+document.form1.m.value).slice(-2)+''+("0"+document.form1.d.value).slice(-2))document.getElementById('baddate').innerHTML=' date expired '; else if ((whodelivers!='post' && document.form1.tolan.value.indexOf('CH_')>-1) || fleuche()) { //wenn nicht postexpress document.getElementById('baddate').style.display='inline'; if(fleuche())document.form1.kol.value=fspes; if (gewdatum.getDay()==6) { //sonst wenn Samstag //wenn nach neunuhr und vormittag gewählt und nachmittag nicht gewählt und heute gewählt if (20>fnoon && document.form1.tim[0].checked && !document.form1.tim[1].checked && heutegewaehlt==1) document.getElementById('baddate').innerHTML=' earliest possible: this afternoon '; //wenn nach vierzehnzehnuhr und heute gewählt if (20>asnoon && heutegewaehlt==1) document.getElementById('baddate').innerHTML=' Date must be after this weekend! '; } else { // //wenn nach neunuhr und vormittag gewählt und nachmittag nicht gewählt und heute gewählt if (20>fnoon && document.form1.tim[0].checked && !document.form1.tim[1].checked && heutegewaehlt==1) document.getElementById('baddate').innerHTML=' earliest possible: this afternoon '; //wenn nach fünfzehnuhr und heute gewählt if (20>anoon && heutegewaehlt==1) document.getElementById('baddate').innerHTML=' earliest possible: tomorrow Monday '; } } else if (whodelivers=='post' && document.form1.tolan.value.indexOf('CH_')>-1 && !fleuche()) { document.getElementById('baddate').style.display='inline'; //wenn nur Nachmittag gewählt if (!document.form1.tim[0].checked && document.form1.tim[1].checked) document.getElementById('badslot').innerHTML=' delivery by parcel is before 9pm '; //wenn Montag gewählt if (gewdatum.getDay()==1 && deliverable<5) { mopexd='\nBITTE DATUM ANPASSEN ODER FLEUROP NOTIEREN\n\nDas Datum, welches Sie einstellen, definiert den Tag der Ankunft der Blumen.\n\nDamit die Blumen frisch sind und sie nicht über das Wochenende im Postbüro verweilen, können wir sie frühestens am Montag* bei der Post aufgeben, sie kommen am Dienstag* vor 9 Uhr in '+document.form1.toplz.value+' '+document.form1.toort.value+' beim Empfänger an. Müssen die Blumen zwingend direkt am Montag* eintreffen, notieren Sie FLEUROP im Feld ’Instruktionen’, damit wir den Auftrag an einen unserer Geschäftspartner vor Ort übermitteln dürfen. (*ohne:'+nogodays+')'; mopexe='\nPLEASE CHANGE THE DATE OR WRITE FLEUROP\n\nThe date you set defines the day of arrival of the flowers.\n\nIn order for the flowers to be fresh on delivery (which they won’t if they stay in the post office over the weekend), we take them to the post office on Monday* at the earliest. They will be delivered to the addressee in '+document.form1.toplz.value+' '+document.form1.toort.value+' on Thursday* before 9am. In case the flowers must be delivered on Monday*, type FLEUROP in the ’instructions’ field, so that we can transfer your order to one of our business partners near the recipient’s address. (*except:'+nogodays+')'; mopexf='\nCHANGER LA DATE OU ECRIRE FLEUROP\n\nLa date que vous fixez définit le jour d’arrivée des fleurs.\n\nPour que les fleurs soient fraîches (et ne doivent pas attendre dans le bureau de poste pendant le weekend), nous pouvons les envoyer au plus tôt le lundi*. Elles arriveront le mardi* avant 9 heures au récepteur à '+document.form1.toplz.value+' '+document.form1.toort.value+'. Au cas ou les fleurs doivent être délivrées le lundi*, indiquez FLEUROP dans le champ des instructions, afin de pouvoir transmettre votre commande à un de nos correspondants dans les environs du récepteur ou de la réceptrice. (*sauf:'+nogodays+')'; document.getElementById('baddate').innerHTML=' please read: express parcel for Mondays '; } if (afterholidays>0 && deliverable<5) { mopexd='\nBITTE DATUM ANPASSEN ODER FLEUROP NOTIEREN\n\nDas Datum, welches Sie einstellen, definiert den Tag der Ankunft der Blumen.\n\nDamit die Blumen frisch sind und sie nicht während Feiertagen im Postbüro verweilen, können wir sie frühestens am nächsten Arbeitstag* nach dem von Ihnen eingestellten Datum bei der Post aufgeben, sie kommen am Tag darauf* vor 9 Uhr in '+document.form1.toplz.value+' '+document.form1.toort.value+' beim Empfänger an. Müssen die Blumen zwingend direkt am von Ihnen eingestellten Datum eintreffen, notieren Sie FLEUROP im Feld ’Instruktionen’, damit wir den Auftrag an einen unserer Geschäftspartner vor Ort übermitteln dürfen. (*ohne:'+nogodays+')'; mopexe='\nPLEASE CHANGE THE DATE OR WRITE FLEUROP\n\nThe date you set defines the day of arrival of the flowers.\n\nTo ensure that the flowers are fresh and that they do not remain in the post office during public holidays, we can post them at the earliest on the next working day* after the date you have set. They will be delivered to the addressee in '+document.form1.toplz.value+' '+document.form1.toort.value+' the day after* before 9am. In case the flowers must be delivered on the date you set, type FLEUROP in the ’instructions’ field, so that we can transfer your order to one of our business partners near the recipient’s address. (*except:'+nogodays+')'; mopexf='\nCHANGER LA DATE OU ECRIRE FLEUROP\n\nLa date que vous fixez définit le jour d’arrivée des fleurs.\n\nPour garantir la fraîcheur des fleurs et éviter qu’elles ne restent à la poste pendant les jours fériés, nous pouvons les poster au plus tôt le jour ouvrable* suivant la date que vous avez indiquée. Elles seront livrées au destinataire à '+document.form1.toplz.value+' '+document.form1.toort.value+' le lendemain*. Si les fleurs doivent être livrées à la date que vous avez choisie, indiquez FLEUROP dans le champ des instructions, afin de pouvoir transmettre votre commande à un de nos correspondants dans les environs du récepteur ou de la réceptrice. (*sauf:'+nogodays+')'; document.getElementById('baddate').innerHTML=' please read: express parcel after public holiday '; } //wenn heute gewählt else if (heutegewaehlt==1 && deliverable<5) { if (gewdatum.getDay()==0 || gewdatum.getDay()==6) { mopexd='\nBITTE DATUM ANPASSEN ODER FLEUROP NOTIEREN\n\nDas Datum, welches Sie einstellen, definiert den Tag der Ankunft der Blumen.\n\nWir können Ihre Bestellung erst am Montag* als Postexpress aufgeben, Auslieferung ist dann am Dienstag* vor 9 Uhr beim Empfänger in '+document.form1.toplz.value+' '+document.form1.toort.value+'. Wenn die Blumen zwingend noch heute eintreffen müssen, notieren Sie FLEUROP im Feld ’Instruktionen’, damit wir den Auftrag an einen unserer Geschäftspartner vor Ort übermitteln dürfen. (*ohne:'+nogodays+')'; mopexe='\nPLEASE CHANGE THE DATE OR WRITE FLEUROP\n\nThe date you set defines the day of arrival of the flowers.\n\nWe can place your order at the earliest on Monday* as express parcel, delivery is then on Tuesday* before 9am at the recipient in '+document.form1.toplz.value+' '+document.form1.toort.value+'. In case the flowers must be delivered today, type FLEUROP in the ’instructions’ field, so that we can transfer your order to one of our business partners near the recipient’s address. (*except:'+nogodays+')'; mopexf='\nCHANGER LA DATE OU ECRIRE FLEUROP\n\nLa date que vous fixez définit le jour d’arrivée des fleurs.\n\nNous pouvons passer votre commande au plus tôt le lundi* en colis express, la livraison se fait alors le mardi* avant 9 heures chez le destinataire à '+document.form1.toplz.value+' '+document.form1.toort.value+'. Au cas ou les fleurs doivent être délivrées aujourd’hui encore, indiquez FLEUROP dans le champ des instructions, afin de pouvoir transmettre votre commande à un de nos correspondants dans les environs du récepteur ou de la réceptrice. (*sauf:'+nogodays+')'; } else { mopexd='\nBITTE DATUM ANPASSEN ODER FLEUROP NOTIEREN\n\nDas Datum, welches Sie einstellen, definiert den Tag der Ankunft der Blumen.\n\nWir können Ihre Bestellung noch heute als Postexpress aufgeben, Auslieferung ist aber erst morgen* vor 9 Uhr beim Empfänger in '+document.form1.toplz.value+' '+document.form1.toort.value+'. Wenn die Blumen zwingend noch heute eintreffen müssen, notieren Sie FLEUROP im Feld ’Instruktionen’, damit wir den Auftrag an einen unserer Geschäftspartner vor Ort übermitteln dürfen. (*ohne:'+nogodays+')'; mopexe='\nPLEASE CHANGE THE DATE OR WRITE FLEUROP\n\nThe date you set defines the day of arrival of the flowers.\n\nWe can ship the order today as express parcel; however, delivery in '+document.form1.toplz.value+' '+document.form1.toort.value+' will be only tomorrow* before 9am. In case the flowers must be delivered today, type FLEUROP in the ’instructions’ field, so that we can transfer your order to one of our business partners near the recipient’s address. (*except:'+nogodays+')'; mopexf='\nCHANGER LA DATE OU ECRIRE FLEUROP\n\nLa date que vous fixez définit le jour d’arrivée des fleurs.\n\nNous pouvons envoyer votre commande aujourd’hui par colis epxress, mais l’expédition aura lieu seulement demain* avant 9 heures chez le récepteur ou la réceptrice à '+document.form1.toplz.value+' '+document.form1.toort.value+'. Au cas ou les fleurs doivent être délivrées aujourd’hui encore, indiquez FLEUROP dans le champ des instructions, afin de pouvoir transmettre votre commande à un de nos correspondants dans les environs du récepteur ou de la réceptrice. (*sauf:'+nogodays+')'; } document.getElementById('baddate').innerHTML=' please read: express for today? '; } //wenn nach fünfzehnuhr und heute gewählt if (20>anoonpost && heutegewaehlt==1) document.getElementById('baddate').innerHTML=' earliest possible: tomorrow Monday '; if (gewdatum.getDay()==6)if (20>anoonpost && heutegewaehlt==1)document.getElementById('baddate').innerHTML=' earliest possible: next week '; //wenn morgengewählt und nach 15 Uhr ist if (morgengewaehlt==1 && 20>anoonpost && deliverable<5) { mopexd='\nBITTE DATUM ANPASSEN ODER FLEUROP NOTIEREN\n\nDas Datum, welches Sie einstellen, definiert den Tag der Ankunft der Blumen.\n\nDie Zeit reicht nicht mehr, um Ihre Bestellung noch heute bei der Post aufzugeben. Anstatt morgen treffen die Blumen einen Tag (Di-Sa)* später beim Empfänger in '+document.form1.toplz.value+' '+document.form1.toort.value+' ein. Müssen die Blumen zwingend morgen ankommen, notieren Sie FLEUROP im Feld ’Instruktionen’, damit wir den Auftrag an einen unserer Geschäftspartner vor Ort übermitteln dürfen. (*ohne:'+nogodays+')'; mopexe='\nPLEASE CHANGE THE DATE OR WRITE FLEUROP\n\nThe date you set defines the day of arrival of the flowers.\n\nThere isn’t enough time left to ship your order today by express parcel. Instead of tomorrow, the flowers will reach the addressee in '+document.form1.toplz.value+' '+document.form1.toort.value+' one day (Tue-Sat)* late. In case the flowers must be delivered tomorrow, type FLEUROP in the ’instructions’ field, so that we can transfer your order to one of our business partners near the recipient’s address. (*except:'+nogodays+')'; mopexf='\nCHANGER LA DATE OU ECRIRE FLEUROP\n\nLa date que vous fixez définit le jour d’arrivée des fleurs.\n\nIl n’y a pas assez de temps pour envoyer votre commande aujourd’hui par colis express. Au lieu de demain, les fleurs seront délivrées un jour (mar-sam)* plus tard au récepteur à '+document.form1.toplz.value+' '+document.form1.toort.value+'. Au cas ou les fleurs doivent être délivrées demain, indiquez FLEUROP dans le champ des instructions, afin de pouvoir transmettre votre commande à un de nos correspondants dans les environs du récepteur ou de la réceptrice. (*sauf:'+nogodays+')'; document.getElementById('baddate').innerHTML=' please read: express parcel for tomorrow? '; } } zeiggdtag(); } isdfocstat=0; function isdfoc(focval) { isdfocstat=focval; dateval(); } function sunsun() { gewdatum.setDate(document.form1.d.value-0+1); document.form1.d.value=gewdatum.getDate(); document.form1.m.value=gewdatum.getMonth()+1; document.form1.y.value=gewdatum.getFullYear(); dateval(); } function switchcdays() { nogodays=''; foundswitch=0; if (document.form1.d.value==1 && document.form1.m.value==1) { document.form1.d.value=02; document.form1.m.value=01; document.form1.y.value=2025; foundswitch++; } nogodays+=' 1\u00B7Jan\u00B72025'; if (document.form1.d.value==2 && document.form1.m.value==1) { document.form1.d.value=03; document.form1.m.value=01; document.form1.y.value=2025; foundswitch++; } nogodays+=' 2\u00B7Jan\u00B72025'; if (document.form1.d.value==18 && document.form1.m.value==4 && document.form1.y.value==2025) { document.form1.d.value=19; document.form1.m.value=04; document.form1.y.value=2025; foundswitch++; } nogodays+=' 18\u00B7Apr\u00B72025'; if (document.form1.d.value==21 && document.form1.m.value==4 && document.form1.y.value==2025) { document.form1.d.value=22; document.form1.m.value=04; document.form1.y.value=2025; foundswitch++; } nogodays+=' 21\u00B7Apr\u00B72025'; if (document.form1.d.value==29 && document.form1.m.value==5 && document.form1.y.value==2025) { document.form1.d.value=30; document.form1.m.value=05; document.form1.y.value=2025; foundswitch++; } nogodays+=' 29\u00B7May\u00B72025'; if (document.form1.d.value==9 && document.form1.m.value==6 && document.form1.y.value==2025) { document.form1.d.value=10; document.form1.m.value=06; document.form1.y.value=2025; foundswitch++; } nogodays+=' 9\u00B7Jun\u00B72025'; if (document.form1.d.value==1 && document.form1.m.value==8) { document.form1.d.value=02; document.form1.m.value=08; document.form1.y.value=2025; foundswitch++; } nogodays+=' 1\u00B7Aug\u00B72025'; if (document.form1.d.value==25 && document.form1.m.value==12) { document.form1.d.value=26; document.form1.m.value=12; document.form1.y.value=2024; foundswitch++; } nogodays+=' 25\u00B7Dec\u00B72024'; if (document.form1.d.value==26 && document.form1.m.value==12) { document.form1.d.value=27; document.form1.m.value=12; document.form1.y.value=2024; foundswitch++; } nogodays+=' 26\u00B7Dec\u00B72024'; if (foundswitch>0) { dateval(); if (gewdatum.getDay()==0) { gewdatum.setDate(document.form1.d.value-0+1); document.form1.d.value=gewdatum.getDate(); document.form1.m.value=gewdatum.getMonth()+1; document.form1.y.value=gewdatum.getFullYear(); dateval(); switchcdays(); } } } setTimeout("dodamove=1",1111); function eventlist() { e=document.getElementsByTagName('input'); for(i=0;iu{color:#333}')