function checkForm(contact_form)
{
	
	if(contact_form.name.value=="")
	{
		alert("Name field should not be blank!");
		contact_form.name.focus();
		return false;
	}
	
	if(contact_form.company.value=="")
	{
		alert("Company field should not be blank!");
		contact_form.company.focus();
		return false;
	}
	
	if(contact_form.zipcode.value=="")
	{
		alert("Zipcode field should not be blank!");
		contact_form.zipcode.focus();
		return false;
	}
	
	if(isNaN(contact_form.zipcode.value)==true)
	{
		alert("Zipcode number must be numeric") ;
		contact_form.zipcode.focus();
		contact_form.zipcode.value="";
		return false;
	}
	
	if(contact_form.country.value=="")
	{
		alert("Country field should not be blank!");
		contact_form.country.focus();
		return false;
	}
	
	if(contact_form.phone.value=="")
	{
		alert("Phone field should not be blank!");
		contact_form.phone.focus();
		return false;
	}
	
	if(isNaN(contact_form.phone.value)==true)
	{
		alert("Phone number must be numeric") ;
		contact_form.phone.focus();
		contact_form.phone.value="";
		return false;
	}
	
	if(contact_form.email.value=="")
	{
		alert("Email address field should not be blank!");
		contact_form.email.focus();
		return false;
	}
	if (!contact_form.email.value.match(/^[\w\.\-]+@([\w\-]+\.)+[a-zA-Z]+$/))
	{
		alert("Enter a valid E-mail ID!");
		contact_form.email.focus();
		contact_form.email.value="";
		return false;
	}	
	
	return;
}
