﻿// JScript File

//This function is used to check validations in Login control


function validate()
{
     
      
   if(document.getElementById('MainHeader_LoginPopUp_TxtUsername').value == "")
   {
      alert('Please Enter User Name');
      return false;
   }
   else if(document.getElementById('MainHeader_LoginPopUp_TxtPassword').value == "")
   {
       alert('Please Enter Password');
       return false;
   }
    
    return true;
}