function validateLoginForm(theForm) {

		Ctrl = theForm.cEmailAddress;
		if (Ctrl.value==" " || Ctrl.value.indexOf ('@',0) == -1){
		alert("Enter your email address for your username.");
		theForm.cEmailAddress.focus();
		return(false);
		}
		Ctrl = theForm.cEmailAddress;
		if (Ctrl.value==" " || Ctrl.value.indexOf ('.',0) == -1){
		alert("Enter your email address for your username.");
		theForm.cEmailAddress.focus();
		return(false);
		}
		if (theForm.cPassword.value==""){
		alert("Please enter a password.");
		theForm.cPassword.focus();
		return(false);
		}

		return(true);
	} 