﻿function Validate()
{
    if(document.getElementById("IDTextBox").value=="") {
        ShowMessage("ת.ז. - שדה חובה", true, "200px");
        return false;
    }
    
    if (document.getElementById("PasswordTextBox").value == "") {
        ShowMessage("סיסמא - שדה חובה", true, "200px");
        return false;
    }
        
    if(document.getElementById("SendButton")!=null)
    {
        document.getElementById("SendButton").click();
    }
}

