function validateform()
		{
			 var formobj = document.forms[0]; 
			 <!--Note: If two forms on one page, next form will be var formobj = document.forms[1]-->
	
			 if (formobj.name.value =="")
			 {
			   alert("Please enter your name and contact details...");
			   formobj.name.focus();
			   return false;
			 }
			 
			  var formobj = document.forms[1]; 
			 <!--Note: If two forms on one page, next form will be var formobj = document.forms[1]-->
			 
			  if (formobj.searchtext.value =="")
			 {
			   alert("No property name entered....");
			   formobj.searchtext.focus();
			   return false;
			 }

		return true;
			}