// JavaScript Document

/*Function is activated when user clicks "Clear Form" on campus visit request pages. It prompts the user to confirm whether or not he or she actually wants to clear the form. Clicking 'OK' erases input on the form, clicking "Cancel" prevents input from being erased.*/
function check(thisform)
	{
		with(this)
		var agree = confirm("Do you wish to clear the form and start over?");
		
		if (agree)
		{
			thisform.clear();
		}
		
		else {return false}
	}