

function checkForm() {

	var msg;
	
	email = $("input[@name=e]").attr("value");
	name = $("input[@name=name]").attr("value");
	phone = $("input[@name=day_tel]").attr("value");
	address = $("input[@name=address]").attr("value");
	city = $("input[@name=city]").attr("value");
	state = $("input[@name=state]").attr("value");
	zip = $("input[@name=zip]").attr("value");

	
		if (!address) msg = "You must fill-in all of your address information"
	if (!city) msg = "You must  fill-in all of your address information"
	if (!state) msg = "You  must fill-in all of your address information"
	if (!zip) msg = "You  must fill-in all of your address information"



	if (!phone) msg = "You must provide your daytime phone number"
if (!email) msg = "You must provide an email address."
	
if (!name) msg = "You must provide your name"
	
	if (msg) {
		alert (msg)
		return false;
	}

	document.hireMusicianForm.submit();
	
}