function validate_form ( )
{
    valid = true;

    if ( document.contact_form.fname.value == "" )
    {
        alert ( "Please fill in your first name." );
        valid = false;
    }


	if ( document.contact_form.lname.value == "" )
    {
        alert ( "Please fill in your last name." );
        valid = false;
    }


	if ( document.contact_form.email.value == "" )
	{
        alert ( "Please give us your email address." );
        valid = false;
    }

   return valid; 
   
}

function goback(){
	
history.go(-1)
	
}

function nextField(startField, destField){
	if(startField.value.length==startField.maxLength)
	destField.focus();
}

function validate(){
	if(document.forms[0].fname.value == "" || 
document.forms[0].lname.value == ""){
		window.alert("You must enter a first and a last name.");
		return false;
	}
	if(document.forms[0].address.value == ""){
		window.alert("You must enter a street address.");
		return false;
	}
	if(document.forms[0].city.value == ""){
		window.alert("You must enter a city.");
		return false;
	}
	if(document.forms[0].state.value == ""){
		window.alert("You must enter a state.");
		return false;
	}
	if(document.forms[0].zip.value == ""){
		window.alert("You must enter a zip code.");
		return false;
	}
}