////Alert for form filling
	function load()
	 {
	  contactus.firstname.focus()
	 }//----end of function load
	function checktest()
	  {
	     if(window.document.contactus.Firstname.value=="")
	      {
	     	alert("Please Enter Your First Name");
	     	window.document.contactus.Firstname.focus();
	     	return false;
	      }
		  if(window.document.contactus.Lastname.value=="")
	     {
	     	alert("Please Enter Last Name");
	     	window.document.contactus.Lastname.focus();
	     	return false;
	     }
	     if(window.document.contactus.email.value=="")
	      {
	     	alert("Please Enter Your EMail Address");
	     	window.document.contactus.email.focus();
	     	return false;
	      }
	     if(document.contactus.email.value.indexOf(" ") >= 0)
	      {
		alert("Check Your EMail Id");
		document.contactus.email.focus();
		return (false);
	      }
	     if ( (document.contactus.email.value.indexOf("@") == -1)||(document.contactus.email.value.indexOf(".") == -1) )
		{
		  alert("Check Your EMail Id"); 
		  document.contactus.email.focus();
		  return (false);
		}
	     BeforeAtRate = document.contactus.email.value.substring(0,document.contactus.email.value.indexOf("@"));
	     AfterAtRate = document.contactus.email.value.substring(document.contactus.email.value.indexOf("@")+1,document.contactus.email.value.length);
		
	     if (AfterAtRate.indexOf(".") == -1)
		{
		  alert("Check Your EMail Id"); 
		  document.contactus.email.focus();
		  return (false);
		}
	     middle = AfterAtRate.substring(0, AfterAtRate.indexOf("."))
	     last = AfterAtRate.substring(AfterAtRate.indexOf(".") + 1,AfterAtRate.length)

            if (BeforeAtRate.length == 0 || middle.length == 0 || last.length == 0)
	     {
	    	alert("Check Your EMail Id"); 
		document.contactus.email.focus();
	        return (false);
	     }
	    if(window.document.contactus.Country.value=="Select Country")
	     {
	     	alert("Please Select Your Country");
	     	window.document.contactus.Country.focus();
	     	return false;
	     }
		 if(window.document.contactus.Comments.value=="")
	     {
	     	alert("Please Enter Comments");
	     	window.document.contactus.Comments.focus();
	     	return false;
	     }




	    
		if(window.document.contactus.Comments.value.indexOf("http://")>=0 || window.document.contactus.Comments.value.indexOf(".com")>=0)
		{
		alert("Sorry you can't enter URL here!");
		document.contactus.comments.focus();
		return false;
		}

		}//end of function checktest
