

IE = document.all;
var redo = false;

function setup_fields(form) {
	with (form) {
		if (typeof(Name) == "object") {
		Name.xmin = 1;
		Name.maxLength = 100;
		Name.xlabel = "Name";
		Name.onkeypress = hitReturn;
		Name.xvalidate = isString;
		Name.xerror = showError;
		Name.xerrmsg = "Your name is required -- please enter your name now.";
		}
		if (typeof(Email) == "object") {
		Email.xmin = 1;
		Email.maxLength = 50;
		Email.xlabel = "Email";
		Email.onkeypress = editEmail;
		Email.xvalidate = isEmail;
		Email.xerror = showError;
		Email.xerrmsg1 = "The Email Address you entered, \"";
		Email.xerrmsg2 = "\" is not formatted correctly.\nPlease re-enter your Email Address now using this format: name@somewhere.com.";
		}
		if (typeof(Zip) == "object") {
		Zip.xmin = 1;
		Zip.maxLength = 100;
		Zip.xlabel = "Name";
		Zip.onkeypress = hitReturn;
		Zip.xvalidate = isString;
		Zip.xerror = showError;
		Zip.xerrmsg = "Your zip code is required -- please enter your zip code now.";
		}
	}
return;
}
