function validate(theForm){

	if( (isBlank(theForm.name.value)) && (isBlank(theForm.email.value))){
		alert("Please provide your login information");
		theForm.name.focus();
		return false;
	}

	if( (!(isBlank(theForm.name.value))) && (!(isBlank(theForm.email.value)))){
		alert("Please provide either login or email address");
		theForm.name.focus();
		return false;
	}
	
	if (!(isBlank(theForm.email.value))){
		if(!(isValidEmail(theForm.email.value))){
			alert("\"Email Address\" is not valid.");
			theForm.email.focus();
			return false;
		}
	}	
	return true;
}

function submitForm(){
	document.form1.submit();
}



