//Contact FORM
// -----------------------------------------------
function checkDataCon()
{
	var correct = true
	
	if (document.Form_contact.Department.value == "Select One") {correct = false; alert("Please select a Subject!")
			document.Form_contact.Department.focus()
			return false}
	
	if (document.Form_contact.name.value == "") {correct = false; alert("Please enter your Full Name!")
			document.Form_contact.name.focus()
			return false}
	if (document.Form_contact.phone.value == "") {correct = false; alert("Please enter your Phone Number!")
			document.Form_contact.phone.focus()
			return false}  
	vale=document.Form_contact.email.value.indexOf("@" && ".")
	if (vale==-1)
	{  
			alert("You must enter a valid e-mail");
			document.Form_contact.email.select();
			return false
	}
	if (document.Form_contact.address.value == "") {correct = false; alert("Please enter your Address!")
			document.Form_contact.address.focus()
			return false}  			
	if (document.Form_contact.comments.value == "") {correct = false; alert("Please enter your Message!")
			document.Form_contact.comments.focus()
			return false}	
	
	if (correct){alert("Your Contact Request has been submitted successfully, Please allow up to 48hrs. for one of our representatives to contact you.")}
}

//Advertising FORM
// -----------------------------------------------
function checkDataAdv()
{
	var correct = true
	
	if (document.Form_adv.full_name.value == "") {correct = false; alert("Please enter your Full Name!")
			document.Form_adv.full_name.focus()
			return false}
	
	if (document.Form_adv.client_phone.value == "") {correct = false; alert("Please enter your Phone Number!")
			document.Form_adv.client_phone.focus()
			return false}
	vale=document.Form_adv.client_email.value.indexOf("@" && ".")
	if (vale==-1)
	{  
			alert("You must enter a valid e-mail");
			document.Form_adv.client_email.select();
			return false
	}
	if (document.Form_adv.venue.value == "") {correct = false; alert("Please enter your Establishment\'s Name!")
			document.Form_adv.venue.focus()
			return false}  
	if (document.Form_adv.venue_address.value == "") {correct = false; alert("Please enter Establishment\'s your Address!")
			document.Form_adv.venue_address.focus()
			return false}  			
	if (document.Form_adv.Position.value == "Select One") {correct = false; alert("Please enter your Position!")
			document.Form_adv.Position.focus()
			return false}	
	
	if (correct){alert("Your Request has been submitted successfully, Please allow up to 48hrs. for one of our representatives to contact you.")}
}

//Email Mobile FORM
// -----------------------------------------------
function checkDatamb()
{
	var correct = true
	
	if (document.form_txt.phone.value == "") {correct = false; alert("Please enter your Mobile Number")
			document.form_txt.phone.focus()
			return false} 
	if (document.form_txt.provider.value == "select") {correct = false; alert("Please enter your Mobile Provider")
			document.form_txt.provider.focus()
			return false}  
}

//SMS Mobile FORM
// -----------------------------------------------
function checkDatambem()
{
	var correct = true
	
	vale=document.form_mb.email.value.indexOf("@" && ".")
	if (vale==-1)
	{  
			alert("You must enter a valid e-mail");
			document.form_mb.email.select();
			return false
	}
}

//Bug FORM
// -----------------------------------------------
function checkData()
{
	var correct = true
	
	if (document.Form_bug.Error.value == "") {correct = false; alert("Please enter the Error!")
			document.Form_bug.Error.focus()
			return false}
	vale=document.Form_bug.email.value.indexOf("@" && ".")
	if (vale==-1)
	{  
			alert("You must enter a valid e-mail");
			document.Form_bug.email.select();
			return false
	}
	
	if (correct){alert("Your report has been sent, Thank you for helping us improve our site!")}
}
