console.log("web2");

function submitPage() {
	if(validation()){
		document.login_form.submit();
	}
}

function validation() {
	if(document.login_form.username.value==""){
		alert("Please enter your user name");
		document.login_form.username.focus();
		return false;
	}
	if(document.login_form.password.value==""){
		alert("Please enter your password");
		document.login_form.password.focus();
		return false;
	}
	return true;
}


function openContactUs() {
   window.open ("/IAdvantage/template.CONTACT_US", "contactus", "resizable=no, width=550, height=300");
}

function openForgotPassword() {
   window.open ("/IAdvantage/template.FORGOT_PASSWORD", "forgot", "resizable=no, width=550, height=300");
}