// JavaScript Document
function formSubmit()
{
	if(document.form1.email.value=='' || document.form1.email.value!='')
	{
		//alert("0");
		var ChkUser=chkUsername("email");
		return false;
	}
document.form1.submit();
}
function formFeedbackSubmit()
{
	if(document.form2.Name.value=='')
	{
		alert('Please type the Name');
		document.form2.Name.focus();
		return false;
	}
	else if(document.form2.Email.value=='')
	{
		alert('Please Type the Email Address');
		document.form2.Email.focus();
		return false;
	}
	else if (/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/.test(document.form2.Email.value)==false)
	{
		alert('Invalid Email Address');
		document.form2.Email.focus();
		return false;
	}
	else if(document.form2.Country.value=='')
	{
		alert('Please Select your country');
		document.form2.Country.focus();
		return false;
	}
	else if(document.form2.ContactNo.value=='')
	{
		alert('Please type the Contact No.');
		document.form2.ContactNo.focus();
		return false;
	}
document.form2.submit();
}

