﻿function validdata1() {
    if (emptyField(document.getElementById("txtEmail1"))) {
        alert('Please Enter Email Id.');
        document.getElementById("txtEmail1").focus();
        document.getElementById("txtEmail1").select();
        return false;
    }

    if (!validEmailId(document.getElementById("txtEmail1").value)) {
        alert('Please Enter valid Email Id.');
        document.getElementById("txtEmail1").focus();
        document.getElementById("txtEmail1").select();
        return false;
    }

    if (emptyField(document.getElementById("txtEPwd1"))) {
        alert('Please Enter Password.');
        document.getElementById("txtEPwd1").focus();
        document.getElementById("txtEPwd1").select();
        return false;
    }
    return true;


}
function View_Image(ImgName) {
    var win = window.open('Admin/View_CustomerImages.aspx?ImgName=' + ImgName, null, 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=yes,width=400,height=200,top=10,left=10', 'true');
    win.focus();
    return false;
}
function realter() {
    self.location = "RegisterForBroker.aspx";
    return false;
}
function showtable() {
    document.getElementById("tbl_Look").style.display = "Block";
    document.getElementById("tbl_Have").style.display = "None";
}
function Hidetable() {
    document.getElementById("tbl_Look").style.display = "None";
    document.getElementById("tbl_Have").style.display = "Block";
}
function show_Look() {
    document.getElementById("tbl_Look").style.display = "Block";
    document.getElementById("tbl_Have").style.display = "None";
}
function show_Have() {
    document.getElementById("tbl_Look").style.display = "None";
    document.getElementById("tbl_Have").style.display = "Block";
}