//====================================================================================================
//	File Name		:	login.js
//----------------------------------------------------------------------------------------------------
//	Purpose			:	Client side validation in JavaScript.
//====================================================================================================

//====================================================================================================
//	Function Name	:	Form_Submit()
//	Purpose			:	This function will executed when user submits a form. It checks validity of 
//						every field in the form.
//	Parameters		:	frm  - form name
//	Return			:	true or false
//----------------------------------------------------------------------------------------------------

function Form_Submit(frm)
{
	with(frm)
    {
   	   	if(!IsEmpty(user_login_id,"Please enter User Name."))
        {
			return false;
        }
	
    	if(!IsEmpty(user_password, "Please enter Password."))
        {
			return false;
        }
 	}
	return true;
}
