function submitPHP() {
	var name = $("#name").val();
	var address = $("#address").val();
	var phone = $("#phone").val();
	var email = $("#email").val();
	var english = $("#english").is(":checked");
	var spanish = false;
	
	console.log(english);
	
	
	/*$('#msgbox').hide().addClass('messageboxloading').fadeIn(500);
   $('#msgbox').html('<img src="loading.gif" alt="Loading..." />');
	
	switch(det){
		case "newHome":
			newHome(name, type, address, lotnum);
			break
		case "touchUp":
			touchUp(name, type, address, lotnum);
			break
		case "customServ":
			customServ(name, type, address, lotnum);
			break
		case "other":
			other(name, type, address, lotnum);
			break
		case "commercial":
			commercial(name, type, address, lotnum);
			break
		case "rePaint":
			rePaint(name, type, address, lotnum);
			break
	}*/
}

function theResult(result) {
	if (result == "Error! Please fill in all fields...") {
		$('#msgbox').hide().addClass('messageboxerror').fadeIn(500);
		$('#msgbox').html(result);                    
   } else {
		$("#workForm").slideUp(600, function() {
			$('#msgbox').addClass('messageboxpass').hide().fadeIn(500);
			$('#msgbox').html(result);
		});                        
 	}
}
