// JavaScript Document
function validateAffiliateLoginForm()
{
var why = "";
var show = false;
	if(affiliateLoginForm.login_username.value == ""){
		why+="Please enter a valid User Name\n"; 
		show = true;
		affiliateLoginForm.login_username.focus();
	}
	if(affiliateLoginForm.login_password.value == "" ){
		why+="Please enter a valid Password\n";
		show = true;
		affiliateLoginForm.login_password.focus();
	}
	if(show){
		alert(why);
		return false;
	}
}

