function ValidationLogin()
{   var theForm=document.BCBCForm;
	
	var userName=trimLT(theForm.userName.value, "both");
	var loginPassword=trimLT(theForm.loginPassword.value, "both");
	
	if (IsEmpty(userName)){
		alert ("Please enter your UserName.");
		theForm.userName.focus();
		theForm.userName.select();
		return false;
	}
	else if (IsEmpty(loginPassword)){
		alert ("Please enter your password");
		theForm.loginPassword.focus();
		theForm.loginPassword.select();
		return false;
	}
	
	return true;
}

