function Valcheck(){

var name = document.myform.User_Name.value;
var email = document.myform.User_Email.value;
var company = document.myform.User_Company.value;
var city_state = document.myform.User_City_State.value;
var country = document.myform.User_Country.value;
var nationality = document.myform.Personal_Nationality.value;
//var dob = document.myform.Personal_DOB.value;
var placeofbirth = document.myform.Personal_Place_Of_Birth.value;
var pzip_postal = document.myform.User_Zip_Postal.value;

//var ptelephone = document.myform.User_Telephone.value;
//var pfax = document.myform.User_Fax.value;
//var pmobile = document.myform.User_Fax.value;

var rzip_postal = document.myform.Residence_Zip_Postal.value;
if(name == ""){
alert("Please Enter User Name");
document.myform.User_Name.focus();
return false;
}

if(email == ""){
alert("Please Enter User Email");
document.myform.User_Email.focus();
return false;
}

	apos=email.indexOf("@");
	dotpos=email.lastIndexOf(".");
	  if (apos<1||dotpos-apos<2){
	   alert('Please Enter Valid Email Address');
	   document.myform.User_Email.focus();
	   return false;
	   }
	  
if(company == ""){
alert("Please Enter User Company");
document.myform.User_Company.focus();
return false;
}

if(city_state == ""){
alert("Please Enter User City/State");
document.myform.User_City_State.focus();
return false;
}

if(country == ""){
alert("Please Enter User Country");
document.myform.User_Country.focus();
return false;
}

if(nationality == ""){
alert("Please Enter Your Nationality");
document.myform.Personal_Nationality.focus();
return false;
}
//if(dob == ""){
//alert("Please Enter Your Date of Birth");
//document.myform.Personal_DOB.focus();
//return false;
//}

if(document.myform.Personal_DOB_Day.options[0].value == 'Day')
{
	
	alert("Please Select Day of Date of Birth.")
	document.myform.Personal_DOB_Day.focus()
	return false	
}

if(document.myform.Personal_DOB_Month.options[0].value == 'Month')
{
	alert("Please Select Month of Date of Birth.")
	document.myform.Personal_DOB_Month.focus()
	return false	
}

if(document.myform.Personal_DOB_Year.options[0].value == 'Year')
{
	alert("Please Select Year of Date of Birth.")
	document.myform.Personal_DOB_Year.focus()
	return false	
}


if(placeofbirth == ""){
alert("Please Enter Your Place of Birth");
document.myform.Personal_Place_Of_Birth.focus();
return false;
}

if(pzip_postal != ""){
if(isNaN(pzip_postal)){
alert("Please Enter Zip/Postal Code In Number");
document.myform.User_Zip_Postal.focus();
return false;
}
}

if(rzip_postal != ""){
if(isNaN(rzip_postal)){
alert("Please Residence Enter Zip/Postal Code In Number");
document.myform.Residence_Zip_Postal.focus();
return false;
}
}
}


function Validate_Feedback(){
var customer = document.feedbackform.Customer.value;
var airlines = document.feedbackform.Airlines.value;
var summary  = document.feedbackform.Summary.value;

if(customer == ""){
alert("Please Enter Customer");
document.feedbackform.Customer.focus();
return false;
}

if(airlines == ""){
alert("Please Enter Airline Name");
document.feedbackform.Airlines.focus();
return false;
}

if(summary == ""){
alert("Please Enter Summary");
document.feedbackform.Summary.focus();
return false;
}

}



