function validate(field) {
var valid = "0123456789"
var ok = "yes";
var temp;
for (var i=0; i<field.value.length; i++) {
temp = "" + field.value.substring(i, i+1);
if (valid.indexOf(temp) == "-1") ok = "no";
}
if (ok == "no") {
alert("Invalid entry! Only numbers are accepted!");
field.value="";
field.focus();
   }
}

	function SendAppli()

	{	
	//alert(f.Company);
	//alert(document.form11.Company);

       if ((document.form1.email.value=="" || document.form1.email.value.indexOf('@', 0) == -1) || (document.form1.email.value.indexOf('.', 0) == -1 ))
		{
	        	alert('Please enter a valid EMail');
		        document.form1.email.focus();
				 document.form1.email.value="";
		        return false;
	 
			}
		
		document.form1.action="index.asp"
		document.form1.method="post"
		document.form1.submit()
	}		