/*window.onload = focusForm;



function focusForm() {

if (document.getElementById("First")) {

	document.getElementById("First").focus()

	}

}



*/

function disableSubmit() {

	document.getElementById("button").disabled = true;

}



function checkFieldsNew() {

	if (document.getElementById("School_System").value == '') {

	alert('The school system name is required.');

	document.getElementById("School_System").focus();

	 return false;	

	}
	

	if (document.getElementById("Contact_Person").value == '') {

	alert('A contact person is required.');

	document.getElementById("Contact_Person").focus();

	 return false;	

	}

	if (document.getElementById("Title").value == '') {

	alert('A title is required.');

	document.getElementById("Title").focus();

	 return false;	

	}

	if (document.getElementById("Phone").value == '') {

	alert('A phone number is required.');

	document.getElementById("Phone").focus();

	 return false;	

	}

	if (document.getElementById("Email").value == '') {

	alert('An email address is required.');

	document.getElementById("Email").focus();

	 return false;	

	}

		
		
	
	return true;

}
