home *** CD-ROM | disk | FTP | other *** search
/ 61.19.244.139 / 61.19.244.139.zip / 61.19.244.139 / CompulWeb_Realtime / PRB_MC01_NEW.aspx < prev    next >
Text File  |  2013-06-06  |  121KB  |  1,707 lines

  1. <%@ page language="VB" masterpagefile="~/PRB_MP01.master" autoeventwireup="false" inherits="PRB_MC01_NEW, App_Web_76c5aekc" title="α╛╘Φ┴í├┴╕├├┴∞╗├╨í╤╣└╤┬" %>
  2.  
  3. <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ACT" %>
  4. <%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
  5.     Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
  6. <asp:Content ID="Content2" runat="server" ContentPlaceHolderID="head">
  7. </asp:Content>
  8. <asp:Content ID="Content1" ContentPlaceHolderID="MPcphContent" runat="Server">
  9.  
  10.     <script type="text/javascript">
  11.         var initializing;
  12.         var securityCode;
  13.         var policyInfo;
  14.         var btnCarCode;
  15.         var txtPremiumDay;
  16.         var oldRadYear;
  17.         var txtPolicyNo;
  18.         var ddlCusProvince, ddlCarProvince;
  19.         var ddlCusDistrict;
  20.         var ddlCusSubDistrict;
  21.         var ddlCarBrand;
  22.         var ddlCarModel;
  23.         var ddlInit;
  24.         var txtCarCode, txtCarCodeText;
  25.         var txtPremium, txtPremiumTax, txtPremiumTotal, txtPremiumVat; 
  26.         var txtPolicyNo;
  27.         var radDay, radYear;
  28.         var spnCalComplete;
  29.         var txtBookNo, txtNo, txtBarYear, lblCTDesc;
  30.         var calTextCaption;
  31.         var lblServerTime;
  32.         var CalTo_;
  33.         var ddlVehicleType;
  34.         
  35.  
  36.         function myPageLoad(isPostBack) {
  37.             $get("btnCalPremium").value = "<%=CalTextCaption%>";
  38.             $get("btnClear").value = "<%=ClearTextCaption%>";
  39.             //calTextCaption = "<%=CalTextCaption%>";
  40.             radDay = $get('<%=radDay.ClientID%>');
  41.             radYear = $get('<%=radYear.ClientID%>');
  42.             txtPolicyNo = $get("txtPolicyNo");
  43.             txtPremium = $get('<%=txtPremium.ClientID%>');
  44.             txtPremiumTax = $get('<%=txtPremiumTax.ClientID%>');
  45.             txtPremiumTotal = $get('<%=txtPremiumTotal.ClientID%>');
  46.             txtPremiumVat = $get('<%=txtPremiumVat.ClientID%>');
  47.             txtPolicyNo = $get("txtPolicyNo");
  48.             txtPremiumDay = $get('<%=txtPremiumDay.ClientID%>');
  49.             oldRadYear = $get('<%=radYear.ClientID%>');
  50.             txtPremiumDay.readOnly = true;
  51.             txtPremiumDay.style.display = (txtPremiumDay.value == "") ? 'none' : 'block';
  52.             initializing = isPostBack;
  53.             securityCode = $get('<%=lblSecurityCode.ClientId%>').innerHTML;
  54.             btnCarCode = $get("btnCarCode");
  55.             btnCarCode.disabled = (txtPolicyNo.value == "");
  56.             ddlCarModel = $get('ddlCarModel');
  57.             ddlCusProvince = $get('ddlCustProvince');
  58.             ddlCusDistrict = $get('ddlCustDistrict');
  59.             ddlCusSubDistrict = $get('ddlCustSubDistrict');
  60.             ddlCarProvince = $get('ddlCarProvince');
  61.             ddlCarBrand = $get('ddlCarBrand');
  62.             ddlInit = $get('ddlInit');
  63.             txtCarCode = $get('txtCarCode');
  64.             spnCalComplete = $get('spnCalComplete');
  65.             txtCarCodeText = $get('txtCarCodeText');
  66.             txtBookNo = $get('<%=txtBookNo.ClientId%>');
  67.             txtNo = $get('<%=txtNo.ClientId%>');
  68.             txtBarYear = $get('<%=txtBarYear.ClientId%>');
  69.             lblCTDesc = $get('<%=lblCTDesc.ClientId%>');
  70.             lblServerTime = $get('<%=Label1.ClientId%>');
  71.             CalTo_ = $get('<%=CalTo_.ClientId%>');
  72.             CalCalPolicyIssuedOn_ = $get('<%=CalCalPolicyIssuedOn_.ClientId%>');
  73.             calCalAgreementMadeOn_ = $get('<%=calCalAgreementMadeOn_.ClientId%>');
  74.             ddlVehicleType = $get('<%=ddlVehicleType.ClientId%>');
  75.             triggerServerTime();
  76.             setTimeout("InitPage();", 0); 
  77.         }
  78.         function triggerServerTime() {
  79.             PageMethods.GetTime(
  80.                         function(result) {
  81.                             lblServerTime.innerHTML = "THE SCHEDULE [Server time:" + result+"]";
  82.                             setTimeout('triggerServerTime();', 60000);
  83.                         },
  84.                         function() { alert('Server error! please contract admin.'); }
  85.                         );
  86.         }
  87.         
  88.  
  89.         function checkNumberAndText(c, e) {
  90.             var ev = e.htmlEvent;
  91.             if (ev == null) return;
  92.             if (ev.type != 'keydown') return;
  93.             if (ev.keyCode >= 48 && ev.keyCode <= 57) {
  94.                 ev.returnValue = true;
  95.             } else if (ev.keyCode >= 96 && ev.keyCode <= 105) {
  96.                 ev.returnValue = true;
  97.             } else if (ev.keyCode >= 65 && ev.keyCode <= 90) {
  98.                 ev.returnValue = true;
  99.             } else if (ev.keyCode == 8 || ev.keyCode == 46 || ev.keyCode == 37 || ev.keyCode == 39 || ev.keyCode == 9) {
  100.                 ev.returnValue = true;
  101.             } else {
  102.                 ev.returnValue = false;
  103.             }
  104.             return;
  105.         }
  106.  
  107.         function txtCarChassisNoLost(c, e) {
  108.             if (c.lastChangedValue != null) {
  109.                 var CheckString = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";
  110.                 var input = txtCarChassisNoJS.GetText().toUpperCase();
  111.                 var result = "";
  112.                 for (var i = 0; i <= input.length; ++i) {
  113.                     var checkValue = input.charAt(i);
  114.                     if (CheckString.indexOf(checkValue, 0) < 0)
  115.                         continue;
  116.                     else result += checkValue;
  117.                 }
  118.                 txtCarChassisNoJS.SetText(result);
  119.             }
  120.             return;
  121.         }
  122.         
  123.         function checkNumber(c, e) {
  124.             var ev = e.htmlEvent;
  125.             if (ev == null) return;
  126.             if (ev.type != 'keydown') return;
  127.             if (ev.keyCode >= 48 && ev.keyCode <= 57) {
  128.                 ev.returnValue = true;
  129.             } else if (ev.keyCode >= 96 && ev.keyCode <= 105) {
  130.                 ev.returnValue = true;
  131.             } else if (ev.keyCode == 188 || ev.keyCode == 8 || ev.keyCode == 110 || ev.keyCode == 46 || ev.keyCode == 37 || ev.keyCode == 39 || ev.keyCode == 9) {
  132.                 ev.returnValue = true;
  133.             } else {
  134.                 ev.returnValue = false;
  135.             }
  136.             return;
  137.         }
  138.  
  139.         function InitPage() {
  140.             if (!initializing) return;
  141.             PageMethods.GetProvinceData(getProvinceSuccess, getProvinceFailed);
  142.         }
  143.  
  144.         function getProvinceSuccess(result) {
  145.             if (!initializing) return;
  146.             var provinces = result;
  147.             ddlCusProvince.options.length = 0;
  148.             ddlCusProvince.options.add(new Option("", ""));
  149.             for (var i = 0; i < provinces.length; i++)
  150.                 ddlCusProvince.options.add(new Option(provinces[i].TextField, provinces[i].prov_id));
  151.  
  152.             ddlCarProvince.options.length = 0;
  153.             ddlCarProvince.options.add(new Option("", ""));
  154.             for (var i = 0; i < provinces.length; i++)
  155.                 ddlCarProvince.options.add(new Option(provinces[i].i_group + " " + provinces[i].TextField, provinces[i].prov_id));
  156.  
  157.             PageMethods.GetCarBrandData(getCarBrandSuccess, getCarBrandFailed);
  158.         }
  159. //        function getProvinceSuccess(result) {
  160. //            if (!initializing) return;
  161. //            var provinces = result;
  162. //            ddlCusProvince.options.length = 0;
  163. //            ddlCusProvince.options.add(new Option("", ""));
  164. //            for (var i = 0; i < provinces.length; i++)
  165. //                ddlCusProvince.options.add(new Option(provinces[i].TextField, provinces[i].i_changwat));
  166. //            
  167. //            ddlCarProvince.options.length = 0;
  168. //            ddlCarProvince.options.add(new Option("", ""));
  169. //            for (var i = 0; i < provinces.length; i++)
  170. //                ddlCarProvince.options.add(new Option(provinces[i].TextField, provinces[i].i_changwat));
  171.  
  172. //            PageMethods.GetCarBrandData(getCarBrandSuccess, getCarBrandFailed);
  173. //        }
  174.         function getCarBrandSuccess(result) {
  175.             if (!initializing) return;
  176.             var cbs = result;
  177.             
  178.             ddlCarBrand.options.length = 0;
  179.             ddlCarBrand.options.add(new Option("", ""));
  180.             for (var i = 0; i < cbs.length; i++)
  181.                 ddlCarBrand.options.add(new Option(cbs[i].TextField, cbs[i].i_car_brand));
  182.             ddlCarModel.disabled = true;
  183.             PageMethods.GetInitData(securityCode, getInitSuccess, getInitFailed);
  184.         }
  185.         function getInitSuccess(result) {
  186.             if (!initializing) return;
  187.             var init = result;
  188.  
  189.             var dff = 0;
  190.             ddlInit.options.length = 0;
  191.             for (var i = 0; i < init.length; i++) {
  192.                 if (init[i].TextField.trim() == 'ñ╪│')dff = i;
  193.                 ddlInit.options.add(new Option(init[i].TextField, init[i].n_no));
  194.             }
  195.             ddlInit.selectedIndex = dff;
  196.         }
  197.  
  198.         function getProvinceFailed() { alert("Province is failed."); }
  199.         function getCarBrandFailed() { alert("Carbrand is failed."); }
  200.         function getInitFailed() { alert("Init is failed."); }
  201.         function setDateFail() { alert('Set date is fail.'); }
  202.         function setCarCodeFail() { alert('Set car code is fail'); }
  203.         function GetPolicyNoByBacodeFail() {alert('Get policy no by barcode is fail.');}
  204.         //        function setProvince(obj) { PageMethods.SetProvince(obj.id, obj.options[obj.selectedIndex].value, securityCode); }
  205.         function setProvince(obj) {
  206.             PageMethods.SetProvince(obj.id, obj.options[obj.selectedIndex].value, securityCode);
  207.             if (obj.id == "ddlCustProvince") {
  208.                 var valProvince = obj.options[obj.selectedIndex].value;
  209.                 setDropDownList(ddlCarProvince, valProvince);
  210.                 ddlCusDistrict.options.length = 0;
  211.                 ddlCusSubDistrict.options.length = 0;
  212.                 PageMethods.SetDistrictList(obj.options[obj.selectedIndex].value, securityCode, populateDistrictSuccess, function() { alert('Set District is fail'); });
  213.             }
  214.         }
  215.  
  216.         function populateDistrictSuccess(result) {
  217.             var init = result;
  218.             ddlCusDistrict.options.length = 0;
  219.             if (result == null) return;
  220.             for (var i = 0; i < init.length; i++) ddlCusDistrict.options.add(new Option(init[i].TextField, init[i].i_district));
  221.             setSubdistrictList(ddlCusDistrict);
  222.         }
  223.         function populateSubdistrictSuccess(result) {
  224.             var init = result;
  225.             ddlCusSubDistrict.options.length = 0;
  226.             txtCustPostCodeJS.SetValue("");
  227.             if (result == null) return;
  228.             for (var i = 0; i < init.length; i++) ddlCusSubDistrict.options.add(new Option(init[i].TextField, init[i].SubdistrictCode));
  229.             txtCustPostCodeJS.SetValue(init[0].ZIPCODE);
  230.         }
  231.         function setSubdistrictList(obj) {
  232.             if (obj.selectedIndex == -1 || ddlCusProvince.selectedIndex == -1) return;
  233.             var selected = obj.options[obj.selectedIndex];
  234.             PageMethods.SetSubdistrictList(ddlCusProvince.options[ddlCusProvince.selectedIndex].value, selected.value, securityCode, populateSubdistrictSuccess, function() { alert('Set subdistrict is fail'); });
  235.         }
  236.         function setSubdistrictSuccess(result) {
  237.             txtCustPostCodeJS.SetValue("");
  238.             if (result != "") {
  239.                 if (result == "error") {
  240.                     alert("Σ┴Φ╛║ ZIPCODE");
  241.                 } else {
  242.                     txtCustPostCodeJS.SetValue(result);
  243.                 }
  244.             }
  245.         }
  246.         function setSubdistrict(obj) {
  247.             var selected = obj.selectedIndex == -1 ? "" : obj.options[obj.selectedIndex];
  248.             PageMethods.SetSubdistrict(selected.value, securityCode, setSubdistrictSuccess, function() { alert('Set subdistrict is fail'); });
  249.         } 
  250.         function setDropDownList(elementRef, valueToSetTo) {
  251.             var isFound = false;
  252.             for (var i = 0; i < elementRef.options.length; i++) {
  253.                 if (elementRef.options[i].value == valueToSetTo) {
  254.                     elementRef.options[i].selected = true;
  255.                     isFound = true;
  256.                 }
  257.             }
  258.  
  259.             if (isFound == false)
  260.                 elementRef.options[0].selected = true;
  261.         }
  262.         function setCarBrand(obj) {
  263.             var selected = obj.options[obj.selectedIndex];
  264.             ddlCarModel.disabled = (selected.value == "");
  265.             PageMethods.SetCarBrand(selected.value, securityCode, populateCarModelSuccess, function() { alert('Set car brand is fail'); });
  266.         }
  267. //        function setDate(obj, e) {
  268. //            PageMethods.SetDate(obj._selectedDate.format("dd/MM/yyyy"), obj._textbox._element.attributes["cusTag"].value, securityCode, setDateSuccess, setDateFail);
  269. //            if (obj._textbox._element.attributes["cusTag"].value == "CalFrom") {
  270. //                DateAdd(obj._selectedDate, "CalFrom");
  271.  
  272. //            }
  273. //            else if (obj._textbox._element.attributes["cusTag"].value == "CalCalAgreementMadeOn") {
  274. //                DateAdd(obj._selectedDate, "CalCalAgreementMadeOn");
  275. //            }
  276.         //        }
  277.  
  278.  
  279. //        function DateAdd(para, chk) {
  280. //            var myDate = new Date(para);
  281. //            NextYear = (myDate.getFullYear() + 1);
  282.  
  283. //            if (chk == "CalFrom") {
  284.  
  285. //                CalTo_.value = ("0" + myDate.getDate()).slice(-2) + "/" + ("0" + (myDate.getMonth() + 1)).slice(-2) + "/" + NextYear;
  286. //                PageMethods.SetDate(CalTo_.value, "CalTo", securityCode, setDateSuccess, setDateFail);
  287. //            }
  288. //            else if (chk == "CalCalAgreementMadeOn") {
  289. //                CalCalPolicyIssuedOn_.value = ("0" + myDate.getDate()).slice(-2) + "/" + ("0" + (myDate.getMonth() + 1)).slice(-2) + "/" + myDate.getFullYear();
  290. //                PageMethods.SetDate(CalCalPolicyIssuedOn_.value, "CalCalAgreementMadeOn", securityCode, setDateSuccess, setDateFail);
  291. //            }
  292.  
  293. //        }
  294.  
  295.  
  296.         function setDate(obj, e) {
  297.  
  298.             if (obj._textbox._element.attributes["cusTag"].value == "CalFrom") {
  299.                 var CalCurrentDate = $find('CalCurrentDate1');
  300.                 if (CalCurrentDate._selectedDate > obj._selectedDate) {
  301.                     alert($get('<%=lblInvalidBeginDate.ClientId%>').innerHTML);
  302.                     obj.set_selectedDate(CalCurrentDate._selectedDate);
  303.                 }
  304.                 var CalMaxDate = $find('CalMaxBeginDate1');
  305.                 if (CalMaxDate._selectedDate < obj._selectedDate) {
  306.                     alert($get('<%=lblInvalidMaxBeginDate.ClientId%>').innerHTML);
  307.                     obj.set_selectedDate(CalMaxDate._selectedDate);
  308.                 }
  309.             }
  310.  
  311.             
  312.             PageMethods.SetDate(obj._selectedDate.format("dd/MM/yyyy"), obj._textbox._element.attributes["cusTag"].value, securityCode, setDateSuccess, setDateFail);
  313.             if (obj._textbox._element.attributes["cusTag"].value == "CalFrom") {
  314.                 DateAdd(obj._selectedDate, "CalFrom");
  315.  
  316.  
  317.  
  318.  
  319.             }
  320.             else if (obj._textbox._element.attributes["cusTag"].value == "CalCalAgreementMadeOn") {
  321.                 DateAdd(obj._selectedDate, "CalCalAgreementMadeOn");
  322.  
  323.  
  324.  
  325.             }
  326.         }
  327.  
  328.  
  329.         function DateAdd(para, chk) {
  330.             var myDate = new Date(para);
  331.             NextYear = (myDate.getFullYear() + 1);
  332.  
  333.             if (chk == "CalFrom") {
  334.  
  335.  
  336.  
  337.  
  338.                 //                
  339.                 //                CalTo_.value = ("0" + myDate.getDate()).slice(-2) + "/" + ("0" + (myDate.getMonth() + 1)).slice(-2) + "/" + NextYear;
  340.                 //                PageMethods.SetDate(CalTo_.value, "CalTo", securityCode, setDateSuccess, setDateFail);
  341.  
  342.                 //                calCalAgreementMadeOn_.value = ("0" + myDate.getDate()).slice(-2) + "/" + ("0" + (myDate.getMonth() + 1)).slice(-2) + "/" + myDate.getFullYear();
  343.                 //                PageMethods.SetDate(calCalAgreementMadeOn_.value, "CalCalAgreementMadeOn", securityCode, setDateSuccess, setDateFail);
  344.  
  345.                 //                CalCalPolicyIssuedOn_.value = ("0" + myDate.getDate()).slice(-2) + "/" + ("0" + (myDate.getMonth() + 1)).slice(-2) + "/" + myDate.getFullYear();
  346.                 //                PageMethods.SetDate(CalCalPolicyIssuedOn_.value, "CalCalPolicyIssuedOn", securityCode, setDateSuccess, setDateFail);
  347.  
  348.                 var stdt = new Date(para);
  349.                 var s1 = new Date(stdt);
  350.  
  351.  
  352.  
  353.                 var today = new Date();
  354. //                var previousday = new Date();
  355. //                previousday.setMonth(today.getMonth() - 1);
  356. //                if (stdt < previousday) {
  357. //                    alert(stdt);
  358. //                    alert(previousday);
  359. //                    alert('╟╤╣╖╒Φα├╘Φ┴╡Θ╣ñ╟╥┴ñ╪Θ┴ñ├═º┬Θ═╣╦┼╤ºΣ┤ΘΣ┴Φαí╘╣ 1 α┤╫═╣');
  360. //                    return;
  361. //                }                
  362.  
  363.  
  364.                 s1.setDate(stdt.getDate() + 365);
  365.                 CalTo_.CalendarBehavior.initialize;
  366.                 CalTo_.CalendarBehavior._selectedDate = s1;
  367.                 CalTo_.value = ("0" + s1.getDate()).slice(-2) + "/" + ("0" + (s1.getMonth() + 1)).slice(-2) + "/" + s1.getFullYear();
  368.                 PageMethods.SetDate(CalTo_.value, "CalTo", securityCode, setDateSuccess, setDateFail);
  369.  
  370.  
  371.                 if (stdt > today) {
  372.                     calCalAgreementMadeOn_.CalendarBehavior.initialize;
  373.                     calCalAgreementMadeOn_.CalendarBehavior._selectedDate = today;
  374.                     calCalAgreementMadeOn_.value = ("0" + today.getDate()).slice(-2) + "/" + ("0" + (today.getMonth() + 1)).slice(-2) + "/" + today.getFullYear();
  375.                     PageMethods.SetDate(calCalAgreementMadeOn_.value, "CalCalAgreementMadeOn", securityCode, setDateSuccess, setDateFail);
  376.  
  377.                     CalCalPolicyIssuedOn_.CalendarBehavior.initialize;
  378.                     CalCalPolicyIssuedOn_.CalendarBehavior._selectedDate = today;
  379.                     CalCalPolicyIssuedOn_.value = ("0" + today.getDate()).slice(-2) + "/" + ("0" + (today.getMonth() + 1)).slice(-2) + "/" + today.getFullYear();
  380.                     PageMethods.SetDate(CalCalPolicyIssuedOn_.value, "CalCalPolicyIssuedOn", securityCode, setDateSuccess, setDateFail);
  381.                 } else {
  382.                 calCalAgreementMadeOn_.CalendarBehavior.initialize;
  383.                 calCalAgreementMadeOn_.CalendarBehavior._selectedDate = stdt;
  384.                 calCalAgreementMadeOn_.value = ("0" + stdt.getDate()).slice(-2) + "/" + ("0" + (stdt.getMonth() + 1)).slice(-2) + "/" + stdt.getFullYear();
  385.                 PageMethods.SetDate(calCalAgreementMadeOn_.value, "CalCalAgreementMadeOn", securityCode, setDateSuccess, setDateFail);
  386.  
  387.                 CalCalPolicyIssuedOn_.CalendarBehavior.initialize;
  388.                 CalCalPolicyIssuedOn_.CalendarBehavior._selectedDate = stdt;
  389.                 CalCalPolicyIssuedOn_.value = ("0" + stdt.getDate()).slice(-2) + "/" + ("0" + (stdt.getMonth() + 1)).slice(-2) + "/" + stdt.getFullYear();
  390.                 PageMethods.SetDate(CalCalPolicyIssuedOn_.value, "CalCalPolicyIssuedOn", securityCode, setDateSuccess, setDateFail);
  391.                 }
  392.  
  393.  
  394.  
  395.                
  396.  
  397.  
  398.  
  399.  
  400.             }
  401.             else if (chk == "CalCalAgreementMadeOn") {
  402.  
  403.  
  404.                 CalCalPolicyIssuedOn_.CalendarBehavior.initialize;
  405.                 CalCalPolicyIssuedOn_.CalendarBehavior._selectedDate = myDate;
  406.                 CalCalPolicyIssuedOn_.value = ("0" + myDate.getDate()).slice(-2) + "/" + ("0" + (myDate.getMonth() + 1)).slice(-2) + "/" + myDate.getFullYear();
  407.                 PageMethods.SetDate(CalCalPolicyIssuedOn_.value, "CalCalPolicyIssuedOn", securityCode, setDateSuccess, setDateFail);
  408.             }
  409.  
  410.         }
  411.  
  412.  
  413.      
  414.         
  415.         function setDateSuccess(result) {
  416.             txtPremiumDay.value = result.CalDiff;
  417.             txtCarCode.value = result.CarCode == null ? "" : result.CarCode;
  418.             if (txtCarCode.value == "") txtCarCodeText.innerHTML = "";
  419.             if (result.CalType == 0) {
  420.                 oldRadYear = true;
  421.                 txtPremiumDay.style.display = 'none';
  422.                 txtPremiumDay.value = '';
  423.             } else {
  424.                 oldRadYear = false;
  425.                 txtPremiumDay.style.display = 'block';
  426.             }
  427.             radRefresh();
  428.             if (txtCarCapacityJS.GetValue() == "") txtCarCapacityJS.SetValue(result.CarCapacity);
  429.             if (txtCarCCJS.GetValue() == "") txtCarCCJS.SetValue(result.CarCC);
  430.             if (txtCarWeightJS.GetValue() == "") txtCarWeightJS.SetValue(result.CarWeight);
  431.  
  432.             txtPremium.value = result.Premium || "";
  433.             txtPremiumTax.value = result.PremiumTax || "";
  434.             txtPremiumTotal.value = result.PremiumTotal || "";
  435.             txtPremiumVat.value = result.PremiumVat || "";
  436.             if (result.Premium != null) { spnCalComplete.innerHTML = "ñ╙╣╟│α╩├τ¿"; setTimeout("clearCalComplete();", 3000); }
  437.  
  438.             if (result.CalDiff <= 0 && result.CalType != 0) { alert('╟╤╣╖╒Φ╩╘Θ╣╩╪┤ñ╟╥┴ñ╪Θ┴ñ├═º╡Θ═º┴╥íí╟Φ╥╟╤╣╖╒Φα├╘Φ┴╡Θ╣ñ╟╥┴ñ╪Θ┴ñ├═º'); }
  439.             
  440.         }
  441.         function clearCalComplete() {spnCalComplete.innerHTML = ""; }
  442.         function populateCarModelSuccess(result) {
  443.             //if (!initializing) return;
  444.             var init = result;
  445.             ddlCarModel.options.length = 0;
  446.             if (result == null) return;
  447.             for (var i = 0; i < init.length; i++) ddlCarModel.options.add(new Option(init[i].TextField, init[i].n_no));
  448.         }
  449.         function setCarModel(obj) { PageMethods.SetCarModel(obj.options[obj.selectedIndex].value, securityCode); }
  450.         function setInit(obj) { PageMethods.SetInit(obj.options[obj.selectedIndex].value, securityCode); }
  451.         function ClearCtrl() {}
  452.         function btnCarCode_onclick() {
  453.             var result = window.showModalDialog("CarCode.aspx?CarCode=" + policyInfo.CTNO, "", "center:yes; dialogHeight:360px; dialogWidth:400px;");
  454.             if (result == null) return;
  455.             var results = result.split('$');
  456.             txtCarCode.value = results[0];
  457.             txtCarCodeText.innerHTML = results[1];
  458.             txtCarBodyTypeJS.SetValue(results[2]);
  459.             txtCarCapacityJS.SetValue(results[3]);
  460.             txtCarWeightJS.SetValue(results[4]);
  461.             PageMethods.SetCarCode(results[0], securityCode, setCarCodeSuccess, setCarCodeFail);
  462.         }
  463.         function setCarCodeSuccess(result) { PageMethods.ReCalulate(false, securityCode, setDateSuccess, setDateFail); }
  464.         function btnPolicyNo_onclick() {
  465.             btnPolicyNo_Opendialog('');
  466.         }
  467.         function btnPolicyNo_Opendialog(selectone) {
  468.             var current = new Date();
  469.             var vehicleType = ddlVehicleType.options[ddlVehicleType.selectedIndex].value;
  470.             var defaultSelected = selectone == 'Y' ? '&DefaultSelected=Y' : '&DefaultSelected=N';
  471.             var result = window.showModalDialog("Policy.aspx?AgentNo=<%=AgentNO%>&VehicleType=" + vehicleType + defaultSelected + "&" + current.format("ddMMyyHHMMssffff"), "", "center:yes; dialogHeight:360px; dialogWidth:335px;");
  472.             if (result == null) return;
  473.             txtPolicyNo.value = (result == null || result.trim() == "") ? "" : result;
  474.             PageMethods.SetPolicyNo(result, securityCode, setPolicySuccess, setPolicyFail);
  475.         }        
  476.         function setPolicySuccess(result) {
  477.             if (result == null) return;
  478.             btnCarCode.disabled = false;
  479.             var clearCarCode = false;
  480.             if (policyInfo != null) clearCarCode = policyInfo.CTNO != result.CTNO;
  481.             policyInfo = result;
  482.             txtBookNo.value = result.BookNo;
  483.             txtNo.value = result.No;
  484.             txtBarYear.value = result.BarYear;
  485.             txtBarNoJS.SetValue(result.BarNo);
  486.             lblCTDesc.innerText = result.CTDesc;
  487.             ddlInit.focus();
  488.             PageMethods.ReCalulate(clearCarCode, securityCode, setDateSuccess, setDateFail);
  489.         }
  490.         function btnRecallClientClick() {
  491.             PageMethods.ReCalulate(false, securityCode, setDateSuccess, setDateFail);
  492.             return false;
  493.         }
  494.         function setPolicyFail() { btnCarCode.disabled = true; alert('Policy is fail'); }
  495.         function barNoChanged(c, e) {
  496.             var ev = e.htmlEvent;
  497.             if (ev == null) return;
  498.             if (ev.type == 'keydown' && ev.keyCode == 13) {
  499.                 PageMethods.GetPolicyNoByBarcode(e.htmlEvent.srcElement.value, GetPolicyNoByBacodeSuccess, GetPolicyNoByBacodeFail);
  500.             }
  501.         }
  502.         function barNoChangedFocus(c, e) {
  503.             var barNo = c.GetText();
  504.             if (barNo == "") return;
  505.             PageMethods.GetPolicyNoByBarcode(barNo, GetPolicyNoByBacodeSuccess, GetPolicyNoByBacodeFail);
  506.             
  507.         }
  508.         function GetPolicyNoByBacodeSuccess(result) {
  509.             if (result == null || result == "") { txtPolicyNo.value = ""; btnCarCode.disabled = true; txtBookNo.value = ""; txtNo.value = ""; txtBarYear.value = ""; txtBarNoJS.SetValue(""); lblCTDesc.innerText = ""; result == "" ? alert('í├┴╕├├┴∞Σ┴Φ╢┘í╡Θ═º') : alert('Σ┴Φ╛║óΘ═┴┘┼╖╒Φ╡Θ═ºí╥├ñΘ╣╦╥'); txtBarNoJS.Focus(); return; }
  510.             txtPolicyNo.value = result;
  511.             PageMethods.SetPolicyNo(result, securityCode, setPolicySuccess, setPolicyFail);
  512.         }
  513.         function vehicleTypeChange(obj) {
  514.             txtCarBodyTypeJS.SetValue('');
  515.             txtCarCapacityJS.SetValue('');
  516.             txtCarWeightJS.SetValue('');
  517.             if (obj.options[obj.selectedIndex].value != '') {
  518.                 btnPolicyNo_Opendialog('Y');
  519.             } else {
  520.                 clearScreen();
  521.             }
  522.         }
  523.         function radRefresh() {
  524.             radDay.checked = !oldRadYear;
  525.             radYear.checked = oldRadYear;
  526.         }
  527.         function clearScreen() {
  528.             PageMethods.ClearSession(securityCode, gotoNewRecord);
  529.         }
  530.         function gotoNewRecord() { window.location = '<%=PageURL%>';}
  531.  
  532.     </script>
  533.  
  534.     <table cellpadding="0" cellspacing="0" id="tbContent" class="styletbContentSub">
  535.         <tr>
  536.             <td>
  537.                 <table id="tbSubContent01" cellpadding="0" cellspacing="0" class="styletbBorder"
  538.                     style="vertical-align: middle; text-align: center;">
  539.                     <tr>
  540.                         <td class="styletbFS">
  541.                              
  542.                         </td>
  543.                     </tr>
  544.                     <tr>
  545.                         <td>
  546.                             <asp:Label ID="Label1" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label1 %>"></asp:Label>
  547.                             <br />
  548.                         </td>
  549.                     </tr>
  550.                 </table>
  551.                 <table id="Table17" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  552.                     vertical-align: middle;">
  553.                     <tr class="styletbFS">
  554.                         <td>
  555.                              
  556.                         </td>
  557.                     </tr>
  558.                     <tr>
  559.                         <td class="styletbLineT">
  560.                              
  561.                         </td>
  562.                     </tr>
  563.                 </table>
  564.             </td>
  565.         </tr>
  566.         <tr>
  567.             <td style="text-align: center">
  568.                 <table id="Table18" cellpadding="0" cellspacing="0" style="text-align: left; vertical-align: middle;">
  569.                     <tr class="styletbFS">
  570.                         <td>
  571.                              
  572.                         </td>
  573.                     </tr>
  574.                 </table>
  575.             </td>
  576.         </tr>
  577.         <tr>
  578.             <td>
  579.                 <div>
  580.                     
  581.                     <asp:Panel ID="panKeyData" runat="server">
  582. <%--                        <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
  583.                             <ContentTemplate>--%>                                
  584.                             <table id="Table1" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  585.                                     vertical-align: middle;">
  586.                                     <tr>
  587.                                         <td style="width: 10px">
  588.                                         </td>
  589.                                         <td>
  590.                                             <table cellpadding="0" cellspacing="0" style="width: 100%">
  591.                                                 <tr>
  592.                                                     <td width="80">
  593.                                                         <asp:Label ID="lblCoCode" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01CoCode %>"
  594.                                                             Width="80px"></asp:Label>
  595.                                                     </td>
  596.                                                     <td width="70">
  597.                                                         <asp:Label ID="lblCoCodeD" runat="server" Style="font-weight: 700" Text="BUN"></asp:Label>
  598.                                                     </td>
  599.                                                     <td style="text-align: right">
  600.                                                         <asp:Label ID="Label101" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label101 %>"></asp:Label>
  601.                                                         <asp:Label ID="lblAgName" runat="server"></asp:Label>
  602.                                                     </td>
  603.                                                 </tr>
  604.                                             </table>
  605.                                             <table cellpadding="0" cellspacing="0" style="width: 100%">
  606.                                                 <tr>
  607.                                                     <td width="10">
  608.                                                         <asp:Label ID="Label30" runat="server" Text=" " Width="10px"></asp:Label>
  609.                                                     </td>
  610.                                                     <td style="text-align: right" width="125">
  611.                                                         <asp:Label ID="lblVehicleType" runat="server" Style="text-align: right" Text="<%$ Resources:Resource,PRBMC01Label96 %>"></asp:Label>
  612.                                                         <asp:Label ID="lblW11" runat="server" Text=" " Width="5px"></asp:Label>
  613.                                                     </td>
  614.                                                     <td>
  615.                                                         <select id="ddlVehicleType" runat="server" name="ddlVehicleType" onchange="return vehicleTypeChange(this);" >
  616.                                                             <option value="" label="" selected="selected"></option>
  617.                                                             <option value="1" label="<%$ Resources:Resource,PRBMC01Label97 %>"></option>
  618.                                                             <option value="0" label="<%$ Resources:Resource,PRBMC01Label98 %>"></option>
  619.                                                         </select>
  620.                                                     </td>
  621.                                                     <td width="160">
  622.                                                     </td>
  623.                                                 </tr>
  624.                                                 <tr>
  625.                                                     <td width="10">
  626.                                                         <asp:Label ID="lblW4" runat="server" Text=" " Width="10px"></asp:Label>
  627.                                                     </td>
  628.                                                     <td style="text-align: right" width="125">
  629.                                                         <asp:Label ID="Label46" runat="server" Style="text-align: right" Text="<%$ Resources:Resource,PRBMC01Label46 %>"></asp:Label>
  630.                                                         <asp:Label ID="lblW19" runat="server" Text=" " Width="5px"></asp:Label>
  631.                                                     </td>
  632.                                                     <td>
  633.                                                         <input type="text" id="txtPolicyNo" readonly="readonly" />
  634.                                                         <input type="button" id="btnPolicyNo" value="..." onclick="return btnPolicyNo_onclick()" onclick="return btnPolicyNo_onclick()" onclick="return btnPolicyNo_onclick()" />
  635.                                                     </td>
  636.                                                     <td width="160">
  637.                                                         <asp:Label ID="lblCTDesc" runat="server"></asp:Label>
  638.                                                         <asp:Label ID="lblCTNo" runat="server"></asp:Label>
  639.                                                     </td>
  640.                                                 </tr>
  641.                                                 <tr>
  642.                                                     <td width="10">
  643.                                                         <asp:Label ID="lblW5" runat="server" Text=" " Width="10px"></asp:Label>
  644.                                                     </td>
  645.                                                     <td style="text-align: right" width="125">
  646.                                                         <asp:Label ID="Label47" runat="server" Style="text-align: right" Text="<%$ Resources:Resource,PRBMC01Label47 %>"></asp:Label>
  647.                                                         <asp:Label ID="lblW20" runat="server" Text=" " Width="5px"></asp:Label>
  648.                                                     </td>
  649.                                                     <td>
  650.                                                         <table cellpadding="0" cellspacing="0" width="100%">
  651.                                                             <tr>
  652.                                                                 <td width="35">
  653.                                                                     <asp:TextBox ID="txtBarYear" runat="server" BackColor="#EAEAEA" ReadOnly="True"
  654.                                                                         Width="35px"></asp:TextBox>
  655.                                                                 </td>
  656.                                                                 <td style="text-align: center">
  657.                                                                     <asp:Label ID="Label51" runat="server" Text=" - "></asp:Label>
  658.                                                                 </td>
  659.                                                                 <td>
  660.                                                                     <dx:ASPxTextBox ID="txtBarNo" runat="server" MaxLength="15" NullText="<%$ Resources:Resource,InputRequire %>"
  661.                                                                         Width="110px" ClientInstanceName="txtBarNoJS" EnableClientSideAPI="True" ReadOnly="True" Enabled="False" DisabledStyle-BackColor="#CCCCCC" ReadOnlyStyle-BackColor="#CCCCCC">
  662.                                                                         <%-- <ClientSideEvents KeyDown="barNoChanged" TextChanged="barNoChanged" 
  663.                                                                             ValueChanged="barNoChanged" LostFocus="barNoChangedFocus" /> --%>
  664.                                                                         <NullTextStyle BackColor="AliceBlue" ForeColor="Red">
  665.                                                                         </NullTextStyle>
  666.                                                                     </dx:ASPxTextBox>
  667.                                                                 </td>
  668.                                                             </tr>
  669.                                                         </table>
  670.                                                     </td>
  671.                                                     <td>
  672.                                                          
  673.                                                     </td>
  674.                                                 </tr>
  675.                                             </table>
  676.                                             <table cellpadding="0" cellspacing="0" style="width: 100%">
  677.                                                 <tr>
  678.                                                     <td width="10">
  679.                                                         <asp:Label ID="lblW1" runat="server" Text=" " Width="10px"></asp:Label>
  680.                                                     </td>
  681.                                                     <td style="text-align: right" width="125">
  682.                                                         <asp:Label ID="Label48" runat="server" Style="text-align: right" Text="<%$ Resources:Resource,PRBMC01Label48 %>"></asp:Label>
  683.                                                         <asp:Label ID="lblW16" runat="server" Text=" " Width="5px"></asp:Label>
  684.                                                     </td>
  685.                                                     <td width="100">
  686.                                                         <asp:TextBox ID="txtBookNo" runat="server" BackColor="#EAEAEA" ReadOnly="True" 
  687.                                                             Width="75px"></asp:TextBox>
  688.                                                     </td>
  689.                                                     <td style="text-align: right" width="100">
  690.                                                         <asp:Label ID="Label53" runat="server" Style="text-align: right" Text="<%$ Resources:Resource,PRBMC01Label53 %>"></asp:Label>
  691.                                                         <asp:Label ID="lblW21" runat="server" Text=" " Width="5px"></asp:Label>
  692.                                                     </td>
  693.                                                     <td>
  694.                                                         <asp:TextBox ID="txtNo" runat="server" BackColor="#EAEAEA" ReadOnly="True" 
  695.                                                             Width="75px"></asp:TextBox>
  696.                                                     </td>
  697.                                                 </tr>
  698.                                             </table>
  699.                                             <table cellpadding="0" cellspacing="0" style="width: 100%; empty-cells: hide;">
  700.                                                 <tr>
  701.                                                     <td width="10">
  702.                                                         <asp:Label ID="lblW2" runat="server" Text=" " Width="10px"></asp:Label>
  703.                                                     </td>
  704.                                                     <td style="text-align: right" width="125">
  705.                                                         <asp:Label ID="Label45" runat="server" Style="text-align: right" Text="π║═╣╪¡╥╡α┼ó╖╒Φ"></asp:Label>
  706.                                                         <asp:Label ID="lblW17" runat="server" Text=" " Width="5px"></asp:Label>
  707.                                                     </td>
  708.                                                     <td width="260">
  709.                                                         <asp:TextBox ID="txtLicenseNo" runat="server" BackColor="#EAEAEA" ReadOnly="True"
  710.                                                             Width="155px" Enabled="False"></asp:TextBox>
  711.                                                     </td>
  712.                                                     <td>
  713.                                                     </td>
  714.                                                 </tr>
  715.                                                 <tr>
  716.                                                     <td width="10">
  717.                                                         <asp:Label ID="lblW3" runat="server" Text=" " Width="10px"></asp:Label>
  718.                                                     </td>
  719.                                                     <td style="text-align: right" width="125">
  720.                                                         <asp:Label ID="Label3" runat="server" Text="¬╫Φ═╡╤╟ß╖╣/╣╥┬╦╣Θ╥"></asp:Label>
  721.                                                         <asp:Label ID="lblW18" runat="server" Text=" " Width="5px"></asp:Label>
  722.                                                     </td>
  723.                                                     <td>
  724.                                                         <asp:TextBox ID="txtAgentName" runat="server" BackColor="#EAEAEA" ReadOnly="True"
  725.                                                             Width="250px" Enabled="False"></asp:TextBox>
  726.                                                     </td>
  727.                                                     <td>
  728.                                                         <asp:Label ID="lblAgCode" runat="server"></asp:Label>
  729.                                                     </td>
  730.                                                 </tr>
  731.                                             </table>
  732.                                         </td>
  733.                                         <td style="width: 10px">
  734.                                         </td>
  735.                                     </tr>
  736.                                 </table>
  737. <%--                            </ContentTemplate>
  738.                             <Triggers>
  739.                                 <asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
  740.                                 <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
  741.                             </Triggers>
  742.                         </asp:UpdatePanel>--%>                        
  743.                         <table id="Table14" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  744.                             vertical-align: middle;">
  745.                             <tr class="styletbFS">
  746.                                 <td>
  747.                                      
  748.                                 </td>
  749.                             </tr>
  750.                             <tr>
  751.                                 <td class="styletbLineT">
  752.                                      
  753.                                 </td>
  754.                             </tr>
  755.                         </table>
  756. <%--                        <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Conditional">
  757.                             <ContentTemplate>--%>
  758.                                 <table id="Table2" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  759.                                     vertical-align: middle;">
  760.                                     <tr>
  761.                                         <td style="width: 10px">
  762.                                         </td>
  763.                                         <td>
  764.                                             <table cellpadding="0" cellspacing="0" style="width: 100%">
  765.                                                 <tr>
  766.                                                     <td width="300">
  767.                                                         <asp:Label ID="Label5" runat="server" Style="font-weight: 700" Text="╝┘Θα═╥╗├╨í╤╣└╤┬"></asp:Label>
  768.                                                     </td>
  769.                                                     <td style="text-align: right">
  770.                                                          
  771.                                                     </td>
  772.                                                 </tr>
  773.                                             </table>
  774.                                             <table cellpadding="0" cellspacing="1" style="width: 100%">
  775.                                                 <tr>
  776.                                                     <td width="10">
  777.                                                         <asp:Label ID="lblW6" runat="server" Text=" " Width="10px"></asp:Label>
  778.                                                     </td>
  779.                                                     <td style="text-align: right" width="70">
  780.                                                         <asp:Label ID="Label55" runat="server" Style="text-align: left" Text="<%$ Resources:Resource,PRBMC01Label55 %>"></asp:Label>
  781.                                                         <asp:Label ID="lblW25" runat="server" Text=" " Width="5px"></asp:Label>
  782.                                                     </td>
  783.                                                     <td width="150">
  784.                                                         <select id="ddlInit" onchange="return setInit(this);">
  785.                                                         </select>
  786.                                                     </td>
  787.                                                     <td width="90">
  788.                                                          
  789.                                                     </td>
  790.                                                     <td style="text-align: right">
  791.                                                         <asp:Label ID="lblW27" runat="server" Text=" " Width="5px"></asp:Label>
  792.                                                     </td>
  793.                                                     <td>
  794.                                                          
  795.                                                     </td>
  796.                                                 </tr>
  797.                                                 <tr>
  798.                                                     <td width="10">
  799.                                                          
  800.                                                     </td>
  801.                                                     <td style="text-align: right" width="70">
  802.                                                         <asp:Label ID="Label6" runat="server" Text="<%$ Resources:Resource,PRBMC01Label6 %>"></asp:Label>
  803.                                                         <asp:Label ID="lblW26" runat="server" Text=" " Width="5px"></asp:Label>
  804.                                                     </td>
  805.                                                     <td width="150">
  806.                                                         <dx:ASPxTextBox ID="txtCustName" runat="server" MaxLength="50" NullText="<%$ Resources:Resource,InputRequire %>"
  807.                                                             Width="140px">
  808.                                                             <NullTextStyle BackColor="AliceBlue" ForeColor="Red">
  809.                                                             </NullTextStyle>
  810.                                                         </dx:ASPxTextBox>
  811.                                                     </td>
  812.                                                     <td style="text-align: right" width="90">
  813.                                                         <asp:Label ID="Label54" runat="server" Text="<%$ Resources:Resource,PRBMC01Label54 %>"></asp:Label>
  814.                                                         <asp:Label ID="lblW29" runat="server" Text=" " Width="10px"></asp:Label>
  815.                                                     </td>
  816.                                                     <td style="text-align: left">
  817.                                                         <dx:ASPxTextBox ID="txtCustSurName" runat="server" MaxLength="30" NullText="<%$ Resources:Resource,InputRequire %>"
  818.                                                             Width="140px">
  819.                                                             <NullTextStyle BackColor="AliceBlue" ForeColor="Red">
  820.                                                             </NullTextStyle>
  821.                                                         </dx:ASPxTextBox>
  822.                                                     </td>
  823.                                                     <td>
  824.                                                          
  825.                                                     </td>
  826.                                                 </tr>
  827.                                                 <tr>
  828.                                                     <td>
  829.                                                          
  830.                                                     </td>
  831.                                                     <td style="text-align: right" width="70">
  832.                                                         <asp:Label ID="Label20" runat="server" Text="<%$ Resources:Resource,PRBMC01Label20 %>"></asp:Label>
  833.                                                         <asp:Label ID="lblW62" runat="server" Text=" " Width="5px"></asp:Label>
  834.                                                     </td>
  835.                                                     <td width="150">
  836.                                                         <dx:ASPxTextBox ID="txtCitizenId" runat="server" MaxLength="13" Width="140px" ClientInstanceName="txtCitizenId">
  837.                                                             <ClientSideEvents  KeyDown="checkNumberAndText" />
  838.                                                         </dx:ASPxTextBox>
  839.                                                     </td>
  840.                                                     <td>
  841.                                                          
  842.                                                     </td>
  843.                                                 </tr>
  844.                                             </table>
  845.                                             <table cellpadding="0" cellspacing="1" style="width: 100%">
  846.                                                 <tr>
  847.                                                     <td width="10">
  848.                                                         <asp:Label ID="lblW7" runat="server" Text=" " Width="10px"></asp:Label>
  849.                                                     </td>
  850.                                                     <td style="text-align: right" width="70">
  851.                                                         <asp:Label ID="Label7" runat="server" Text="<%$ Resources:Resource,PRBMC01Label7 %>"></asp:Label>
  852.                                                         <asp:Label ID="lblW22" runat="server" Text=" " Width="5px"></asp:Label>
  853.                                                     </td>
  854.                                                     <td>
  855.                                                         <dx:ASPxTextBox ID="txtCustAddress1" runat="server" MaxLength="40" NullText="<%$ Resources:Resource,InputRequire %>"
  856.                                                             Width="444px">
  857.                                                             <NullTextStyle BackColor="AliceBlue" ForeColor="Red">
  858.                                                             </NullTextStyle>
  859.                                                         </dx:ASPxTextBox>
  860.                                                     </td>
  861.                                                 </tr>
  862.                                                 <tr style="display: none">
  863.                                                     <td width="10">
  864.                                                         <asp:Label ID="lblW8" runat="server" Text=" " Width="10px"></asp:Label>
  865.                                                     </td>
  866.                                                     <td width="70">
  867.                                                          
  868.                                                     </td>
  869.                                                     <td>
  870.                                                         <dx:ASPxTextBox ID="txtCustAddress2" runat="server" MaxLength="40" Width="444px">
  871.                                                         </dx:ASPxTextBox>
  872.                                                     </td>
  873.                                                 </tr>
  874.                                             </table>
  875.                                             <table cellpadding="0" cellspacing="1" style="width: 100%">
  876.                                                 <tr>
  877.                                                     <td width="10">
  878.                                                         <asp:Label ID="lblW9" runat="server" Text=" " Width="10px"></asp:Label>
  879.                                                     </td>
  880.                                                     <td style="text-align: right" width="70">
  881.                                                         <asp:Label ID="Label58" runat="server" Text="<%$ Resources:Resource,PRBMC01Label58 %>"
  882.                                                             ForeColor="Red"></asp:Label>
  883.                                                         <asp:Label ID="lblW23" runat="server" Text=" " Width="5px"></asp:Label>
  884.                                                     </td>
  885.                                                     <td width="150">
  886.                                                         <select id="ddlCustProvince" onchange="return setProvince(this);" dir="ltr">
  887.                                                         </select>
  888.                                                     </td>
  889.                                                     <td>
  890.                                                          
  891.                                                     </td>
  892.                                                 </tr>
  893.                                                 <tr>
  894.                                                     <td width="10">
  895.                                                         <asp:Label ID="Label24" runat="server" Text=" " Width="10px"></asp:Label>
  896.                                                     </td>
  897.                                                     <td style="text-align: right" width="70">
  898.                                                         <asp:Label ID="Label25" runat="server" Text="<%$ Resources:Resource,PRBMC01Label25 %>"
  899.                                                             ForeColor="Red"></asp:Label>
  900.                                                         <asp:Label ID="Label26" runat="server" Text=" " Width="5px"></asp:Label>
  901.                                                     </td>
  902.                                                     <td width="150">
  903.                                                         <select id="ddlCustDistrict" style="width: 150px" onchange="return setSubdistrictList(this);">
  904.                                                         </select>
  905.                                                     </td>
  906.                                                     <td>
  907.                                                          
  908.                                                     </td>
  909.                                                 </tr>
  910.                                                 <tr>
  911.                                                     <td width="10">
  912.                                                         <asp:Label ID="Label27" runat="server" Text=" " Width="10px"></asp:Label>
  913.                                                     </td>
  914.                                                     <td style="text-align: right" width="70">
  915.                                                         <asp:Label ID="Label28" runat="server" Text="<%$ Resources:Resource,PRBMC01Label28 %>"
  916.                                                             ForeColor="Red"></asp:Label>
  917.                                                         <asp:Label ID="Label29" runat="server" Text=" " Width="5px"></asp:Label>
  918.                                                     </td>
  919.                                                     <td width="150">
  920.                                                         <select id="ddlCustSubDistrict" style="width: 150px" onchange="return setSubdistrict(this);">
  921.                                                         </select>
  922.                                                     </td>
  923.                                                     <td style="text-align: right" width="90">
  924.                                                         <asp:Label ID="Label59" runat="server" Text="<%$ Resources:Resource,PRBMC01Label59 %>"></asp:Label>
  925.                                                         <asp:Label ID="lblW24" runat="server" Text=" " Width="5px"></asp:Label>
  926.                                                     </td>
  927.                                                     <td width="140">
  928.                                                         <dx:ASPxTextBox ID="txtCustPostCode" runat="server" MaxLength="5" Width="110px" NullText="<%$ Resources:Resource,InputRequire %>" ClientInstanceName="txtCustPostCodeJS">
  929.                                                             <NullTextStyle BackColor="AliceBlue" ForeColor="Red">
  930.                                                             </NullTextStyle>
  931.                                                         </dx:ASPxTextBox>
  932.                                                     </td>
  933.                                                     <td>
  934.                                                          
  935.                                                     </td>
  936.                                                 </tr>
  937.                                             </table>
  938.                                         </td>
  939.                                         <td style="width: 10px">
  940.                                         </td>
  941.                                     </tr>
  942.                                 </table>
  943. <%--                            </ContentTemplate>
  944.                             <Triggers>
  945.                                 <asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
  946.                                 <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
  947.                             </Triggers>
  948.                         </asp:UpdatePanel>--%>
  949.                         <table id="Table13" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  950.                             vertical-align: middle;">
  951.                             <tr class="styletbFS">
  952.                                 <td>
  953.                                      
  954.                                 </td>
  955.                             </tr>
  956.                             <tr>
  957.                                 <td class="styletbLineT">
  958.                                      
  959.                                 </td>
  960.                             </tr>
  961.                         </table>
  962. <%--                        <asp:UpdatePanel ID="UpdatePanel5" runat="server" UpdateMode="Conditional">
  963.                             <ContentTemplate>--%>
  964.                                 <table id="Table3" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  965.                                     vertical-align: middle;">
  966.                                     <tr>
  967.                                         <td style="width: 10px">
  968.                                         </td>
  969.                                         <td>
  970.                                             <table cellpadding="0" cellspacing="0" style="width: 100%">
  971.                                                 <tr style="vertical-align: middle">
  972.                                                     <td width="300" style="vertical-align: middle">
  973.                                                         <asp:Label ID="Label10" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label10 %>"></asp:Label>
  974.                                                     </td>
  975.                                                     <td style="text-align: right; vertical-align: middle;">
  976.                                                         <asp:Label ID="Label16" runat="server" Text="<%$ Resources:Resource,PRBMC01Label16 %>"></asp:Label>
  977.                                                         <asp:Label ID="Label17" runat="server" Text="<%$ Resources:Resource,PRBMC01Label17 %>"></asp:Label>
  978.                                                          
  979.                                                     </td>
  980.                                                 </tr>
  981.                                             </table>
  982.                                             <table cellpadding="0" cellspacing="1" style="width: 100%">
  983.                                                 <tr style="vertical-align: middle">
  984.                                                     <td width="10">
  985.                                                         <asp:Label ID="lblW10" runat="server" Text=" " Width="10px"></asp:Label>
  986.                                                     </td>
  987.                                                     <td style="text-align: right; vertical-align: middle;" width="70">
  988.                                                         <asp:Label ID="Label13" runat="server" Text="<%$ Resources:Resource,PRBMC01Label13 %>"
  989.                                                             ForeColor="Red"></asp:Label>
  990.                                                         <asp:Label ID="lblW30" runat="server" Text=" " Width="5px"></asp:Label>
  991.                                                     </td>
  992.                                                     <td width="140" style="vertical-align: middle">
  993.                                                         <%-- <dx:ASPxDateEdit ID="CalFrom_1" runat="server" DisplayFormatString="dd/MM/yyyy" EditFormat="Custom"
  994.                                                             EditFormatString="dd/MM/yyyy" UseMaskBehavior="True" Width="120px">
  995.                                                             <ValidationSettings CausesValidation="True" Display="Dynamic" EnableCustomValidation="True"
  996.                                                                 ErrorText="dd/MM/yyyy" ErrorTextPosition="Bottom" SetFocusOnError="True">
  997.                                                                 <RequiredField ErrorText="dd/MM/yyyy" IsRequired="True" />
  998.                                                             </ValidationSettings>
  999.                                                         </dx:ASPxDateEdit>--%><table><tr valign="middle"><td><asp:TextBox ID="CalFrom_" 
  1000.                                                                 Width="100" runat="server" ReadOnly="true"></asp:TextBox></td><td><asp:ImageButton
  1001.                                                             ID="btnCalFrom" runat="server" ImageUrl="Images/Calendar_scheduleHS.png" />
  1002.                                                         <ACT:CalendarExtender ID="CalFrom_1_CalendarExtender" runat="server" 
  1003.                                                             Enabled="True" TargetControlID="CalFrom_" PopupButtonID="btnCalFrom"  FirstDayOfWeek="Sunday"
  1004.                                                             Format="dd/MM/yyyy" onclientdateselectionchanged="setDate">
  1005.                                                         </ACT:CalendarExtender></td></tr></table>
  1006.                                                     </td>
  1007.                                                     <td style="text-align: right; vertical-align: middle;" width="50">
  1008.                                                         <asp:Label ID="Label14" runat="server" Text="<%$ Resources:Resource,PRBMC01Label14 %>"
  1009.                                                             ForeColor="Red"></asp:Label>
  1010.                                                         <asp:Label ID="lblW31" runat="server" Text=" " Width="5px"></asp:Label>
  1011.                                                     </td>
  1012.                                                     <td width="140" style="vertical-align: middle">
  1013.                                                         <%--<dx:ASPxDateEdit ID="CalTo_1" runat="server" DisplayFormatString="dd/MM/yyyy" EditFormat="Custom"
  1014.                                                             EditFormatString="dd/MM/yyyy" UseMaskBehavior="True" Width="120px">
  1015.                                                             <ValidationSettings CausesValidation="True" Display="Dynamic" EnableCustomValidation="True"
  1016.                                                                 ErrorText="dd/MM/yyyy" ErrorTextPosition="Bottom" SetFocusOnError="True">
  1017.                                                                 <RequiredField ErrorText="dd/MM/yyyy" IsRequired="True" />
  1018.                                                             </ValidationSettings>
  1019.                                                         </dx:ASPxDateEdit>--%><table><tr valign="middle"><td><asp:TextBox ID="CalTo_" 
  1020.                                                                 Width="100" runat="server" ReadOnly="true"></asp:TextBox></td><td><asp:ImageButton
  1021.                                                             ID="btnCalTo" runat="server" ImageUrl="Images/Calendar_scheduleHS.png" />
  1022.                                                         <ACT:CalendarExtender ID="CalTo_1_CalendarExtender" runat="server" 
  1023.                                                             Enabled="True" TargetControlID="CalTo_" PopupButtonID="btnCalTo"   FirstDayOfWeek="Sunday"
  1024.                                                             Format="dd/MM/yyyy"  onclientdateselectionchanged="setDate">
  1025.                                                         </ACT:CalendarExtender></td></tr></table>
  1026.                                                     </td>
  1027.                                                     <td style="text-align: right; vertical-align: middle;">
  1028.                                                         <asp:Label ID="Label15" runat="server" Text="<%$ Resources:Resource,PRBMC01Label15 %>"></asp:Label>
  1029.                                                     </td>
  1030.                                                 </tr>
  1031.                                             </table>
  1032.                                         </td>
  1033.                                         <td style="width: 10px">
  1034.                                         </td>
  1035.                                     </tr>
  1036.                                 </table>
  1037.                                 <table id="Table8" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  1038.                                     vertical-align: middle; display : none;">
  1039.                                     <tr>
  1040.                                         <td style="width: 10px">
  1041.                                         </td>
  1042.                                         <td>
  1043.                                             <table cellpadding="0" cellspacing="0" style="width: 100%">
  1044.                                                 <tr style="vertical-align: middle">
  1045.                                                     <td width="300" style="vertical-align: middle">
  1046.                                                     </td>
  1047.                                                     <td style="text-align: right; vertical-align: middle;">
  1048.                                                     </td>
  1049.                                                 </tr>
  1050.                                             </table>
  1051.                                             <table cellpadding="0" cellspacing="1" style="width: 100%">
  1052.                                                 <tr style="vertical-align: middle">
  1053.                                                     <td width="10">
  1054.                                                     </td>
  1055.                                                     <td style="text-align: right; vertical-align: middle;" width="70">
  1056.                                                     </td>
  1057.                                                     <td width="140" style="vertical-align: middle"><table><tr valign="middle"><td><asp:TextBox ID="CalCurrentDate" 
  1058.                                                                 Width="100" runat="server" ReadOnly="true"></asp:TextBox></td><td><asp:ImageButton
  1059.                                                             ID="btnCalCurr" runat="server" ImageUrl="Images/Calendar_scheduleHS.png" />
  1060.                                                         <ACT:CalendarExtender ID="CalCurrentDate_CalendarExtender" runat="server" BehaviorID="CalCurrentDate1"
  1061.                                                             Enabled="True" TargetControlID="CalCurrentDate" PopupButtonID="btnCalCurr"  FirstDayOfWeek="Sunday"
  1062.                                                             Format="dd/MM/yyyy">
  1063.                                                         </ACT:CalendarExtender></td></tr></table>
  1064.                                                     </td>
  1065.                                                     <td style="text-align: right; vertical-align: middle;" width="50">
  1066.                                                     </td>
  1067.                                                     <td width="140" style="vertical-align: middle"><table><tr valign="middle"><td><asp:TextBox ID="CalMaxBeginDate" 
  1068.                                                                 Width="100" runat="server" ReadOnly="true"></asp:TextBox></td><td><asp:ImageButton
  1069.                                                             ID="btnCalMaxBegin" runat="server" ImageUrl="Images/Calendar_scheduleHS.png" />
  1070.                                                         <ACT:CalendarExtender ID="CalMaxBeginDate_CalendarExtender" runat="server" BehaviorID="CalMaxBeginDate1"
  1071.                                                             Enabled="True" TargetControlID="CalMaxBeginDate" PopupButtonID="btnCalMaxBegin"  FirstDayOfWeek="Sunday"
  1072.                                                             Format="dd/MM/yyyy">
  1073.                                                         </ACT:CalendarExtender></td></tr></table>
  1074.                                                     </td>
  1075.                                                     <td style="text-align: right; vertical-align: middle;">
  1076.                                                         <asp:Label ID="lblInvalidBeginDate" runat="server" Text="<%$ Resources:Resource,PRBMC01InvalidBeginDate %>" ></asp:Label>
  1077.                                                         <asp:Label ID="lblInvalidMaxBeginDate" runat="server" Text="<%$ Resources:Resource,PRBMC01InvalidMaxBeginDate %>" ></asp:Label>
  1078.                                                     </td>
  1079.                                                 </tr>
  1080.                                             </table>
  1081.                                         </td>
  1082.                                         <td style="width: 10px">
  1083.                                         </td>
  1084.                                     </tr>
  1085.                                 </table>
  1086.                           <%--  </ContentTemplate>
  1087.                             <Triggers>
  1088.                                 <asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
  1089.                                 <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
  1090.                             </Triggers>
  1091.                         </asp:UpdatePanel>--%>
  1092.                         <table id="Table12" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  1093.                             vertical-align: middle;">
  1094.                             <tr class="styletbFS">
  1095.                                 <td>
  1096.                                      
  1097.                                 </td>
  1098.                             </tr>
  1099.                             <tr>
  1100.                                 <td class="styletbLineT">
  1101.                                      
  1102.                                 </td>
  1103.                             </tr>
  1104.                         </table>
  1105.                         <table id="Table4" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  1106.                             vertical-align: middle;">
  1107.                             <tr>
  1108.                                 <td style="width: 10px">
  1109.                                 </td>
  1110.                                 <td>
  1111.                                     <table cellpadding="0" cellspacing="0" style="width: 100%">
  1112.                                         <tr>
  1113.                                             <td width="300">
  1114.                                                 <asp:Label ID="Label12" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label12 %>"></asp:Label>
  1115.                                             </td>
  1116.                                             <td style="text-align: right">
  1117.                                                  
  1118.                                             </td>
  1119.                                         </tr>
  1120.                                     </table>
  1121.                                     <table cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left; vertical-align: middle;">
  1122.                         <tr>
  1123.                             <td width="10">
  1124.                                  
  1125.                             </td>
  1126.                             <td style="text-align: right" width="210">
  1127.                                      <asp:Label ID="Label11" runat="server" Style="text-align: right" Text="<%$ Resources:Resource,PRBMC01Label60 %>"
  1128.                                                             ForeColor="Red"></asp:Label>
  1129.                                                         <asp:Label ID="Label19" runat="server" Text=" " Width="5px"></asp:Label>
  1130.                             </td>
  1131.                             <td width="500" colspan="3">
  1132.                                 <input type="text" id="txtCarCode" readonly="readonly" style="width:50px"/><input type="button" id="btnCarCode" value="..." onclick="return btnCarCode_onclick()" onclick="return btnCarCode_onclick()" /><span id="txtCarCodeText"></span>
  1133.                             </td>
  1134.                         </tr>
  1135.  
  1136.                                         <tr>
  1137.                                             <td width="10">
  1138.                                             </td>
  1139.                                             <td style="text-align: right">
  1140.                                                 <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Resource,PRBMC01Label62 %>"
  1141.                                                     ForeColor="Red"></asp:Label>
  1142.                                                 <asp:Label ID="Label4" runat="server" Text=" " Width="5px"></asp:Label>
  1143.                                             </td>
  1144.                                             <td witdh="170">
  1145.                                                 <select id="ddlCarBrand" onchange="return setCarBrand(this);">
  1146.                                                 </select>
  1147.                                             </td>
  1148.                                             <td style="text-align: right" width="150">
  1149.                                                 <asp:Label ID="Label8" runat="server" Text="<%$ Resources:Resource,PRBMC01Label63 %>"></asp:Label>
  1150.                                                 <asp:Label ID="Label9" runat="server" Text=" " Width="5px"></asp:Label>
  1151.                                             </td>
  1152.                                             <td>
  1153.                                                 <select id="ddlCarModel" style="width: 200px" onchange="return setCarModel(this);">
  1154.                                                 </select>
  1155.                                             </td>
  1156.                                         </tr>
  1157.  
  1158.                                                 <tr>
  1159.                                                     <td width="10">
  1160.                                                         <asp:Label ID="lblW14" runat="server" Text=" " Width="10px"></asp:Label>
  1161.                                                     </td>
  1162.                                                     <td style="text-align: right">
  1163.                                                         <asp:Label ID="Label64" runat="server" Text="<%$ Resources:Resource,PRBMC01Label64 %>"></asp:Label>
  1164.                                                         <asp:Label ID="lblW36" runat="server" Text=" " Width="5px"></asp:Label>
  1165.                                                     </td>
  1166.                                                     <td width="170">
  1167.                                                         <dx:ASPxTextBox ID="txtCarColor" runat="server" MaxLength="20" NullText="-Σ┴Φ├╨║╪-"
  1168.                                                             Width="60px">
  1169.                                                             <NullTextStyle BackColor="AliceBlue" ForeColor="Red">
  1170.                                                             </NullTextStyle>
  1171.                                                         </dx:ASPxTextBox>
  1172.                                                     </td>
  1173.                                                     <td style="text-align: right" width="105">
  1174.                                                         <asp:Label ID="Label65" runat="server" Text="<%$ Resources:Resource,PRBMC01Label65 %>"></asp:Label>
  1175.                                                         <asp:Label ID="lblW37" runat="server" Text=" " Width="5px"></asp:Label>
  1176.                                                     </td>
  1177.                                                     <td width="60">
  1178.                                                         <dx:ASPxTextBox ID="txtCarCC" runat="server" 
  1179.                                                             NullText="<%$ Resources:Resource,InputTypeNumberOnly %>" Width="60px" 
  1180.                                                             ClientInstanceName="txtCarCCJS" EnableClientSideAPI="True">
  1181.                                                             <ClientSideEvents  KeyDown="checkNumber" />
  1182.                                                             <NullTextStyle BackColor="AliceBlue" ForeColor="Red">
  1183.                                                             </NullTextStyle>
  1184.                                                         </dx:ASPxTextBox>
  1185.                                                     </td>
  1186.                                                     
  1187.                                                 </tr>
  1188.                                                 <tr>
  1189.                                                     <td width="10">
  1190.                                                          
  1191.                                                     </td>
  1192.                                                     <td style="text-align: right">
  1193.                                                         <asp:Label ID="Label66" runat="server" Text="<%$ Resources:Resource,PRBMC01Label66 %>"></asp:Label>
  1194.                                                         <asp:Label ID="lblW38" runat="server" Text=" " Width="5px"></asp:Label>
  1195.                                                     </td>
  1196.                                                     <td width="170">
  1197.                                                         <dx:ASPxTextBox ID="txtCarCapacity" runat="server" NullText="<%$ Resources:Resource,InputTypeNumberOnly %>" 
  1198.                                                             Width="60px" ClientInstanceName="txtCarCapacityJS" EnableClientSideAPI="True">
  1199.                                                             <ClientSideEvents  KeyDown="checkNumber" />
  1200.                                                             <NullTextStyle BackColor="AliceBlue" ForeColor="Red">
  1201.                                                             </NullTextStyle>
  1202.                                                         </dx:ASPxTextBox>
  1203.                                                     </td>
  1204.                                                     <td style="text-align: right" width="105">
  1205.                                                         <asp:Label ID="Label67" runat="server" Text="<%$ Resources:Resource,PRBMC01Label67 %>"></asp:Label>
  1206.                                                         <asp:Label ID="lblW39" runat="server" Text=" " Width="5px"></asp:Label>
  1207.                                                     </td>
  1208.                                                     <td width="60">
  1209.                                                     <table cellpadding="0px" border="0px" cellspacing="0px">
  1210.                                                     <tr>
  1211.                                                     <td><dx:ASPxTextBox ID="txtCarWeight" runat="server" NullText="<%$ Resources:Resource,InputTypeNumberOnly %>" 
  1212.                                                             Width="60px" ClientInstanceName="txtCarWeightJS" EnableClientSideAPI="True">
  1213.                                                             <ClientSideEvents  KeyDown="checkNumber" />
  1214.                                                             <NullTextStyle BackColor="AliceBlue" ForeColor="Red">
  1215.                                                             </NullTextStyle>
  1216.                                                         </dx:ASPxTextBox></td>
  1217.                                                     <td>  <asp:Literal Text="<%$ Resources:Resource,PRBMC01WeightUnit%>" runat="server" /></td>
  1218.                                                     </tr>
  1219.                                                     </table>
  1220.                                                         
  1221.                                                     </td>
  1222.                                                     
  1223.                                                 </tr>
  1224.  
  1225.                                                 <tr>
  1226.                                                     <td width="10">
  1227.                                                         <asp:Label ID="lblW15" runat="server" Text=" " Width="10px"></asp:Label>
  1228.                                                     </td>
  1229.                                                     <td style="text-align: right">
  1230.                                                         <asp:Label ID="Label68" runat="server" Text="<%$ Resources:Resource,PRBMC01Label68 %>"></asp:Label>
  1231.                                                         <asp:Label ID="lblW40" runat="server" Text=" " Width="5px"></asp:Label>
  1232.                                                     </td>
  1233.                                                     <td width="170">
  1234.                                                         <dx:ASPxTextBox ID="txtCarLicence" runat="server" MaxLength="10" NullText="<%$ Resources:Resource,InputRequire %>"
  1235.                                                             Width="155px">
  1236.                                                             <NullTextStyle BackColor="AliceBlue" ForeColor="Red">
  1237.                                                             </NullTextStyle>
  1238.                                                         </dx:ASPxTextBox>
  1239.                                                     </td>
  1240.                                                     <td style="text-align: right" width="105">
  1241.                                                         <asp:Label ID="Label69" runat="server" Text="<%$ Resources:Resource,PRBMC01Label58 %>"
  1242.                                                             ForeColor="Red"></asp:Label>
  1243.                                                         <asp:Label ID="lblW43" runat="server" Text=" " Width="5px"></asp:Label>
  1244.                                                     </td>
  1245.                                                     <td>
  1246.                                                         <select id="ddlCarProvince" onchange="return setProvince(this);">
  1247.                                                         </select>
  1248.                                                     </td>
  1249.                                                 </tr>
  1250.                                                 <tr>
  1251.                                                     <td width="10">
  1252.                                                          
  1253.                                                     </td>
  1254.                                                     <td style="text-align: right">
  1255.                                                         <asp:Label ID="Label70" runat="server" Text="<%$ Resources:Resource,PRBMC01Label70 %>"></asp:Label>
  1256.                                                         <asp:Label ID="lblW41" runat="server" Text=" " Width="5px"></asp:Label>
  1257.                                                     </td>
  1258.                                                     <td width="170">
  1259.                                                         <dx:ASPxTextBox ID="txtCarChassisNo" runat="server" MaxLength="20" NullText="<%$ Resources:Resource,InputRequire %>"
  1260.                                                             Width="155px" EnableClientSideAPI="True" ClientInstanceName="txtCarChassisNoJS">
  1261.                                                             <ClientSideEvents KeyDown="checkNumberAndText"  LostFocus="txtCarChassisNoLost" />
  1262.                                                             <NullTextStyle BackColor="AliceBlue" ForeColor="Red">
  1263.                                                             </NullTextStyle>
  1264.                                                         </dx:ASPxTextBox>
  1265.                                                     </td>
  1266.                                                     <td style="text-align: right" width="105">
  1267.                                                         <asp:Label ID="Label71" runat="server" Text="<%$ Resources:Resource,PRBMC01Label71 %>"></asp:Label>
  1268.                                                         <asp:Label ID="lblW44" runat="server" Text=" " Width="5px"></asp:Label>
  1269.                                                     </td>
  1270.                                                     <td>
  1271.                                                         <dx:ASPxTextBox ID="txtCarBodyType" ClientInstanceName="txtCarBodyTypeJS" runat="server" MaxLength="35" Width="150px">
  1272.                                                             <NullTextStyle BackColor="AliceBlue" ForeColor="Red">
  1273.                                                             </NullTextStyle>
  1274.                                                         </dx:ASPxTextBox>
  1275.                                                     </td>
  1276.                                                 </tr>
  1277.                                                 <tr>
  1278.                                                     <td width="10">
  1279.                                                          
  1280.                                                     </td>
  1281.                                                     <td style="text-align: right">
  1282.                                                         <asp:Label ID="Label72" runat="server" Text="<%$ Resources:Resource,PRBMC01Label72 %>"></asp:Label>
  1283.                                                         <asp:Label ID="lblW42" runat="server" Text=" " Width="5px"></asp:Label>
  1284.                                                     </td>
  1285.                                                     <td width="170">
  1286.                                                         <dx:ASPxTextBox ID="txtCarMotorNo" runat="server" MaxLength="35" Width="155px">
  1287.                                                             <NullTextStyle BackColor="AliceBlue" ForeColor="Red">
  1288.                                                             </NullTextStyle>
  1289.                                                         </dx:ASPxTextBox>
  1290.                                                     </td>
  1291.                                                     <td style="text-align: right" width="105">
  1292.                                                         <asp:Label ID="lblW45" runat="server" Text=" " Width="5px"></asp:Label>
  1293.                                                     </td>
  1294.                                                     <td>
  1295.                                                          
  1296.                                                     </td>
  1297.                                                 </tr>
  1298.                                             </table>
  1299.  
  1300.                                 </td>
  1301.                                 <td style="width: 10px">
  1302.                                 </td>
  1303.                             </tr>
  1304.                         </table>
  1305.                         <table id="Table11" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  1306.                             vertical-align: middle;">
  1307.                             <tr class="styletbFS">
  1308.                                 <td>
  1309.                                      
  1310.                                 </td>
  1311.                             </tr>
  1312.                             <tr>
  1313.                                 <td class="styletbLineT">
  1314.                                      
  1315.                                 </td>
  1316.                             </tr>
  1317.                         </table>
  1318.     <%--                    <asp:UpdatePanel ID="UpdatePanel7" runat="server" UpdateMode="Conditional">
  1319.                             <ContentTemplate>
  1320.     --%>                            <table id="Table7" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  1321.                                     vertical-align: middle;">
  1322.                                     <tr>
  1323.                                         <td style="width: 10px">
  1324.                                         </td>
  1325.                                         <td>
  1326.                                             <table cellpadding="0" cellspacing="0" style="width: 100%">
  1327.                                                 <tr>
  1328.                                                     <td width="300">
  1329.                                                         <asp:Label ID="Label92" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label92 %>"></asp:Label>
  1330.                                                     </td>
  1331.                                                     <td style="text-align: right">
  1332.                                                          
  1333.                                                     </td>
  1334.                                                 </tr>
  1335.                                             </table>
  1336.                                             <table cellpadding="0" cellspacing="1" style="width: 100%">
  1337.                                                 <tr style="vertical-align: middle">
  1338.                                                     <td width="10">
  1339.                                                         <asp:Label ID="lblW56" runat="server" Text=" " Width="10px"></asp:Label>
  1340.                                                     </td>
  1341.                                                     <td style="text-align: right; vertical-align: middle;" width="140">
  1342.                                                         <asp:Label ID="Label93" runat="server" Text="<%$ Resources:Resource,PRBMC01Label93 %>"
  1343.                                                             ForeColor="Red"></asp:Label>
  1344.                                                         <asp:Label ID="lblW57" runat="server" Text=" " Width="5px"></asp:Label>
  1345.                                                     </td>
  1346.                                                     <td width="120px" style="vertical-align: middle">
  1347.                                                         <%--<dx:ASPxDateEdit ID="calCalAgreementMadeOn_1" runat="server" DisplayFormatString="dd/MM/yyyy"
  1348.                                                             EditFormat="Custom" EditFormatString="dd/MM/yyyy" UseMaskBehavior="True" Width="120px">
  1349.                                                             <ValidationSettings CausesValidation="True" Display="Dynamic" EnableCustomValidation="True"
  1350.                                                                 ErrorText="dd/MM/yyyy" ErrorTextPosition="Bottom" SetFocusOnError="True">
  1351.                                                                 <RequiredField ErrorText="dd/MM/yyyy" IsRequired="True" />
  1352.                                                             </ValidationSettings>
  1353.                                                         </dx:ASPxDateEdit>--%><table><tr valign="middle"><td><asp:TextBox ID="calCalAgreementMadeOn_" ReadOnly="true" Width="100" runat="server"></asp:TextBox></td><td><asp:ImageButton
  1354.                                                             ID="btnCalCalAgreementMadeOn_" runat="server" ImageUrl="Images/Calendar_scheduleHS.png" />
  1355.                                                         <ACT:CalendarExtender ID="CalendarExtender1" runat="server" 
  1356.                                                             Enabled="True" TargetControlID="calCalAgreementMadeOn_" PopupButtonID="btnCalCalAgreementMadeOn_"   FirstDayOfWeek="Sunday"
  1357.                                                             Format="dd/MM/yyyy" onclientdateselectionchanged="setDate">
  1358.                                                         </ACT:CalendarExtender></td></tr></table>
  1359.                                                     </td>
  1360.                                                     <td style="text-align: right; vertical-align: middle;" width="128">
  1361.                                                         <asp:Label ID="Label94" runat="server" Text="<%$ Resources:Resource,PRBMC01Label94 %>"></asp:Label>
  1362.                                                         <asp:Label ID="lblW58" runat="server" Text=" " Width="5px"></asp:Label>
  1363.                                                     </td>
  1364.                                                     <td style="vertical-align: middle">
  1365.                                                         <%--<dx:ASPxDateEdit ID="CalCalPolicyIssuedOn_1" runat="server" DisplayFormatString="dd/MM/yyyy"
  1366.                                                             EditFormat="Custom" EditFormatString="dd/MM/yyyy" UseMaskBehavior="True" Width="120px">
  1367.                                                             <ValidationSettings CausesValidation="True" Display="Dynamic" EnableCustomValidation="True"
  1368.                                                                 ErrorText="dd/MM/yyyy" ErrorTextPosition="Bottom" SetFocusOnError="True">
  1369.                                                                 <RequiredField ErrorText="dd/MM/yyyy" IsRequired="True" />
  1370.                                                             </ValidationSettings>
  1371.                                                         </dx:ASPxDateEdit>--%><table><tr valign="middle"><td><asp:TextBox ID="CalCalPolicyIssuedOn_"  ReadOnly="true" Width="100" runat="server"></asp:TextBox></td><td><asp:ImageButton
  1372.                                                             ID="btnCalCalPolicyIssuedOn_" runat="server" ImageUrl="Images/Calendar_scheduleHS.png" />
  1373.                                                         <ACT:CalendarExtender ID="CalendarExtender2" runat="server" 
  1374.                                                             Enabled="True" TargetControlID="CalCalPolicyIssuedOn_" PopupButtonID="btnCalCalPolicyIssuedOn_"   FirstDayOfWeek="Sunday"
  1375.                                                             Format="dd/MM/yyyy" onclientdateselectionchanged="setDate">
  1376.                                                         </ACT:CalendarExtender></td></tr></table>
  1377.                                                     </td>
  1378.                                                 </tr>
  1379.                                             </table>
  1380.                                         </td>
  1381.                                         <td style="width: 10px">
  1382.                                         </td>
  1383.                                     </tr>
  1384.                                 </table>
  1385.         <%--                    </ContentTemplate>
  1386.                             <Triggers>
  1387.                                 <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
  1388.                                 <asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
  1389.                             </Triggers>
  1390.                         </asp:UpdatePanel>--%>
  1391.                         <table id="Table10" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  1392.                             vertical-align: middle;">
  1393.                             <tr class="styletbFS">
  1394.                                 <td>
  1395.                                      
  1396.                                 </td>
  1397.                             </tr>
  1398.                             <tr>
  1399.                                 <td class="styletbLineT">
  1400.                                      
  1401.                                 </td>
  1402.                             </tr>
  1403.                         </table>
  1404.                         <%--<asp:UpdatePanel ID="UpdatePanel8" runat="server" UpdateMode="Conditional">
  1405.                             <ContentTemplate>--%>
  1406.                                 <table id="Table5" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  1407.                                     vertical-align: middle;">
  1408.                                     <tr>
  1409.                                         <td style="width: 10px">
  1410.                                         </td>
  1411.                                         <td>
  1412.                                             <table cellpadding="0" cellspacing="0" style="width: 100%">
  1413.                                                 <tr>
  1414.                                                     <td width="140">
  1415.                                                         <asp:Label ID="Label74" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label74 %>"></asp:Label>
  1416.                                                          
  1417.                                                     </td>
  1418.                                                     <td style="text-align: left">
  1419.                                                     <%--    <asp:Button ID="btnCalPremium" runat="server" 
  1420.                                                             Text="<%$ Resources:Resource,PRBMC01btnCalPremium %>" 
  1421.                                                             onclientclick="btnRecallClientClick" UseSubmitBehavior="False" />
  1422.                                                          --%>
  1423.                                                         <input type="button" id="btnCalPremium" value="ñ╙╣╟│α║╒Θ┬" onclick="return btnRecallClientClick();"/>
  1424.                                                         <span id="spnCalComplete"></span>
  1425.                                                     </td>
  1426.                                                 </tr>
  1427.                                             </table>
  1428.                                             <table cellpadding="0" cellspacing="1" style="width: 100%">
  1429.                                                 <tr>
  1430.                                                     <td width="10">
  1431.                                                         <asp:Label ID="lblW60" runat="server" Text=" " Width="10px"></asp:Label>
  1432.                                                     </td>
  1433.                                                     <td style="text-align: right" width="130">
  1434.                                                         <asp:Label ID="lblW61" runat="server" Text=" " Width="5px"></asp:Label>
  1435.                                                         <asp:Label ID="Label95" runat="server" Text="<%$ Resources:Resource,PRBMC01Label95 %>"
  1436.                                                             ForeColor="Red"></asp:Label>
  1437.                                                         <asp:Label ID="lblW59" runat="server" Text=" " Width="5px"></asp:Label>
  1438.                                                     </td>
  1439.                                                     <td width="210">
  1440.                                                    <%--     <asp:RadioButtonList ID="radCalPremium1" runat="server" AutoPostBack="True" RepeatDirection="Horizontal"
  1441.                                                             Width="210px">
  1442.                                                             <asp:ListItem Selected="True" Value="A" Text="<%$ Resources:Resource,PRBMC01radCalPremiumA %>"> </asp:ListItem>
  1443.                                                             <asp:ListItem Value="F" Text="<%$ Resources:Resource,PRBMC01radCalPremiumF %>"></asp:ListItem>
  1444.                                                         </asp:RadioButtonList>--%>
  1445.                                                         <asp:RadioButton ID="radYear" runat="server" GroupName="radCalPremium" Text="<%$ Resources:Resource,PRBMC01radCalPremiumA %>" Checked="True" />
  1446.                                                         <asp:RadioButton ID="radDay"  runat="server" GroupName="radCalPremium" Text="<%$ Resources:Resource,PRBMC01radCalPremiumF %>" />
  1447.                                                     </td>
  1448.                                                     <td width="50">
  1449.                                                         <asp:TextBox ID="txtPremiumDay" runat="server" BackColor="#EAEAEA" 
  1450.                                                             Width="50px"></asp:TextBox>
  1451.                                                     </td>
  1452.                                                     <td>
  1453.                                                          
  1454.                                                     </td>
  1455.                                                 </tr>
  1456.                                             </table>
  1457.                                             <table cellpadding="0" cellspacing="1" style="width: 100%; text-align: left;">
  1458.                                                 <tr>
  1459.                                                     <td width="10">
  1460.                                                         <asp:Label ID="lblW46" runat="server" Text=" " Width="10px"></asp:Label>
  1461.                                                     </td>
  1462.                                                     <td style="text-align: right" width="130">
  1463.                                                         <asp:Label ID="Label18" runat="server" Text="<%$ Resources:Resource,PRBMC01Label18 %>"></asp:Label>
  1464.                                                         <asp:Label ID="lblW47" runat="server" Text=" " Width="5px"></asp:Label>
  1465.                                                     </td>
  1466.                                                     <td width="110">
  1467.                                                         <asp:TextBox ID="txtPremium" runat="server" BackColor="#EAEAEA" ReadOnly="True" Style="text-align: right"
  1468.                                                             Width="100px"></asp:TextBox>
  1469.                                                     </td>
  1470.                                                     <td width="40">
  1471.                                                         <asp:Label ID="Label81" runat="server" Text="<%$ Resources:Resource,PRBMC01Label81 %>"
  1472.                                                             Width="24px"></asp:Label>
  1473.                                                     </td>
  1474.                                                     <td>
  1475.                                                           
  1476.                                                     </td>
  1477.                                                 </tr>
  1478.                                                 <tr>
  1479.                                                     <td width="10">
  1480.                                                          
  1481.                                                     </td>
  1482.                                                     <td style="text-align: right" width="130">
  1483.                                                         <asp:Label ID="Label21" runat="server" Text="<%$ Resources:Resource,PRBMC01Label21 %>"></asp:Label>
  1484.                                                         <asp:Label ID="lblW51" runat="server" Text=" " Width="5px"></asp:Label>
  1485.                                                     </td>
  1486.                                                     <td width="110">
  1487.                                                         <asp:TextBox ID="txtPremiumTax" runat="server" BackColor="#EAEAEA" ReadOnly="True"
  1488.                                                             Style="text-align: right" Width="100px"></asp:TextBox>
  1489.                                                     </td>
  1490.                                                     <td width="35">
  1491.                                                         <asp:Label ID="Label83" runat="server" Text="<%$ Resources:Resource,PRBMC01Label81 %>"
  1492.                                                             Width="24px"></asp:Label>
  1493.                                                     </td>
  1494.                                                     <td>
  1495.                                                           
  1496.                                                     </td>
  1497.                                                 </tr>
  1498.                                                 <tr>
  1499.                                                     <td width="10">
  1500.                                                          
  1501.                                                     </td>
  1502.                                                     <td style="text-align: right" width="130">
  1503.                                                         <asp:Label ID="Label22" runat="server" Text="<%$ Resources:Resource,PRBMC01Label22 %>"></asp:Label>
  1504.                                                         <asp:Label ID="lblW53" runat="server" Text=" " Width="5px"></asp:Label>
  1505.                                                     </td>
  1506.                                                     <td width="110">
  1507.                                                         <asp:TextBox ID="txtPremiumVat" runat="server" BackColor="#EAEAEA" ReadOnly="True"
  1508.                                                             Style="text-align: right" Width="100px"></asp:TextBox>
  1509.                                                     </td>
  1510.                                                     <td width="35">
  1511.                                                         <asp:Label ID="Label84" runat="server" Text="<%$ Resources:Resource,PRBMC01Label81 %>"
  1512.                                                             Width="24px"></asp:Label>
  1513.                                                     </td>
  1514.                                                     <td>
  1515.                                                           
  1516.                                                     </td>
  1517.                                                 </tr>
  1518.                                                 <tr>
  1519.                                                     <td width="10">
  1520.                                                          
  1521.                                                     </td>
  1522.                                                     <td style="text-align: right" width="130">
  1523.                                                         <asp:Label ID="Label23" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label23 %>"
  1524.                                                             ForeColor="Red"></asp:Label>
  1525.                                                         <asp:Label ID="lblW54" runat="server" Text=" " Width="5px"></asp:Label>
  1526.                                                     </td>
  1527.                                                     <td width="110">
  1528.                                                         <asp:TextBox ID="txtPremiumTotal" runat="server" BackColor="#EAEAEA" ReadOnly="True"
  1529.                                                             Style="text-align: right" Width="100px"></asp:TextBox>
  1530.                                                     </td>
  1531.                                                     <td width="35">
  1532.                                                         <asp:Label ID="Label85" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label81 %>"
  1533.                                                             Width="24px" ForeColor="Red"></asp:Label>
  1534.                                                     </td>
  1535.                                                     <td>
  1536.                                                           
  1537.                                                     </td>
  1538.                                                 </tr>
  1539.                                             </table>
  1540.                                         </td>
  1541.                                         <td style="width: 10px">
  1542.                                         </td>
  1543.                                     </tr>
  1544.                                 </table>
  1545.                             <%--</ContentTemplate>
  1546.                             <Triggers>
  1547.                                 <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
  1548.                                 <asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
  1549.                             </Triggers>
  1550.                         </asp:UpdatePanel>--%>
  1551.                         <table id="Table9" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
  1552.                             vertical-align: middle;">
  1553.                             <tr class="styletbFS">
  1554.                                 <td>
  1555.                                      
  1556.                                 </td>
  1557.                             </tr>
  1558.                             
  1559.                             <tr>
  1560.                                 <td class="styletbLineT">
  1561.                                      
  1562.                                 </td>
  1563.                             </tr>
  1564.                         </table>
  1565.                         <asp:UpdatePanel ID="UpdatePanel9" runat="server" UpdateMode="Conditional">
  1566.                             <ContentTemplate>
  1567.                                 <table id="Table6" cellpadding="0" cellspacing="1" class="styletbBorder" style="text-align: left;
  1568.                                     vertical-align: middle;">
  1569.                                     <tr class="styletbFS">
  1570.                                         <td style="width: 10px">
  1571.                                              
  1572.                                         </td>
  1573.                                         <td style="text-align: center">
  1574.                                              
  1575.                                         </td>
  1576.                                         <td style="width: 10px">
  1577.                                              
  1578.                                         </td>
  1579.                                     </tr>
  1580.                                     <tr>
  1581.                                         <td style="width: 10px">
  1582.                                         </td>
  1583.                                         <td style="text-align: center">
  1584.                                             <asp:CheckBox ID="chkPrint" runat="server" 
  1585.                                                 Text="<% $Resources: Resource,PRB_MC01_NEWPrint %>" Checked="True" />
  1586.                                             
  1587.                                             <asp:Button ID="btnSave" runat="server" Text="<% $Resources: Resource,g_btnSave %>" />
  1588.                                              <dx:ASPxButton Visible="False" ID="btnClear" runat="server" Text="<%$ Resources:Resource,MC01btnClear %>"
  1589.                                                 Native="True">
  1590.                                                 <ClientSideEvents Click="function(s, e) {
  1591. ClearCtrl()
  1592. }" />
  1593.                                             </dx:ASPxButton>
  1594.                                             <input type="button" id="btnClear" value="┼Θ╥º╦╣Θ╥¿═" onclick="return clearScreen();"/>
  1595.                                         </td>
  1596.                                         <td style="width: 10px">
  1597.                                         </td>
  1598.                                     </tr>
  1599.                                     <tr class="styletbFS">
  1600.                                         <td colspan="3">
  1601.                                              
  1602.                                         </td>
  1603.                                     </tr>
  1604.                                     <tr>
  1605.                                         <td class="styletbLineT" colspan="3">
  1606.                                              
  1607.                                         </td>
  1608.                                     </tr>
  1609.                                 </table>
  1610.                             </ContentTemplate>
  1611.                         </asp:UpdatePanel>
  1612.                     </asp:Panel>
  1613.                 </div>
  1614.             </td>
  1615.         </tr>
  1616.         <tr>
  1617.             <td style="color: #FFFFFF">
  1618.                 security code:<asp:Label ID="lblSecurityCode" runat="server" />
  1619.             </td>
  1620.         </tr>
  1621.     </table>
  1622.     <%--<asp:UpdateProgress ID="udp04" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel4">
  1623.         <ProgressTemplate>
  1624.             <div style="top: 0px; height: 10000px; background-color: #FFFFFF; opacity: 0.40;
  1625.                 filter: alpha(opacity=40); vertical-align: middle; left: 0px; z-index: 999999;
  1626.                 width: 1500px; position: absolute; text-align: center;">
  1627.             </div>
  1628.             <div id="divUDP04" align="center" valign="middle" runat="server" style="padding: 5px;
  1629.                 border: 1px solid #999999; position: absolute; left: 50%; top: 50%; visibility: visible;
  1630.                 vertical-align: middle; background-color: #FFFFFF; z-index: 200;">
  1631.                 <asp:Image ID="imgUDP04" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
  1632.                 <asp:Label ID="lblUDP04" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
  1633.             </div>
  1634.         </ProgressTemplate>
  1635.     </asp:UpdateProgress> --%>
  1636.     <%--<asp:UpdateProgress ID="udp05" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel5">
  1637.         <ProgressTemplate>
  1638.             <div style="top: 0px; height: 10000px; background-color: #FFFFFF; opacity: 0.40;
  1639.                 filter: alpha(opacity=40); vertical-align: middle; left: 0px; z-index: 999999;
  1640.                 width: 1500px; position: absolute; text-align: center;">
  1641.             </div>
  1642.             <div id="divUDP05" align="center" valign="middle" runat="server" style="padding: 5px;
  1643.                 border: 1px solid #999999; position: absolute; left: 50%; top: 50%; visibility: visible;
  1644.                 vertical-align: middle; background-color: #FFFFFF; z-index: 200;">
  1645.                 <asp:Image ID="imgUDP05" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
  1646.                 <asp:Label ID="lblUDP05" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
  1647.             </div>
  1648.         </ProgressTemplate>
  1649.     </asp:UpdateProgress>
  1650.     <asp:UpdateProgress ID="udp06" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel6">
  1651.         <ProgressTemplate>
  1652.             <div style="top: 0px; height: 10000px; background-color: #FFFFFF; opacity: 0.40;
  1653.                 filter: alpha(opacity=40); vertical-align: middle; left: 0px; z-index: 999999;
  1654.                 width: 1500px; position: absolute; text-align: center;">
  1655.             </div>
  1656.             <div id="divUDP06" align="center" valign="middle" runat="server" style="padding: 5px;
  1657.                 border: 1px solid #999999; position: absolute; left: 50%; top: 50%; visibility: visible;
  1658.                 vertical-align: middle; background-color: #FFFFFF; z-index: 200;">
  1659.                 <asp:Image ID="imgUDP06" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
  1660.                 <asp:Label ID="lblUDP06" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
  1661.             </div>
  1662.         </ProgressTemplate>
  1663.     </asp:UpdateProgress>
  1664.     <asp:UpdateProgress ID="udp07" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel7">
  1665.         <ProgressTemplate>
  1666.             <div style="top: 0px; height: 10000px; background-color: #FFFFFF; opacity: 0.40;
  1667.                 filter: alpha(opacity=40); vertical-align: middle; left: 0px; z-index: 999999;
  1668.                 width: 1500px; position: absolute; text-align: center;">
  1669.             </div>
  1670.             <div id="divUDP07" align="center" valign="middle" runat="server" style="padding: 5px;
  1671.                 border: 1px solid #999999; position: absolute; left: 50%; top: 50%; visibility: visible;
  1672.                 vertical-align: middle; background-color: #FFFFFF; z-index: 200;">
  1673.                 <asp:Image ID="imgUDP07" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
  1674.                 <asp:Label ID="lblUDP07" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
  1675.             </div>
  1676.         </ProgressTemplate>
  1677.     </asp:UpdateProgress>
  1678.     <asp:UpdateProgress ID="udp08" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel8">
  1679.         <ProgressTemplate>
  1680.             <div style="top: 0px; height: 10000px; background-color: #FFFFFF; opacity: 0.40;
  1681.                 filter: alpha(opacity=40); vertical-align: middle; left: 0px; z-index: 999999;
  1682.                 width: 1500px; position: absolute; text-align: center;">
  1683.             </div>
  1684.             <div id="divUDP08" align="center" valign="middle" runat="server" style="padding: 5px;
  1685.                 border: 1px solid #999999; position: absolute; left: 50%; top: 50%; visibility: visible;
  1686.                 vertical-align: middle; background-color: #FFFFFF; z-index: 200;">
  1687.                 <asp:Image ID="imgUDP08" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
  1688.                 <asp:Label ID="lblUDP08" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
  1689.             </div>
  1690.         </ProgressTemplate>
  1691.     </asp:UpdateProgress>
  1692.     <asp:UpdateProgress ID="udp09" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel9">
  1693.         <ProgressTemplate>
  1694.             <div style="top: 0px; height: 10000px; background-color: #FFFFFF; opacity: 0.40;
  1695.                 filter: alpha(opacity=40); vertical-align: middle; left: 0px; z-index: 999999;
  1696.                 width: 1500px; position: absolute; text-align: center;">
  1697.             </div>
  1698.             <div id="divUDP09" align="center" valign="middle" runat="server" style="padding: 5px;
  1699.                 border: 1px solid #999999; position: absolute; left: 50%; top: 50%; visibility: visible;
  1700.                 vertical-align: middle; background-color: #FFFFFF; z-index: 200;">
  1701.                 <asp:Image ID="imgUDP09" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
  1702.                 <asp:Label ID="lblUDP09" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
  1703.             </div>
  1704.         </ProgressTemplate>
  1705.     </asp:UpdateProgress>--%>
  1706. </asp:Content>
  1707.