

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 = "Your Name is required for registration -- 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.";
		}
	}
return;
}
