function focusIt(strElement,strFormName) {
	document[strFormName][strElement].focus();
}

function checkLogin() {
	if (document.client_lounge.strEmail.value == "" || document.client_lounge.strEmail.value == " ") {
		alert("You must enter your Username.");
		focusIt("strEmail","client_lounge");
		return;
	}
	if (document.client_lounge.strPassword.value == "" || document.client_lounge.strPassword.value == " ") {
		alert("You must enter your Password.");
		focusIt("strPassword","client_lounge");
		return;
	}
	
	document.client_lounge.strAction.value = "login";
	document.client_lounge.submit();

}