/* flash banner script */

	var ie4 = (document.all) ? true : false;
	var ns4 = (document.layers) ? true : false;
	var ns6 = (document.getElementById && !document.all) ? true : false;

	function hidelayer(lay) {
		if (ie4) {document.all[lay].style.visibility = "hidden";}
		if (ns4) {document.layers[lay].visibility = "hide";}
		if (ns6) {document.getElementById([lay]).style.display = "none";}
	}

	function showlayer(lay) {
		if (ie4) {document.all[lay].style.visibility = "visible";}
		if (ns4) {document.layers[lay].visibility = "show";}
		if (ns6) {document.getElementById([lay]).style.display = "block";}
	}

	function writetolayer(lay,txt) {
		if (ie4) {
			document.all[lay].innerHTML = txt;
		}
		if (ns4) {
			document[lay].document.write(txt);
			document[lay].document.close();
		}
		if (ns6) {
			over = document.getElementById([lay]);
			range = document.createRange();
			range.setStartBefore(over);
			domfrag = range.createContextualFragment(txt);

			while (over.hasChildNodes()) {
				over.removeChild(over.lastChild);
			}
			over.appendChild(domfrag);
	   	}
	}


   function write25JaarPopup(){
      document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="600" id="animatie_25jaar_nieuw" align="middle">');
      document.write('<param name="allowScriptAccess" value="sameDomain" />');
      document.write('<param name="movie" value="swf/ballonnen.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="swf/ballonnen.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="550" height="400" name="animatie_25jaar_nieuw" align="left" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
      document.write('</object>');
   }

   function close25JaarPopup(){
   	document.getElementById('reclameLayer').style.display='none';
   }
