function form_validate()
{
	firstname = document.getElementById("firstname").value;
	lastname = document.getElementById("lastname").value;
	phone = document.getElementById("phone").value;
	email = document.getElementById("email").value;
	shirtSize = document.getElementById("shirtSize").value;
	relation = document.getElementById("relation").value;
	company = document.getElementById("company").value;
	location1 = document.getElementById("location1").value;
	location2 = document.getElementById("location2").value;
	location3 = document.getElementById("location3").value;
	location4 = document.getElementById("location4").value;
	location5 = document.getElementById("location5").value;
	location6 = document.getElementById("location6").value;
	location7 = document.getElementById("location7").value;
	location8 = document.getElementById("location8").value;
	
		
	if(firstname == "" || firstname == "First Name")
		{
			document.getElementById("firstname").style.backgroundColor = "yellow";
			document.getElementById("firstname").select();
			document.getElementById("firstname").focus();
			self.scrollTo(0,0);
			return false;
		}
	if(lastname == "" || lastname == "Last Name")
		{
			document.getElementById("lastname").style.backgroundColor = "yellow";
			document.getElementById("lastname").select();
			document.getElementById("lastname").focus();
			self.scrollTo(0,0);
			return false;
		}
	if(phone == "" || phone == "xxx xxxxxxx")
		{
			document.getElementById("phone").style.backgroundColor = "yellow";
			document.getElementById("phone").select();
			document.getElementById("phone").focus();
			self.scrollTo(0,0);
			return false;
		}
	if(email == "" || email == "username@provider.com")
		{
			document.getElementById("email").style.backgroundColor = "yellow";
			document.getElementById("email").select();
			document.getElementById("email").focus();
			self.scrollTo(0,0);
			return false;
		}
	if(shirtSize == "" || shirtSize == "none selected")
		{
			document.getElementById("shirtSize").style.backgroundColor = "yellow";
			document.getElementById("shirtSize").select();
			document.getElementById("shirtSize").focus();
			self.scrollTo(0,0);
			return false;
		}
	if(relation == "" || relation == "none")
		{
			document.getElementById("relation").style.backgroundColor = "yellow";
			document.getElementById("relation").select();
			document.getElementById("relation").focus();
			self.scrollTo(0,0);
			return false;
		}
	if(relation == "industry" && company == "")
		{
			document.getElementById("company").style.backgroundColor = "yellow";
			document.getElementById("company").select();
			document.getElementById("company").focus();
			self.scrollTo(0,0);
			return false;
		}
	if(location1 == "" && location2 == "" && location3 == "" && location4 == "" && location5 == "" && location6 == "" && location7 == "" && location8 == "")
		{
			document.getElementById("noLoc").style.visibility = "visible";
			return false;
		}
	return true;
}