/** * A specialized version of Email that uses a form field as the source * of the email address string. * * @author mmathews@oxygen.com * @author kfrank@oxygen.com * @version 1.0, 1 Jun 2001 * @formFieldref A String representation (aka "soft reference") of the form field object *				  like: "document.myForm.email" */function EmailField(formFieldref) {	this.formFieldref = formFieldref}if (typeof Email == "undefined") alert("EmailField extends Email and requires the inclusion of Email.js")/** * This object extends the Email object. */EmailField.prototype = new Email()/** * Uses the soft reference to the form field object to eval an object, * and returns the value of that form field. * * @return The value entered in the field named in the formFieldref. */EmailField.prototype.getAddress = function() {	var field = eval(this.formFieldref)	return field.value}