<!--
/*
Peter Phan
Modified on 08/02/01 
Modified by An Dang (FMS) to focus on input boxes so visitors cannot by-pass all these javascript checks by forcing form to run .asp
*/
function email2_onfocus() {
var email1 = document.Subscribe.email.value;
if (email1 == ""){
 document.Subscribe.email.select();
 document.Subscribe.email.focus;
 }
}
function btnEmail_onclick() {
	var em1 = document.Subscribe.email.value;
    var em2 = document.Subscribe.email2.value;
	if (em1 == '' || em2 == '') {
	alert('Please enter both your old and new e-mail to change');
	document.Subscribe.email.select();
   	document.Subscribe.email.focus();
	return false;
	}
	else {
	if (em1 == em2) {
	alert ("You can not change your new e-mail as the same as your old e-mail. Please re-enter your new e-mail.");
   	document.Subscribe.email.select();
   	document.Subscribe.email.focus();
	return false;
	}
else {
return true;
      }
   }
}
//-->