balloonid=911;
mbalrun=0;
function resetballooncookies() {
document.cookie='BeWnInId=;path=/';
document.cookie='hkbei=;path=/'
}
if(location.href.indexOf('&l=f')>0)choosestring='Ensuite, veuillez sélectionner les fleurs qui seront livrées avec les ballons. Votre sélection de ballons est automatiquement appliquée.';
else if(location.href.indexOf('&l=e')>0)choosestring='Next, please choose the flowers to be delivered together with the balloons. Your balloon selection is automatically applied.';
else choosestring='Bitte wählen Sie als nächstes die Blumen, die zusammen mit den Ballonen geliefert werden sollen. Ihre Ballonwahl wird automatisch übernommen.';
function balloonflowers() {
document.cookie='BeWnInId='+balloonid+';path=/';
document.cookie='hkbei='+escape(parent.document.getElementById('hkbei'+parent.balloonid).innerHTML.split(' ')[1])+';path=/'
//alert(choosestring);
//location.href='index.php?c=offersoverview';
location.href='index.php?c=blumendeto';
}
function resizeIframe(obj) {
obj.style.height = obj.contentWindow.document.documentElement.scrollHeight + 'px';
}
ballonalt=document.getElementById('blimg'+balloonid).alt.split('|||');
document.getElementById('blimg'+balloonid).alt=ballonalt[0]+'|||'+ballonalt[1]+'|||'+'
'+'|||'+ballonalt[3];
if(document.getElementById('chkbei'+balloonid))document.getElementById('chkbei'+balloonid).onclick=function() {if(document.getElementById('chkbei'+balloonid).checked)document.getElementById('blimg'+balloonid).click()};
function bkmobilecorr() {
if(document.getElementById('finibutton')) {
if(document.getElementById('finibutton'))document.getElementById('finibutton').style.left='250px';
if(document.getElementById('BkJa'))document.getElementById('BkJa').style.display='none';
if(document.getElementById('BkNein'))document.getElementById('BkNein').style.display='none';
}
setTimeout("if(location.href.indexOf('mobile.php')>0)bkmobilecorr()",500);
}
setTimeout("if(document.getElementById('chkbei'+balloonid).checked==true&&document.getElementById('finibutton')&&location.href.indexOf('beilagen')<0){document.getElementById('finibutton').click()}",2000);
//setTimeout("if(document.getElementById('chkbei'+balloonid).checked==true&&document.getElementById('finibutton')&&location.href.indexOf('beilagen')<0&&location.href.indexOf('mobile.php')>0){window.scrollTo(0,200)}",3000);
//setTimeout("if(document.getElementById('chkbei'+balloonid).checked==true&&document.getElementById('finibutton')&&location.href.indexOf('beilagen')<0){document.getElementById('tonam').focus()}",4000);
if(location.href.indexOf('mobile.php')>0)bkmobilecorr();
function fbalitems(that) {
document.getElementById('hkbei'+balloonid).innerHTML=document.getElementById('hkbei'+balloonid).innerHTML.split(' ')[0]+' '+that;
document.getElementById('chkbei'+balloonid).name=that;
}
function fbalpreis(that) {
document.getElementById('chkbei'+balloonid).value=that;
document.getElementById('preisbei'+balloonid).innerHTML=that;
validate();
if(mbalrun==0)setTimeout("maarsenballoons()",1111);
}
if(location.href.indexOf('&l=f')>0)balloonstring='Ballons';
else if(location.href.indexOf('&l=e')>0)balloonstring='Balloons';
else balloonstring='Ballone';
setTimeout("document.getElementById('preisbei'+balloonid).style.display='inline';document.getElementById('preisbei'+balloonid).innerHTML=balloonstring;if(location.href.indexOf('beilagen')>0)document.getElementById('hkbei'+balloonid).innerHTML=document.getElementById('hkbei'+balloonid).innerHTML.replace(/CHF 1./,'');document.getElementById('blimg'+balloonid).title='Balloons of your choice. Deliverable together with flowers by Maarsen chauffeur in the greater Bern area.'",1111);
if(location.href.indexOf('&l=f')>0)mabalstring='Les ballons ne sont pas possibles pour la destination OU le mode de livraison que vous avez choisis. Seul le chauffeur Maarsen peut livrer des ballons.\n\nOu y a-t-il une faute de frappe dans le code postal?';
else if(location.href.indexOf('&l=e')>0)mabalstring='Balloons are not possible for the destination OR delivery method you have chosen. Only Maarsen\'s driver himself can deliver balloons.\n\nOr does it have a typo in the zip code?';
else mabalstring='Ballone sind für die von Ihnen gewählte Destination ODER Liefermethode nicht möglich. Nur der Maarsen-Chauffeur selber kann Ballone ausliefern.\n\nOder hat es einen Tippfehler in der PLZ?';
function maarsenballoons() {
mbalrun=1;
if(document.getElementById('chkbei'+balloonid).checked) {
if(whodelivers!='maarsen') {
if(document.form1.bei[0].checked)alert(mabalstring)
document.getElementById('chkbei'+balloonid).checked=false;
validate();
}
}
setTimeout("maarsenballoons()",1111);
}
document.getElementById('BeWnIn').style.height=window.innerHeight+'px';
document.getElementById('BeWnIn').style.overflowX='hidden';
if(location.href.indexOf('selectballoons')>0) {
if(document.getElementById('blimg'+balloonid)) {
document.getElementById('blimg'+balloonid).click();
}
}