// JavaScript Document
//voor popup
function EmodPopup( newurl,w,h){
	 var url = newurl;
	 if(!w) w = 715; if(!h) h = 516;
	 if(screen.width){
	  var winl = (screen.width - w)/2;
	  var wint = (screen.height - h)/2;
	 }else{
	  winl = 0;wint =0;
	 }
	 if (winl < 0) winl = 0;
	 if (wint < 0) wint = 0;
	 var settings = 'height=' + h + ',';
	 settings += 'width=' + w + ',';
	 settings += 'top=' + wint + ',';
	 settings += 'left=' + winl + ',';
	 settings += 'scrollbars=false';
	 settings += 'resizable=false';
	 
	 var newWin = window.open(url,'popup',settings);
	 newWin.window.focus();
	 return false;
	}
//om zoekveld leeg te maken
function clearText(thefield) {
        if (thefield.defaultValue == thefield.value)
                thefield.value = ""
        else thefield.value = thefield.defaultValue
}
