function MM_validateForm() {
	var re5digit=/^([\w\d\-\.]+)@{1}(([\w\d\-]{1,67})|([\w\d\-]+\.[\w\d\-]{1,67})|([\w\d\-]+\.[\w\d\-]+\.[\w\d\-]{1,67})|([\w\d\-]+\.[\w\d\-]+\.[\w\d\-]+\.[\w\d\-]{1,67}))\.(([a-zA-Z\d]{2,4})(\.[a-zA-Z\d]{2})?)$/
	if (document.myForm.Email.value.search(re5digit)==-1 && document.myForm.Email.value != '')
	alert("Please enter a valid email address.")
}
function PwdFocus() {
	if (document.myForm.Password.value != "")
		document.myForm.customer[1].checked = true;
}
function OnSubmitForm() {
	if(document.myForm.customer[0].checked == true)
		document.myForm.action = "/tools/allsubscriptions/allsubscriptions.cfm";
	else if (document.myForm.customer[1].checked == true)
		document.myForm.action = "/tools/allsubscriptions/allsubchange.cfm";
	return true;
}

function OnSubmitEconForm() {
	if(document.myForm.customer[0].checked == true)
		document.myForm.action = "/tools/econsubscriptions/allsubscriptions.cfm";
	else if (document.myForm.customer[1].checked == true)
		document.myForm.action = "/tools/econsubscriptions/allsubchange.cfm";
	return true;
}
