if (document.images)
{
	preload_image_object = new Image();

	image_url = new Array();
	image_url[0] = "http://www.cogserver.nl/klanten/O&i/images/knop.jpg";
	image_url[1] = "http://www.cogserver.nl/klanten/O&i/images/knop_over.jpg";
	
	var i = 0;
	for(i=0; i<=1; i++) {
	preload_image_object.src = image_url[i];
	}
}    


function showflash(hoofdstuk,width,height,margintop,marginleft,marginbottom)
{
	var textwidth = width;
	var textheight = height;	


	var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
	if(hasRightVersion) {  // if we've detected an acceptable version
		var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
		+ 'width="'+textwidth+'" height="'+textheight+'" align="left" style="display:block; margin-top: '+margintop+'px; margin-left: '+marginleft+'px; margin-bottom: '+marginbottom+'px;"'
		+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
		+ '<param name="movie" value="'+hoofdstuk+'" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><param name="menu" value="false" />'
		+ '<embed src="'+hoofdstuk+'" quality="high" wmode="transparent" bgcolor="#ffffff" '
		+ 'width="'+textwidth+'" height="'+textheight+'" name="clip" align="middle"'
		+ 'play="true"'
		+ 'loop="true"'
		+ 'quality="high"'
		+ 'allowScriptAccess="sameDomain"'
		+ 'type="application/x-shockwave-flash"'
		+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
		+ '<\/embed>'
		+ '<\/object>';
		document.write(oeTags);   // embed the flash movie
	  } else {  // flash is too old or we can't detect the plugin
		var alternateContent = '<span style="font-size: 11px; color: #000">Flash plugin versie 8 is vereist.<br>'
		+ 'Er is geen Flash plugin gevonden.<br>'
		+ '<a href=http://www.macromedia.com/go/getflash/>Download Flash 8 plugin</a></span>';
		document.write(alternateContent);  // insert non-flash content
	  }

}


function toonandersveld(waarde) {
	
	if(waarde == "anders_nl.") { 
		document.getElementById('andersveld').style.display = "block";	
		document.getElementById('andersveld').value = "";
	}
	else { 
		document.getElementById('andersveld').style.display = "none";	
		document.getElementById('andersveld').value = waarde; 
	}
	
}