﻿window.onload = bodyOnLoad;

function bodyOnLoad()
{
	getObj("txtEmailClient").focus();
}

function validateFormAuthentification(objForm)
{    
	with (objForm)
	{
	
		if (txtEmailClient.value.length == 0 || txtPwdClient.value.length == 0)
		{
			displayMessage("MSG_LOGIN_001");
			return false;
		}
		
	}
	
	return true;
}

function validateFormForgotPassword(objForm)
{    
	with (objForm)
	{
		if (txtEmailClient.value.length == 0)
		{
			displayMessage("MSG_LOGIN_002");
			return false;
		}
	}
	
	return true;
}