/**---------------------------------------------------------------------------------- *  This function checks for the enter key in the query imput * * @author JR * @version 2008-06-13**-----------------------------------------------------------------------------------*/function imputqueryonkeyup(e){	var keynum;	if(window.event) // IE	{		keynum = e.keyCode	}	else if(e.which) // Netscape/Firefox/Opera	{		keynum = e.which	}	if (keynum == "13")	{		search();	}}/**---------------------------------------------------------------------------------- *  This function is for searching documents * * @author JR * @version 2008-06-13**-----------------------------------------------------------------------------------*/function search() {	if(document.forms[0].Query.value != "") {		location=document.forms[0].DB_Addr.value+'Search?SearchView&Query='+escape(document.forms[0].Query.value);	} else {	    alert("Please enter your search value."); 	    document.forms[0].Query.focus(); 	 }}