<%@ page language="C#" autoeventwireup="true" title="trinetra - Control Panel" inherits="Forms_SendCommands, App_Web_5gbuhbxa" enableviewstate="true" %>
<%@ Register Src="../UserControls/New_Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="../UserControls/New_Footer.ascx" TagName="Footer" TagPrefix="uc2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%--<%@ Register Assembly="DevExpress.Web.ASPxEditors.v8.2, Version=8.2.10.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>--%>
<%@ Register Assembly="DevExpress.Web.v14.2" Namespace="DevExpress.Web" TagPrefix="dxw" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>tSense-IoT Control Panel</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <%--<meta http-equiv="X-UA-Compatible" content="IE=7" />--%>
    <link href="../css/CustomeAlert/demos.css" rel="stylesheet" type="text/css" />
    <link href="../css/CustomeAlert/themes/jquery.ui.all.css" rel="stylesheet" type="text/css" />
    <link id="reset" runat="server" rel="Stylesheet" type="text/css" href="../css/reset.css" />
    <link id="stylesheet2" runat="server" rel="stylesheet" type="text/css" href="../css/stylesheet2.css" />
    <link id="dropdown" runat="server" href="../css/dropdown.css" rel="stylesheet" type="text/css" />
    <link rel="icon" href="../NewDesign/img/favicon.png" type="image/x-icon">
    <link href="../NewDesign/css/bootstrap.css" rel="stylesheet" />
    <link href="../NewDesign/css/font-awesome.css" rel="stylesheet" />
    <link href="../NewDesign/css/responsive.css" rel="stylesheet" />
    <link href="../NewDesign/css/style.css" rel="stylesheet" />
    <script src="../NewDesign/js/jquery.min.js"></script>
    <script src="../js/jquery-3.3.1.min.js"></script>
    <script src="../NewDesign/js/bootstrap.min.js"></script>
    <script src="../NewDesign/js/jquery.js"></script>
    <script src="../NewDesign/js/script.js"></script>
    <link href="../NewDesign/font-awesome-4.7.0/css/font-awesome.css" rel="stylesheet" />
    <link href="../NewDesign/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" />
    <%--Custom Theme for DevEx 14.2--%>
    <link id="GridView" runat="server" type="text/css" href="~/App_Themes/Office2003Blue/GridView/grid.css" rel="stylesheet" />
    <link id="Editors" runat="server" type="text/css" href="~/App_Themes/Office2003Blue/Editors/styles.css" rel="stylesheet" />
    <link rel="SHORTCUT ICON" href="../images/favicon.ico" />
    <script src="../js/CustomAlert/jquery.min.js" type="text/javascript"></script>
    <script src="../js/CustomAlert/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
    <script src="../js/CustomAlert/jquery-ui-1.10.3.custom.js" type="text/javascript"></script>
    <script src="../js/CustomAlert/CustomAlert.js" type="text/javascript"></script>
    <script src="../js/jquery-1.11.2.min.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript" src="../js/SendCommandScripts.js"></script>
    <script src="../js/wow.min.js"></script>
</head>
<body class="white">
    <form id="form1" runat="server">
        <asp:ScriptManager runat="server" ID="ScriptManager1">
        </asp:ScriptManager>
        <asp:HiddenField ID="hdnInfoBubbleProcessing" runat="server" />
        <asp:Panel ID="pnlInfoWindow" runat="server" Style="height: 100%; width: 98%;">
            <asp:UpdatePanel ID="updInfo" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:Panel ID="pnlVehicleInfo" runat="server" Width="100%">
                        <div class="vlive-filter">
                            <div class="container-fluid">
                                <div class="vlive-centrifugal-fan maintenance-plan">
                                    <h2>Equipment Information</h2>
                                    <div class="row" id="trFleetDetails">
                                        <div class="col-md-12">
                                            <div class="col-ks-3">
                                                <asp:Label ID="lblFleetCaption" runat="server" Text="Site Name" CssClass="label_New"></asp:Label>
                                            </div>
                                            <div class="col-ks-5">
                                                <asp:Label ID="lblFleetName" runat="server"></asp:Label>
                                            </div>
                                            <div class="col-ks-3">
                                                <asp:Label ID="lblVehicleCaption" runat="server" Text="Equipment Name" CssClass="label_New"></asp:Label>
                                            </div>
                                            <div class="col-ks-5">
                                                <asp:Label ID="lblVehicle" runat="server"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="ftop row" id="trCommndate">
                                        <div class="col-md-12">
                                            <div class="col-ks-3">
                                                <asp:Label ID="lblCommnDateCaption" Text="Communication Date" runat="server" CssClass="label_New"></asp:Label>
                                            </div>
                                            <div class="col-ks-5">
                                                <asp:Label ID="lblCommDate" runat="server"></asp:Label>
                                            </div>
                                            <div id="trStatus">
                                                <div class="col-ks-3">
                                                    <asp:Label ID="lblStatusCaption" runat="server" CssClass="label_New"></asp:Label>
                                                </div>
                                                <div class="col-ks-5">
                                                    <asp:Label ID="lblStatus" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="trDeviceID" runat="server" class="row">
                                        <div class="col-md-12">
                                            <div class="col-ks-4">
                                                <asp:Label ID="lblDeviceIDCaption" runat="server" Text="Device ID" CssClass="label_New"></asp:Label>
                                            </div>
                                            <div class="col-ks-11">
                                                <asp:Label ID="lblBoxId" runat="server"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="trLicPlate" runat="server" class="row">
                                        <div class="col-md-12">
                                            <div class="col-ks-3">
                                                <asp:Label ID="lblLicensePlateCaption" runat="server" Text="Equipment Type" CssClass="label_New"></asp:Label>
                                            </div>
                                            <div class="col-ks-5">
                                                <asp:Label ID="lblLicensePlate" runat="server"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="ControlHide">
                                        <div class="col-md-12">
                                            <div class="col-ks-4">
                                                <asp:Label ID="lblProviderCaption" runat="server" Text="Service Provider" Visible="false"></asp:Label>
                                            </div>
                                            <div class="col-ks-11">
                                                <asp:Label ID="lblProvider" runat="server" CssClass="form-control"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="trVehicleMake" runat="server" class="ControlHide">
                                        <div class="col-md-12">
                                            <div class="col-ks-4">
                                                <asp:Label ID="lblVehicleMakeCaption" runat="server" Text="Vehicle Make"></asp:Label>
                                            </div>
                                            <div class="col-ks-4">
                                                <asp:Label ID="lblVehicleMake" runat="server" CssClass="form-control"></asp:Label>
                                            </div>
                                            <div class="col-ks-4">
                                                <asp:Label ID="lblVehicleModelCaption" runat="server" Text="Vehicle Model"></asp:Label>
                                            </div>
                                            <div class="col-ks-4">
                                                <asp:Label ID="lblVehicleModel" runat="server" CssClass="form-control"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </asp:Panel>
                    <div id="trLastStatus" runat="server">
                        <div class="col-md-12 form-group">
                            <asp:Label ID="lblLastStatusNote" runat="server" Text=""></asp:Label>
                        </div>
                    </div>
                    <div id="trLastStatusDetails" runat="server" style="display: none;">
                        <asp:Panel ID="pnlLastStatus" runat="server">
                            <div class="vlive-filter">
                                <div class="container-fluid">
                                    <div class="vlive-centrifugal-fan maintenance-plan" style="padding-bottom: 0px">
                                        <h2>Equipment Status</h2>
                                        <div id="trSpeed" class="ControlHide">
                                            <div class="col-md-12">
                                                <div class="col-ks-4">
                                                    <asp:Label ID="lblSpeedCaption" runat="server" Text="Speed"></asp:Label>
                                                </div>
                                                <div class="col-ks-4">
                                                    <asp:Label ID="lblSpeed" runat="server" CssClass="form-control"></asp:Label>
                                                </div>
                                                <div id="Odometer" class="ControlHide">
                                                    <div class="col-ks-4">
                                                        <asp:Label ID="lblOdometerCaption" runat="server" Text="Odometer"></asp:Label>
                                                    </div>
                                                    <div class="col-ks-4">
                                                        <asp:Label ID="lblOdoMeterValue" runat="server" CssClass="form-control"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div id="trAddress1" class="ControlHide">
                                            <div class="label">
                                                <asp:Label ID="lblAddressCaption" runat="server" Text="Address"></asp:Label>
                                            </div>
                                            <div class="b">
                                                <asp:Label ID="txtAddress" runat="server" CssClass="form-control"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </asp:Panel>
                        <div id="trSensorDetails" class="ControlHide">
                            <div>
                                <asp:Panel ID="pnlSensorStatus" runat="server" CssClass="innerTable ControlHide" GroupingText="Senosr Details"
                                    Width="100%">
                                    <asp:Literal runat="server" ID="ltlSensor" />
                                </asp:Panel>
                            </div>
                        </div>
                    </div>
                    <div>
                        <div class="vlive-filter">
                            <div class="container-fluid">
                                <div class="vlive-centrifugal-fan maintenance-plan" style="padding-bottom: 0px; margin-bottom: 10px;">
                                    <h2 style="margin-bottom: 10px;">Send Command</h2>
                                </div>
                            </div>
                            <div class="ftop">
                                <div class="col-md-12">
                                    <div class="col-ks-3">
                                        <asp:Label ID="lblSelectCmd" runat="server" Text="Select Command"></asp:Label>
                                    </div>
                                    <div class="col-ks-4_5">
                                        <dxw:ASPxComboBox runat="server" ID="ddlCommands" ClientInstanceName="ddlCommands"
                                            ValueType="System.String" EnableTheming="true" Theme="Office2003Blue"
                                            CssFilePath="~/App_Themes/office2003Blue/Editors/styles.css" CssPostfix="Office2003_Blue" CssClass="form-control"
                                            AutoPostBack="true" OnSelectedIndexChanged="ddlCommands_SelectedIndexChanged">
                                            <ClientSideEvents SelectedIndexChanged="function(s, e) {ShowPopUp();return true;}" />
                                        </dxw:ASPxComboBox>
                                    </div>
                                </div>
                                <div class="col-md-12" id="trCurrVersion" runat="server">
                                    <div class="col-ks-3">
                                        <asp:Label ID="lblCurrFirmware" runat="server" Text="Current Firmware"></asp:Label>
                                    </div>
                                    <div class="col-ks-4_5">
                                        <asp:Label ID="lblCurrVersion" runat="server" Text=""></asp:Label>
                                    </div>
                                </div>
                                <div class="col-md-12" id="tblFirmwareCategory" runat="server">
                                    <div class="col-ks-4">
                                        <asp:Label ID="lblFirmwareCategory" runat="server" Text="Firmware Category"></asp:Label>
                                    </div>
                                    <div class="col-ks-10">
                                        <dxw:ASPxComboBox runat="server" ID="ddlFirmwareCategory" ClientInstanceName="ddlFirmwareCat"
                                            Width="200px" ValueType="System.String" EnableTheming="true" Theme="Office2003Blue"
                                            CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue"
                                            AutoPostBack="true" DropDownStyle="DropDownList" OnSelectedIndexChanged="ddlFirmwareCategory_SelectedIndexChanged">
                                        </dxw:ASPxComboBox>
                                    </div>
                                </div>
                                <div class="col-md-12" id="tblRPIntervalT" runat="server">
                                    <div class="col-ks-4"></div>
                                    <div class="col-ks-10">
                                        <div class="col-ks-8">
                                            <asp:RadioButton ID="rdbRPTTime" runat="server" Text="Report Interval in Time" Checked="true" GroupName="Report" onclick="ShowHideRPTTime(this);" />
                                        </div>
                                        <div class="col-ks-8">
                                            <asp:RadioButton ID="rdbRPTDistance" runat="server" Text="Report Interval in Distance" GroupName="Report" onclick="ShowHideRPTTime(this);" />
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-12" id="tblRPInterval" runat="server">
                                    <div class="col-ks-3">
                                        <asp:Label ID="lblSetReportInterval" runat="server" Text="Set Report Interval Time"></asp:Label>
                                    </div>
                                    <div class="col-ks-4_5">
                                        <dxw:ASPxComboBox runat="server" ID="ddlRPTInterval" ClientInstanceName="ddlRPTInterval"
                                            ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                            CssFilePath="~/App_Themes/office2003Blue/Editors/styles.css" CssPostfix="Office2003_Blue" CssClass="form-control">
                                        </dxw:ASPxComboBox>
                                    </div>
                                </div>
                                <div class="col-md-12" id="tblRPIntervaldistance" runat="server">
                                    <div class="col-ks-3">
                                        <asp:Label ID="lbldistance" runat="server" Text="Set Report Interval Distance(Meters)"></asp:Label>
                                    </div>
                                    <div class="col-ks-10">
                                        <dxw:ASPxComboBox runat="server" ID="ddlRPTDistance" ClientInstanceName="ddlRPTDistance"
                                            Width="100px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                            CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                        </dxw:ASPxComboBox>
                                    </div>
                                </div>
                                <div class="col-md-12" id="trFuelDrainRate" runat="server">
                                    <div class="col-ks-3">
                                        <asp:Label ID="lblFuelDrainRate" runat="server" Style="white-space: nowrap;" Text="Fuel Drain Rate (in %)"></asp:Label>
                                    </div>
                                    <div class="col-ks-10">
                                        <dxw:ASPxComboBox runat="server" ID="ddlFuelDrainRate" ClientInstanceName="ddlFuelDrainRate"
                                            Width="100px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                            CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                        </dxw:ASPxComboBox>
                                    </div>
                                </div>
                                <div class="col-md-12" id="trFuelLowRate" runat="server">
                                    <div class="col-ks-3">
                                        <asp:Label ID="lblFuelLowLevelThreshold" Style="white-space: nowrap;" runat="server"
                                            Text="Fuel Low Level Threshold (in %)"></asp:Label>
                                    </div>
                                    <div class="col-ks-10">
                                        <dxw:ASPxComboBox runat="server" ID="ddlFuelLowLevlThreshold" ClientInstanceName="ddlFuelLowLevlThreshold"
                                            Width="100px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                            CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                        </dxw:ASPxComboBox>
                                    </div>
                                </div>
                                <div class="col-md-12" id="trFuelHighRate" runat="server">
                                    <div class="col-ks-3">
                                        <asp:Label ID="lblFuelHighLevelThreshold" Style="white-space: nowrap;" runat="server"
                                            Text="Fuel High Level Threshold (in %)"></asp:Label>
                                    </div>
                                    <div class="col-ks-10">
                                        <dxw:ASPxComboBox runat="server" ID="ddlFuelHighThreshold" ClientInstanceName="ddlFuelHighThreshold"
                                            Width="100px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                            CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                        </dxw:ASPxComboBox>
                                    </div>
                                </div>
                                <div class="col-md-12" id="trWriteEEProm_APNChange" runat="server">
                                    <div class="col-ks-3">
                                        <asp:Label ID="lblWriteEEPromOpr" runat="server" Text=""></asp:Label>
                                    </div>
                                    <div class="col-ks-10">
                                        <div class="col-ks-5">
                                            <asp:RadioButton ID="rbtWriteEEPROM" runat="server" Text="Write EEPROM" GroupName="gpWriteEEPromOpr"
                                                Checked="true" AutoPostBack="true" OnCheckedChanged="rbtWriteEEPROM_CheckedChanged"></asp:RadioButton>
                                        </div>
                                        <div class="col-ks-5">
                                            <asp:RadioButton ID="rbtAPNChange" runat="server" Text="APN Change" GroupName="gpWriteEEPromOpr"
                                                AutoPostBack="true" OnCheckedChanged="rbtAPNChange_CheckedChanged"></asp:RadioButton>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-12" id="trAPNChange" runat="server">
                                    <div class="col-ks-3">
                                        <asp:Label ID="lblAPNChange" runat="server" Text="Service Provider"></asp:Label>
                                    </div>
                                    <div class="col-ks-10">
                                        <dxw:ASPxComboBox runat="server" ID="ddlAPNChange" ClientInstanceName="ddlAPNChange" Width="100px" ValueType="System.Int32"
                                            CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" AutoPostBack="true" CssPostfix="Office2003_Blue"
                                            EnableTheming="true" Theme="Office2003Blue" OnSelectedIndexChanged="ddlAPNChange_SelectedIndexChanged">
                                        </dxw:ASPxComboBox>
                                    </div>
                                </div>
                                <div id="trWriteEEprom" runat="server">
                                    <div class="col-md-12">
                                        <div class="col-ks-3">
                                            <asp:Label ID="lblAddress" runat="server" Text="Address in hex"></asp:Label>
                                        </div>
                                        <div class="col-ks-10">
                                            <asp:TextBox ID="txtAddressByte" runat="server" Width="100px">
                                            </asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="col-md-12">
                                        <div class="col-ks-3">
                                            <asp:Label ID="lblNoOfBytes" runat="server" Text="No. of bytes in hex"></asp:Label>
                                        </div>
                                        <div class="col-ks-10">
                                            <asp:TextBox ID="txtnoofBytes" runat="server" Width="100px">
                                            </asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="col-md-12" id="trEEPROMData" runat="server">
                                        <div class="col-ks-3">
                                            <asp:Label ID="lblData" runat="server" Text="Data in hex"></asp:Label>
                                        </div>
                                        <div class="col-ks-10">
                                            <asp:TextBox ID="txtData" runat="server" TextMode="MultiLine" Height="50px">
                                            </asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <div id="tr_Pressure" runat="server" class="col-md-12">
                                    <table class="table table-bordered">
                                        <tbody>

                                              <tr id="tr_P1" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_P1" runat="server" Text="Pressure 1"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P1Mn" runat="server" Text=" Min"></asp:Label>
                                                    <asp:TextBox ID="txt_P1Mn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP1Mn" runat="server" TargetControlID="txt_P1Mn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P1Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P1Mx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP1Mx" runat="server" TargetControlID="txt_P1Mx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>

                                            <tr id="tr_P2" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_P2" runat="server" Text="Pressure 2"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P2Mn" runat="server" Text=" Min"></asp:Label>
                                                    <asp:TextBox ID="txt_P2Mn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP2Mn" runat="server" TargetControlID="txt_P2Mn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P2Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P2Mx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP2Mx" runat="server" TargetControlID="txt_P2Mx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>

                                            <tr id="tr_P3" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_P3" runat="server" Text="Pressure 3"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P3Mn" runat="server" Text=" Min"></asp:Label>
                                                    <asp:TextBox ID="txt_P3Mn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP3Mn" runat="server" TargetControlID="txt_P3Mn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P3Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P3Mx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP3Mx" runat="server" TargetControlID="txt_P3Mx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_P4" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_P4" runat="server" Text="Pressure 4"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P4Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P4Mn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP4Mn" runat="server" TargetControlID="txt_P4Mn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P4Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P4Mx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP4Mx" runat="server" TargetControlID="txt_P4Mx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_P5" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_P5" runat="server" Text="Pressure 5"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P5Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P5Mn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP5Mn" runat="server" TargetControlID="txt_P5Mn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P5Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P5Mx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP5Mx" runat="server" TargetControlID="txt_P5Mx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_P6" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_P6" runat="server" Text="Pressure 6"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P6Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P6Mn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MaskedEditExtender1" runat="server" TargetControlID="txt_P6Mn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P6Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P6Mx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP6Mx" runat="server" TargetControlID="txt_P6Mx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_P7" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_P7" runat="server" Text="Pressure 7"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P7Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P7Mn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP7Mn" runat="server" TargetControlID="txt_P7Mn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P7Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P7Mx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP7Mx" runat="server" TargetControlID="txt_P7Mx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_P8" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_P8" runat="server" Text="Pressure 8"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P8Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P8Mn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP8Mn" runat="server" TargetControlID="txt_P8Mn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P8Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P8Mx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP8Mx" runat="server" TargetControlID="txt_P8Mx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_P9" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_P9" runat="server" Text="Pressure 9"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P9Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P9Mn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP9Mn" runat="server" TargetControlID="txt_P9Mn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P9Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P9Mx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP9Mx" runat="server" TargetControlID="txt_P9Mx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_P10" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_P10" runat="server" Text="Pressure 10"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P10Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P10Mn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP10Mn" runat="server" TargetControlID="txt_P10Mn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P10Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P10Mx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP10Mx" runat="server" TargetControlID="txt_P10Mx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_P11" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_P11" runat="server" Text="Pressure 11"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P11Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P11Mn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP11Mn" runat="server" TargetControlID="txt_P11Mn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_P11Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_P11Mx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasP11Mx" runat="server" TargetControlID="txt_P11Mx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_DPs" runat="server">
                                                <td>
                                                    <img id="imgDPs" align="top" src="../images/icon-delta.png">
                                                    <asp:Label ID="lbl_DPs" runat="server" Text="Ps"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_DPsMn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_DPsMn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasDPsMn" runat="server" TargetControlID="txt_DPsMn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_DPsMx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_DPsMx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasDPsMx" runat="server" TargetControlID="txt_DPsMx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_DPp" runat="server">
                                                <td>
                                                    <img id="imgDPp" align="top" src="../images/icon-delta.png">
                                                    <asp:Label ID="lbl_DPp" runat="server" Text="Pp1"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_DPpMn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_DPpMn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasDPpMn" runat="server" TargetControlID="txt_DPpMn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_DPpMx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_DPpMx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasDPpMx" runat="server" TargetControlID="txt_DPpMx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_DPp1" runat="server">
                                                <td>
                                                    <img id="imgDPp1" align="top" src="../images/icon-delta.png">
                                                    <asp:Label ID="lbl_DPp1" runat="server" Text="Pp2"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_DPp1Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_DPp1Mn" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasDPp1Mn" runat="server" TargetControlID="txt_DPp1Mn" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_DPp1Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_DPp1Mx" runat="server" MaxLength="4" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasDPp1Mx" runat="server" TargetControlID="txt_DPp1Mx" MaskType="Number" Mask="9999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div id="tr_Temperature" runat="server" class="col-md-12 form-group">
                                    <table class="table table-bordered">
                                        <tbody>
                                            <tr id="tr_T1" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_Temp1" runat="server" Text="Temperature 1 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_temp1Min" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_Temp1Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasTemp1Mn" runat="server" TargetControlID="txt_Temp1Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_Temp1Max" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_Temp1Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasTemp1Mx" runat="server" TargetControlID="txt_Temp1Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_T2" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_Temp2" runat="server" Text="Temperature 2 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_temp2Min" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_Temp2Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasTemp2Mn" runat="server" TargetControlID="txt_Temp2Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_Temp2Max" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_Temp2Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasTemp2Mx" runat="server" TargetControlID="txt_Temp2Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_T3" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_Temp3" runat="server" Text="Temperature 3 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_temp3Min" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_Temp3Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasTemp3Mn" runat="server" TargetControlID="txt_Temp3Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_temp3Max" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_Temp3Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasTemp3Mx" runat="server" TargetControlID="txt_Temp3Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_T4" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_Temp4" runat="server" Text="Temperature 4 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_temp4Min" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_Temp4Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasTemp4Mn" runat="server" TargetControlID="txt_Temp4Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_temp4Max" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_Temp4Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasTemp4Mx" runat="server" TargetControlID="txt_Temp4Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_T5" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_Temp5" runat="server" Text="Temperature 5 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_temp5Min" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_Temp5Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasTemp5Mn" runat="server" TargetControlID="txt_Temp5Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_temp5Max" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_Temp5Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasTemp5Mx" runat="server" TargetControlID="txt_Temp5Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div id="tr_CurrentRange" runat="server" class="col-md-12 form-group">
                                    <table class="table table-bordered">
                                        <tbody>
                                            <tr id="tr_V1" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_V1" runat="server" Text="V1"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_V1Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_V1Mn" runat="server" MaxLength="3" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasV1Mn" runat="server" TargetControlID="txt_V1Mn" MaskType="Number" Mask="999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_V1Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_V1Mx" runat="server" MaxLength="3" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasV1Mx" runat="server" TargetControlID="txt_V1Mx" MaskType="Number" Mask="999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td></td>
                                            </tr>
                                            <tr id="tr_V2" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_V2" runat="server" Text="V2"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_V2Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_V2Mn" runat="server" MaxLength="3" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasV2Mn" runat="server" TargetControlID="txt_V2Mn" MaskType="Number" Mask="999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_V2Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_V2Mx" runat="server" MaxLength="3" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasV2Mx" runat="server" TargetControlID="txt_V2Mx" MaskType="Number" Mask="999" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C1" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C1" runat="server" Text="C1 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C1Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C1Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC1Mn" runat="server" TargetControlID="txt_C1Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C1Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C1Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC1Mx" runat="server" TargetControlID="txt_C1Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC1" runat="server" Text="RC1 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC1" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC1" runat="server" TargetControlID="txt_RC1" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C2" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C2" runat="server" Text="C2 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C2Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C2Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC2Mn" runat="server" TargetControlID="txt_C2Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C2Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C2Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC2Mx" runat="server" TargetControlID="txt_C2Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC2" runat="server" Text="RC2 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC2" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC2" runat="server" TargetControlID="txt_RC2" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C3" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C3" runat="server" Text="C3 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C3Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C3Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC3Mn" runat="server" TargetControlID="txt_C3Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C3Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C3Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC3Mx" runat="server" TargetControlID="txt_C3Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC3" runat="server" Text="RC3 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC3" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC3" runat="server" TargetControlID="txt_RC3" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C4" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C4" runat="server" Text="C4 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C4Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C4Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC4Mn" runat="server" TargetControlID="txt_C4Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C4Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C4Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC4Mx" runat="server" TargetControlID="txt_C4Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC4" runat="server" Text="RC4 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC4" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC4" runat="server" TargetControlID="txt_RC4" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C5" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C5" runat="server" Text="C5 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C5Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C5Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC5Mn" runat="server" TargetControlID="txt_C5Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C5Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C5Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC5Mx" runat="server" TargetControlID="txt_C5Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC5" runat="server" Text="RC5 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC5" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC5" runat="server" TargetControlID="txt_RC5" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C6" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C6" runat="server" Text="C6 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C6Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C6Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC6Mn" runat="server" TargetControlID="txt_C6Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C6Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C6Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC6Mx" runat="server" TargetControlID="txt_C6Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC6" runat="server" Text="RC6 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC6" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC6" runat="server" TargetControlID="txt_RC6" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C7" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C7" runat="server" Text="C7 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C7Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C7Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC7Mn" runat="server" TargetControlID="txt_C7Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C7Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C7Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC7Mx" runat="server" TargetControlID="txt_C7Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC7" runat="server" Text="RC7 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC7" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC7" runat="server" TargetControlID="txt_RC7" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C8" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C8" runat="server" Text="C8 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C8Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C8Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC8Mn" runat="server" TargetControlID="txt_C8Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C8Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C8Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC8Mx" runat="server" TargetControlID="txt_C8Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC8" runat="server" Text="RC8 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC8" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC8" runat="server" TargetControlID="txt_RC8" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C9" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C9" runat="server" Text="C9 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C9Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C9Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC9Mn" runat="server" TargetControlID="txt_C9Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C9Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C9Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC9Mx" runat="server" TargetControlID="txt_C9Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC9" runat="server" Text="RC9 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC9" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC9" runat="server" TargetControlID="txt_RC9" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C10" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C10" runat="server" Text="C10 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C10Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C10Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC10Mn" runat="server" TargetControlID="txt_C10Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C10Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C10Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC10Mx" runat="server" TargetControlID="txt_C10Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC10" runat="server" Text="RC10 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC10" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC10" runat="server" TargetControlID="txt_RC10" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C11" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C11" runat="server" Text="C11 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C11Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C11Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC11Mn" runat="server" TargetControlID="txt_C11Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C11Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C11Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC11Mx" runat="server" TargetControlID="txt_C11Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC11" runat="server" Text="RC11 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC11" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC11" runat="server" TargetControlID="txt_RC11" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C12" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C12" runat="server" Text="C12 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C12Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C12Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC12Mn" runat="server" TargetControlID="txt_C12Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C12Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C12Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC12Mx" runat="server" TargetControlID="txt_C12Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC12" runat="server" Text="RC12 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC12" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC12" runat="server" TargetControlID="txt_RC12" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C13" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C13" runat="server" Text="C13 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C13Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C13Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC13Mn" runat="server" TargetControlID="txt_C13Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C13Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C13Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC13Mx" runat="server" TargetControlID="txt_C13Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC13" runat="server" Text="RC13 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC13" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC13" runat="server" TargetControlID="txt_RC13" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C14" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C14" runat="server" Text="C14 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C14Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C14Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC14Mn" runat="server" TargetControlID="txt_C14Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C14Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C14Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC14Mx" runat="server" TargetControlID="txt_C14Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC14" runat="server" Text="RC14 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC14" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC14" runat="server" TargetControlID="txt_RC14" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C15" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C15" runat="server" Text="C15 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C15Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C15Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC15Mn" runat="server" TargetControlID="txt_C15Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C15Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C15Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC15Mx" runat="server" TargetControlID="txt_C15Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC15" runat="server" Text="RC15 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC15" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC15" runat="server" TargetControlID="txt_RC15" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C16" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C16" runat="server" Text="C16 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C16Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C16Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC16Mn" runat="server" TargetControlID="txt_C16Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C16Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C16Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC16Mx" runat="server" TargetControlID="txt_C16Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC16" runat="server" Text="RC16 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC16" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC16" runat="server" TargetControlID="txt_RC16" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C17" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C17" runat="server" Text="C17 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C17Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C17Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC17Mn" runat="server" TargetControlID="txt_C17Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C17Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C17Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC17Mx" runat="server" TargetControlID="txt_C17Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC17" runat="server" Text="RC17 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC17" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC17" runat="server" TargetControlID="txt_RC17" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C18" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C18" runat="server" Text="C18 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C18Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C18Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC18Mn" runat="server" TargetControlID="txt_C18Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C18Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C18Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC18Mx" runat="server" TargetControlID="txt_C18Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC18" runat="server" Text="RC18 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC18" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC18" runat="server" TargetControlID="txt_RC18" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                            <tr id="tr_C19" runat="server">
                                                <td>
                                                    <asp:Label ID="lbl_C19" runat="server" Text="C19 (e.g:xxx.x)"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C19Mn" runat="server" Text=" Min" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C19Mn" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC19Mn" runat="server" TargetControlID="txt_C19Mn" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_C19Mx" runat="server" Text="Max" CssClass="time"></asp:Label>
                                                    <asp:TextBox ID="txt_C19Mx" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasC19Mx" runat="server" TargetControlID="txt_C19Mx" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lbl_RC19" runat="server" Text="RC19 (e.g:xxx.x)"></asp:Label>
                                                    <asp:TextBox ID="txt_RC19" runat="server" MaxLength="5" onpaste="return false;"
                                                        ondrop="return false;" onkeypress="return fun_CheckDecimal(this,3,1);" CssClass="form-control"></asp:TextBox>
                                                    <cc1:MaskedEditExtender ID="MasRC19" runat="server" TargetControlID="txt_RC19" MaskType="Number" Mask="999.9" InputDirection="LeftToRight">
                                                    </cc1:MaskedEditExtender>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-12" align="right">
                                <%--<div class="col-ks-14" align="right">--%>
                                <asp:LinkButton ID="btnSend" runat="server" OnClick="btnSend_Click"
                                    OnClientClick="document.getElementById('divMsg').innerHTML='';if(getConfirmation()){ShowPopUp(); return true;}else{return false;}" CssClass="btn-fa-send btn btn-primary">
                                </asp:LinkButton>
                                <%--</div>--%>
                            </div>
                        </div>
                    </div>
                    <div id="divMsg" runat="server" align="center" style="font-weight: bold;">
                    </div>
                    <table cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td class="split" style="width: 10px"></td>
                            <td>
                                <table class="form-tbl" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td style="padding: 0px; margin: 0px">
                                            <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                                <tr id="tblSPThreshold" runat="server">
                                                    <td class="label">
                                                        <asp:Label ID="Label2" runat="server" Text="Set Speed Threshold" Style="white-space: nowrap;"></asp:Label>
                                                    </td>
                                                    <td class="dropdown">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlSpeed" ClientInstanceName="ddlSpeed" Width="60px"
                                                                        ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue"
                                                                        OnSelectedIndexChanged="ddlAPNChange_SelectedIndexChanged">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td style="padding-left: 5px">
                                                                    <asp:Label ID="lblSpeedMetrics" runat="server"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblspeedThreshold" runat="server"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="tblThresholdtime" runat="server">
                                                    <td class="label">
                                                        <asp:Label ID="Label7" runat="server" Text="Set Threshold Time" Style="white-space: nowrap;"></asp:Label>
                                                    </td>
                                                    <td class="dropdown">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlthresholdtime" ClientInstanceName="ddlthresholdtime"
                                                                        Width="60px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                        <Items>
                                                                            <dxw:ListEditItem Text="10 sec" Value="10" />
                                                                            <dxw:ListEditItem Text="15 sec" Value="15" />
                                                                            <dxw:ListEditItem Text="20 sec" Value="20" />
                                                                        </Items>
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td style="padding-left: 5px">
                                                                    <asp:Label ID="lblThresholdtime" runat="server"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="tblExttime" runat="server">
                                                    <td class="label">
                                                        <asp:Label ID="Label9" runat="server" Text="Set Speed Threshold" Style="white-space: nowrap;"></asp:Label>
                                                    </td>
                                                    <td class="dropdown">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlExtTime" ClientInstanceName="ddlSpeed" Width="50px"
                                                                        ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                        <Items>
                                                                            <dxw:ListEditItem Text="15 mints" Value="900" Selected="true" />
                                                                            <dxw:ListEditItem Text="30 mints" Value="1800" />
                                                                            <dxw:ListEditItem Text="45 mints" Value="2700" />
                                                                            <dxw:ListEditItem Text="1 hour" Value="3600" />
                                                                        </Items>
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td style="padding-left: 5px">
                                                                    <asp:CheckBox ID="chkLiveTrak" runat="server" Text="Enable / Disable Live Tracking" Checked="false" />
                                                                    <asp:Label ID="lblExttime" runat="server"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="TBLLiveTrack" runat="server">
                                                    <td class="label">
                                                        <asp:Label ID="lblMeters" runat="server" Text="Report in meters" Style="white-space: nowrap;"></asp:Label>
                                                    </td>
                                                    <td class="dropdown">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlMeters" ClientInstanceName="ddlMeters" Width="50px"
                                                                        ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                        <Items>
                                                                            <dxw:ListEditItem Text="5" Value="5" Selected="true" />
                                                                            <dxw:ListEditItem Text="10" Value="10" />
                                                                            <dxw:ListEditItem Text="15" Value="15" />
                                                                            <dxw:ListEditItem Text="20" Value="20" />
                                                                            <dxw:ListEditItem Text="25" Value="25" />
                                                                            <dxw:ListEditItem Text="30" Value="30" />
                                                                            <dxw:ListEditItem Text="35" Value="35" />
                                                                            <dxw:ListEditItem Text="40" Value="40" />
                                                                            <dxw:ListEditItem Text="45" Value="45" />
                                                                            <dxw:ListEditItem Text="50" Value="50" />
                                                                        </Items>
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td style="padding-left: 5px">
                                                                    <asp:Label ID="lblLiveTrack" runat="server" Text="Meters"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trSetIdling" runat="server">
                                                    <td colspan="2" style="padding: 0px; margin: 0px">
                                                        <table cellpadding="0" cellspacing="0" width="100%">
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblIdlingCaption" runat="server" Text="Set Idling"></asp:Label>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlIdlingTime" ClientInstanceName="ddlIdlingTime"
                                                                        Width="70px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td valign="left">
                                                                    <asp:Label ID="lblIdlingTimeUnit" runat="server" Text="(in secs)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblExtIdlingCaption" runat="server" Text="Set Extended Idling"></asp:Label>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlExtIdlingTime" ClientInstanceName="ddlExtIdlingTime"
                                                                        Width="70px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td valign="left">
                                                                    <asp:Label ID="lblExtIdlingUnit" runat="server" Text="(in secs)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="tblGeozone" runat="server">
                                                    <td class="label">
                                                        <asp:Label ID="lblSelectGeozone" runat="server" Text="Select Geozone"></asp:Label>
                                                    </td>
                                                    <td class="dropdown">
                                                        <dxw:ASPxComboBox runat="server" ID="ddlGeozone" ClientInstanceName="ddlGeozone" Width="200px"
                                                            ValueType="System.Int32" EnableIncrementalFiltering="true" EnableTheming="true" Theme="Office2003Blue"
                                                            CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                        </dxw:ASPxComboBox>
                                                    </td>
                                                </tr>
                                                <tr id="tblOta" runat="server">
                                                    <td class="label">
                                                        <asp:CheckBox ID="chkOTA" runat="server" Text="Set OTA Start Packet" onclick="hideControlForOTA(this.checked,1)" />
                                                    </td>
                                                    <td class="dropdown">
                                                        <asp:TextBox ID="txtOTAPckts" runat="server" Width="50px" MaxLength="3" CssClass="ControlHide" onkeypress="return chkNumeric_only(event);">
                                                        </asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr id="trSetNormalParam" runat="server">
                                                    <td colspan="2" style="padding: 1px 1px 3px 4px; margin: 0px">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label20" runat="server" Text="Primary Voltage Value"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtPVV" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label21" runat="server" Text="Primary Current limit"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtPCL" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label22" runat="server" Text=" Secondary voltage Limit"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtSVL" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label23" runat="server" Text="Secondary Current Limit "></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtSCL" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label24" runat="server" Text="Secondary Current Peak Limit"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtSCPL" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label25" runat="server" Text="Control Word"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtCW" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label26" runat="server" Text="Ramp"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtRamp" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label27" runat="server" Text="Phase back"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtPB" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label28" runat="server" Text="Pedestal"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtPedestal" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label29" runat="server" Text="Quench Time"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtQT" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label30" runat="server" Text="Spark Rate"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtSR" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label31" runat="server" Text="IE charge half cycle"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtIECHC" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label32" runat="server" Text="IE discharge cycle"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtIEDC" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label33" runat="server" Text="IE Background Power"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtIEBP" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label34" runat="server" Text="IE Optimize Timer"></asp:Label>
                                                                </td>
                                                                <td style="padding-left: 10px">
                                                                    <asp:TextBox ID="txtIEOT" runat="server" Width="50px" MaxLength="3" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trGSpeedThreshold" runat="server" class="ControlHide">
                                                    <td class="label">
                                                        <asp:Label ID="lblGeozoneSpeedThreshold" runat="server" Text="Geozone Speed Threshold"></asp:Label>
                                                    </td>
                                                    <td class="dropdown">
                                                        <table>
                                                            <tr>
                                                                <td runat="server" id="tdGeozoneSpeedDropDown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlGeozoneSpeedTh" ClientInstanceName="ddlGeozoneSpeedTh" Width="50px"
                                                                        ValueType="System.Int32" EnableIncrementalFiltering="true" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td style="padding-left: 5px">
                                                                    <asp:Label ID="lblGeozoneSpeedThMetrics" runat="server"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trGRestrictedZone" runat="server">
                                                    <td class="label">
                                                        <asp:Label ID="lblIsRestricted" runat="server" Text="Is Restricted"></asp:Label>
                                                    </td>
                                                    <td class="dropdown">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <asp:CheckBox ID="chkEnableGRestricted" runat="server" Text="Yes" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trGeozoneInOutAlarm" runat="server">
                                                    <td class="label">
                                                        <asp:Label ID="lblGeozoneAlarm" runat="server" Text="Geozone IN/OUT Alarm"></asp:Label>
                                                    </td>
                                                    <td class="dropdown">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <asp:CheckBox ID="chkEnableGeozoneAlarm" runat="server" Text="Enable" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trEnableGTimeLimit" runat="server">
                                                    <td class="label">
                                                        <asp:Label ID="Label5" runat="server" Text="Time Limit"></asp:Label>
                                                    </td>
                                                    <td class="dropdown">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <asp:CheckBox ID="chkEnableGTimeLimit" runat="server" Text="Enable" onclick="hideControlForGeozone(this.checked,2)" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trGTimelimit" runat="server" class="ControlHide">
                                                    <td class="label">
                                                        <asp:Label ID="lblGTimeLimit" runat="server" Text="Geozone Time Limit"></asp:Label>
                                                    </td>
                                                    <td class="dropdown">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlGTimeLimit" ClientInstanceName="ddlGTimeLimit"
                                                                        Width="50px" ValueType="System.Int32" EnableIncrementalFiltering="true"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue"
                                                                        EnableTheming="true" Theme="Office2003Blue">
                                                                        <Items>
                                                                            <dxw:ListEditItem Text="5 mints" Value="300" />
                                                                            <dxw:ListEditItem Text="30 mints" Value="1800" />
                                                                            <dxw:ListEditItem Text="1" Value="3600" />
                                                                            <dxw:ListEditItem Text="2" Value="7200" />
                                                                            <dxw:ListEditItem Text="3" Value="10800" />
                                                                            <dxw:ListEditItem Text="4" Value="14400" />
                                                                            <dxw:ListEditItem Text="5" Value="18000" />
                                                                            <dxw:ListEditItem Text="6" Value="21600" />
                                                                            <dxw:ListEditItem Text="7" Value="25200" />
                                                                            <dxw:ListEditItem Text="8" Value="28800" />
                                                                        </Items>
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td style="padding-left: 5px">
                                                                    <asp:Label ID="lblGTimeLimitMetrics" runat="server" Text="hrs"></asp:Label>
                                                                </td>
                                                                <td>&nbsp;&nbsp;&nbsp;
                                                                                <%--<asp:Label ID="Label7" runat="server" Text="Ext. Time Limit"></asp:Label>--%>
                                                                    <asp:CheckBox ID="chkEXtTimelimit" runat="server" Text="Ext. Time Limit" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trSetVehicleParameter" runat="server">
                                                    <td colspan="2">
                                                        <table>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblEngineDisp" runat="server" Text="Engine Displacement"></asp:Label>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlEngineDisp" ClientInstanceName="ddlEngineDisp"
                                                                        Width="70px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblVolEff" runat="server" Text="Volumetric Eff."></asp:Label>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlVolEff" ClientInstanceName="ddlVolEff" Width="70px"
                                                                        ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblIdlingRPM" runat="server" Text="Idling RPM"></asp:Label>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <asp:TextBox ID="txtIdlingRPM" runat="server" Width="100px" MaxLength="4" onkeypress="return chkNumeric_only(event);">
                                                                    </asp:TextBox>
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlIdlingRPM" ClientInstanceName="ddlIdlingRPM"
                                                                        Visible="false" Width="70px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblFuelDensity" runat="server" Text="Fuel Density"></asp:Label>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlFuelDensity" ClientInstanceName="ddlFuelDensity"
                                                                        SelectedIndex="0" Width="70px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                        <Items>
                                                                            <dxw:ListEditItem Text="Petrol" Value="0" />
                                                                            <dxw:ListEditItem Text="Diesel" Value="1" />
                                                                        </Items>
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trSetOdoOffsetAndMAFState" runat="server">
                                                    <td colspan="2">
                                                        <table>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblOdoOffset" runat="server" Text="Odometer Offset"></asp:Label>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlOdoOffsetSign" ClientInstanceName="ddlOdoOffsetSign"
                                                                        Width="50px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue" SelectedIndex="0">
                                                                        <Items>
                                                                            <dxw:ListEditItem Text="+" Value="0" />
                                                                            <dxw:ListEditItem Text="-" Value="1" />
                                                                        </Items>
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlOdoOffset" ClientInstanceName="ddlOdoOffset"
                                                                        Width="70px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblMAFState" runat="server" Text="Engine Temperature"></asp:Label>
                                                                </td>
                                                                <td class="dropdown" colspan="2">
                                                                    <%-- <asp:RadioButtonList Width="100%" ID="rbtMAFState" RepeatDirection="Horizontal" RepeatColumns="2"
                                                                                    CssClass="checkBoxListWrap" runat="server">
                                                                                    <asp:ListItem Text="Enable" Selected="True" Value="1"></asp:ListItem>
                                                                                    <asp:ListItem Text="Disable" Value="0"></asp:ListItem>
                                                                                </asp:RadioButtonList>--%>
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlEngTemp" ClientInstanceName="ddlEngTemp"
                                                                        Width="50px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue" SelectedIndex="0">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="Label1" runat="server" Text="Fuel Offset"></asp:Label>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlFuelOffsetSign" ClientInstanceName="ddlFuelOffsetSign"
                                                                        Width="50px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue" SelectedIndex="0">
                                                                        <Items>
                                                                            <dxw:ListEditItem Text="+" Value="0" />
                                                                            <dxw:ListEditItem Text="-" Value="1" />
                                                                        </Items>
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlFuelOffset" ClientInstanceName="ddlFuelOffset"
                                                                        Width="70px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lbl_throttle" runat="server" Text="Throttle Threshold (%)"></asp:Label>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlthrottle" ClientInstanceName="ddlthrottle"
                                                                        Width="50px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue" SelectedIndex="0">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td></td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trMainBatterySettings" runat="server">
                                                    <td colspan="2">
                                                        <table>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblMainBatterySettings" runat="server" Text="Battery Settings"></asp:Label>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <asp:RadioButtonList Width="100%" ID="rdbListBattSettings" RepeatDirection="Horizontal"
                                                                        onclick="fnGetSetBatterySettings(this)" RepeatColumns="2" CssClass="checkBoxListWrap"
                                                                        runat="server">
                                                                        <asp:ListItem Text="Get" Selected="True" Value="1"></asp:ListItem>
                                                                        <asp:ListItem Text="Set" Value="2"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </td>
                                                            </tr>
                                                            <tr id="trSetBatterySettings" class="ControlHide">
                                                                <td class="label">
                                                                    <asp:Label ID="lblBatteryLowVolt" runat="server" Text="Battery Low"></asp:Label>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <asp:TextBox ID="txtBatteryLow" runat="server" Width="100px" MaxLength="2">
                                                                    </asp:TextBox>
                                                                    &nbsp; (7 - 32 in volts)
                                                                </td>
                                                            </tr>
                                                            <tr id="trSetBatterySettings1" class="ControlHide">
                                                                <td class="label">
                                                                    <asp:Label ID="lblBatteryOkVolt" runat="server" Text="Battery Ok"></asp:Label>
                                                                </td>
                                                                <td class="dropdown">
                                                                    <asp:TextBox ID="txtBatteryOk" runat="server" Width="100px" MaxLength="2">
                                                                    </asp:TextBox>
                                                                    &nbsp; (7 - 32 in volts)
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="tblSensor" runat="server">
                                                    <td colspan="2" style="padding-top: 5px; margin: 0px">
                                                        <table cellpadding="0" cellspacing="0" border="0" width="100%" visible="false">
                                                            <tr>
                                                                <td colspan="4" style="padding: 0px 0px 5px 0px">
                                                                    <asp:Repeater ID="rptSensors" runat="server">
                                                                        <HeaderTemplate>
                                                                            <table width="325px" cellpadding="0" cellspacing="0" style="border: solid 1px #CCC; background-color: #efefef;">
                                                                                <tr>
                                                                                    <td width="150px" class="b">
                                                                                        <asp:Label ID="lblSensorNameCaption" runat="server" Text="Sensor Name"></asp:Label>
                                                                                    </td>
                                                                                    <td width="175px" class="b">
                                                                                        <asp:Label ID="lblMessageSetting" runat="server" Text="Message Triggering Status"></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </HeaderTemplate>
                                                                        <ItemTemplate>
                                                                            <table width="325px" cellpadding="0" cellspacing="0" style="border: solid 1px #CCC; border-width: 0 1px 1px 1px">
                                                                                <tr>
                                                                                    <td width="150px" class="b">
                                                                                        <asp:Label ID="lblSensorName" runat="server" Text='<%# Eval("SensorName") %>'></asp:Label>
                                                                                        <asp:Label ID="lblSensorID" runat="server" Text='<%# Eval("SensorID") %>' Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td width="175px">
                                                                                        <%--<asp:RadioButtonList Width="100%" ID="rbtMessageTriggeringStatus" RepeatDirection="Horizontal"
                                                                                                        RepeatColumns="2" CssClass="Chkinput" runat="server">
                                                                                                        <asp:ListItem Text="Enable" Selected="True" Value="1"></asp:ListItem>
                                                                                                        <asp:ListItem Text="Disable" Value="0"></asp:ListItem>
                                                                                                    </asp:RadioButtonList>--%>
                                                                                        <asp:RadioButtonList Width="100%" ID="rbtMessageTriggeringStatus" RepeatDirection="Horizontal"
                                                                                            RepeatColumns="2" CssClass="checkBoxListWrap" runat="server">
                                                                                            <asp:ListItem Text="Enable" Selected="True" Value="1"></asp:ListItem>
                                                                                            <asp:ListItem Text="Disable" Value="0"></asp:ListItem>
                                                                                        </asp:RadioButtonList>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </ItemTemplate>
                                                                    </asp:Repeater>
                                                                </td>
                                                            </tr>
                                                            <tr id="trTurnAndTamper" runat="server" style="width: 350px;">
                                                                <td style="padding: 0px 0px 0px 0px">
                                                                    <asp:CheckBox ID="chkTurnPacket" CssClass="cblWrap" runat="server" Text="Turn Packet" />
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="chkTamper" runat="server" Text="Tampering" CssClass="cblWrap" />
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="chkExtIdiling" runat="server" Text="Extended Idiling" CssClass="cblWrap" />
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="chkAutoArm" runat="server" Text="Auto Arm" CssClass="cblWrap" />
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="chkSpeedBand" runat="server" Text="Speed Band" CssClass="cblWrap" />
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="chkLiveTrack" runat="server" Text="Live Track" CssClass="cblWrap" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="tblOutput" runat="server">
                                                    <td class="label">
                                                        <asp:Label ID="lblOutput" runat="server" Text="Output"></asp:Label>
                                                    </td>
                                                    <td class="dropdown">
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <dxw:ASPxComboBox ID="ddlOutput" AutoPostBack="true" runat="server" OnSelectedIndexChanged="ddlOutput_SelectedIndexChanged"
                                                                        ClientInstanceName="ddlOutput" Width="60px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td style="padding-left: 5px; width: 140px;">
                                                                    <asp:RadioButtonList RepeatDirection="Horizontal" runat="server" CellPadding="0"
                                                                        CellSpacing="0" ID="rblOutput" RepeatLayout="Table" RepeatColumns="2" CssClass="cblWrap"
                                                                        Width="100%">
                                                                    </asp:RadioButtonList>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="tblDeleteGeozones" runat="server">
                                                    <td colspan="2">
                                                        <table width="100%" cellpadding="0" cellspacing="0" style="border: solid 1px #CCC; background-color: #efefef;">
                                                            <tr>
                                                                <td width="100%" class="b">
                                                                    <asp:CheckBox ID="chkSelectAll" runat="server" CssClass="Chkinput" OnCheckedChanged="chkSelectAll_CheckedChanged"
                                                                        onclick="CheckAll('Geozones');" Text="All Geozones" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="tblDeleteGeozonesList" runat="server">
                                                    <td colspan="2">
                                                        <table width="100%" cellpadding="0" cellspacing="0" style="border: solid 1px #CCC; border-width: 0 1px 1px 1px">
                                                            <tr>
                                                                <td width="525px">
                                                                    <%--<asp:CheckBoxList ID="cblVehicleGeozones" Style="text-align: left;" runat="server"
                                                                                    align="left" CellPadding="0" CellSpacing="7" Height="16px" RepeatColumns="2"
                                                                                    RepeatLayout="Table" Width="100%" onclick="CheckSelectOrUnSelect('cblVehicleGeozones_','chkSelectAll');">
                                                                                </asp:CheckBoxList>--%>
                                                                    <asp:CheckBoxList ID="cblVehicleGeozones" CssClass="checkBoxListWrap test" runat="server"
                                                                        align="left" CellPadding="0" CellSpacing="0" RepeatColumns="3" RepeatLayout="Table"
                                                                        Width="100%" onclick="CheckSelectOrUnSelect();">
                                                                    </asp:CheckBoxList>
                                                                    <asp:Label ID="lblNoGeozones" runat="server"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="tblGeneratorParameters" runat="server" visible="false">
                                                    <td colspan="2">
                                                        <table width="100%" cellpadding="0" cellspacing="0" style="border: solid 1px #CCC; background-color: #efefef;">
                                                            <tr>
                                                                <td width="525px" class="b">
                                                                    <asp:CheckBox ID="chkGenSelectAll" runat="server" CssClass="Chkinput" OnCheckedChanged="chkGenSelectAll_CheckedChanged"
                                                                        onclick="CheckAll('GeneratorParams');" Text="All Generator Parameters" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="tblGeneratorParametersList" runat="server">
                                                    <td colspan="2">
                                                        <table width="100%" cellpadding="0" cellspacing="0" style="border: solid 1px #CCC; border-width: 0 1px 1px 1px"
                                                            visible="false">
                                                            <tr>
                                                                <td width="525px">
                                                                    <asp:CheckBoxList ID="chkGenParams" Style="text-align: left;" runat="server" align="left"
                                                                        CellPadding="0" CellSpacing="0" Height="16px" RepeatColumns="3" RepeatLayout="Table"
                                                                        Width="100%" onclick="CheckSelectOrUnSelect('chkGenParams_','chkGenSelectAll');">
                                                                        <asp:ListItem Text="Hybrid Battery Temperature" Value="1"></asp:ListItem>
                                                                        <asp:ListItem Text="Engine Temperature" Value="2"></asp:ListItem>
                                                                        <asp:ListItem Text="High Engine Temperature" Value="3"></asp:ListItem>
                                                                        <asp:ListItem Text="Low Oil Pressure" Value="4"></asp:ListItem>
                                                                        <asp:ListItem Text="Fuel Level in Percentage" Value="5"></asp:ListItem>
                                                                        <asp:ListItem Text="Common Alarm" Value="6"></asp:ListItem>
                                                                        <asp:ListItem Text="Status_ON_OFF" Value="7"></asp:ListItem>
                                                                        <asp:ListItem Text="Control Card Mode Auto Manual" Value="8"></asp:ListItem>
                                                                        <asp:ListItem Text="RPM Positive" Value="9"></asp:ListItem>
                                                                        <asp:ListItem Text="RPM Negative" Value="10"></asp:ListItem>
                                                                        <asp:ListItem Text="Speed Regulation Mode Auto Manual" Value="11"></asp:ListItem>
                                                                        <asp:ListItem Text="Service Hours" Value="12"></asp:ListItem>
                                                                        <asp:ListItem Text="Hybrid Battery Voltage" Value="13"></asp:ListItem>
                                                                        <asp:ListItem Text="Hybrid Battery Current" Value="14"></asp:ListItem>
                                                                        <asp:ListItem Text="Hybrid Genset Current" Value="15"></asp:ListItem>
                                                                        <asp:ListItem Text="Voltage Genset Phase1" Value="16"></asp:ListItem>
                                                                        <asp:ListItem Text="Voltage Genset Phase2" Value="17"></asp:ListItem>
                                                                        <asp:ListItem Text="Voltage Genset Phase3" Value="18"></asp:ListItem>
                                                                        <asp:ListItem Text="Fuel Level in Liters" Value="19"></asp:ListItem>
                                                                        <asp:ListItem Text="Generator Frequency" Value="20"></asp:ListItem>
                                                                        <asp:ListItem Text="Total Kw hours" Value="21"></asp:ListItem>
                                                                    </asp:CheckBoxList>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="tblSetExtSensorParam" runat="server">
                                                    <td colspan="2" style="padding: 0px; margin: 0px">
                                                        <table id="tblExtSensorParam" runat="server" cellpadding="0" cellspacing="0">
                                                            <tr id="trTemp1" runat="server">
                                                                <td style="width: 29%">
                                                                    <asp:CheckBox ID="chkTempSensor" Style="text-align: left;" runat="server" align="left"
                                                                        Text="Temperature Sensor-1" />
                                                                </td>
                                                                <td>
                                                                    <dxw:ASPxComboBox runat="server" ID="ASPxCboTempSensorRI" ClientInstanceName="ddlRPTInterval"
                                                                        Width="75px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblLowTempValue" runat="server" Text="Temp. Low" Width="85px"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtLowTempValue" runat="server" Style="width: 35px" MaxLength="4"
                                                                        onkeypress="return chkTempNums(event,this);"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblHighTempValue" runat="server" Text="High"></asp:Label>
                                                                </td>
                                                                <td colspan="3">
                                                                    <asp:TextBox ID="txtHighTempValue" runat="server" Style="width: 35px" MaxLength="4"
                                                                        onkeypress="return chkTempNums(event,this);"></asp:TextBox>&nbsp;&nbsp;
                                                                                <asp:Label ID="lblHighCelsius1" runat="server" Text="(°C)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr id="trTemp2" runat="server">
                                                                <td style="width: 29%">
                                                                    <asp:CheckBox ID="chkTempSensor2" Style="text-align: left;" runat="server" align="left"
                                                                        Text="Temperature Sensor-2" />
                                                                </td>
                                                                <td>
                                                                    <dxw:ASPxComboBox runat="server" ID="ASPxCboTempSensor2RI" ClientInstanceName="ddlRPTInterval"
                                                                        Width="75px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblLowTempValue2" runat="server" Text="Temp. Low" Width="85px"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtLowTempValue2" runat="server" Style="width: 35px" MaxLength="4"
                                                                        onkeypress="return chkTempNums(event,this);"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblHighTempValue2" runat="server" Text="High"></asp:Label>
                                                                </td>
                                                                <td colspan="3">
                                                                    <asp:TextBox ID="txtHighTempValue2" runat="server" Style="width: 35px" MaxLength="4"
                                                                        onkeypress="return chkTempNums(event,this);"></asp:TextBox>&nbsp;&nbsp;
                                                                                <asp:Label ID="lblHighCelsius2" runat="server" Text="(°C)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr id="trTemp3" runat="server">
                                                                <td style="width: 29%">
                                                                    <asp:CheckBox ID="chkTempSensor3" Style="text-align: left;" runat="server" align="left"
                                                                        Text="Temperature Sensor-3" />
                                                                </td>
                                                                <td>
                                                                    <dxw:ASPxComboBox runat="server" ID="ASPxCboTempSensor3RI" ClientInstanceName="ddlRPTInterval"
                                                                        Width="75px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblLowTempValue3" runat="server" Text="Temp. Low" Width="85px"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtLowTempValue3" runat="server" Style="width: 35px" MaxLength="4"
                                                                        onkeypress="return chkTempNums(event,this);"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblHighTempValue3" runat="server" Text="High"></asp:Label>
                                                                </td>
                                                                <td colspan="3">
                                                                    <asp:TextBox ID="txtHighTempValue3" runat="server" Style="width: 35px" MaxLength="4"
                                                                        onkeypress="return chkTempNums(event,this);"></asp:TextBox>&nbsp;&nbsp;
                                                                                <asp:Label ID="lblHighCelsius3" runat="server" Text="(°C)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr id="trTemp4" runat="server">
                                                                <td style="width: 29%">
                                                                    <asp:CheckBox ID="chkTempSensor4" Style="text-align: left;" runat="server" align="left"
                                                                        Text="Temperature Sensor-4" />
                                                                </td>
                                                                <td>
                                                                    <dxw:ASPxComboBox runat="server" ID="ASPxCboTempSensor4RI" ClientInstanceName="ddlRPTInterval"
                                                                        Width="75px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblLowTempValue4" runat="server" Text="Temp. Low" Width="85px"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtLowTempValue4" runat="server" Style="width: 35px" MaxLength="4"
                                                                        onkeypress="return chkTempNums(event,this);"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblHighTempValue4" runat="server" Text="High"></asp:Label>
                                                                </td>
                                                                <td colspan="3">
                                                                    <asp:TextBox ID="txtHighTempValue4" runat="server" Style="width: 35px" MaxLength="4"
                                                                        onkeypress="return chkTempNums(event,this);"></asp:TextBox>&nbsp;&nbsp;
                                                                                <asp:Label ID="lblHighCelsius4" runat="server" Text="(°C)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr id="trFuel" runat="server">
                                                                <td style="width: 29%">
                                                                    <asp:CheckBox ID="chkFuelSensor" Style="text-align: left;" runat="server" align="left"
                                                                        Text="Fuel Gauge Sensor" />
                                                                </td>
                                                                <td>
                                                                    <dxw:ASPxComboBox runat="server" ID="ASPxCboFuelSensorRI" ClientInstanceName="ddlRPTInterval"
                                                                        Width="75px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblLowFuelValue" runat="server" Text="Fuel Level Low"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtLowFuelValue" runat="server" Style="width: 35px" onkeypress="return chkNumeric_only(event);"
                                                                        MaxLength="3"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblFuelDrainValue" runat="server" Text="Drain"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtFuelDrainValue" runat="server" Style="width: 35px" onkeypress="return chkNumeric_only(event);"
                                                                        MaxLength="2"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblFuelFillValue" runat="server" Text="Fill"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtFuelFillValue" runat="server" Style="width: 35px" onkeypress="return chkNumeric_only(event);"
                                                                        MaxLength="3"></asp:TextBox>
                                                                    &nbsp;&nbsp;
                                                                                <asp:Label ID="lblFuelLtr" runat="server" Text="(ltr)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="tblOdometer" runat="server">
                                                    <td colspan="2" style="padding-bottom: 5px">
                                                        <table cellpadding="0" cellspacing="0">
                                                            <tr id="trDCSIM" runat="server">
                                                                <td class="label" style="padding-bottom: 5px">
                                                                    <asp:Label ID="Label18" runat="server" Text="Set DCSIM"></asp:Label>
                                                                </td>
                                                                <td style="padding-bottom: 5px" class="dropdown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlDCSIM" ClientInstanceName="ddlDCSIM"
                                                                        Width="200px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue"
                                                                        AutoPostBack="false">
                                                                        <Items>
                                                                            <dxw:ListEditItem Text="DCSIM-1" Value="1" Selected="true" />
                                                                            <dxw:ListEditItem Text="DCSIM-2" Value="2" />
                                                                            <dxw:ListEditItem Text="DCSIM-3" Value="3" />
                                                                        </Items>
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="label" style="padding-bottom: 5px">
                                                                    <asp:Label ID="Label19" runat="server" Text="Controller/Field"></asp:Label>
                                                                </td>
                                                                <td style="padding-bottom: 5px" class="dropdown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlCtrlr" ClientInstanceName="ddlCtrlr"
                                                                        Width="200px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                            </tr>
                                                            <tr id="trSetWriteParam" runat="server">
                                                                <td class="label" style="padding-bottom: 5px">
                                                                    <asp:Label ID="lblSetOdometer" runat="server" Text="Set Parameter"></asp:Label>
                                                                </td>
                                                                <td style="padding-bottom: 5px" class="dropdown">
                                                                    <dxw:ASPxComboBox runat="server" ID="ddlGetParam" ClientInstanceName="ddlGetParam"
                                                                        Width="200px" ValueType="System.Int32" EnableTheming="true" Theme="Office2003Blue"
                                                                        CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                                    </dxw:ASPxComboBox>
                                                                </td>
                                                            </tr>
                                                            <tr id="trViCurve" runat="server">
                                                                <td class="label" style="padding-bottom: 5px">
                                                                    <asp:Label ID="lblgetVICurve" runat="server" Text="Set Value"></asp:Label>
                                                                </td>
                                                                <td class="dropdown" style="padding-bottom: 5px">
                                                                    <asp:TextBox ID="txtValues" runat="server" MaxLength="4" onpaste="return false;" onblur="return ValidateVICurve(this);"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);"></asp:TextBox>
                                                                    <asp:Label ID="lblOdometerReadingUnits" runat="server" Text="" Width="100px"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr id="trViCurvePercent" runat="server">
                                                                <td class="label" style="padding-bottom: 5px">
                                                                    <asp:Label ID="Label37" runat="server" Text="Percentage Value"></asp:Label>
                                                                </td>
                                                                <td class="dropdown" style="padding-bottom: 5px">
                                                                    <asp:TextBox ID="txtPercent" runat="server" MaxLength="2" onpaste="return false;" onblur="return ValidateVICurve(this);"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);"></asp:TextBox>
                                                                    <asp:Label ID="Label38" runat="server" Text="" Width="100px"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr id="trViCurveReading" runat="server">
                                                                <td class="label" style="padding-bottom: 5px">
                                                                    <asp:Label ID="Label35" runat="server" Text="Reading Count"></asp:Label>
                                                                </td>
                                                                <td class="dropdown" style="padding-bottom: 5px">
                                                                    <asp:TextBox ID="txtCount" runat="server" MaxLength="2" onpaste="return false;" onblur="return ValidateVICurve(this);"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);"></asp:TextBox>
                                                                    <asp:Label ID="Label36" runat="server" Text="" Width="100px"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trSleepTimeSettings" runat="server">
                                                    <td class="label">
                                                        <asp:Label ID="lblSetSleepTime" runat="server" Text="Set Odometer"></asp:Label>
                                                    </td>
                                                    <td class="dropdown">
                                                        <table cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td>
                                                                    <dxw:ASPxSpinEdit AllowNull="false" AllowMouseWheel="true" CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css"
                                                                        CssPostfix="Office2003_Blue" ClientInstanceName="txtSleepTime" runat="server"
                                                                        ID="txtSleepTime" DecimalPlaces="0" LargeIncrement="2" Increment="1" Number="1"
                                                                        MinValue="1" Width="50px" MaxValue="24" NumberType="Integer">
                                                                    </dxw:ASPxSpinEdit>
                                                                </td>
                                                                <td style="padding-left: 5px;">
                                                                    <asp:Label ID="lblTimeHrs" runat="server" Width="100px" Text="hrs."></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trWakeupSettings" runat="server">
                                                    <td class="label">
                                                        <asp:Label ID="lblWakeup" runat="server" Text="Periodic Wakeup"></asp:Label>
                                                    </td>
                                                    <td class="dropdown">
                                                        <table cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td>
                                                                    <dxw:ASPxSpinEdit AllowNull="false" AllowMouseWheel="true" CssFilePath="~/App_Themes/Office2003 Blue/Editors/styles.css"
                                                                        CssPostfix="Office2003_Blue" ClientInstanceName="txtWakeupTime" runat="server"
                                                                        ID="txtWakeupTime" DecimalPlaces="0" LargeIncrement="2" Increment="1" Number="1"
                                                                        MinValue="1" Width="50px" MaxValue="24" NumberType="Integer">
                                                                    </dxw:ASPxSpinEdit>
                                                                </td>
                                                                <td style="padding-left: 5px;">
                                                                    <asp:Label ID="lblWakeuphrs" runat="server" Width="100px" Text="hrs."></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trKeyfabSettings" runat="server">
                                                    <td class="label">Select Module
                                                    </td>
                                                    <td class="dropdown">
                                                        <asp:RadioButton ID="rbtEnableKeyfab" Text="Enable" GroupName="KeyFobSettings" Checked="true"
                                                            runat="server" CssClass="ControlHide" />
                                                        <asp:RadioButton ID="rbtDisableKeyfab" Text="Disable" GroupName="KeyFobSettings"
                                                            runat="server" CssClass="ControlHide" />
                                                        <asp:DropDownList ID="ddlExternalModule" runat="server">
                                                            <asp:ListItem Text="Basic Firmware" Value="0" Selected="True"></asp:ListItem>
                                                            <asp:ListItem Text="Temperature" Value="1"></asp:ListItem>
                                                            <asp:ListItem Text="RFID" Value="2"></asp:ListItem>
                                                            <asp:ListItem Text="I-Button" Value="3"></asp:ListItem>
                                                            <asp:ListItem Text="OBD" Value="4"></asp:ListItem>
                                                            <asp:ListItem Text="RFID and Temperature" Value="5"></asp:ListItem>
                                                            <asp:ListItem Text="RFID and I-Button" Value="6"></asp:ListItem>
                                                            <asp:ListItem Text="RFID and OBD" Value="7"></asp:ListItem>
                                                            <asp:ListItem Text="Temperature and I-Button" Value="8"></asp:ListItem>
                                                            <asp:ListItem Text="Temperature and OBD" Value="9"></asp:ListItem>
                                                        </asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr id="trHarshThreshold" runat="server">
                                                    <td colspan="2" style="padding-top: 2px; margin: 0px">
                                                        <table cellpadding="0" cellspacing="0" width="100%">
                                                            <tr>
                                                                <td class="label" style="padding-bottom: 5px">
                                                                    <asp:Label ID="lblHB" runat="server" Text="Controllers Count"></asp:Label>
                                                                </td>
                                                                <td class="dropdown" style="padding-bottom: 5px">
                                                                    <asp:TextBox ID="txtHB" runat="server" MaxLength="2" onpaste="return false;" ondrop="return false;"
                                                                        onblur="return ValidateVICurve(this);"
                                                                        onkeypress="return chkNumeric_only(event);" CssClass="date"></asp:TextBox>
                                                                    <asp:Label ID="lblHBMinMax" runat="server" Text="Nos.(Min. 1 to Max. 24)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trSetSpeedBand" runat="server">
                                                    <td colspan="2" style="padding: 0px; margin: 0px">
                                                        <table cellpadding="0" cellspacing="0" width="100%">
                                                            <tr>
                                                                <td></td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeedLowDes" runat="server" Text="Km (Min. 0 to Max. 190)"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeedHighDes" runat="server" Text="Km (Min. 10 to Max. 200)"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeedDurDes" runat="server" Text="Sec (Min. 3 to Max. 60)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td width="17%">
                                                                    <asp:Label ID="lblSpeed1" runat="server" Text="Speed Band 1"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed1Low" runat="server" Text="Low" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed1Low" runat="server" MaxLength="3" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(1,'l')){ EnableDisable(1,'txtSpeed1Low','txtSpeed1High','txtSpeed1Dur'); }"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed1High" runat="server" Text="High" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed1High" runat="server" MaxLength="3" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(1,'h')) { EnableDisable(1,'txtSpeed1Low','txtSpeed1High','txtSpeed1Dur'); }"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed1Dur" runat="server" Text="Duration" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed1Dur" runat="server" MaxLength="2" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(1,'d')){ EnableDisable(1,'txtSpeed1Low','txtSpeed1High','txtSpeed1Dur'); }"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed2" runat="server" Text="Speed Band 2"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed2Low" runat="server" Text="Low" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed2Low" runat="server" MaxLength="3" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(2,'l')) {EnableDisable(2,'txtSpeed2Low','txtSpeed2High','txtSpeed2Dur'); }"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed2High" runat="server" Text="High" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed2High" runat="server" MaxLength="3" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(2,'h')) { EnableDisable(2,'txtSpeed2Low','txtSpeed2High','txtSpeed2Dur'); }"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed2Dur" runat="server" Text="Duration" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed2Dur" runat="server" MaxLength="2" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(2,'d')) { EnableDisable(2,'txtSpeed2Low','txtSpeed2High','txtSpeed2Dur'); }"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed3" runat="server" Text="Speed Band 3"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed3Low" runat="server" Text="Low" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed3Low" runat="server" MaxLength="3" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(3,'l')){EnableDisable(3,'txtSpeed3Low','txtSpeed3High','txtSpeed3Dur'); }"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed3High" runat="server" Text="High" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed3High" runat="server" MaxLength="3" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(3,'h')){EnableDisable(3,'txtSpeed3Low','txtSpeed3High','txtSpeed3Dur'); }"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed3Dur" runat="server" Text="Duration" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed3Dur" runat="server" MaxLength="2" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(3,'d')){EnableDisable(3,'txtSpeed3Low','txtSpeed3High','txtSpeed3Dur'); }"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed4" runat="server" Text="Speed Band 4"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed4Low" runat="server" Text="Low" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed4Low" runat="server" MaxLength="3" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(4,'l')){EnableDisable(4,'txtSpeed4Low','txtSpeed4High','txtSpeed4Dur');}"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed4High" runat="server" Text="High" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed4High" runat="server" MaxLength="3" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(4,'h')){EnableDisable(4,'txtSpeed4Low','txtSpeed4High','txtSpeed4Dur');}"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed4Dur" runat="server" Text="Duration" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed4Dur" runat="server" MaxLength="2" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(4,'d')){EnableDisable(4,'txtSpeed4Low','txtSpeed4High','txtSpeed4Dur');}"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed5" runat="server" Text="Speed Band 5"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed5Low" runat="server" Text="Low" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed5Low" runat="server" MaxLength="3" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(5,'l')){EnableDisable(5,'txtSpeed5Low','txtSpeed5High','txtSpeed5Dur');}"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed5High" runat="server" Text="High" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed5High" runat="server" MaxLength="3" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(5,'h')){EnableDisable(5,'txtSpeed5Low','txtSpeed5High','txtSpeed5Dur');}"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed5Dur" runat="server" Text="Duration" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed5Dur" runat="server" MaxLength="2" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(5,'d')){EnableDisable(5,'txtSpeed5Low','txtSpeed5High','txtSpeed5Dur');}"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed6" runat="server" Text="Speed Band 6"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed6Low" runat="server" Text="Low" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed6Low" runat="server" MaxLength="3" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(6,'l')){return true;}else{return false;}"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed6High" runat="server" Text="High" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed6High" runat="server" MaxLength="3" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(6,'h')){return true;}else{return false;}"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblSpeed6Dur" runat="server" Text="Duration" CssClass="time"></asp:Label>
                                                                    <asp:TextBox ID="txtSpeed6Dur" runat="server" MaxLength="2" onpaste="return false;"
                                                                        ondrop="return false;" onkeypress="return chkNumeric_only(event);" CssClass="date"
                                                                        onchange="if(validationSpeedBand(6,'d')){return true;}else{return false;}"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr runat="server" id="trCameraSettings">
                                                    <td colspan="2" style="padding: 0px; margin: 0px">
                                                        <asp:Panel ID="Panel1" runat="server" CssClass="innerTable">
                                                            <table cellpadding="0" cellspacing="0" border="0" width="100%" class="innerTable">
                                                                <tr id="TdCamTakePicture">
                                                                    <td class="label"></td>
                                                                    <td>
                                                                        <asp:CheckBox ID="ChkTakPicture" runat="server" Checked="true" Text="TakePicture" />
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td class="label"></td>
                                                                    <td>
                                                                        <asp:CheckBox ID="chkCamShowSettings" runat="server" Text="Show Camera Settings"
                                                                            onclick="ShowHideCameraSettings()" />
                                                                    </td>
                                                                </tr>
                                                                <tr id="TdCamResolution" style="display: none">
                                                                    <td class="label">
                                                                        <asp:Label ID="Label4" runat="server" Text="Resolution"></asp:Label>
                                                                    </td>
                                                                    <td>
                                                                        <asp:DropDownList ID="ddlResolution" runat="server">
                                                                            <asp:ListItem Value="1">160 x 120</asp:ListItem>
                                                                            <asp:ListItem Value="2">320 x 240</asp:ListItem>
                                                                            <asp:ListItem Value="3">640 x 480</asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </td>
                                                                </tr>
                                                                <tr id="TdCamPeriodic" style="display: none">
                                                                    <td class="label"></td>
                                                                    <td>
                                                                        <asp:CheckBox ID="ChkEnablePeriodicClick" runat="server" Text="Enable Periodic Click"
                                                                            onclick="ShowHidePeriodicTime()" />
                                                                        <asp:DropDownList ID="ddlPeriodicTime" runat="server" Style="display: none">
                                                                            <asp:ListItem Value="5">5 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="10">10 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="15">15 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="20">20 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="25">25 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="30">30 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="35">35 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="40">40 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="45">45 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="50">50 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="55">55 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="60">1 Hr</asp:ListItem>
                                                                            <asp:ListItem Value="65">1 Hr 5 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="70">1 Hr 10 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="75">1 Hr 15 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="80">1 Hr 20 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="85">1 Hr 25 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="90">1 Hr 30 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="95">1 Hr 35 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="100">1 Hr 40 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="105">1 Hr 45 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="110">1 Hr 50 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="115">1 Hr 55 Mins</asp:ListItem>
                                                                            <asp:ListItem Value="120">2 Hrs</asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </asp:Panel>
                                                    </td>
                                                </tr>
                                                <tr runat="server" id="trIbuttonParam">
                                                    <td colspan="2" style="padding: 0px; margin: 0px">
                                                        <asp:Panel ID="Panel3" runat="server" CssClass="innerTable">
                                                            <table cellpadding="0" cellspacing="0" border="0" width="100%" class="innerTable">
                                                                <tr id="Tr3">
                                                                    <td class="label">
                                                                        <asp:Label ID="lblOverDriveThreshold" runat="server" Text="Over Drive Threshold"></asp:Label>
                                                                    </td>
                                                                    <td>
                                                                        <asp:DropDownList ID="ddlOverDriveThreshold" runat="server">
                                                                            <asp:ListItem Value="28800">8 hrs</asp:ListItem>
                                                                            <asp:ListItem Value="32400">9 hrs</asp:ListItem>
                                                                            <asp:ListItem Value="36000">10 hrs</asp:ListItem>
                                                                            <asp:ListItem Value="39600">11 hrs</asp:ListItem>
                                                                            <asp:ListItem Value="43200">12 hrs</asp:ListItem>
                                                                            <asp:ListItem Value="46800">13 hrs</asp:ListItem>
                                                                            <asp:ListItem Value="50400">14 hrs</asp:ListItem>
                                                                            <asp:ListItem Value="54000">15 hrs</asp:ListItem>
                                                                            <asp:ListItem Value="57600">16 hrs</asp:ListItem>
                                                                            <asp:ListItem Value="61200">17 hrs</asp:ListItem>
                                                                            <asp:ListItem Value="64800">18 hrs</asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </td>
                                                                </tr>
                                                                <tr id="Tr4">
                                                                    <td class="label">
                                                                        <asp:Label ID="lblOverDistanceThreshold" runat="server" Text="Over Distance Threshold"></asp:Label>
                                                                    </td>
                                                                    <td>
                                                                        <asp:DropDownList ID="ddlOverDistanceThreshold" runat="server">
                                                                            <asp:ListItem Value="400">400 KM</asp:ListItem>
                                                                            <asp:ListItem Value="600">600 KM</asp:ListItem>
                                                                            <asp:ListItem Value="700">700 KM</asp:ListItem>
                                                                            <asp:ListItem Value="800">800 KM</asp:ListItem>
                                                                            <asp:ListItem Value="900">900 KM</asp:ListItem>
                                                                            <asp:ListItem Value="1000">1000 KM</asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </asp:Panel>
                                                    </td>
                                                </tr>
                                                <tr runat="server" id="trFingerPrint">
                                                    <td colspan="2" style="padding: 0px; margin: 0px">
                                                        <asp:Panel ID="Panel2" runat="server" CssClass="innerTable">
                                                            <table cellpadding="0" cellspacing="0" border="0" width="100%" class="innerTable">
                                                                <tr>
                                                                    <td class="label">
                                                                        <asp:Label ID="lblFingerCommand" runat="server" Text="Finger Command"></asp:Label>
                                                                    </td>
                                                                    <td>
                                                                        <asp:DropDownList ID="ddlFingerOperations" runat="server" AutoPostBack="true"
                                                                            onchange="ShowPopUp();">
                                                                            <asp:ListItem Text="Empty" Value="4"></asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </td>
                                                                </tr>
                                                                <tr id="tdFingerDriverParam" runat="server">
                                                                    <td class="label">
                                                                        <asp:Label ID="lblDriverName" runat="server" Text="Finger ID"></asp:Label>
                                                                        <asp:Label ID="Label6" runat="server" ForeColor="Red">*</asp:Label>
                                                                    </td>
                                                                    <td>
                                                                        <asp:DropDownList ID="ddlFingerKey" runat="server">
                                                                        </asp:DropDownList>
                                                                        &nbsp;
                                                                                    <asp:TextBox ID="txtFingerID" runat="server" MaxLength="15" onkeypress="return chkCharWithHyphenAndUnderScore(event)"></asp:TextBox>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </asp:Panel>
                                                    </td>
                                                </tr>
                                                <tr runat="server" id="trLiveTrack">
                                                    <td colspan="2" style="padding: 0px; margin: 0px">
                                                        <table cellpadding="0" cellspacing="0" width="100%">
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblLiveTrackFrequency" runat="server" Text="Data Frequency"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlLiveTrackFrequency" runat="server" CssClass="time" onchange="CheckLiveTrack()">
                                                                        <asp:ListItem Value="1">1</asp:ListItem>
                                                                        <asp:ListItem Value="2">2</asp:ListItem>
                                                                        <asp:ListItem Value="3">3</asp:ListItem>
                                                                        <asp:ListItem Value="4">4</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:DropDownList>
                                                                    <asp:Label ID="lblInSeconds" runat="server" Text="(In Seconds)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblFrequencyPeriod" runat="server" Text="Duration"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlFrequencyPeriod" runat="server" CssClass="time" Enabled="false">
                                                                        <asp:ListItem Value="1">1</asp:ListItem>
                                                                        <asp:ListItem Value="2">2</asp:ListItem>
                                                                        <asp:ListItem Value="3">3</asp:ListItem>
                                                                        <asp:ListItem Value="5">5</asp:ListItem>
                                                                        <asp:ListItem Value="8">8</asp:ListItem>
                                                                        <asp:ListItem Value="10">10</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                    <asp:Label ID="lblInMinutes" runat="server" Text="(In Minutes)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr runat="server" id="trLiveTrackStatus">
                                                    <td colspan="2" style="padding: 0px; margin: 0px">
                                                        <table cellpadding="0" cellspacing="0" width="100%">
                                                            <tr>
                                                                <td class="label"></td>
                                                                <td>
                                                                    <asp:RadioButton ID="rbtLiveEnable" Checked="true" GroupName="Live" runat="server"
                                                                        Text="Enable" />
                                                                    <asp:RadioButton ID="rbtLiveDisable" GroupName="Live" runat="server" Text="Disable" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr runat="server" id="trSetKeepAlive">
                                                    <td colspan="2" style="padding: 0px; margin: 0px">
                                                        <table cellpadding="0" cellspacing="0" width="100%">
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblKeepAliveInterval" Text="Keep Alive Interval" runat="server"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtKeepAliveInterval" runat="server" CssClass="date" MaxLength="3"
                                                                        onkeypress="return chkDecNums(event,this);"></asp:TextBox>
                                                                    <asp:Label ID="lblFromToMin" runat="server" Text="(1 to 120 Minutes)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblKeepAliveStatus" Text="Send Keep Alive While" runat="server"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:RadioButton ID="rbtIgnitionOnOff" Text="Ignition ON/OFF" Checked="true" runat="server"
                                                                        GroupName="rbtGrpKeepAlive" />
                                                                    <asp:RadioButton ID="rbtIgnitionOff" Text="Ignition OFF" runat="server" GroupName="rbtGrpKeepAlive" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trAddDriversRFID" runat="server">
                                                    <td colspan="2" style="padding: 0px; margin: 0px">
                                                        <table cellpadding="0" cellspacing="0" width="100%">
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblRFIDmgmt" Text="Action" runat="server"></asp:Label></td>
                                                                <td>
                                                                    <asp:RadioButtonList ID="rdbRFIDMgmt" runat="server" RepeatDirection="Horizontal">
                                                                        <asp:ListItem Text="Driver Management" Value="0000" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Text="School Management" Value="0001"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="lblRFIDActionCaption" Text="Action" runat="server"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:RadioButtonList ID="rdbRFIDAction" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rdbRFIDAction_SelectedIndexChanged"
                                                                        RepeatDirection="Horizontal">
                                                                        <asp:ListItem Text="Add" Value="0001" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Text="Delete" Value="0010"></asp:ListItem>
                                                                        <asp:ListItem Text="Delete All" Value="0011"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </td>
                                                            </tr>
                                                            <tr id="tdRFIDDrivers" runat="server">
                                                                <td class="label" style="vertical-align: top">
                                                                    <asp:Label ID="lblRFIDDrivers" Text="RFID Drivers" runat="server"></asp:Label>
                                                                </td>
                                                                <td style="width: 525px">
                                                                    <asp:CheckBoxList ID="cblRFIDDrivers" runat="server" CssClass="checkBoxListWrap test"
                                                                        RepeatColumns="3" RepeatLayout="Table" align="left"
                                                                        CellPadding="0" CellSpacing="0" Width="100%">
                                                                    </asp:CheckBoxList>
                                                                    <asp:Label ID="lblRFIDDriversContent" runat="server"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr runat="server" id="trSetParams">
                                                    <td colspan="2" style="padding: 0px; margin: 0px">
                                                        <table cellpadding="0" cellspacing="0" width="100%">
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="Label8" Text="Temperature Duration" runat="server"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlTempDurationInSecs" runat="server" CssClass="time">
                                                                        <asp:ListItem Value="30">0.5</asp:ListItem>
                                                                        <asp:ListItem Value="60">1</asp:ListItem>
                                                                        <asp:ListItem Value="120">2</asp:ListItem>
                                                                        <asp:ListItem Value="180">3</asp:ListItem>
                                                                        <asp:ListItem Value="240">4</asp:ListItem>
                                                                        <asp:ListItem Value="300">5</asp:ListItem>
                                                                        <asp:ListItem Value="360">6</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                    <asp:Label ID="Label10" runat="server" Text="mins"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="label">
                                                                    <asp:Label ID="Label11" Text="Sudden Temperature Variance" runat="server"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlSuddenTemperatureVar" runat="server" CssClass="time">
                                                                        <asp:ListItem Value="2">2</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="35">35</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr runat="server" id="trEnableBuzzerAlert">
                                                    <td colspan="2">
                                                        <asp:CheckBox ID="chk_EnableBZR" runat="server" Checked="false" onclick="fnGetSetBuzzerAlert(this.checked,'trSetBuzzerAlert')" />
                                                        Enable Buzzer Alert
                                                    </td>
                                                </tr>
                                                <tr runat="server" id="trSetBuzzerAlert" class="ControlHide">
                                                    <td colspan="2">
                                                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                                            <tr>
                                                                <td>
                                                                    <span>Alert Duration</span>
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddl_bzrAlert" runat="server">
                                                                        <asp:ListItem Value="10">10 Sec</asp:ListItem>
                                                                        <asp:ListItem Value="30">30 Sec</asp:ListItem>
                                                                        <asp:ListItem Value="60">1 mint</asp:ListItem>
                                                                        <asp:ListItem Value="120">2 mint</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>Speed Alert buzzer
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="chk_SAB" runat="server" Checked="false" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>Geozone Speed Alert
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="chk_GSA" runat="server" Checked="false" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>Restricted Geozone
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="chk_RG" runat="server" Checked="false" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>Geozone Time limit alert
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="chk_GTLA" runat="server" Checked="false" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>Extended Idling
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="chk_EI" runat="server" Checked="false" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>Door / Seat Belt alert
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="chk_DSBA" runat="server" Checked="false" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>Immobilizer
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="chk_Immob" runat="server" Checked="false" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>Ibutton/Cardreader
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="chk_ibtn" runat="server" Checked="false" onclick="fnGetSetBuzzerAlert(this.checked,'trSetPunchTime')" />
                                                                </td>
                                                            </tr>
                                                            <tr runat="server" id="trSetPunchTime" class="ControlHide">
                                                                <td>Punch Time
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddl_ibtncardTime" runat="server">
                                                                        <asp:ListItem Value="1">1 mint</asp:ListItem>
                                                                        <asp:ListItem Value="2">2 mint</asp:ListItem>
                                                                        <asp:ListItem Value="3">3 mint</asp:ListItem>
                                                                        <asp:ListItem Value="5">5 mint</asp:ListItem>
                                                                        <asp:ListItem Value="8">8 mint</asp:ListItem>
                                                                        <asp:ListItem Value="10">10 mint</asp:ListItem>
                                                                        <asp:ListItem Value="15">15 mint</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr id="trUltraSonicSensor" runat="server">
                                                    <td colspan="2">
                                                        <table>
                                                            <tr>
                                                                <td>Fuel Tank Length
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtFTL" runat="server" MaxLength="4" onpaste="return false;" ondrop="return false;"
                                                                        onkeypress="return chkNumeric_only(event);" CssClass="date"></asp:TextBox>
                                                                    <asp:Label ID="Label12" runat="server" Text=" mm (Min. 100 to Max. 5000)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>Fuel Tank Width
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtFTW" runat="server" MaxLength="4" onpaste="return false;" ondrop="return false;"
                                                                        onkeypress="return chkNumeric_only(event);" CssClass="date"></asp:TextBox>
                                                                    <asp:Label ID="Label13" runat="server" Text=" mm (Min. 100 to Max. 5000)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>Fuel Tank Height
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtFTH" runat="server" MaxLength="4" onpaste="return false;" ondrop="return false;"
                                                                        onkeypress="return chkNumeric_only(event);" CssClass="date"></asp:TextBox>
                                                                    <asp:Label ID="Label14" runat="server" Text=" mm (Min. 100 to Max. 5000)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>Fuel Drain Rate
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlFDR" runat="server">
                                                                        <asp:ListItem Value="10">10</asp:ListItem>
                                                                        <asp:ListItem Value="20">20</asp:ListItem>
                                                                        <asp:ListItem Value="30">30</asp:ListItem>
                                                                        <asp:ListItem Value="40">40</asp:ListItem>
                                                                        <asp:ListItem Value="50">50</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                    <asp:Label ID="Label15" runat="server" Text=" % (Min. 10 to Max. 50)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>Low Threshold Fuel 
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlLTFL" runat="server">
                                                                        <asp:ListItem Value="10">10</asp:ListItem>
                                                                        <asp:ListItem Value="20">20</asp:ListItem>
                                                                        <asp:ListItem Value="30">30</asp:ListItem>
                                                                        <asp:ListItem Value="40">40</asp:ListItem>
                                                                        <asp:ListItem Value="50">50</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                    <asp:Label ID="Label16" runat="server" Text=" % (Min. 10 to Max. 50)"></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>&nbsp;</td>
                                                </tr>
                                                <asp:Panel ID="pnlScheduleCmds" runat="server" Visible="false">
                                                    <tr>
                                                        <td>
                                                            <p style="white-space: nowrap">
                                                                <asp:Label ID="lblToCaption" runat="server" Text="Retries Period"></asp:Label>
                                                                <asp:Label ID="lblEffectiveTillMandatory" runat="server" ForeColor="Red">*</asp:Label>
                                                            </p>
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="ddlRetriesTime" runat="server">
                                                                <asp:ListItem Text="1 Day" Value="1" Selected="True"></asp:ListItem>
                                                                <asp:ListItem Text="3 Days" Value="3"></asp:ListItem>
                                                                <asp:ListItem Text="7 Days" Value="7"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <asp:Label ID="Label3" runat="server" ForeColor="Red">*</asp:Label>&nbsp;
                                                                        <asp:Label ID="lblIndicatesMandatory" runat="server">Required Fields</asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="label"></td>
                                                        <td class="dropdown">
                                                            <asp:LinkButton ID="ibtnSaveSchedules" runat="server" CssClass="MultilingualBtn"
                                                                OnClientClick="return ValidateSchedulingOfCommands(true);" OnClick="btnSend_Click">
                                                                <span runat="server" class="MultilingualBtnspan">
                                                                    <div class="Schedule">
                                                                        <div id="ScheduleButDiv" runat="server" class="MultilingualBtnTextAlign">
                                                                            Schedule
                                                                        </div>
                                                                    </div>
                                                                </span>
                                                            </asp:LinkButton>&nbsp;
                                                                            <asp:LinkButton ID="ibtnCancel" runat="server" CssClass="MultilingualBtn" OnClick="ibtnCancel_Click">
                                                                                <span runat="server" class="MultilingualBtnspan">
                                                                                    <div class="Cancel">
                                                                                        <div id="CancelButDiv" runat="server" class="MultilingualBtnTextAlign">
                                                                                            Cancel
                                                                                        </div>
                                                                                    </div>
                                                                                </span>
                                                                            </asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                </asp:Panel>
                                                <tr>
                                                    <td class="dropdown" colspan="2">
                                                        <table cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td>&nbsp;                                                                               
                                                                                    <asp:LinkButton ID="btnScheduleCommands" runat="server" CssClass="MultilingualBtn"
                                                                                        OnClick="btnScheduleCommands_Click" Visible="false">
                                                                                        <span runat="server" class="MultilingualBtnspan">
                                                                                            <div class="ScheduleCommand">
                                                                                                <div id="ScheduleCommandButDiv" runat="server" class="MultilingualBtnTextAlign">
                                                                                                    Schedule Command
                                                                                                </div>
                                                                                            </div>
                                                                                        </span>
                                                                                    </asp:LinkButton>
                                                                </td>
                                                                <td></td>
                                                                <td align="right">&nbsp;                                                                                
                                                                                    <asp:LinkButton ID="lbtnScheduleListing" runat="server" CssClass="MultilingualBtn"
                                                                                        OnClick="btnView" Visible="false">
                                                                                        <span runat="server" class="MultilingualBtnspan">
                                                                                            <div class="ViewSchedule">
                                                                                                <div id="ViewScheduleButDiv" runat="server" class="MultilingualBtnTextAlign">
                                                                                                    View Schedule
                                                                                                </div>
                                                                                            </div>
                                                                                        </span>
                                                                                    </asp:LinkButton>
                                                                </td>
                                                                <td>&nbsp;
                                                                                <asp:ImageButton ID="ibtnSave1" runat="server" ImageUrl="~/images/btn-save.jpg" OnClick="btnSend_Click"
                                                                                    Visible="false" />
                                                                    <asp:LinkButton ID="ibtnSave" runat="server" CssClass="MultilingualBtn" OnClick="btnSend_Click">
                                                                        <span runat="server" class="MultilingualBtnspan">
                                                                            <div class="Save">
                                                                                <div id="SaveButDiv" runat="server" class="MultilingualBtnTextAlign">
                                                                                    Save
                                                                                </div>
                                                                            </div>
                                                                        </span>
                                                                    </asp:LinkButton>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <div class="clear clearfix">
                    </div>
                    <asp:Panel ID="pnlResponse" runat="server" GroupingText="Response from the vehicle"
                        CssClass="innerTable">
                        <table cellpadding="0" cellspacing="0" class="form-tbl">
                            <tr>
                                <td runat="server" id="tdInformation" style="width: 50%; vertical-align: top;">
                                    <asp:Panel ID="pnlSettings" CssClass="innerTable" runat="server" GroupingText="Device Settings">
                                        <asp:Literal ID="lblOdometer" runat="server"></asp:Literal>
                                    </asp:Panel>
                                </td>
                                <td runat="server" id="tdSensorMessages">
                                    <asp:Panel ID="pnlSensorOrGeozones" runat="server" CssClass="innerTable" GroupingText="Sensor Status">
                                        <asp:Literal ID="ltlSensorMessage" runat="server"></asp:Literal>
                                        <asp:DataList ID="geozoneListing" runat="server" RepeatColumns="3" Width="100%" CellSpacing="10"
                                            RepeatDirection="Horizontal">
                                            <ItemStyle />
                                            <ItemTemplate>
                                                <ul class="geozoneList">
                                                    <li>
                                                        <%# Eval("Geozone")%></li>
                                                </ul>
                                            </ItemTemplate>
                                        </asp:DataList>
                                        <asp:DataList ID="dlRestrictedGeozone" runat="server" Width="100%" CellSpacing="0">
                                            <ItemStyle />
                                            <HeaderTemplate>
                                                <table align="center" border="0" width="100%">
                                                    <tr>
                                                        <td width="100px" style="font-weight: bold;">Geozone Name
                                                        </td>
                                                        <td width="100px" style="font-weight: bold;">Time Limit
                                                        </td>
                                                        <td width="100px" style="font-weight: bold;">IsRestricted
                                                        </td>
                                                    </tr>
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <tr>
                                                    <td width="100px" class="geozoneList">
                                                        <%# Eval("Geozone")%>
                                                    </td>
                                                    <td width="100px">
                                                        <%# Eval("Timelimit")%>
                                                    </td>
                                                    <td width="100px">
                                                        <%# Eval("Restricted").ToString() == "1" ? "Restricted" : "Not Restricted"%>
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                            <FooterTemplate>
                                                <tr>
                                                    <td colspan="4"></td>
                                                </tr>
                                                </table>
                                            </FooterTemplate>
                                        </asp:DataList>
                                    </asp:Panel>
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <table cellpadding="0" cellspacing="0" border="0" width="100%" class="popup" style="display: none;">
                        <tr>
                            <td id="Pnltopl" runat="server" class="top-l">&nbsp;
                            </td>
                            <td class="top-m">&nbsp;
                            </td>
                            <td id="Pnltopr" runat="server" class="top-r">&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td id="PnlLeft" runat="server" class="left">&nbsp;
                            </td>
                            <td>
                                <div class="top">
                                    <h1>
                                        <asp:Label ID="lblControlPanelCaption" runat="server"></asp:Label>
                                    </h1>
                                    <div class="clear clearfix">
                                    </div>
                                </div>
                                <div class="popup-cont">
                                </div>
                            </td>
                            <td id="PnlRight" runat="server" class="right">&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td id="Pnlbottoml" runat="server" class="bottom-l">&nbsp;
                            </td>
                            <td class="bottom-m">&nbsp;
                            </td>
                            <td id="Pnlbottomr" runat="server" class="bottom-r">&nbsp;
                            </td>
                        </tr>
                    </table>
                    <asp:Timer ID="tmrCheck" runat="server" Enabled="false" OnTick="tmrCheck_Tick">
                    </asp:Timer>
                    <asp:HiddenField ID="IsScheduleCmds" runat="server" Value="false" />
                </ContentTemplate>
            </asp:UpdatePanel>
        </asp:Panel>
        <cc1:ModalPopupExtender ID="mpeProgressIndicator" runat="server" PopupControlID="progressPopUp"
            TargetControlID="btnTesting" BackgroundCssClass="modalBackground">
        </cc1:ModalPopupExtender>
        <asp:Button ID="btnTesting" Style="display: none;" runat="server" />
        <asp:Panel ID="progressPopUp" runat="server" CssClass="processMessage" Style="z-index: 10000; display: none;">
            <center>
                <br />
                <img id="imgLoad" runat="server" alt="Please Wait ..." src="../images/47.gif" /><br />
                <br />
                <asp:Label ID="lbl_msg12" Text="Processing... Please Wait..." runat="server" CssClass="specialdisplay"></asp:Label>
                <br />
                <br />
            </center>
        </asp:Panel>
    </form>
    <script language="javascript" type="text/javascript" src="../js/myformvalidations.js"></script>
    <script language="javascript" type="text/javascript" src="../js/FormValidations.js"></script>
    <script type="text/javascript">
        //        function Redirect() {
        //            if (opener) {
        //                opener.window.location.href = 'SchedulingOfCommands.aspx';
        //                window.close();
        //            }
        //        }rdbRPTTime rdbRPTDistance  ddlRPTInterval ddlRPTDistance tblRPInterval tblRPIntervaldistance
        function ValidateVICurve(ObjddlList) {
            var isIE = CheckBrowser();
            if (ObjddlList.value == null || ObjddlList.value == "") {
                TrinetraCustomAlerts("Please enter the value.");
            }
            else {
                if (ObjddlList.id == "txtHB") {
                    var loginName = document.getElementById('txtHB');
                    if (parseInt(ObjddlList.value) > 24) {
                        loginName.value == "";
                        TrinetraCustomAlerts("Please assign the controller less than 24.");
                    }
                }
            }
        }
        function ShowHideRPTTime(ObjddlList) {
            var isIE = CheckBrowser();
            var tblRPInterval = document.getElementById('tblRPInterval');
            var tblRPIntervaldistance = document.getElementById('tblRPIntervaldistance');
            if (document.getElementById('rdbRPTTime').checked) {
                //  tblRPInterval.className = "ControlShow";
                // tblRPIntervaldistance.className = "ControlHide";
                //if (tblRPInterval != null)
                //    tblRPInterval.setAttribute(isIE ? 'className' : 'class', "ControlShow");
                //if (tblRPIntervaldistance != null)
                //tblRPIntervaldistance.setAttribute(isIE ? 'className' : 'class', "ControlHide");
                document.getElementById('tblRPInterval').style.display = "block";
                document.getElementById('tblRPIntervaldistance').style.display = "none";
            }
            if (document.getElementById('rdbRPTDistance').checked) {
                document.getElementById('tblRPInterval').style.display = "none";
                document.getElementById('tblRPIntervaldistance').style.display = "block";
            }
        }
        function ShowHidePeriodicTime(ObjddlList) {
            var ddlperiodicTimeList = document.getElementById('ddlPeriodicTime');
            if (document.getElementById('ChkEnablePeriodicClick').checked) {
                ddlperiodicTimeList.style.display = 'table-row';
            }
            else {
                ddlperiodicTimeList.style.display = 'none';
            }
        }
        function ShowHideCameraSettings(ObjddlList) {
            var TdCamResolution = document.getElementById('TdCamResolution');
            var TdCamTakePicture = document.getElementById('TdCamTakePicture');
            var TdCamPeriodic = document.getElementById('TdCamPeriodic');
            if (document.getElementById('chkCamShowSettings').checked) {
                TdCamResolution.style.display = 'table-row';
                TdCamPeriodic.style.display = 'table-row';
            }
            else {
                TdCamResolution.style.display = 'none';
                TdCamPeriodic.style.display = 'none';
            }
        }
        function Redirect() {
            window.close();
            if (window.opener && !window.opener.closed) {
                window.opener.location.reload();
                //opener.window.location.href = 'SchedulingOfCommands.aspx';
            }
        }
        function fnGetSetBatterySettings(radioButtonList) {
            var value = null;
            var radioButtonlist = document.getElementsByName("rdbListBattSettings");
            for (var x = 0; x < radioButtonlist.length; x++) {
                if (radioButtonlist[x].checked) {
                    value = radioButtonlist[x].value;
                }
            }
            if (value == 2) {
                document.getElementById('trSetBatterySettings').className = "ControlShow";
                document.getElementById('trSetBatterySettings1').className = "ControlShow";
            }
            else {
                document.getElementById('trSetBatterySettings').className = "ControlHide";
                document.getElementById('trSetBatterySettings1').className = "ControlHide";
            }
        }
        function hideControlForGeozone(isChecked, val) {
            var isIE = CheckBrowser();
            if (val == 1) {
                if (isChecked) {
                    if (isIE) {
                        document.getElementById('trGSpeedThreshold').setAttribute('className', 'ControlShow');
                    }
                    else { document.getElementById('trGSpeedThreshold').setAttribute('class', 'ControlShowFF'); }
                }
                else { document.getElementById('trGSpeedThreshold').setAttribute('class', 'ControlHide'); }
            }
            else {
                if (isChecked) {
                    if (isIE) {
                        document.getElementById('trGTimelimit').setAttribute('className', 'ControlShow');
                    }
                    else { document.getElementById('trGTimelimit').setAttribute('class', 'ControlShowFF'); }
                }
                else { document.getElementById('trGTimelimit').setAttribute('class', 'ControlHide'); }
            }
        }
        function hideControlForOTA(isChecked, val) {
            var isIE = CheckBrowser();
            if (val == 1) {
                if (isChecked) {
                    if (isIE) {
                        document.getElementById('txtOTAPckts').setAttribute('className', 'ControlShow');
                    }
                    else { document.getElementById('txtOTAPckts').setAttribute('class', 'ControlShowFF'); }
                }
                else { document.getElementById('txtOTAPckts').setAttribute('class', 'ControlHide'); }
            }
            else {
                if (isChecked) {
                    if (isIE) {
                        document.getElementById('txtOTAPckts').setAttribute('className', 'ControlShow');
                    }
                    else { document.getElementById('txtOTAPckts').setAttribute('class', 'ControlShowFF'); }
                }
                else { document.getElementById('txtOTAPckts').setAttribute('class', 'ControlHide'); }
            }
        }
        function fnGetSetBuzzerAlert(isChecked, ctrl) {
            var isIE = CheckBrowser();
            //trSetBuzzerAlert
            if (isChecked) {
                if (isIE) {
                    document.getElementById(ctrl).setAttribute('className', 'ControlShow');
                }
                else { document.getElementById(ctrl).setAttribute('class', 'ControlShowFF'); }
            }
            else {
                document.getElementById(ctrl).setAttribute('class', 'ControlHide');
            }
        }
    </script>
</body>
<%-- <uc2:Footer ID="ucFooter" runat="server" />--%>
</html>
