function bpk_toonform(o) { for (var par=o.parentNode;par.tagName!='BODY';par=par.parentNode); for (var html=par.parentNode;html.tagName!='HTML';html=html.parentNode); var gd = document.createElement('DIV'); gd.id='bpk_black'; gd.style.display='block'; gd.style.position='absolute'; gd.style.opacity=0; gd.style.left='0px'; gd.style.top='0px'; gd.style.margin='0px'; gd.style.padding='0px'; gd.style.background='black'; gd.style.filter='alpha(opacity=0)'; var ih = 100; var iw = 100; /*var test1 = document.body.scrollHeight; var test2 = document.body.offsetHeight if (test1 > test2) // all but Explorer Mac { iw = document.body.scrollWidth; ih = document.body.scrollHeight; } else // Explorer Mac; //would also work in Explorer 6 Strict, Mozilla and Safari { iw = document.body.offsetWidth; ih = document.body.offsetHeight; }*/ if (html.innerHeight) { ih = html.innerHeight; iw = html.innerWidth; } else if (document.documentElement && document.documentElement.clientHeight) { ih = document.documentElement.clientHeight; iw = document.documentElement.clientWidth; } else if (document.body) { ih = document.body.clientHeight; iw = document.body.clientWidth; } gd.style.height=ih+'px'; gd.style.width=iw+'px'; par.appendChild(gd); var f = document.createElement('IFRAME'); f.id='bpk_iframe'; //f.style.opacity=0; f.style.display='none'; //f.style.filter='alpha(opacity=0);'; f.style.position='absolute'; f.style.width='500px'; f.style.height='400px'; f.style.border='0px'; f.frameBorder='0'; f.style.scrolling='no'; f.style.top='50px'; f.style.left='50%'; f.style.marginLeft='-250px'; f.src="http://www.zorgelozelening.nl/form.php?form=leenadvies&ref="+top.location.href; par.appendChild(f); setTimeout('bpk_fade(0,0)',25); } function bpk_fade(a,b) { var gd = document.getElementById('bpk_black'); var f = document.getElementById('bpk_iframe'); if (a<8) { gd.style.opacity=a/10; gd.style.filter = 'alpha(opacity='+(a*10)+')'; a+=2; }/* else if (b<=10) { if (b==0) f.style.display='block'; f.style.opacity=b/10; f.style.filter = 'alpha(opacity='+(b*10)+')'; b+=2; } else { f.style.filter = null; }*/ if (a<8) //|| b<=10) setTimeout('bpk_fade('+a+','+b+')',25); else f.style.display='block'; } var arVersion = navigator.appVersion.split("MSIE") var version = parseFloat(arVersion[1]) function pngfix() { if ((version >= 5.5) && (version < 7) && (document.body.filters)) { for(var i=0; i" img.outerHTML = strNewHTML i = i-1 } } } } document.write('');