
function checkPhrase(id) {

	var identifier = this.document.getElementById(id);
	identifier.style.visibility = 'hidden'; 
	if(this.document.FormSearch1.query.value == '') {
		this.document.getElementById(id).style.visibility = 'visible';  
		return false;
	} else {
		this.document.FormSearch1.action = '/zoekresultaten.php';
	}
} // End of Function




var params =  	{	
 BorderColor : 'transparent', 
   BorderWidth : 2, 
   CloseBoxHeight : 0, 
   CloseBoxSrc : '', 
   CloseBoxWidth : 0, 
   ContentColor : '#B02A30', 
   ContentHTML : '<form method=post onSubmit=\"return checkPhrase(\'praseempty\')\" id=\"FormSearch1\" name=\"FormSearch1\"><b>Trefwoord:</b><span id=\"praseempty\" style=\"visibility:hidden; color: red\" name=\"praseempty\"> Geen trefwoord</span>  <br /> <input type=\"text\" name=\"query\" value=\"\" size=10 maxlength=50 style=\"width:80px;\"> <br /><br /><br /><input type=\"submit\" value=\"Zoeken\" border=0 > </form>', 
   ContentLeftBorderColor : '#7B2F32', 
   ContentLeftBorderWidth : 1, 
   ContentRightBorderColor : '#7B2F32', 
   ContentRightBorderWidth : 1, 
   Height : 200, 
   InnerBorderColor : '#cccccc', 
   InnerBorderWidth : 0, 
   OuterBorderColor : '#3973ad', 
   OuterBorderWidth : 0, 
   Resizable : 'none', 
   ResizeBoxHeight : 0, 
   ResizeBoxSrc : '', 
   ResizeBoxWidth : 0, 
   StatusBarHeight : 24, 
   StatusBarHTML : '<table height=24 width=173 border=0 cellpadding=0 cellspacing=0 background=\'/pics/nbottom1.gif\' onclick=\'javascript:search.CloseWindow()\'><tr><td valign=middle align=right><a href=\'JavaScript:search.CloseWindow()\'><SPAN style=\'FONT-SIZE: 10px; FONT-FAMILY: verdana,sans-serif\'>Sluiten</span></a>  &nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </td>  </tr></table>', 
   StatusColor : '#B02A30', 
   TitleBarHeight : 63, 
   TitleBarHTML : '<img src=\'/pics/tsr2.gif\' vspace=0 border=0>', 
   TitleBarText : 'Zoeken', 
   ContentNoWrap : 'nowrap', 
   TitleColor : 'transparent', 
   Width : 177, 
   TitleFontSize : 12, 
   ContentFontColor : '#fff', 
   Id  : 'search'
} 
var search = new FerantDHTMLWindow(params); 
	

