
document.frmNewsLetter.FName.focus();
var oElement = document.frmNewsLetter.FName;
//alert('FName='+ oElement.value);
VAL_InitElement(oElement, true, "NAME");
VAL_AttachErrorDisplay(oElement, new VAL_ErrorDisplay("First Name", FNamelbl, FNameErr));
oElement.onblur = VAL_Validate;

/*var oElement = document.frmNewsLetter.MName;

VAL_InitElement(oElement, true, "MIDINITIAL");
VAL_AttachErrorDisplay(oElement, new VAL_ErrorDisplay("Middle Initial", MNamelbl, MInitErr));
oElement.onblur = VAL_Validate;
*/
var oElement = document.frmNewsLetter.LName;

VAL_InitElement(oElement, true, "NAME");
VAL_AttachErrorDisplay(oElement, new VAL_ErrorDisplay("Last Name", LNameLbl, LNameErr));
oElement.onblur = VAL_Validate;


var oElement = document.frmNewsLetter.Email;
VAL_InitElement(oElement, true, "EMAIL");
VAL_AttachErrorDisplay(oElement, new VAL_ErrorDisplay("Email Address", EmailLbl, EmailErr));
oElement.onblur = VAL_Validate;

/*var oElement = document.frmNewsLetter.GA;

VAL_InitElement(oElement, true, "GENERIC");
VAL_AttachErrorDisplay(oElement, new VAL_ErrorDisplay("Gestational Age", GALbl, GAErr));
oElement.onblur = VAL_Validate;
*/

var oElement = document.frmNewsLetter.EDD;
VAL_InitElement(oElement, true, "GENERIC");
VAL_AttachErrorDisplay(oElement, new VAL_ErrorDisplay("EDD Date", EDDLbl, EDDErr));
oElement.onblur = VAL_Validate;
//VAL_InitElement(oElement, false, "DATE", "VAL_PastDateOnly", "CalcAge", "CalcAgeCleanUp");
//VAL_InitElement(oElement, true, "DATE","VAL_FutureDateOnly", "CalcAge", "CalcAgeCleanUp")
//VAL_AttachErrorDisplay(oElement, new VAL_ErrorDisplay("Date of Birth"), EDDLbl, EDDErr);
//oElement.onblur = VAL_Validate;		
	
