var u=this.location;var t=document.title;
function PlayFlash(url,w,h){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+w+'" height="'+h+'" title="player">\n');
	document.write('<param name="movie" value="'+url+'" /> \n');
	document.write('<param name="quality" value="high" /> \n');
	document.write('<param name="wmode" value="transparent"> \n');
	document.write('<embed src="'+url+'" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed></object>\n');
}
function PlayFlashMovie(player,url,w,h){
	document.write('<object type="application/x-shockwave-flash" flashvars="file='+url+'" data="'+player+'" wmode="transparent" width="'+w+'" height="'+h+'">\n');
	document.write('<param name="movie" value="'+player+'" /> \n');
	document.write('<param name="quality" value="high" /> \n');
	document.write('<param name="flashVars" value="file='+url+'" /> \n');
	document.write('<param name="wmode" value="transparent"> \n');
	document.write('<embed src="'+player+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed></object>\n');
}
function addBookmark(title,url){
    if(document.all){window.external.AddFavorite(url,title);}
    else if(window.sidebar){window.sidebar.addPanel(title, url,"");}
    else if(window.opera && window.print){return true;}
}
function openPop(a,opt){
	var url=""+a.href;
	if(url==""){return;}
	else{window.open(url,"_blank",opt);}
	return false;
}
function ENewsletterPro_JoinForm_Validator(theForm){
  if (theForm.Email.value == ""){
	alert("Voer aub een emailadres in.");
	theForm.Email.focus();
	return (false);
  }
  if ((theForm.Email.value.indexOf("@") <= 0)||(theForm.Email.value.indexOf(".") <= 0)){
	alert("Voer aub een emailadres in; naam@domein.extensie aub.");
	theForm.Email.focus();
	return (false);
  }
  if (theForm.Email.value.length < 5){
	alert("Voer aub een emailadres in.");
	theForm.Email.focus();
	return (false);
  }
  if (theForm.Email.value.length > 50){
	alert("Voer aub een geldig emailadres in.");
	theForm.Email.focus();
	return (false);
  }
  return (true);
}	
function clear_text(thefield){
	if (thefield.defaultValue==thefield.value){thefield.value =""}
}
function check_search(form){
  //if (form.searchbox.value == "" || form.searchbox.value == form.searchbox.defaultValue){
	if (form.searchbox.value == "" || form.searchbox.value == "Vul hier uw zoekopdracht in ..."){
		form.searchbox.focus();
		alert("Je hebt nog geen zoekopdracht ingevuld(!)");
		return (false);
  }
  if (form.searchbox.value.length > 100){
		alert("De ingevoerde zoekopdracht bestaat uit teveel karakters.");
		form.searchbox.focus();
		return (false);
  }
  return (true);
}
function select_search(link){
	var sel = document.getElementById("searchselection");
  if (link.id.indexOf(sel.value)<0){
		var olink = document.getElementById("ctl00_"+sel.value+"selection");
		sel.value=link.id.replace("selection","").replace("ctl00_","");
		link.className="selected";
		olink.className="";
  }
}