

IE = document.all;
var redo = false;

function setup_fields(form) {
	with (form) {
		if (typeof(pass) == "object") {
		pass.xmin = 3;
		pass.maxLength = 15;
		pass.xlabel = "pass";
		pass.onkeypress = hitReturn;
		pass.xvalidate = isString;
		pass.xerror = showError;
		pass.xerrmsg = "Please enter a valid pass -- please type your pass now.";
		}
		if (typeof(imapuser) == "object") {
		imapuser.xmin = 1;
		imapuser.maxLength = 50;
		imapuser.xlabel = "imapuser";
		imapuser.onkeypress = editEmail;
		imapuser.xvalidate = isEmail;
		imapuser.xerror = showError;
		imapuser.xerrmsg1 = "The Email Address you entered, \"";
		imapuser.xerrmsg2 = "\" is not formatted correctly.\nPlease re-enter your Email Address now using this format: username@domain.com.";
		}		
	}
return;

}


