<!--
re_emal = /^[\w-\.]+\@[\w\.-]+\.[a-z]{2,4}$/;function validate_subscription() {o_form = document.forms['subscribe']; o_form.elements['Submit'].disabled = true; clear_errors (); a_errors = [];
o_FNAME = o_form.elements['FNAME'];	if (!o_FNAME.value)
a_errors[a_errors.length] = {'t': 'First Name is required field.', 'f': 'subscribe_FNAME'};
o_LNAME = o_form.elements['LNAME'];	if (!o_LNAME.value)
a_errors[a_errors.length] = {'t': 'Last Name is required field.', 'f': 'subscribe_LNAME'};
o_EMAIL = o_form.elements['EMAIL'];	if (!o_EMAIL.value)
a_errors[a_errors.length] = {'t': 'Email is required field.', 'f': 'subscribe_EMAIL'};
if (o_EMAIL.value && !re_emal.exec(o_EMAIL.value))
a_errors[a_errors.length] = {'t': 'Invalid Email format.', 'f': 'subscribe_EMAIL'};
o_ADDRESS1 = o_form.elements['ADDRESS1']; if (!o_ADDRESS1.value)
a_errors[a_errors.length] = {'t': 'Address1 is required field.', 'f': 'subscribe_ADDRESS1'};
o_CITY = o_form.elements['CITY'];if (!o_CITY.value)
a_errors[a_errors.length] = {'t': 'City is required field.', 'f': 'subscribe_CITY'};
o_STATE = o_form.elements['STATE'];if (!o_STATE.value)
a_errors[a_errors.length] = {'t': 'State is required field.', 'f': 'subscribe_STATE'};
o_ZIP = o_form.elements['ZIP']; if (!o_ZIP.value)
a_errors[a_errors.length] = {'t': 'Zip Code is required field.', 'f': 'subscribe_ZIP'};
o_COUNTRY = o_form.elements['COUNTRY'];if (!o_COUNTRY.value)
a_errors[a_errors.length] = {'t': 'Country is required field.', 'f': 'subscribe_COUNTRY'};

o_ACCOUNTTYPE = o_form.elements['ACCOUNTTYPE'];if (!o_ACCOUNTTYPE.value)
a_errors[a_errors.length] = {'t': 'Account Type is required field.', 'f': 'subscribe_ACCOUNTTYPE'};

o_PHONE = o_form.elements['PHONE'];	if (!o_PHONE.value)
a_errors[a_errors.length] = {'t': 'Day Phone is required field.', 'f': 'subscribe_PHONE'};
if (a_errors.length) {error(a_errors, 'subscribe');	return false;}report('Registering...', 'subscribe'); o_form.submit();}
function clear_errors() {a_areas = ['subscribe_error', 'error_box']; 
a_captions = ['subscribe_FNAME','subscribe_LNAME','subscribe_EMAIL','subscribe_ADDRESS1','subscribe_CITY','subscribe_STATE','subscribe_ZIP','subscribe_COUNTRY','subscribe_PHONE'];
for (var n_i = 0; n_i < a_areas.length; n_i++) { e_errbox = document.getElementById(a_areas[n_i]); if (e_errbox && e_errbox.innerHTML) { e_errbox.style.display = 'none';	e_errbox.innerHTML = ''; }	}
for (var n_i = 0; n_i < a_captions.length; n_i++) {	e_caption = document.getElementById(a_captions[n_i]); e_caption.style.color = '#13719F'; e_caption.style.fontWeight = 'normal';	} }
function error (a_errors, s_area) {	e_errbox = document.getElementById(s_area + '_error');	s_message = '';if (a_errors.length == 1) {
s_message = '<table cellpadding="5" cellspacing="0" border="0" width="100%"><tr><td valign="top" width="50"><b><font color="red">Error:</font></b></td><td>' + a_errors[0]['t'] + '</td></tr></table>';
}else {s_message = '<table cellpadding="5" cellspacing="0" border="0" width="100%"><tr><td valign="top" width="50"><b><font color="red">Errors:</font></b></td><td><ul style="margin-top:0px;margin-bottom:3px;margin-left:15px">';
for (n_i = 0; n_i < a_errors.length; n_i++) {s_message += '<li>' + a_errors[n_i]['t'] + '</li>';} s_message += '</ul></td></tr></table>';}
if (e_errbox && e_errbox.innerHTML != null) {
e_errbox.innerHTML = '<img src="/img/pixel.gif" width="1" height="10" border="0"><br><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td bgcolor="#CCCC33"><table cellpadding="0" cellspacing="1" border="0" width="100%"><tr><td bgcolor="#FFFFCC">' + s_message + '</td></tr></table></td></tr></table>';
e_errbox.style.display = 'block'; }	for (n_i = 0; n_i < a_errors.length; n_i++)	if (a_errors[n_i]['f']) { e_caption = document.getElementById(a_errors[n_i]['f']); e_caption.style.color = '#FF0000';	e_caption.style.fontWeight = 'bold'; }	o_form.elements['Submit'].disabled = false;}
function report (s_message, s_area) {e_msgbox = document.getElementById(s_area + '_error');	if (e_msgbox && e_msgbox.innerHTML != null) {
e_msgbox.innerHTML = '<img src="/img/pixel.gif" width="1" height="10" border="0"><br><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td bgcolor="#CCCC33"><table cellpadding="5" cellspacing="1" border="0" width="100%"><tr><td bgcolor="#FFFFCC" style="color: green;"><b>Accepted: </b><span style="color: black">' + s_message + '</span></td></tr></table></td></tr></table>';
e_msgbox.style.display = 'block'; } }
//-->