

IE = document.all;
var redo = false;

function setup_fields(form) {
	with (form) {
		if (typeof(Cleaned_OK) == "object") {
		Cleaned_OK.xmin = 1;
		Cleaned_OK.xlabel = "Cleaned_OK";
		Cleaned_OK.onkeypress = hitReturn;
		Cleaned_OK.xvalidate = isString;
		Cleaned_OK.xerror = showError;
		Cleaned_OK.xerrmsg = "Please choose a response to question 1.";
		}
		if (typeof(Wash_Courteous) == "object") {
		Wash_Courteous.xmin = 1;
		Wash_Courteous.xlabel = "Wash_Courteous";
		Wash_Courteous.onkeypress = hitReturn;
		Wash_Courteous.xvalidate = isString;
		Wash_Courteous.xerror = showError;
		Wash_Courteous.xerrmsg = "Please choose a response to question 3.";
		}
		if (typeof(Location) == "object") {
		Location.xmin = 1;
		Location.xlabel = "Location";
		Location.onkeypress = hitReturn;
		Location.xvalidate = isString;
		Location.xerror = showError;
		Location.xerrmsg = "Please choose the location that you visited.";
		}
		if (typeof(Date_Of_Visit) == "object") {
		Date_Of_Visit.xmin = 1;
		Date_Of_Visit.maxLength = 25;
		Date_Of_Visit.xlabel = "Date_Of_Visit";
		Date_Of_Visit.onkeypress = hitReturn;
		Date_Of_Visit.xvalidate = isString;
		Date_Of_Visit.xerror = showError;
		Date_Of_Visit.xerrmsg = "Please enter the date that you visited.";
		}
		if (typeof(Time_Of_Visit) == "object") {
		Time_Of_Visit.xmin = 1;
		Time_Of_Visit.maxLength = 25;
		Time_Of_Visit.xlabel = "Time_Of_Visit";
		Time_Of_Visit.onkeypress = hitReturn;
		Time_Of_Visit.xvalidate = isString;
		Time_Of_Visit.xerror = showError;
		Time_Of_Visit.xerrmsg = "Please enter the time that you visited.";
		}
		if (typeof(Name) == "object") {
		Name.xmin = 1;
		Name.maxLength = 25;
		Name.xlabel = "Name";
		Name.onkeypress = hitReturn;
		Name.xvalidate = isString;
		Name.xerror = showError;
		Name.xerrmsg = "Please enter your name.";
		}
		if (typeof(Address) == "object") {
		Address.xmin = 1;
		Address.maxLength = 25;
		Address.xlabel = "Address";
		Address.onkeypress = hitReturn;
		Address.xvalidate = isString;
		Address.xerror = showError;
		Address.xerrmsg = "Please enter your address.";
		}
		if (typeof(City) == "object") {
		City.xmin = 1;
		City.maxLength = 25;
		City.xlabel = "City";
		City.onkeypress = hitReturn;
		City.xvalidate = isString;
		City.xerror = showError;
		City.xerrmsg = "Please enter your city.";
		}
		if (typeof(State) == "object") {
		State.xmin = 1;
		State.maxLength = 25;
		State.xlabel = "State";
		State.onkeypress = hitReturn;
		State.xvalidate = isString;
		State.xerror = showError;
		State.xerrmsg = "Please enter your state.";
		}
		if (typeof(Zip) == "object") {
		Zip.xmin = 1;
		Zip.maxLength = 25;
		Zip.xlabel = "Zip";
		Zip.onkeypress = hitReturn;
		Zip.xvalidate = isString;
		Zip.xerror = showError;
		Zip.xerrmsg = "Please enter your zip code.";
		}
		if (typeof(Phone) == "object") {
		Phone.xmin = 1;
		Phone.maxLength = 25;
		Phone.xlabel = "Phone";
		Phone.onkeypress = hitReturn;
		Phone.xvalidate = isPhone;
		Phone.xerror = showError;
		Phone.xerrmsg = "Please enter your phone number.";
		}
	}
return;
}
