﻿function ValidateInstantContact()
{
    var msg="";
    if (document.getElementById("Top_TopPhoneTextBox").value == "")
    {
        msg="טלפון - שדה חובה";
        ShowMessage(msg, true, "200px");
        return false;
    }

    if (document.getElementById("Top_SendButton") != null)
    {
        document.getElementById("Top_SendButton").click();        
    }
}

function ClearTopForm()
{
    document.getElementById("Top_TopPhoneTextBox").value = "";
}
