

IE = document.all;
var redo = false;

function setup_fields(form) {
	with (form) {
		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(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(Comments) == "object") {
		Comments.xmin = 1;
		Comments.maxLength = 500;
		Comments.xlabel = "Comments";
		Comments.onkeypress = hitReturn;
		Comments.xvalidate = isString;
		Comments.xerror = showError;
		Comments.xerrmsg = "Please enter your questions or comments.";
		}
	}
return;
}
