function Form1_Validator(Form1)    
{

	if (Form1.first_name.value == "")
	{
		alert("You must fill out the First Name field.");
		Form1.first_name.focus();
		return (false);
	}     
	//Form1.first_name.value = Form1.first_name.value.toUpperCase();


	if (Form1.last_name.value == "")
	{
		alert("You must fill out the Last Name field.");
		Form1.last_name.focus();
		return (false);
	}     
	//Form1.last_name.value = Form1.last_name.value.toUpperCase();

	if (Form1.email.value == "")
	{
		alert("You must fill out the Email Address field.");
		Form1.email.focus();
		return (false);
	}     
	//Form1.email.value = Form1.email.value.toUpperCase();

	if (Form1.street1.value == "")
	{
		alert("You must fill out the Street Address field.");
		Form1.street1.focus();
		return (false);
	}     
	//Form1.street1.value = Form1.street1.value.toUpperCase();

	//Form1.street2.value = Form1.street2.value.toUpperCase();


	if (Form1.city.value == "")
	{
		alert("You must fill out the City field.");
		Form1.city.focus();
		return (false);
	}  
	//Form1.city.value = Form1.city.value.toUpperCase();

	if (Form1.state.value == "")
	{
		alert("You must choose a State.");
		Form1.state.focus();
		return (false);
	} 
	//Form1.state.value = Form1.state.value.toUpperCase();

	if (Form1.zip.value == "")
	{
		alert("You must fill in the zip code field.");
		Form1.zip.focus();
		return (false);
	}
	//Form1.zip.value = Form1.zip.value.toUpperCase();
	
	if (Form1.country.value == "")
	{
		alert("You must choose a country.");
		Form1.country.focus();
		return (false);
	}
      
	WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$contentholder$Button1", "", false, "", "https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8", false, false));
	
	//Form1.submit();

	//<form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST" id="Form1">
}
