<!-- Begin
function checkemail(myForm) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myForm.email.value)){
return (true)
}
alert("Invalid E-mail Address! Please re-enter.")
return (false)
}
//  End -->

	function val()
		{
		
			flag=true;
			
		
			cname=document.f.customer_name.value;
			
			if (flag && cname=="")
				{
					alert("Please Enter Your Customer Name");
					flag=false;
					document.f.customer_name.focus();
				}				
			
			cadd=document.f.address.value;
			
			if (flag && cadd=="")
				{
					alert("Please Enter Your Correct Address");
					flag=false;
					document.f.address.focus();
				}
			
						
			ccity=document.f.city.value;
			
			if (flag && ccity=="")
				{
					alert("Please Enter City Name");
					flag=false;
					document.f.city.focus();
				}
			
			ccountry=document.f.country.value;
			
			if (flag && ccountry=="")
				{
					alert("Please Select your Country");
					flag=false;
					document.f.country.focus();
				}
			
			czip=document.f.zip.value;
			
			if (flag && czip=="")
				{
					alert("Please Enter Zip Code");
					flag=false;
					document.f.zip.focus();
				}
			
			ctelno=document.f.phone.value;
			
			if (flag && ctelno=="")
				{
					alert("Please Enter Your Telephone Number");
					flag=false;
					document.f.phone.focus();
				}
			
			cemail=document.f.email.value;
			
			if (flag && cemail=="")
				{
					alert("Please Enter Your Correct Email Address");
					flag=false;
					document.f.email.focus();
				}
				
	
				
		//	cexpirydate=document.f.cc_expmonth.value;
			
		//	if (flag && cexpirydate=="")cc_expmonth
		//		{
		//			alert("Please Enter Your Credit Card Expiration Date")
		//			flag=false;
		//			document.f.cc_expmonth.focus();
		//		}
		//	cexpiryyear=document.f.cc_expyear.value;
			
		//	if (flag && cexpiryyear=="")
		//		{
		//			alert("Please Enter Your Credit Card Expiration Year")
		//			flag=false;
		//			document.f.cc_expyear.focus();
		//		}

			if(flag) {
				document.f.submit();
			}
			
			return(flag);
		}