function frmValidate(theForm)
{
	if (theForm.strKeyword.value == "" || theForm.strKeyword.value == " ")
	{
		alert("Please enter a keyword.");
		theForm.strKeyword.focus();
		return (false);
	}    
		
	return(true);
}

function openwindow(url)
{
	window.open(url,"pop","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=yes, width=600, height=450")
}

function goToNext(curField,length,nextField) {
	if (eval("document.form1." + curField + ".value.length") == length) 
	{
		eval("document.form1." + nextField + ".focus()");
	}
}
