<%@ page language="C#" autoeventwireup="true" inherits="InstrumentConfig, App_Web_instrumentconfig.aspx.dbcc866c" enableEventValidation="false" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/UserControls/iERPToolBar.ascx" TagName="iERPToolBar" TagPrefix="dsit" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head id="Head1" runat="server">
    <title>..:: ICDAS 2.1 ::..</title>
    <meta http-equiv="X-UA-Compatible" content="IE=9" />

    <script type="text/javascript" language="javascript" src="../App_Include/JavaScript/js_functions.js"> </script>
    
    <script type="text/javascript" language="javascript" src="../App_Include/JavaScript/ScreenSaverStar.js"> </script>

    <script type="text/javascript" language="javascript">
    
    
    function RestrictChar() 
            { 
            var exp = String.fromCharCode(window.event.keyCode) 
            //Below line will have the special characters that is not allowed you can add if you want more for some characters you need to add escape sequence 
            var r = new RegExp("[-_,/'().0-9a-zA-Z \r]", "g"); 
            if (exp.match(r) == null) 
            { 
            window.event.keyCode = 0 
            return false; 
            } 
            }
    
//        var specialKeys = new Array();
//        specialKeys.push(8); //Backspace
//        specialKeys.push(9); //Tab
//        specialKeys.push(46); //Delete
//        specialKeys.push(36); //Home
//        specialKeys.push(35); //End
//        specialKeys.push(37); //Left
//        specialKeys.push(39); //Right
////        specialKeys.push(128); //Space
//        function IsAlphaNumeric(e) {
//            var keyCode = e.keyCode == 0 ? e.charCode : e.keyCode;
//            var ret = ((keyCode >= 48 && keyCode <= 57) || (keyCode >= 65 && keyCode <= 90) || (keyCode >= 97 && keyCode <= 122) || (specialKeys.indexOf(e.keyCode) != -1 && e.charCode != e.keyCode));
//            return ret;
//        }

        function resizeObject() {
            var w = getBrowserWindowSize().width;
            var h = getBrowserWindowSize().height - 10;
            //window.resizeTo(w, h);
            var cObj = document.getElementById("divChildBody");
            if (cObj != null) {
                //cObj.style.height = parseInt((h*79)/100) +"px";
                cObj.style.height = (parseInt(h) - 10) + "px";
                //cObj.style.width = parseInt(w) +"px";
            }
            hideWait();
        }


        function validateRecord() {
            var doc = document.forms[0];
            re = /[0-9]/;
            re1 = /[a-zA-Z]/;
            if (Trim(doc.txtEquipmentName.value) == "") {
                alert("Please Enter Equipment Name...");
                document.forms[0].txtEquipmentName.focus();
                return false;
            }
            if (Trim(doc.txtEquipmentId1.value) == "") {
                alert("Please Enter IP Address...");
                document.forms[0].txtEquipmentId1.focus();
                return false;
            }

            if (parseInt(doc.txtEquipmentId1.value) > 255) {
                alert("Please Enter IP Address <= 255...");
                document.forms[0].txtEquipmentId1.focus();
                return false;
            }

            if (Trim(doc.txtEquipmentId2.value) == "") {
                alert("Please Enter IP Address...");
                document.forms[0].txtEquipmentId2.focus();
                return false;
            }

            if (parseInt(doc.txtEquipmentId2.value) > 255) {
                alert("Please Enter IP Address <= 255...");
                document.forms[0].txtEquipmentId2.focus();
                return false;
            }

            if (Trim(doc.txtEquipmentId3.value) == "") {
                alert("Please Enter IP Address...");
                document.forms[0].txtEquipmentId3.focus();
                return false;
            }

            if (parseInt(doc.txtEquipmentId3.value) > 255) {
                alert("Please Enter IP Address <= 255...");
                document.forms[0].txtEquipmentId3.focus();
                return false;
            }

            if (Trim(doc.txtEquipmentId4.value) == "") {
                alert("Please Enter IP Address...");
                document.forms[0].txtEquipmentId4.focus();
                return false;
            }

            if (parseInt(doc.txtEquipmentId4.value) > 255) {
                alert("Please Enter IP Address <= 255...");
                document.forms[0].txtEquipmentId4.focus();
                return false;
            }
            if (Trim(doc.hdnEquipmentType.value) == "") {
                alert("Please Check Availabality Of Equipment...");
                document.forms[0].txtEquipmentName.focus();
                return false;
            }
            if (Trim(doc.hdnOldEquipmentId.value) != (Trim(doc.txtEquipmentId1.value) + '.' + Trim(doc.txtEquipmentId2.value) + '.' + Trim(doc.txtEquipmentId3.value) + '.' + Trim(doc.txtEquipmentId4.value))) {
                alert("Please Check Availabality Of Equipment...");
                return false;
            }
            if ((doc.hdnRecordKeyId.value != "" && doc.hdnRecordKeyId.value != "0") && Trim(doc.hdnOldEquipmentType.value) != Trim(doc.hdnEquipmentType.value)) {
                alert("Equipment Type Not Matching... ");
                return false;
            }
            if (doc.cmbDoorAccessType.selectedIndex != 0) {

                if (doc.cmbDoorAccessType.selectedIndex == 2) {

                    if (Trim(doc.txtBiometricBannerText.value) == "") {
                        alert("Please Enter Banner Text...");
                        document.forms[0].txtBiometricBannerText.focus();
                        return false;
                    }

                    if (Trim(doc.txtBiometricIPAddress1.value) == "") {
                        alert("Please Enter Biometric IP Address...");
                        document.forms[0].txtBiometricIPAddress1.focus();
                        return false;
                    }

                    if (parseInt(doc.txtBiometricIPAddress1.value) > 255) {
                        alert("Please Enter Biometric IP Address <= 255...");
                        document.forms[0].txtBiometricIPAddress1.focus();
                        return false;
                    }

                    if (Trim(doc.txtBiometricIPAddress2.value) == "") {
                        alert("Please Enter Biometric IP Address...");
                        document.forms[0].txtBiometricIPAddress2.focus();
                        return false;
                    }

                    if (parseInt(doc.txtBiometricIPAddress2.value) > 255) {
                        alert("Please Enter Biometric IP Address <= 255...");
                        document.forms[0].txtBiometricIPAddress2.focus();
                        return false;
                    }

                    if (Trim(doc.txtBiometricIPAddress3.value) == "") {
                        alert("Please Enter Biometric IP Address...");
                        document.forms[0].txtBiometricIPAddress3.focus();
                        return false;
                    }

                    if (parseInt(doc.txtBiometricIPAddress3.value) > 255) {
                        alert("Please Enter Biometric IP Address <= 255...");
                        document.forms[0].txtBiometricIPAddress3.focus();
                        return false;
                    }

                    if (Trim(doc.txtBiometricIPAddress4.value) == "") {
                        alert("Please Enter Biometric IP Address...");
                        document.forms[0].txtBiometricIPAddress4.focus();
                        return false;
                    }

                    if (parseInt(doc.txtBiometricIPAddress4.value) > 255) {
                        alert("Please Enter Biometric IP Address <= 255...");
                        document.forms[0].txtBiometricIPAddress4.focus();
                        return false;
                    }

                }

                if (Trim(doc.txtaccessUseName1.value) == "") {
                    alert("Please Enter Door Access User... ");
                    document.forms[0].txtaccessUseName1.focus();
                    return false;
                }

                if (doc.cmbDoorAccessType.selectedIndex == 2) {

                    if (Trim(doc.txtaccessUseCode1.value) == "") {
                        alert("Please Enter Door Access Code... ");
                        document.forms[0].txtaccessUseCode1.focus();
                        return false;
                    }

                    if (Trim(doc.txtaccessUseName2.value) != "" || Trim(doc.txtaccessUseCode2.value) != "") {
                        if (Trim(doc.txtaccessUseName2.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName2.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode2.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode2.focus();
                            return false;
                        }
                    }

                    if (Trim(doc.txtaccessUseName3.value) != "" || Trim(doc.txtaccessUseCode3.value) != "") {
                        if (Trim(doc.txtaccessUseName3.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName3.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode3.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode3.focus();
                            return false;
                        }
                    }

                    if (Trim(doc.txtaccessUseName4.value) != "" || Trim(doc.txtaccessUseCode4.value) != "") {
                        if (Trim(doc.txtaccessUseName4.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName4.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode4.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode4.focus();
                            return false;
                        }
                    }

                    if (Trim(doc.txtaccessUseName5.value) != "" || Trim(doc.txtaccessUseCode5.value) != "") {
                        if (Trim(doc.txtaccessUseName5.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName5.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode5.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode5.focus();
                            return false;
                        }
                    }

                    if (Trim(doc.txtaccessUseName6.value) != "" || Trim(doc.txtaccessUseCode6.value) != "") {
                        if (Trim(doc.txtaccessUseName6.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName6.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode6.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode6.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName7.value) != "" || Trim(doc.txtaccessUseCode7.value) != "") {
                        if (Trim(doc.txtaccessUseName7.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName7.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode7.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode7.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName8.value) != "" || Trim(doc.txtaccessUseCode8.value) != "") {
                        if (Trim(doc.txtaccessUseName8.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName8.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode8.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode8.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName9.value) != "" || Trim(doc.txtaccessUseCode9.value) != "") {
                        if (Trim(doc.txtaccessUseName9.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName9.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode9.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode9.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName10.value) != "" || Trim(doc.txtaccessUseCode10.value) != "") {
                        if (Trim(doc.txtaccessUseName10.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName10.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode10.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode10.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName11.value) != "" || Trim(doc.txtaccessUseCode11.value) != "") {
                        if (Trim(doc.txtaccessUseName11.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName11.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode11.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode11.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName12.value) != "" || Trim(doc.txtaccessUseCode12.value) != "") {
                        if (Trim(doc.txtaccessUseName12.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName12.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode12.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode12.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName13.value) != "" || Trim(doc.txtaccessUseCode13.value) != "") {
                        if (Trim(doc.txtaccessUseName13.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName13.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode13.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode13.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName14.value) != "" || Trim(doc.txtaccessUseCode14.value) != "") {
                        if (Trim(doc.txtaccessUseName14.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName14.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode14.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode14.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName15.value) != "" || Trim(doc.txtaccessUseCode15.value) != "") {
                        if (Trim(doc.txtaccessUseName15.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName15.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode15.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode15.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName16.value) != "" || Trim(doc.txtaccessUseCode16.value) != "") {
                        if (Trim(doc.txtaccessUseName16.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName16.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode16.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode16.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName17.value) != "" || Trim(doc.txtaccessUseCode17.value) != "") {
                        if (Trim(doc.txtaccessUseName17.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName17.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode17.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode17.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName18.value) != "" || Trim(doc.txtaccessUseCode18.value) != "") {
                        if (Trim(doc.txtaccessUseName18.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName18.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode18.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode18.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName19.value) != "" || Trim(doc.txtaccessUseCode19.value) != "") {
                        if (Trim(doc.txtaccessUseName19.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName10.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode19.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode19.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName20.value) != "" || Trim(doc.txtaccessUseCode20.value) != "") {
                        if (Trim(doc.txtaccessUseName20.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName20.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode20.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode20.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName21.value) != "" || Trim(doc.txtaccessUseCode21.value) != "") {
                        if (Trim(doc.txtaccessUseName21.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName21.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode21.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode21.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName22.value) != "" || Trim(doc.txtaccessUseCode122.value) != "") {
                        if (Trim(doc.txtaccessUseName22.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName22.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode22.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode22.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName23.value) != "" || Trim(doc.txtaccessUseCode23.value) != "") {
                        if (Trim(doc.txtaccessUseName23.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName23.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode23.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode23.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName24.value) != "" || Trim(doc.txtaccessUseCode24.value) != "") {
                        if (Trim(doc.txtaccessUseName24.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName24.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode24.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode24.focus();
                            return false;
                        }
                    }
			if (Trim(doc.txtaccessUseName25.value) != "" || Trim(doc.txtaccessUseCode25.value) != "") {
                        if (Trim(doc.txtaccessUseName25.value) == "") {
                            alert("Please Enter Door Access User... ");
                            document.forms[0].txtaccessUseName25.focus();
                            return false;
                        }
                        if (Trim(doc.txtaccessUseCode25.value) == "") {
                            alert("Please Enter Door Access Code... ");
                            document.forms[0].txtaccessUseCode25.focus();
                            return false;
                        }
                    }
 
                }
            }

            return true;
        }
        function validateAvailabality() {
            var doc = document.forms[0];
            re = /[0-9]/;
            re1 = /[a-zA-Z]/;
            if (Trim(doc.txtEquipmentName.value) == "") {
                alert("Please Enter Equipment Name...");
                document.forms[0].txtEquipmentName.focus();
                return false;
            }
            if (Trim(doc.txtEquipmentId1.value) == "") {
                alert("Please Enter IP Address...");
                document.forms[0].txtEquipmentId1.focus();
                return false;
            }

            if (parseInt(doc.txtEquipmentId1.value) > 255) {
                alert("Please Enter IP Address <= 255...");
                document.forms[0].txtEquipmentId1.focus();
                return false;
            }

            if (Trim(doc.txtEquipmentId2.value) == "") {
                alert("Please Enter IP Address...");
                document.forms[0].txtEquipmentId2.focus();
                return false;
            }

            if (parseInt(doc.txtEquipmentId2.value) > 255) {
                alert("Please Enter IP Address <= 255...");
                document.forms[0].txtEquipmentId2.focus();
                return false;
            }

            if (Trim(doc.txtEquipmentId3.value) == "") {
                alert("Please Enter IP Address...");
                document.forms[0].txtEquipmentId3.focus();
                return false;
            }

            if (parseInt(doc.txtEquipmentId3.value) > 255) {
                alert("Please Enter IP Address <= 255...");
                document.forms[0].txtEquipmentId3.focus();
                return false;
            }

            if (Trim(doc.txtEquipmentId4.value) == "") {
                alert("Please Enter IP Address...");
                document.forms[0].txtEquipmentId4.focus();
                return false;
            }

            if (parseInt(doc.txtEquipmentId4.value) > 255) {
                alert("Please Enter IP Address <= 255...");
                document.forms[0].txtEquipmentId4.focus();
                return false;
            }
            return true;
        }
			
    </script>

</head>
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0" onload="resizeObject(); resizeHolder(); init(); initScreenSaver('1',<%=Session["AutoLogOutTime"]%>);">
    <form id="Form1" runat="server" class="formbg" target="_blank">
    <asp:ToolkitScriptManager runat="Server" EnablePartialRendering="true" AsyncPostBackTimeout="0"
        ID="ToolkitScriptManager1" />
    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="left" class="formbg">
        <tr>
            <td valign="top" align="left">
                <div id="divMainBody" align="center" runat="server" width="100%" height="100%">
                    <div id="divHeader" runat="server" style="border-style: none; height: 26px; width: 100%;
                        position: absolute; left: 1px; top: 8px;" align="center">
                        <dsit:iERPToolBar ID="iERPToolBar1" runat="server" Caption="Branch Master" PageAccess="11111"
                            ValidateLogin="true" />
                    </div>
                    <asp:UpdatePanel ID="uplChildBody" runat="server" UpdateMode="Always">
                        <ContentTemplate>
                            <asp:HiddenField ID="hdnRecordKeyId" runat="server" Value="0" />
                            <asp:HiddenField ID="hdnRecordIds" runat="server" />
                            <asp:HiddenField ID="hdnUserId" runat="server" Value="" />
                            <asp:HiddenField ID="hdnBusinessUnitId" runat="server" Value="" />
                            <asp:HiddenField ID="hdnBranchId" runat="server" Value="" />
                            <asp:HiddenField ID="hdnEquipmentId" runat="server" Value="" />
                            <asp:HiddenField ID="hdnOldEquipmentId" runat="server" Value="" />
                            <asp:HiddenField ID="hdnEquipmentType" runat="server" Value="" />
                            <asp:HiddenField ID="hdnOldEquipmentType" runat="server" Value="" />
                            <asp:HiddenField ID="hdnstatus" runat="server" Value="0" />
                            <asp:HiddenField ID="hdnLoginComments" runat="server" Value="0" />
                            <asp:HiddenField ID="hdnAccessUserName" runat="server" Value="0" />
                            <asp:HiddenField ID="hdnEquipmentPLCCode" runat="server" Value="" />
                            <asp:HiddenField ID="hdnEquipmentPLCTotalSensor" runat="server" Value="" />
                            <asp:HiddenField ID="hdnEquipmentPLCVersion" runat="server" Value="" />
                            <asp:HiddenField ID="hdnBiometricIPAddress" runat="server" Value="" />
                            <asp:HiddenField ID="hdnAccessUserCode" runat="server" Value="" />
                            <asp:HiddenField ID="hdnBreakCheck" runat="server" Value="0" />
                            <div id="divChildBody" runat="server" style="overflow: auto; width: 99%;">
                                <table width="100%" align="left" cellpadding="1" cellspacing="0" class="tablefont"
                                    border="0">
                                    <tr height="62px">
                                        <td colspan="5">
                                            &nbsp
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="15%">
                                            Equipment Name*
                                        </td>
                                        <td width="35%">
                                            <asp:TextBox ID="txtEquipmentName" runat="server" Width="70%" MaxLength="30" onkeypress="return IsAlphaNumeric(event);"></asp:TextBox>
                                        </td>
                                        <td width="1%">
                                        </td>
                                        <td width="14%">
                                            Status
                                        </td>
                                        <td width="35%">
                                            <asp:TextBox ID="txtStatus" runat="server" Width="30%" MaxLength="50" ReadOnly="true"
                                                Text="Active"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="15%">
                                            IP Address*
                                        </td>
                                        <td width="35%">
                                            <asp:TextBox ID="txtEquipmentId1" runat="server" Width="10%" MaxLength="3" CssClass="numInput"></asp:TextBox>
                                            .
                                            <asp:TextBox ID="txtEquipmentId2" runat="server" Width="10%" MaxLength="3" CssClass="numInput"></asp:TextBox>
                                            .
                                            <asp:TextBox ID="txtEquipmentId3" runat="server" Width="10%" MaxLength="3" CssClass="numInput"></asp:TextBox>
                                            .
                                            <asp:TextBox ID="txtEquipmentId4" runat="server" Width="10%" MaxLength="3" CssClass="numInput"></asp:TextBox>
                                            &nbsp;
                                            <asp:ImageButton ID="imgbtnCheckAvailable" runat="server" ImageUrl="~/Images/connectivity.png" style="background:transparent;"
                                                ToolTip="Check Connectivity" ImageAlign="AbsMiddle" OnClick="imgbtnCheckAvailable_Click" />
                                            <asp:ImageButton ID="imgbtnBreakCheck" runat="server" ImageUrl="~/Images/stop1.png" style="background:transparent;"
                                                ToolTip="Break Connectivity" ImageAlign="AbsMiddle" OnClick="imgbtnimgbtnBreakCheck_Click" />
                                        </td>
                                        <td width="1%">
                                        </td>
                                        <td width="14%">
                                        </td>
                                        <td width="35%">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="15%">
                                            Login Interval*
                                        </td>
                                        <td width="35%">
                                            <asp:DropDownList ID="cmbEquipmnetLogRate" runat="server">
                                                <asp:ListItem Value="1" Selected="True">1</asp:ListItem>
                                                <asp:ListItem Value="5">5</asp:ListItem>
                                                <asp:ListItem Value="10">10</asp:ListItem>
                                                <asp:ListItem Value="15">15</asp:ListItem>
                                                <asp:ListItem Value="20">20</asp:ListItem>
                                                <asp:ListItem Value="25">25</asp:ListItem>
                                                <asp:ListItem Value="30">30</asp:ListItem>
                                                <asp:ListItem Value="45">45</asp:ListItem>
                                                <asp:ListItem Value="60">60</asp:ListItem>
                                                <asp:ListItem Value="90">90</asp:ListItem>
                                                <asp:ListItem Value="120">120</asp:ListItem>
                                                <asp:ListItem Value="180">180</asp:ListItem>
                                                <asp:ListItem Value="240">240</asp:ListItem>
                                                <asp:ListItem Value="300">300</asp:ListItem>
                                                <asp:ListItem Value="360">360</asp:ListItem>
                                                <asp:ListItem Value="420">420</asp:ListItem>
                                                <asp:ListItem Value="480">480</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td width="1%">
                                        </td>
                                        <td width="14%">
                                        </td>
                                        <td width="35%">
                                            <asp:DropDownList ID="cmbActiveChannel" runat="server" Visible="false">
                                                <asp:ListItem Value="1">01</asp:ListItem>
                                                <asp:ListItem Value="2">02</asp:ListItem>
                                                <asp:ListItem Value="3">03</asp:ListItem>
                                                <asp:ListItem Value="4">04</asp:ListItem>
                                                <asp:ListItem Value="5">05</asp:ListItem>
                                                <asp:ListItem Value="6">06</asp:ListItem>
                                                <asp:ListItem Value="7">07</asp:ListItem>
                                                <asp:ListItem Value="8">08</asp:ListItem>
                                                <asp:ListItem Value="9">09</asp:ListItem>
                                                <asp:ListItem Value="10">10</asp:ListItem>
                                                <asp:ListItem Value="11">11</asp:ListItem>
                                                <asp:ListItem Value="12">12</asp:ListItem>
                                                <asp:ListItem Value="13">13</asp:ListItem>
                                                <asp:ListItem Value="14">14</asp:ListItem>
                                                <asp:ListItem Value="15">15</asp:ListItem>
                                                <asp:ListItem Value="16">16</asp:ListItem>
                                            </asp:DropDownList>
                                            <asp:DropDownList ID="cmbEquipmentType" runat="server" Style="display: none;">
                                                <asp:ListItem Value="TH">Tempature Humidity</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="15%">
                                            Equipment Type
                                        </td>
                                        <td width="35%">
                                            <asp:TextBox ID="txtEquipmentType" runat="server" Width="20%" MaxLength="20" ReadOnly="true"></asp:TextBox>
                                        </td>
                                        <td width="1%">
                                        </td>
                                        <td width="14%">
                                        </td>
                                        <td width="35%">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="15%">
                                            Door Access Type
                                        </td>
                                        <td width="35%" align="left">
                                            <asp:DropDownList ID="cmbDoorAccessType" runat="server" AutoPostBack="true" OnSelectedIndexChanged="cmbDoorAccessType_SelectedIndexChanged">
                                                <asp:ListItem Value="N" Selected="True">None</asp:ListItem>
                                                <asp:ListItem Value="P">PLC</asp:ListItem>
                                                <asp:ListItem Value="B">Biometric</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td width="1%">
                                        </td>
                                        <td width="14%">
                                        </td>
                                        <td width="35%">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="5">
                                            <div style="text-align: center; padding: 10px; width: 95%; height: 200px;" runat="server"
                                                class="text4" id="divCheckInstrument" visible="false">
                                                <asp:Literal ID="LitDetails" runat="server" Text="PLEASE WAIT CONNECTING EQUIPMENT. DO NOT HIT REFRESH OR CLOSE THE WINDOW"></asp:Literal>
                                                <br />
                                                <img id="imgLoading" runat="server" style="position: relative; top: 50%;" src="../Images/AnimatedProgressBar.gif"
                                                    alt="Loading" />
                                            </div>
                                            <div class="space1">
                                            </div>
                                        </td>
                                    </tr>
                                    <asp:Panel ID="pnlDoorAccess" runat="server" Visible="false">
                                        <asp:Panel ID="pnlBiometricIpAddress" runat="server" Visible="false">
                                            <tr>
                                                <td width="15%">
                                                    Biometric Banner Text
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtBiometricBannerText" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                </td>
                                                <td width="1%">
                                                </td>
                                                <td width="14%">
                                                    Door Access User Name Display
                                                </td>
                                                <td width="35%">
                                                    <asp:CheckBox ID="chkDoorAccessUserNameDisplay" runat="server" Checked="false" Text="Disabled"
                                                        AutoPostBack="true" OnCheckedChanged="chkDoorAccessUserNameDisplay_CheckedChanged" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="15%">
                                                    Biometric IP Address
                                                </td>
                                                <td width="35%" align="left">
                                                    <asp:TextBox ID="txtBiometricIPAddress1" runat="server" Width="10%" MaxLength="3"
                                                        CssClass="numInput"></asp:TextBox>
                                                    .
                                                    <asp:TextBox ID="txtBiometricIPAddress2" runat="server" Width="10%" MaxLength="3"
                                                        CssClass="numInput"></asp:TextBox>
                                                    .
                                                    <asp:TextBox ID="txtBiometricIPAddress3" runat="server" Width="10%" MaxLength="3"
                                                        CssClass="numInput"></asp:TextBox>
                                                    .
                                                    <asp:TextBox ID="txtBiometricIPAddress4" runat="server" Width="10%" MaxLength="3"
                                                        CssClass="numInput"></asp:TextBox>
                                                </td>
                                                <td width="1%">
                                                </td>
                                                <td width="14%">
                                                </td>
                                                <td width="35%">
                                                </td>
                                            </tr>
                                        </asp:Panel>
                                        <tr>
                                            <td width="15%">
                                                Door Access User 1
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName1" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName1" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode1" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 1
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode1" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode1" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
                                        <tr>
                                            <td width="15%">
                                                Door Access User 2
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName2" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName2" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode2" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 2
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode2" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode2" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
                                        <tr>
                                            <td width="15%">
                                                Door Access User 3
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName3" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName3" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode3" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 3
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode3" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode3" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
                                        <tr>
                                            <td width="15%">
                                                Door Access User 4
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName4" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName4" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode4" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 4
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode4" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode4" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
                                        <tr>
                                            <td width="15%">
                                                Door Access User 5
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName5" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName5" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode5" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 5
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode5" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode5" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
                                        <tr>
                                            <td width="15%">
                                                Door Access User 6
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName6" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName6" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode6" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 6
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode6" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode6" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 7
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName7" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName7" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode7" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 7
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode7" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode7" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 8
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName8" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName8" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode8" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 8
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode8" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode8" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 9
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName9" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName9" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode9" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 9
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode9" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode9" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 10
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName10" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName10" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode10" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 10
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode10" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode10" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 11
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName11" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName11" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode11" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 11
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode11" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode11" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 12
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName12" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName12" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode12" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 12
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode12" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode12" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 13
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName13" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName13" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode13" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 13
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode13" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode13" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 14
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName14" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName14" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode14" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 14
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode14" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode14" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 15
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName15" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName15" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode15" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 15
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode15" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode15" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 16
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName16" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName16" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode16" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 16
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode16" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode16" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 17
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName17" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName17" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode17" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 17
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode17" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode17" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 18
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName18" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName18" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode18" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 18
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode18" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode18" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 19
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName19" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName19" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode19" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 19
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode19" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode19" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 20
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName20" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName20" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode20" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 20
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode20" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode20" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 21
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName21" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName21" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode21" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 21
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode21" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode21" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 22
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName22" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName22" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode22" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 22
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode22" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode22" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 23
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName23" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName23" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode23" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 23
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode23" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode23" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 24
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName24" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName24" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode24" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 24
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode24" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode24" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
					<tr>
                                            <td width="15%">
                                                Door Access User 25
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="txtaccessUseName25" runat="server" Width="70%" MaxLength="16"></asp:TextBox>
                                                <asp:HiddenField ID="hdnaccessUseName25" runat="server" Value="" />
                                            </td>
                                            <td width="1%">
                                            </td>
                                            <asp:Panel ID="pnlaccessUseCode25" runat="server" Visible="false">
                                                <td width="14%">
                                                    Access User Card No. 25
                                                </td>
                                                <td width="35%">
                                                    <asp:TextBox ID="txtaccessUseCode25" runat="server" Width="100px" MaxLength="5"></asp:TextBox>
                                                    <asp:HiddenField ID="hdnaccessUseCode25" runat="server" Value="" />
                                                </td>
                                            </asp:Panel>
                                        </tr>
                                    </asp:Panel>
                                </table>
                            </div>
                            <asp:Timer ID="tmrCheckInstrument" runat="server" Interval="10000" OnTick="tmrCheckInstrument_OnTick"
                                Enabled="false">
                            </asp:Timer>
                        </ContentTemplate>
                        <Triggers>
                            <asp:AsyncPostBackTrigger ControlID="tmrCheckInstrument" EventName="Tick" />
                        </Triggers>
                    </asp:UpdatePanel>
                </div>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
