function CheckFeedback() 
{
var first = document.all.firstname.value;
var last = document.all.lastname.value;
var data = document.all.data.value;

if (first == "" || last == "") {
        alert("Both first and last names are required.");
		return false;
	}
if (data == "" ) {
        alert("Feedback is empty");
		return false;
	}
if ( !agree.checked ) {
        alert("You must check the Non-Disclosure Agreement checkbox");
		return false;
	}
return true;
}

function CheckApplication() 
{
var first = document.all.firstname.value;
var last = document.all.lastname.value;
var email = document.all.email.value;
var city = document.all.city.value;
var state = document.all.state.value;
var country = document.all.country.value;
//var data1 = document.all.data1.value;

if (first == "" || last == "" ) { 
        alert("Both first and last names are required.");
		return false;
	}
if (email == "" ) {
        alert("e-mail is required");
		return false;
	}
if (email.indexOf(".") < 1 || email.indexOf("@") < 1)  
 {
        alert("E-mail address is missing required period or @");
		return false;
  }
if (city == "" ) {
        alert("city is required");
		return false;
	}
if (state == "" || state == "Choose One"){
        alert("state is required");
		return false;
	}
if (country == "" || country == "Choose One") {
        alert("country is required");
		return false;
	}
//if (data1 == "" ) {
//      alert("Text is required");
//		return false;
//	}
return true;
}
