function searchValidation()
{
		//Validate the Company Name
		if(checkKeyword()==false)
			return false;
}
//Method for Validate the Company Name
function checkKeyword()
{
	document.searchform.query.value=trim(document.searchform.query.value);
	if(document.searchform.query.value=="")
	{
		alert("Please enter keyword");
		document.searchform.query.focus();
		return false;
	}
}

//function for removing the spaces on before and after the TEXT.
function trim(str)
{
   if (str == null)
   {   return (false);
   }
   return str.replace(/(^\s+)|(\s+$)/g,"");
}