
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 11/14/2010 11:39:41 PM
// Copyright (c) 2005 Intersoft Solutions.
// Unauthorized decryption/reproduction of any codes contained herein is strictly prohibited and will result in severe civil and criminal penalties .
//**Start Encode**
var isNetPage_ClientValidateCalled =false;var isPopup_CloseAcrossFrameClick =false;__doPostBack =function(eventTarget,eventArgument,skipValidation){ var theform; if (window.navigator.appName.toLowerCase().indexOf("netscape")>-1) theform =document.forms["Form1"]; else theform =document.Form1; if (theform ==null) theform =document.forms["aspnetForm"]; if (theform ==null) theform =document.forms[0];  if (IS.IsObjExists("ValidatorCommonOnSubmit")&&!skipValidation) { if (IS.IsObjExists("WebForm_PostBackOptions")==false) { if (Page_BlockSubmit) Page_BlockSubmit =false; } if (theform.onsubmit ==null) { if (theform.fireEvent("onsubmit")==false) { return; } } else { if (theform.onsubmit()==false) return; } } var ctrlOnPostBack =null; for (var i =0; i <IS.RuntimeObjects.length; i++) { ctrl =IS.RuntimeObjects[i]; if (ctrl !=null) { ctrl.PreparePostBackData(1); if (typeof (ctrl.OnPostBack)=="function") { if (ctrl.Owner !=null &&ctrl.Owner.GetType()=="WebNotification") continue; else { ctrlOnPostBack =ctrl; break; } } } } if (ctrlOnPostBack !=null) { var result =ctrlOnPostBack.OnPostBack(theform,eventTarget,eventArgument); if (result ==false) return; } if (typeof (theform.OnValidateSuccess)=="function") theform.OnValidateSuccess(); theform.__EVENTTARGET.value =eventTarget.split("$").join(":"); theform.__EVENTARGUMENT.value =eventArgument; theform.submit();};function IsValidationGroupMatch(vd4e52,vacf76){ if ((typeof (vacf76)=="undefined")||(vacf76 ==null)) { return true; } var vc2c52 =""; if (typeof (vd4e52.validationGroup)=="string") { vc2c52 =vd4e52.validationGroup; } return (vc2c52 ==vacf76);}function OverrideSubmitScripts(){ if (IS.IsObjExists("ValidatorCommonOnSubmit")) { ValidatorCommonOnSubmit =function() { var v33180 =!Page_BlockSubmit; if (event) event.returnValue =v33180; Page_BlockSubmit =false; return v33180; } } Page_ClientValidate =function(vde695,v62090) { return ISNetPage_ClientValidate(vde695,v62090); }; ValidatorGetValue =function(v5b011) { var v7c937 =ISGetObject(v5b011); if (v7c937 !=null) { if (typeof (v7c937.GetValidatorValue)=="function") return v7c937.GetValidatorValue(); else { if (v7c937.ClassName =="WebInput") return v7c937.GetValueData(); } } v7c937 =document.all[v5b011]; if (typeof (v7c937.value)=="string") { return v7c937.value; } if (typeof (v7c937.tagName)=="undefined" &&typeof (v7c937.length)=="number") { var v8449; for (v8449 =0; v8449 <v7c937.length; v8449++) { var v15579 =v7c937[v8449]; if (typeof (v15579.value)=="string" &&(v15579.type !="radio" ||v15579.status ==true)) { return v15579.value; } } } else { return ValidatorGetValueRecursive(v7c937); } return ""; }; if (IS.IsObjExists("ValidatorOnLoad")) { ValidatorOnSubmit =function() { var v33180 =true; if (Page_ValidationActive) { var v32488 =window.event; var v5ec51 =false; var vf0a24 =isNetPage_ClientValidateCalled; if (v32488 !=null) { var v5bc32 =v32488.srcElement.onclick; if (v5bc32 !=null) { if (v5bc32.toString().indexOf("Page_ClientValidate")>-1 ||v5bc32.toString().indexOf("WebForm_DoPostBackWithOptions")>-1 ||v5bc32._listeners !=null) v5ec51 =true; } } if (Page_BlockSubmit &&!Page_IsValid) { if (isNetPage_ClientValidateCalled ||v5ec51) { if (v5ec51 &&isNetPage_ClientValidateCalled) v5ec51 =false; isNetPage_ClientValidateCalled =false; } } if (vf0a24 ==false &&v5ec51) ISNetPage_ClientValidate(); v33180 =ValidatorCommonOnSubmit(); if (v32488) { var v7a149 =v32488.srcElement; if (v7a149 !=null) { if (v7a149.type !=null) { if (v7a149.type.toLowerCase()=="form") Page_BlockSubmit =false; } } } } if (v33180 ==true) { var vd8630; var v24053; for (v24053 in IS.RuntimeObjects) { vd8630 =IS.RuntimeObjects[v24053]; if (vd8630.HtmlObj !=null) { vd8630.PreparePostBackData(2); } } } return v33180; }; if (IS.moz) ValidatorOnLoad(); }}function ISCoreOnLoad(){ if (typeof (ISWindowDestroyed)!="undefined") return; OverrideSubmitScripts(); IS.EnsurePureArray(); var v36275 =IS.RuntimeWindowPopups; for (var vc4481 =0; vc4481 <v36275.length; vc4481++) v36275[vc4481].Init(); var v05819; for (vc4481 in IS.RuntimeObjects) { v05819 =IS.RuntimeObjects[vc4481]; if (typeof (v05819.OnPostInitialized)=="function") { if (!v05819.IsOnPostInitialized) { v05819.OnPostInitialized(); v05819.IsOnPostInitialized =true; } } } var v03c46 =document.forms; document.body.attachEvent("onmousedown",doHideWindowPopups); window.attachEvent("onresize",doHideWindowPopups); if (IS.moz) { document.body.attachEvent("onkeydown",doHideWindowPopupsOnKeyDown); window.attachEvent("onkeydown",doHideWindowPopupsOnKeyDown); } if (IS.opera) { document.body.attachEvent("onmousedown",ISCoreContextMenuHandler); document.body.attachEvent("onmouseup",ISCoreContextMenuHandler); document.body.attachEvent("onmousemove",ISCoreContextMenuHandler); }}function ISGetObject(v8c420){ if (!v8c420) return null; var vce756 =IS.GetRuntimeObjectById(v8c420); if (vce756) return vce756; else { return IS.GetRuntimeObjectByIdWildCard(v8c420); }}function ISDestroyObject(v12e36){ if (v12e36 ==null) return; var v1a520; for (v1a520 in IS.RuntimeObjects) { if (IS.RuntimeObjects[v1a520].Id ==v12e36) { delete IS.RuntimeObjects[v1a520]; } } IS.ActiveCtrl =null;}function ISRemoveObject(v1b80){ for (i in IS.RuntimeObjects) { var v57036 =IS.RuntimeObjects[i]; if (v57036 !=null &&typeof (v57036)=="object" &&v57036.Id ==v1b80) { IS.RuntimeObjects.splice(i,1); break; } } IS.ActiveCtrl =null;}function ISControl_InitializeAtlas(v68164){ var v1db0 =ISGetObject(v68164); if (v1db0 !=null) return; IS.OnAJAXInitialization =true; eval(v68164 +"_InitializeAtlas();"); IS.OnAJAXInitialization =false;}function ISControl_Dispose(v21264){ var v15164 =ISGetObject(v21264); if (v15164 !=null &&typeof (v15164.OnUnload)=="function") v15164.OnUnload(true); ISDestroyObject(v21264); ISRemoveObject(v21264);}function ISControl_ReplaceElements(v5dd14){ var vdaf64 =IS.GetTempIFrame(); var vbd422 =vdaf64.contentWindow.document; var v0ee49 =null; var vd8240 =null; v0ee49 =vbd422.body; v0ee49.innerHTML =v5dd14; for (var v74d5 =0; v74d5 <v0ee49.childNodes.length; v74d5++) { var v64f33 =v0ee49.childNodes[v74d5]; var vf0843 =false; if (!v64f33.id &&v64f33.childNodes.length >0) {  v64f33 =v64f33.childNodes[0]; if (v64f33.id) vf0843 =true; } if (v64f33.id) { var va0124 =document.getElementById(v64f33.id); if (va0124 !=null &&vf0843) { va0124 =va0124.parentNode; v64f33 =v64f33.parentNode; } if (va0124 !=null) { var v02f57 =v64f33.outerHTML; if (IS.moz) v02f57 =ISMoz.GetOuterHTML(v64f33); if (va0124.tagName.toLowerCase()=="xml" &&v02f57.indexOf("<xml")>-1) { var v43697 =v02f57.indexOf("_x>"); if (v43697 <0) v43697 =v02f57.indexOf("_x\">")+1; if (v43697 <0) v43697 =v02f57.indexOf("_x'>")+1; if (v02f57.substring(v43697 +7,v43697 +14)=="[CDATA[") { v02f57 =v02f57.substr(v43697 +3); v02f57 =v02f57.substr(0,v02f57.length -6); va0124.innerHTML =v02f57; } } else { Listener.Unload(va0124); IS.SetOuterHTML(va0124,v02f57); }  vd8240 =va0124; v64f33 =null; va0124 =null; } else { if (!vf0843 &&vd8240 !=null &&vd8240.id) { vd8240 =document.getElementById(vd8240.id);  if (vd8240 !=null) { try { vd8240 =vd8240.insertAdjacentElement("afterEnd",v64f33); } catch (e) { vd8240 =vd8240.insertAdjacentHTML("afterEnd",v64f33.outerHTML); } v64f33 =null; va0124 =null; } } } } } if (IS.ie) { vbd422.open("text/plain","replace"); vbd422.write(""); vbd422.close(); } else { v0ee49.innerHTML =""; }}function doHideWindowPopupsOnKeyDown(){ var v29b14 =window.event; if (v29b14.keyCode ==ISKeyboardKey.ESC) doHideWindowPopups();}function doHideWindowPopups(){ var v93d95 =null; var v0aa36 =IS.RuntimeWindowPopups; if (event !=null) v93d95 =event.srcElement; if (v93d95 &&(v93d95.isContextMenu ||v93d95.cancelBubble)) return false; for (var ve4778 =0; ve4778 <v0aa36.length; ve4778++) { var v25c48 =v0aa36[ve4778]; if (v25c48._e !=null) { if (!v25c48._e.contains(v93d95)&&!v25c48._e.keepVisible &&!v25c48.IsJustShown &&v25c48._e.style.visibility !="hidden") { var v05662 =true; if (v25c48.OnClosed !=null) v05662 =ISEvent.Raise(v25c48.OnClosed,v25c48); if (v05662) v25c48.hide(); } } } if (isPopup_CloseAcrossFrameClick &&event &&(event.button ==ISEvent.LEFT ||event.button ==ISEvent.RIGHT)) { var vc5891 =IS.GetTopOpenPopups(); if (vc5891.length >0) { for (var ve4778 =0; ve4778 <vc5891.length; ve4778++) { var v25c48 =vc5891[ve4778]; var v83a44 =window.top; if (v25c48[0] !="") v83a44 =v83a44.frames[v25c48[0]]; if (v83a44 ==null ||typeof (v83a44)=="undefined" ||!v83a44) v83a44 =IS.FindFrameRecursive(window.top,v25c48[0],v25c48[2]); if (v83a44 !=null &&typeof (v83a44)!="undefined") { var v93d95 =v83a44.document.getElementById(v25c48[1]); if (IS.moz &&v93d95 ==document.getElementById(v25c48[1])) continue; if (v93d95 !=null) { v93d95.style.visibility ="hidden"; v25c48[3].isOpen =false; } } vc5891[ve4778] =null; } delete vc5891; window.top.IS_OpenPopups =new Array(); } }}function doControlSubmit(){ if (IS.IsObjExists("ValidatorOnSubmit")) return true; var v3a565 =true; var vd7768 =IS.IsObjExists("Page_IsValid"); if (vd7768) v3a565 =Page_IsValid; var vdbb40 =""; var v51e80; var v78219; var vf1767 =false; if (window.event !=null) { vf1767 =true;  if (window.event.srcElement !=null) vdbb40 =window.event.srcElement.id; if (vdbb40 =="") vf1767 =false; } for (v78219 in IS.RuntimeObjects) { v51e80 =IS.RuntimeObjects[v78219]; if (v51e80 !=null &&v51e80.HtmlObj !=null &&((v51e80.HtmlObj.form ==null ||v51e80.HtmlObj.form.id ==vdbb40)||!vf1767)) v51e80.PreparePostBackData(3); } return true;}function ISNetPage_ClientValidate(v09579,v00321){ OverrideSubmitScripts(); var v2ab90; var v52479; Page_InvalidControlToBeFocused =null; if (!IS.IsObjExists("Page_Validators")) return true; isNetPage_ClientValidateCalled =true; Page_IsValid =true; var vf4e88 =false; var v37c16; var vdac97; for (v2ab90 =0; v2ab90 <Page_Validators.length; v2ab90++) { v52479 =Page_Validators[v2ab90]; if (IS.GetRuntimeObjectById(v52479.controltovalidate)!=null) { v52479.isvalid =true; if (v52479.enabled !=false) { if (IS.IsObjExists("IsValidationGroupMatch")) { vf4e88 =IsValidationGroupMatch(v52479,v09579); if (!vf4e88) { ValidatorUpdateDisplay(v52479); if (!v52479.isvalid) { Page_IsValid =false; } continue; } } if (vf4e88 ==true) { if (typeof (v52479.controltovalidate)=="string" &&v52479.controltovalidate !="") { v37c16 =ISGetObject(v52479.controltovalidate); if (v37c16 !=null &&v37c16.ClassName =="WebInput") v37c16.Validator =v52479; } if (typeof (v52479.controltocompare)=="string" &&v52479.controltocompare !="") { vdac97 =ISGetObject(v52479.controltocompare); if (vdac97 !=null &&vdac97.ClassName =="WebInput") vdac97.Validator =v52479; } if (typeof (v52479.evaluationfunction)=="function") { v52479.isvalid =v52479.evaluationfunction(v52479,true); } else { if (typeof (v52479.evaluationfunction)=="string") v52479.isvalid =eval(v52479.evaluationfunction +"(v52479, true);"); if (IS.IsObjExists("ValidatorSetFocus")) { if (!v52479.isvalid &&Page_InvalidControlToBeFocused ==null &&typeof (v52479.focusOnError)=="string" &&v52479.focusOnError =="t") ValidatorSetFocus(v52479,null); } } } vf4e88 =false; } ValidatorUpdateDisplay(v52479); if (!v52479.isvalid) { Page_IsValid =false; } } else { if (v00321 ==true) { var va1251 =v52479.getAttribute("validationGroup"); if (va1251 ==v09579) ValidatorValidate(v52479,v09579,null); } else ValidatorValidate(v52479,v09579,null); if (!v52479.isvalid) { Page_IsValid =false; } } } ValidationSummaryOnSubmit(v09579); Page_BlockSubmit =!Page_IsValid; return Page_IsValid;}var IS = { FrameworkVersion: "3.0.5000.40", FrameworkBuild: "40", FrameSuffix: "_f", FrameHeaderSuffix: "_fh", InnerFrameSuffix: "_if", XmlSuffix: "_x", CSSSuffix: "_css", CultureInfoPrefix: "ISCIXml_", PopupPrefix: "ISPopup_", HiddenDataSuffix: "_h", DropDownSuffix: "_dd", MaskValidatorSuffix: "_mv", FormatValidatorSuffix: "_fv", TempSuffix: "_temp", TempIFrameID: "TempIFrameID", RuntimeObjects: new Array(), RuntimeWindowPopups: new Array(), ShortcutKeys: new Array(), LastAction: "", ActiveControlId: "", ActiveCtrl: null, DebugWnd: null, TempIFrame: null, ValidationEngine: null, ie: null, moz: null, mozEventType: null, UnloadVariables: new Array(), StyleCache: new Array(), RegisterUnloadVariables: function(v94527) { if (typeof (IS)=="object" &&IS.UnloadVariables !=null) IS.UnloadVariables[IS.UnloadVariables.length] =v94527; }, Trace: function(ve3f27) { if (!IS.DebugWnd) IS.DebugWnd =window.open('','_search','height=' +window.screen.availHeight +', top=0, left=0, width=300, scrollbars=yes'); IS.DebugWnd.document.writeln(ve3f27 +"<br>"); }, GetValidationEngine: function() { if (IS.ValidationObject ==null) { if (typeof (ISBuiltInValidation)=="function") { IS.ValidationObject =new ISBuiltInValidation(); } } return IS.ValidationObject; }, GetCommonDateFormat: function(v69791,v36f39,vfbf94) { var vec927 =""; var vb339 =""; vb339 =v36f39.toString(); if (vb339.length ==1) vb339 ="0" +vb339; vec927 =vb339; vb339 =v69791.toString(); if (vb339.length ==1) vb339 ="0" +vb339; vec927 +="/" +vb339; vb339 =vfbf94.toString(); if (vb339.length ==1) vb339 ="0" +vb339; if (vb339.length ==2) vb339 ="19" +vb339; vec927 +="/" +vb339; return vec927; }, GetFullCommonDateTimeFormat: function(v31035) { var vff97 =""; if (v31035 !=null) { vff97 =(v31035.getMonth()+1).toString()+"/" +v31035.getDate()+"/"; var v9d199 =v31035.getFullYear().toString(); if (v9d199.length ==1) v9d199 ="000" +v9d199; if (v9d199.length ==2) v9d199 ="00" +v9d199; if (v9d199.length ==3) v9d199 ="0" +v9d199; vff97 +=v9d199 +" " +(v31035.getHours().toString().length ==1 ? "0" : "")+v31035.getHours()+":" +(v31035.getMinutes().toString().length ==1 ? "0" : "")+v31035.getMinutes()+":" +(v31035.getSeconds().toString().length ==1 ? "0" : "")+v31035.getSeconds(); } return vff97; }, GetTempIFrame: function() { if (IS.TempIFrame ==null) { IS.TempIFrame =document.getElementById(IS.TempIFrameID); if (!IS.moz &&!IS.safari) { var vd4d52 =IS.TempIFrame.contentWindow.document; var vc0020 =vd4d52.createElement("BODY"); vd4d52.appendChild(vc0020); } } else IS.TempIFrame.contentWindow.document.body.innerHTML =""; return IS.TempIFrame; }, CreateTempIFrame: function() { var va2516 =document.createElement("IFRAME"); va2516.id =IS.TempIFrameID; va2516.style.cssText ="WIDTH:1px;HEIGHT:1px;POSITION:absolute;LEFT:-500px;TOP:-500px;TABINDEX:-1;"; document.body.appendChild(va2516); return va2516; }, GetRuntimeObjectById: function(v54196) { if (v54196 ==null ||v54196 =="") return null; var o,id1; if (typeof (v54196)!="string") id1 =v54196.Id; else id1 =v54196; if (IS.ActiveCtrl !=null) { if (IS.ActiveCtrl.Id ==id1) return IS.ActiveCtrl; } var vc2232; for (vc2232 in IS.RuntimeObjects) { var vd2b11 =IS.RuntimeObjects[vc2232]; if (vd2b11 !=null &&typeof (vd2b11)=="object" &&vd2b11.Id ==id1) { o =vd2b11; break; } } if (o !=null) { if (typeof (o.OnPostInitialized)=="function") { if (!o.IsOnPostInitialized) { o.OnPostInitialized(); o.IsOnPostInitialized =true; } } } IS.ActiveCtrl =o; return o; }, GetRuntimeObjectByIdWildCard: function(vc3641) { var o,id1; if (typeof (vc3641)!="string") id1 =vc3641.Id; else id1 =vc3641; var v32460; var v34172; for (v34172 in IS.RuntimeObjects) { var vf1457 =IS.RuntimeObjects[v34172]; if (vf1457 ==null) continue; if (vf1457.HtmlObj) v32460 =vf1457.HtmlObj.id; else v32460 =vf1457.Id; if (v32460 !=null &&v32460.indexOf(id1)>-1 &&(v32460.indexOf(id1)+id1.length ==v32460.length)) { o =vf1457; break; } } return o; }, IsAvailableRuntimeObjectById: function(v4445) { var va4a41 =IS.GetRuntimeObjectById(v4445); return va4a41 !=null ? true : false; }, IsObjExists: function(v6185) { var vfc85; try { eval(v6185); vfc85 =true; } catch (e) { vfc85 =false; } return vfc85; }, GetObj: function(v68321) { var v3fa21 =null; try { v3fa21 =eval(v68321); } catch (e) { } return v3fa21; }, GetRuntimeStyleSheet: function(v05385) { var v8f421 =document; if (v05385) v8f421 =v05385; for (var v52b52 =0; v52b52 <v8f421.styleSheets.length; v52b52++) { var v3fc23 =v8f421.styleSheets[v52b52]; if (v3fc23.name =="ISRuntimeStyle" ||v3fc23.id =="ISRuntimeStyle") return v3fc23; } if (!IS.ie) { var v3bc19 =v8f421.getElementsByTagName("STYLE"); for (var v52b52 =0; v52b52 <v3bc19.length; v52b52++) { var v3fc23 =v3bc19[v52b52]; if (v3fc23.name =="ISRuntimeStyle" ||v3fc23.id =="ISRuntimeStyle") return v3fc23; } } return null; }, GetRuntimeStyleSheetExact: function() { s =IS.GetRuntimeStyleSheet(document); if (!s) s =IS.CreateRuntimeStyleSheet(document); return s; }, CreateRuntimeStyleSheet: function(vde530) { var vf682 =document; if (vde530) vf682 =vde530; var v95d43 =vf682.createStyleSheet(); v95d43.name ="ISRuntimeStyle"; if (!IS.ie) v95d43.id =v95d43.name; if (!IS.ie) { var v38856 =document.getElementsByTagName("HEAD")[0]; v38856.appendChild(v95d43); } return v95d43; }, AddRuntimeCssStyle: function(vf9846,v88064) { var v8bc30 =IS.GetCssObject(null,vf9846); if (!v8bc30) { var v8534 =IS.GetRuntimeStyleSheetExact(); if (vf9846.substring(0,1)!="." &&vf9846.substring(0,1)!="#") vf9846 ="." +vf9846; if (IS.ie ||IS.safari) v8534.addRule(vf9846,v88064); else v8534.innerHTML +=vf9846 +" { " +v88064 +" }\n"; } }, AddCssStyles: function(vad044) { if (vad044 ==null ||vad044 =="") return; var vc4675 =vad044.split("}"); var v99b25 =null; try { v99b25 =document.createStyleSheet(); } catch (e) { return; } if (IS.ie) { for (var vd4a34 =0; vd4a34 <vc4675.length; vd4a34++) { var va7771 =vc4675[vd4a34] +"}"; if (va7771.indexOf("{")>-1) { var vceb88 =va7771.indexOf(".")>-1; var v76b10 =va7771.indexOf(".")+1; var v06c11 =va7771.indexOf("{"); var v54545 =va7771.indexOf("}"); var v7da17 =va7771.substring(v76b10,v06c11); var v29399 =va7771.substring(v06c11 +1,v54545); var vc3f26 =v29399.split(';'); for (var v8e123 =0; v8e123 <vc3f26.length; v8e123++) { if (vc3f26[v8e123] !="" &&vc3f26[v8e123] !=null) vc3f26[v8e123] +="!important"; } v29399 =vc3f26.join(';');  var v9da90 =v7da17.split(',');  for (var v8e123=0;v8e123<v9da90.length;v8e123++) { if (v9da90[v8e123] !="" &&v9da90[v8e123] !=null) v99b25.addRule((vceb88 ? "." : "")+v9da90[v8e123],v29399); } } } } else { var vdbb25 =document.getElementsByTagName("HEAD")[0]; v99b25 =document.createElement("style"); v99b25.innerText =vad044; vdbb25.appendChild(v99b25); } }, AddStyleRule: function(v64925,v76947,v73130) { if (v64925 &&v73130 &&v73130 !="") { if (v73130.charAt(0)!=".") v73130 ="." +v73130; var v09b61 =IS.GetCssText(v76947,v73130); if (v09b61) v64925.addRule(v73130,v09b61) } }, GetStyleText: function(vd9a5,vd7c38,v8fc63) { if (vd7c38 ==null ||vd7c38 =="") return; if (vd7c38.charAt(0)!=".") vd7c38 ="." +vd7c38; var vea95 =vd7c38 +"{" +IS.GetCssText(vd9a5,vd7c38,v8fc63)+"} \n"; return vea95; }, GetCssText: function(v01686,v03b28,v79497) { var v3f569 =IS.GetCssObject(v01686,v03b28,null,v79497); if (v3f569) return v3f569.cssText; else return null; }, GetCssObject: function(v2bb11,v20540,ve4644,v99153) { if (v20540 ==null ||v20540 =="") return "";  var t,s; var v1eb86 =true; var v44528 =null; var v56297 =null; if (v20540.charAt(0)!=".") v20540 ="." +v20540; if (v20540.indexOf(" ")>-1) v20540 =v20540.substring(0,v20540.indexOf(" ")); if (v20540.indexOf("-")>-1 &&v20540.indexOf(v2bb11)>-1) { s =document.getElementById(v2bb11 +IS.CSSSuffix); try { if (s.styleSheet.rules.length >0) rule0 =s.styleSheet.rules[0]; } catch (e) { v1eb86 =false; } if (s &&v1eb86) { for (var vaf318 =0; vaf318 <s.styleSheet.rules.length; vaf318++) { with (s.styleSheet.rules[vaf318]) { if (v20540 ==selectorText) { if (ve4644) t =s.styleSheet.rules[vaf318]; else t =style; break; } } } } } if (v99153 !=false) { for (var vaf318 =0; vaf318 <IS.StyleCache.length; vaf318++) { var v8b659 =IS.StyleCache[vaf318]; if (v8b659[0] ==v20540) { if (ve4644) return v8b659[2]; else return v8b659[1]; } } } if (!t) { for (var v6a744 =0; v6a744 <document.styleSheets.length; v6a744++) { s =document.styleSheets[v6a744]; var v9c18 =null; if (IS.opera ||IS.safari ||IsGecko30()) v9c18 =s.cssRules; else { try { v9c18 =s.rules; } catch (e) { continue; } } try { var ve9820 =v9c18.length; } catch (e) { continue; } for (var vaf318 =0; vaf318 <v9c18.length; vaf318++) { with (v9c18[vaf318]) { if (typeof (selectorText)=="string" && (v20540.toLowerCase()==selectorText.toLowerCase()|| (IS.opera &&v20540.toLowerCase()==OperaEngine.Escape(selectorText).toLowerCase())) ) { if (ve4644) t =v9c18[vaf318]; else t =style; v44528 =style; v56297 =v9c18[vaf318]; break; } } } if (t) break; } } if (v99153 !=false) { if (v44528 !=null) IS.StyleCache.push([v20540,v44528,v56297]); } return t; }, CheckRequiredFrameworkVersion: function(va6320) { var vf1c55 =IS.FrameworkVersion.replace(/[.]/g,""); var v36c61 =va6320.replace(/[.]/g,""); return parseInt(vf1c55)>=parseInt(v36c61); }, CheckXmlCompression: function(vb5684) { if (vb5684) { if (vb5684.firstChild.nodeName =="CompressedXml") { var v79220 =new XmlCompressor(); var v75891 =v79220.Decompress(vb5684); if (v75891) { var v14c41 =ISXml.CreateXmlDocument(); v14c41.loadXML(v75891.childNodes[0].childNodes[0].childNodes[0].xml); v75891 =null; return v14c41; } } } return null; }, CompressXmlState: function(v38b81) { var v14a0 =ISXml.CreateXmlDocument(); v14a0.loadXML(v38b81); var v33481 =new XmlCompressor(v14a0); var v5d774 =v33481.Compress(v14a0); var v24947 =v5d774.xml; v5d774 =null; v14a0 =null; delete v5d774; delete v14a0; return v24947; }, SetPropertiesRecursive: function(v93253,vf5154,vdfa85) { if (!vdfa85) IS.SetProperties(v93253,vf5154); var va8681 =0; for (va8681 =0; va8681 <vf5154.childNodes.length; va8681++) { var v2bc72 =vf5154.childNodes[va8681]; var v5b37 =v93253[v2bc72.nodeName]; if (v5b37 ==null) { try { cObjFn =eval(v2bc72.nodeName); v5b37 =new cObjFn(); } catch (e) { } } if (v5b37 !=null) { if (v5b37.constructor ==Array) { v5b37.XmlNode =v2bc72; v5b37.Parent =v93253; for (var v82585 =0; v82585 <v2bc72.childNodes.length; v82585++) { var v78c80 =v2bc72.childNodes[v82585]; var v0c119 =eval(v78c80.nodeName); var vd3d48 =new v0c119(); IS.SetProperties(vd3d48,v78c80,v93253); if (v78c80.childNodes.length >0) { IS.SetPropertiesRecursive(vd3d48,v78c80,true); } v5b37[v5b37.length] =vd3d48; } } else { IS.SetProperties(v5b37,v2bc72,v93253); if (v2bc72.childNodes.length >0) { IS.SetPropertiesRecursive(v5b37,v2bc72,true); } } } } if (typeof(v93253.OnSetPropertiesRecursive)=="function") v93253.OnSetPropertiesRecursive(); }, SetProperties: function(v87314,vce435,vf6a51) { if (v87314 !=null &&vce435 !=null) { var attrs,t,nm,v; attrs =vce435.attributes; var vd5734 =new Array(); var ve0944 =0; for (var v79218 =0; v79218 <attrs.length; v79218++) { with (attrs.item(v79218)) { nm =name; v =value.toString(); } t =typeof (v87314[nm]); if (t =="undefined") v87314[nm] =undefined; switch (t) { case "number": v87314[nm] =parseFloat(v); break; case "string": v87314[nm] =v; if (nm.indexOf("Style")>-1 &&nm.indexOf("Style")==nm.length -5) { vd5734[ve0944] =nm; ve0944++; } break; case "boolean": v87314[nm] =v.toLowerCase()=="true" ? true : false; break; case "undefined": v87314[nm] =(v !="True" &&v !="False")? v : (v =="True" ? true : false); if (nm.indexOf("Style")>-1 &&nm.indexOf("Style")==nm.length -5) { vd5734[ve0944] =nm; ve0944++; } break; case "object": if (v87314[nm] !=null) { if (v87314[nm].constructor ==Array &&v.length >0) v87314[nm] =v.replace(/(^\s+)|\s+$/g,"").split(";"); } else { if (v =="True" ||v =="False") v87314[nm] =v =="True"; else if (!isNaN(parseFloat(v))) v87314[nm] =parseFloat(v); else v87314[nm] =v; } break; } } for (var v79218 =0; v79218 <vd5734.length; v79218++) { vce435.removeAttribute(vd5734[v79218]); } v87314.XmlNode =vce435; if (vf6a51 !=null) { if (typeof (v87314.XmlPath)=="string") { v87314.Parent =vf6a51; } } if (typeof (v87314.OnPropertiesInitialized)=="function") { v87314.OnPropertiesInitialized("OnInitialize"); } } }, SetModifiedPropertiesToXml: function(v14693,v0ca18,vac910,v88163) { if (v14693 !=null &&v0ca18 !=null) { if (v14693._Type !=null) { var v76523 =eval(v14693._Type); var vea486 =new v76523(); for (prop in v14693) { var v65548 =v14693[prop]; if (v65548 !=null &&v65548.constructor !=Array &&typeof (v65548)!="object" &&typeof (v65548)!="function") { var v6b231 =v14693.OriginalXmlNode; var v26f70 =null; if (v6b231 !=null) v26f70 =ISXml.GetAttribute(v6b231,prop); if (v65548 !=vea486[prop] || (v65548 ==vea486[prop] &&v26f70 !=null &&v26f70 !=v65548)|| (v65548 ==vea486[prop] &&ISXml.GetAttribute(v0ca18,prop)!=null &&v65548 !=ISXml.GetAttribute(v0ca18,prop))) { var ve9292 =v65548.toString(); var v3358 ="Attribute"; if (typeof (v65548)=="boolean") ve9292 =(ve9292 =="true" ? "True" : "False"); if (typeof (v14693.GetElementType)=="function") v3358 =v14693.GetElementType(prop); if (v3358 =="Attribute") ISXml.SetAttribute(v0ca18,prop,ve9292); else if (v3358 =="CDATA") ISXml.CreateCDATA(v0ca18.ownerDocument,v0ca18,prop,ve9292); } } else if (vac910 &&v65548 !=null &&typeof (v65548)=="object" &&typeof (v65548._Type)=="string" &&prop !="Parent") { var vfc990 =null; var v17885 =true; if (v88163 &&v65548.XmlNode ==null &&(typeof (v65548._UIState)=="undefined" ||(typeof (v65548._UIState)=="string" &&v65548._UIState !="Changed"))) v17885 =false; if (v17885) { if (v14693.XmlNode.selectSingleNode(prop)!=null) vfc990 =v14693.XmlNode.removeChild(v14693.XmlNode.selectSingleNode(prop)); var ve8c52 =ISXml.CreateNode(v14693.XmlNode.ownerDocument,v14693.XmlNode,prop,""); if (!v65548.OriginalXmlNode) v65548.OriginalXmlNode =vfc990; v65548.XmlNode =ve8c52; IS.SetModifiedPropertiesToXml(v65548,ve8c52,vac910,v88163); v14693.XmlNode.appendChild(ve8c52); } } } if (typeof (v14693.OnUpdate)=="function") v14693.OnUpdate(v0ca18); } } }, SetPropertiesToXml: function(v4f234,vecb90) { if (v4f234 !=null &&vecb90 !=null) { var attrs,attr,a,nm; attrs =vecb90.attributes; for (var v72890 =0; v72890 <attrs.length; v72890++) { attr =attrs.item(v72890); nm =attr.name; if (v4f234[nm] !=null) { if (v4f234[nm].constructor !=Array) attr.value =v4f234[nm].toString(); else { var v50069 =""; for (var v2cc95 =0; v2cc95 <v4f234[nm].length; v2cc95++) { v50069 +=v4f234[nm][v2cc95].toString()+";"; } if (v50069.length >0) v50069 =v50069.substr(0,v50069.length -1); attr.value =v50069; } } else attr.value =""; } } }, GetIEVersion: function() { var vf3098 =window.navigator.userAgent; var v85420 =vf3098.indexOf("MSIE"); var v93091 =vf3098.indexOf(";",v85420 +1); if (v93091 ==-1) v93091 =vf3098.length -1; var v2aa37 =vf3098.substring(v85420,v93091); v85420 =v2aa37.indexOf("."); var vf855 =Number(v2aa37.substring(v85420 -1,v85420 +2)); return vf855; }, GetInputCtlName: function(v4ae43) { if (v4ae43.name !="") return v4ae43.name; else return v4ae43.id; }, GetFormAction: function(v49d68) { var vbfa59 =v49d68.toLowerCase(); var v5901 =vbfa59.indexOf("<form"); var v98b58 =""; if (v5901 >-1) { var v88913 =vbfa59.indexOf("action",v5901); var v4b76 =vbfa59.indexOf(">",v5901); if (v88913 <v4b76) { var v36e24 =vbfa59.indexOf('"',v88913); var v0bf45 =vbfa59.indexOf('"',v36e24 +1); v98b58 =v49d68.substring(v36e24 +1,v0bf45); } } return v98b58; }, DecodeAmpersand: function(vc1368) { return vc1368.replace(/&/g,"&amp;"); }, SetWidth: function(va4c32,v7f483) { if (IS.ie ||IS.safari ||IS.opera ||IsGecko30()) va4c32.style.width =IS.MakePixel(v7f483); else ISMoz.SetWidth(va4c32,v7f483); }, SetCellWidth: function(va9a13,vf4f73) { if (IS.safari) { var v86e48 =va9a13.parentElement.parentElement; if (v86e48.tagName !="TABLE") v86e48 =v86e48.parentElement; v86e48.style.tableLayout =""; va9a13.style.width =vf4f73; setTimeout(function() { v86e48.style.tableLayout ="fixed"; }, 1); } else va9a13.style.width =vf4f73; }, SetHeight: function(vb5313,v27473) { if (IS.ie) vb5313.style.height =v27473; else ISMoz.SetHeight(vb5313,v27473); }, RenderControl: function(vaaf57,vebf94) { var v10a29 =ISGetObject(vaaf57); var vf7f33 =false; if (vebf94 !=null) vebf94 =vebf94.replace(/\$is];/g,"]]>"); if (v10a29 !=null) { ISControl_Dispose(vaaf57); ISControl_ReplaceElements(vebf94); vf7f33 =true; } else { v10a29 =document.getElementById(vaaf57);  if (!v10a29 &&vaaf57.indexOf("_")>-1) { var vdf720 =vaaf57.substring(vaaf57.lastIndexOf("_")+1);  if (vdf720) v10a29 =document.getElementById(vdf720); } } if (v10a29 &&!vf7f33) { if (vebf94 !="") IS.ReplaceHtmlElements(v10a29,vebf94); else v10a29.outerHTML ="<span id=\"" +vaaf57 +"\"></span>"; } },  ReplaceHtmlElements: function(ve7c18,vb2d75) { var v87238 =IS.GetTempIFrame(); var vb6385 =v87238.contentWindow.document; var va8717 =null; va8717 =vb6385.body; va8717.innerHTML =vb2d75;  if (va8717.children.length ==1) ve7c18.outerHTML =vb2d75; else { for (var vaab1=0; vaab1<va8717.children.length; vaab1++) { if (ve7c18) { ve7c18.outerHTML =va8717.children[vaab1].outerHTML; ve7c18 =ve7c18.nextSibling; } } } if (IS.ie) { vb6385.open("text/plain","replace"); vb6385.write(""); vb6385.close(); } else { va8717.innerHTML =""; } }, SetValue: function(vbb499,veca65) { var vd2b99 =document.getElementById(vbb499); if (vd2b99 &&typeof (vd2b99.value)!="undefined") vd2b99.value =veca65; else alert("Control '" +vbb499 +"' is not an input control!"); }, SetStyle: function(v42927,vb8c27) { var vec799 =document.getElementById(v42927); if (vb8c27 !="") vb8c27 =vb8c27.replace(new RegExp("%29","g"),")"); if (vec799 &&typeof (vec799.style)!="undefined") { var v3d665 =vec799.style.position; var vf8a83 =vec799.style.left; var v83177 =vec799.style.top; vec799.style.cssText =vb8c27; vec799.style.position =v3d665; vec799.style.left =vf8a83; vec799.style.top =v83177; } else alert("Control '" +v42927 +"' doesn't support CSS Style!"); }, SetOuterHTML: function(v64988,vf367) { try { v64988.outerHTML =vf367; } catch (e) { if (IS.ie &&vf367 !="") { var v0787 =document.createElement(v64988.tagName); var v56f17; v0787.innerHTML =vf367; if (v0787.childNodes.length >0) { v56f17 =v0787.childNodes[0]; v0787.removeNode(false); } var v7e479 =v64988.parentElement; v7e479.insertBefore(v56f17,v64988); v7e479.removeChild(v64988); } } }, EnsurePureArray: function() { if (typeof (RuntimeVersion)=="string" ||Array.__typeName =="Array") return; for (p in Array.prototype) delete Array.prototype[p]; }, GetAttr: function(v86268,v39e98) { if (v86268 !=null) { if (!v86268.attributes) return ""; if (v86268.attributes[v39e98]) return v86268.attributes[v39e98].value; else { if (v86268[v39e98]) return v86268[v39e98]; } } return ""; }, GetEventType: function(v03297) { if (!v03297) v03297 =window; if (IS.ie) { return v03297.event.type; } else { var vdcf32; try { vdcf32 =v03297.event.type; } catch (e) { vdcf32 =IS.mozEventType; } return vdcf32; } }, UpdateViewState: function(vc2d77) { var v32813 =document.getElementById("__VIEWSTATE"); if (v32813) v32813.value =vc2d77; }, IsXHTMLDocType: function() { var v38f77 =document.childNodes[0]; if (v38f77 !=null &&(typeof (v38f77.tagName)=="undefined" ||v38f77.tagName.toLowerCase()!="html")) v38f77 =document.childNodes[1]; return v38f77 !=null &&v38f77.tagName =="HTML" &&v38f77.attributes["xmlns"] !=null &&v38f77.attributes["xmlns"].value.toLowerCase().indexOf("xhtml")>-1; }, GetTopOpenPopups: function() { var v2fa41 =window; if (window.top !=v2fa41) v2fa41 =window.top; if (typeof (v2fa41.IS_OpenPopups)=="undefined") v2fa41.IS_OpenPopups =new Array(); else {  try { var vd6e80 =v2fa41.IS_OpenPopups.toString(); } catch (e) { v2fa41.IS_OpenPopups =null; v2fa41.IS_OpenPopups =new Array(); } } return v2fa41.IS_OpenPopups; }, FindFrameRecursive: function(v3d838,v0a630,vc018) { for (var va0a58 =0; va0a58 <v3d838.frames.length; va0a58++) { var vf0e40 =v3d838.frames[va0a58]; if (vf0e40.name ==v0a630 &&vf0e40.location.pathname ==vc018) return vf0e40; else { vf0e40 =IS.FindFrameRecursive(vf0e40,v0a630,vc018); if (vf0e40 !=null &&typeof (vf0e40)!=undefined) return vf0e40; } } }, GetInnerText: function(v86e38) { if (IS.safari) return v86e38.innerTextEx; else return v86e38.innerText; }, GetSymbol: function(va6883,v61d51,v5a823) { var vdd32 =false; if (IS.ie) vdd32 =true; else if (IS.moz &&!IsGecko30()) vdd32 =true; if (vdd32) { if (v5a823) return v61d51; else return "<font face='Webdings' style='font-size: 8pt'>" +v61d51 +"</font>"; } else { var v5f961 =va6883.WebResourceIdentifier; var vbe190 =""; va6883.WebResourceIdentifier ="F"; vbe190 =va6883.ResolveImagePath(va6883.ImagesDirectory,"webdings_" +v61d51 +".gif"); if (vbe190.indexOf(".")==-1) vbe190 =va6883.ResolveImagePath("webdings_" +v61d51 +".gif"); va6883.WebResourceIdentifier =v5f961; if (v5a823) return vbe190; else return "<img valign='absmiddle' src='" +vbe190 +" ' />"; } return ""; }, GetAppDomainPath: function() { var v4b527 =IS_AppDomainAppVirtualPath; if (v4b527) { if (v4b527.length >1 &&v4b527.substring(v4b527.length -1,1)!="/") v4b527 +="/"; } return v4b527; }, GetSilverlightVersion: function() { var vbd491 =""; var veaa2 =null; try { var v26519 =null; if (window.navigator.userAgent.indexOf('MSIE')>=0) v26519 =new ActiveXObject('AgControl.AgControl'); else { if (navigator.plugins['Silverlight Plug-In']) { veaa2 =document.createElement('div'); document.body.appendChild(veaa2); veaa2.innerHTML ='<embed type="application/x-silverlight" src="data:," />'; v26519 =veaa2.childNodes[0]; } } if (v26519) { if (v26519.isVersionSupported('2.0')){vbd491 ='Silverlight/2.0'; } else if (v26519.isVersionSupported('1.1')){vbd491 ='Silverlight/1.1'; } else if (v26519.isVersionSupported('1.0')){vbd491 ='Silverlight/1.0'; } } } catch (e){} if (veaa2) document.body.removeChild(veaa2); return vbd491; }, IsRightToLeft: function(v5ff36) { var v8b136 =v5ff36.currentStyle.direction; return v8b136 =="rtl"; }, AddScript: function(vfc697) { var vb8152 =document.getElementsByTagName("script"); var v0d083 =true; for (var v9e686 =0; v9e686 <vb8152.length; v9e686++) { var va4470 =vb8152[v9e686]; if (va4470.src !="" &&va4470.src.toLowerCase().indexOf(vfc697.toLowerCase())>-1) { v0d083 =false; break; } } if (v0d083) { var v01466 =document.getElementsByTagName("head")[0]; var va4470 =document.createElement("script"); va4470.type ="text/javascript"; va4470.src =vfc697; v01466.appendChild(va4470); } },  AddLink: function(v17822) { var vbf197 =document.getElementsByTagName("link"); var vc7a4 =true; for (var v6720 =0; v6720 <vbf197.length; v6720++) { var ve1d67 =vbf197[v6720]; if (ve1d67.href !="" &&ve1d67.href.toLowerCase().indexOf(v17822.toLowerCase())>-1) { vc7a4 =false; break; } } if (vc7a4) { var v08844 =document.getElementsByTagName("head")[0]; var v76691 =document.createElement("link"); v76691.type ="text/css"; v76691.rel ="stylesheet"; v76691.href =v17822; v08844.appendChild(v76691); } }, EncodeHtml: function(v3a350) { var v56386 =v3a350.replace(/[&]/g,"&amp;"); v56386 =v56386.replace(/[<]/g,"&lt;"); v56386 =v56386.replace(/[>]/g,"&gt;"); return v56386; }, GenerateRandomNumber: function() { return (((1 +Math.random())*0x10000)|0).toString(16).substring(1); }, CreateGUID: function() { return (IS.GenerateRandomNumber()+IS.GenerateRandomNumber()+"-" +IS.GenerateRandomNumber()+"-" +IS.GenerateRandomNumber()+"-" +IS.GenerateRandomNumber()+"-" +IS.GenerateRandomNumber() +IS.GenerateRandomNumber()+IS.GenerateRandomNumber()); }, MakePixel: function(v82e50) { if (typeof (v82e50)=="number") return v82e50 +"px"; if (v82e50 !=null &&v82e50.toString().indexOf("px")==-1 &&!isNaN(parseFloat(v82e50))) return v82e50.toString()+"px"; }, StringBuilder: function() { this.Data =new Array(); this.Append =function(vfbd67) { this.Data.push(vfbd67); }; this.Clear =function() { this.Data =null; this.Data =new Array(); }; this.ToString =function() { return this.Data.join(""); } },  RegisterBoxSizing: function(v72367) { if (IsIE8StandardMode()||!IS.ie) { IS.AddRuntimeCssStyle("#" +v72367 +"_f","box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;"); IS.AddRuntimeCssStyle("#" +v72367 +"_f *","box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;"); } } };IS.ie =/MSIE/.test(navigator.userAgent);IS.moz =!IS.ie &&navigator.product =="Gecko";IS.opera =!IS.ie &&!IS.moz &&/Opera/.test(navigator.userAgent);IS.safari =/Safari/.test(navigator.userAgent);IS.khtml =!IS.safari &&/KHTML/.test(navigator.userAgent);IS.mac =/Macintosh/.test(navigator.userAgent);IS.chrome =/Chrome/.test(navigator.userAgent);IS.w3c =false;IS.w3cs =false;if (IS.moz ||IS.opera ||IS.safari ||IS.chrome ||(IS.ie &&IS.GetIEVersion()>=8)){ IS.w3c =true;  if (IS.IsXHTMLDocType()) IS.w3cs =true;}if (IS.safari) IS.moz =false;function ISObject(){ this.Parent =null; this.XmlNode =null; this.XmlPath =""; this.IsSerialized =false; this.Get =function(vf154) { if (typeof (this.__getter)=="function") { var vfaf59 =this.__getter(vf154); if (typeof (vfaf59)=="undefined") return this[vf154]; else return vfaf59; } return this[vf154]; }; this.Set =function(vf154,v8b963,vaf447) { this[vf154] =v8b963; if (vaf447) { if (this.XmlNode) { var vc4311 =ISXml.GetNode(this.XmlNode,vf154); if (vc4311) { ISXml.RemoveNode(this.XmlNode,vf154); ISXml.CreateCDATA(this.XmlNode.ownerDocument,this.XmlNode,vf154,v8b963); } else { if (typeof (v8b963)=="boolean") { if (v8b963) v8b963 ="true"; else v8b963 ="false"; } ISXml.SetAttribute(this.XmlNode,vf154,v8b963); } } } if (typeof (this.__setter)=="function") { this.__setter(vf154,v8b963,vaf447); } }; this.CopyFrom =function(v30a84) { var v25f51; for (v25f51 in this) { var vff148 =this[v25f51]; if (typeof (vff148)!="function") { this[v25f51] =v30a84[v25f51]; } } }; this.GetType =function() { if (this.ClassName) return this.ClassName; else return this._Type; }; this.SetChanged =function() { if (this._UIState) this._UIState ="Changed"; }; this.toString =function() { if (this.GetType()!="") return "[object " +this.GetType()+"]"; return "[object Object]"; };}function ISArray(){ var vfe749 =new Array(); ISDeleteObjectPermanent(vfe749); vfe749.Parent =null; vfe749.XmlNode =null; vfe749._Type =="ISArray"; vfe749.GetNamedItem =function(vd1e82) { for (var v5cc53 =0; v5cc53 <this.length; v5cc53++) { if (this[v5cc53] !=null &&this[v5cc53].Name ==vd1e82) return this[v5cc53]; } return null; }; vfe749.GetItemByProperty =function(v82582,vd1e82) { for (var v5cc53 =0; v5cc53 <this.length; v5cc53++) { if (this[v5cc53] !=null &&this[v5cc53][v82582] ==vd1e82) return this[v5cc53]; } return null; }; vfe749.Add =function(v34a99) { if (typeof (v34a99._UIState)=="string") v34a99._UIState ="Added"; if (typeof (v34a99.Position)=="number") v34a99.Position =this.length; if (typeof (v34a99.Index)=="number") v34a99.Index =this.length; if (this.Parent !=null) v34a99.Parent =this.Parent; if (typeof (v34a99.OnPropertiesInitialized)=="function") v34a99.OnPropertiesInitialized("OnAdd"); this[this.length] =v34a99; if (typeof (v34a99.OnAdd)=="function") v34a99.OnAdd(); return v34a99; }; vfe749.Remove =function(v34a99,vfab66) { if (typeof (v34a99._UIState)=="string") v34a99._UIState ="Removed"; if (!vfab66) { var v5cc53 =this.IndexOf(v34a99); if (v5cc53 !=-1) vfe749.splice(v5cc53,1); if (typeof (v34a99.OnRemove)=="function") v34a99.OnRemove(); } else { this.ReindexPosition(); } return v34a99; }; vfe749.RemoveAt =function(v86643,vfab66) { var v9c710 =this[v86643]; this.Remove(v9c710,vfab66); return v9c710; }; vfe749.InsertAt =function(v34a99,v86643) { if (typeof (v34a99._UIState)=="string") v34a99._UIState ="Added"; if (typeof (v34a99.Position)=="number") v34a99.Position =v86643; if (typeof (v34a99.Index)=="number") v34a99.Index =v86643; if (this.Parent !=null) v34a99.Parent =this.Parent; if (typeof (v34a99.OnPropertiesInitialized)=="function") v34a99.OnPropertiesInitialized("OnInsert"); if (typeof (v34a99.OnInsert)=="function") v34a99.OnInsert(v86643); this.splice(v86643,0,v34a99); this.ReindexPosition(); return v34a99; }; vfe749.Move =function(vb2c7,vb7927) { var v9c710 =this[vb2c7]; v9c710.OldPosition =vb2c7; this.RemoveAt(vb2c7); this.InsertAt(v9c710,vb7927); if (typeof (v9c710._UIState)=="string") v9c710._UIState ="PositionChanged"; }; vfe749.ReindexPosition =function() { if (this.length >0) { if (typeof (this[0].Position)=="number" ||typeof (this[0].Index)=="number") { for (var v5cc53 =0; v5cc53 <this.length; v5cc53++) { if (typeof (this[v5cc53].Position)=="number") this[v5cc53].Position =v5cc53; else if (typeof (this[v5cc53].Index)=="number") this[v5cc53].Index =v5cc53; } } } }; vfe749.IndexOf =function(v9c710) { for (var v5cc53 =0; v5cc53 <this.length; v5cc53++) { if (this[v5cc53] ==v9c710) return v5cc53; } return -1; }; vfe749.Clear =function() { for (var v5cc53 =0; v5cc53 <this.length; v5cc53++) { this[v5cc53] =null; } this.length =0;  }; vfe749.InitializeFrom =function(v34a99) { this.XmlNode =v34a99.XmlNode; this.Parent =v34a99.Parent; }; vfe749.CopyFrom =function(v34a99) { for (var v5cc53 =0; v5cc53 <v34a99.length; v5cc53++) { var v9c710 =v34a99[v5cc53]; this.Add(v9c710); } }; vfe749.UpdateChanges =function(v09988){ if (this.XmlNode !=null) { this.ReindexPosition(); if (v09988) { for (var v5cc53 =0; v5cc53 <this.length; v5cc53++) { var v9c710 =this[v5cc53]; if (!v9c710.OriginalXmlNode) v9c710.OriginalXmlNode =v9c710.XmlNode; } } for (var v5cc53 =0; v5cc53 <this.XmlNode.childNodes.length; v5cc53++) { var v7d731 =this.XmlNode.removeChild(this.XmlNode.childNodes[v5cc53]); v5cc53--; v7d731 =null; } for (var v5cc53 =0; v5cc53 <this.length; v5cc53++) { var v36491 =this[v5cc53]; if (v36491._Type !="") { var v5cc70 =ISXml.CreateNode(this.XmlNode.ownerDocument,this.XmlNode,v36491._Type,""); v36491.XmlNode =v5cc70; IS.SetModifiedPropertiesToXml(v36491,v5cc70,v09988); this.XmlNode.appendChild(v5cc70); } } if (v09988 &&this.Parent !=null &&this.Parent.XmlNode !=null) { var vf9129 =this.Parent.XmlNode.selectSingleNode(this.XmlNode.nodeName); if (vf9129 !=null) this.Parent.XmlNode.removeChild(vf9129); this.Parent.XmlNode.appendChild(this.XmlNode); } } }; return vfe749;}var oIdx =-1;function ISBaseControl(){ ISObject.call(this); oIdx++; this.Index =oIdx; this.Register =function(va7f52) { ISEvent.Raise(window.OnIntersoftControlRegister,va7f52); IS.RuntimeObjects[IS.RuntimeObjects.length] =va7f52; };}function ISControl(vc7119){ if (vc7119 ==null) return; this.FrameObj =null; if (this.RequiredFrameworkVersion) { if (!IS.CheckRequiredFrameworkVersion(this.RequiredFrameworkVersion)) { alert(this.ClassName +" component requires WebUI.NET Framework Version " +this.RequiredFrameworkVersion +", current Framework Version is " +IS.FrameworkVersion +"\nPlease update the Framework by using Update Manager."); } } with (document) { this.HtmlObj =getElementById(vc7119); this.FrameObj =getElementById(vc7119 +IS.FrameSuffix); } if (!this.FrameObj) this.FrameObj =this.HtmlObj; this.XmlDt =ISXml.GetElementById(vc7119 +IS.XmlSuffix); var vee668 =IS.CheckXmlCompression(this.XmlDt); if (vee668) this.XmlDt =vee668; if (this.XmlDt) { var vb7f8 =ISXml.GetAttribute(this.XmlDt.documentElement,"xmlInputHiddenUniqueID"); if (vb7f8) { this.xmlInputHiddenUniqueID =vb7f8; this.XmlDt.documentElement.removeAttribute("xmlInputHiddenUniqueID"); } } if (this.HtmlObj !=null) { if (this.HtmlObj.form ==null) { var vc5239 =this.HtmlObj.parentNode; while (vc5239 !=null) { if (vc5239.tagName !="FORM") vc5239 =vc5239.parentNode; else { this.HtmlObj.form =vc5239; break; } } } } this.Id =vc7119; this.LastAction =""; this.IsInit =false; this.ServerUniqueID =""; this.XmlCompressionEnabled =false; this.Events =null; this.EnableWebResources ="Auto"; this.UseWebResourcesForClient =false; this.UseWebResourcesForScript =false; this.WebResourceIdentifier ="F"; this.ContentEncoding ="Unicode"; this.SharedScriptDirectory ="/CommonLibrary/Shared/"; if (typeof(IS_ReleaseType)!="undefined" &&IS_ReleaseType =="Beta") this.SharedScriptDirectory ="/CommonLibraryBeta/Shared/"; ISBaseControl.call(this); this.IsOnPostInitialized =false; this.OnPostInitialized =function() { }; this.ReBindingPostBackData =function() { }; this.PrepareAdditionalPostBackData =function() { };  this.PreparePostBackData =function(v5a283) { this.ReBindingPostBackData(v5a283); if (!this.xmlInputHiddenUniqueID) return; var v93c43 =document.getElementById(this.xmlInputHiddenUniqueID); if (v93c43 ==null) v93c43 =document.getElementById(this.xmlInputHiddenUniqueID.replace(/:/g,"_")); if (v93c43 ==null) v93c43 =document.getElementById(this.xmlInputHiddenUniqueID.replace(/\$/g,"_")); if (v93c43) { if (typeof (this.CustomStateString)=="string") v93c43.value =escape(this.CustomStateString); else v93c43.value =escape(this.XmlDt.documentElement.xml); } this.PrepareAdditionalPostBackData(v5a283); }; if (this.XmlDt) { var v3de23 =this.XmlDt.documentElement; if (v3de23) { var vedc56 =v3de23.selectSingleNode("ClientSideEvents"); if (vedc56) { this.Events =ISEvent.Register(this.HtmlObj,vedc56); vedc56.parentNode.removeChild(vedc56); } } } this.SetFocus =function() { if (this.FrameObj) { this.FrameObj.focus(); } }; this.Hide =function() { if (this.FrameObj) { this.FrameObj.style.display ="none"; } }; this.Show =function() { if (this.FrameObj) { this.FrameObj.style.display =""; } }; this.GetFrameElement =function() { return this.FrameObj; }; this.GetControlElement =function() { return this.HtmlObj; }; this.ResolveImagePath =this._ResolveImagePath =function(v87147,v5aa92) { var v61166 ="";  if (v5aa92 !="") { if (v5aa92.substring(0,1)=="/" ||v5aa92.substring(0,1)=="." ||v5aa92.indexOf("ISRes")>-1) v61166 =v5aa92; else { if (this.UseWebResourcesForClient) { v61166 =v5aa92.replace("/","."); v61166 =IS.GetAppDomainPath()+"ISRes.axd?" +this.WebResourceIdentifier +"/" +v61166; } else v61166 =v87147 +v5aa92; } } 
 if (v61166 !="" &&v61166.indexOf("://")>-1)
 return v61166;  if (IS.ie &&v61166 !="") { if (document.location.protocol.toLowerCase()=="https:") { var vd1874 =IS.GetAppDomainPath();  if ((v61166.indexOf(vd1874)>-1 &&vd1874.length >1)||v61166.substring(0,1)=="/") vd1874 =""; 
 v61166 ="https://" +document.location.host +vd1874 +v61166;
 } } return v61166; }; this.ResolveScriptPath =function(v87147,v04c52) { if (v87147 ==this.ScriptDirectory) { if (this.UseWebResourcesForScript) { v04c52 =v04c52.replace("/","."); return "ISRes.axd?" +this.WebResourceIdentifier +"/" +v04c52 +"/01"; } else return v87147 +v04c52; } else return v87147 +v04c52; }; this.GetServerID =function() { var v68d46 =this.ServerUniqueID; var v80478 =v68d46.lastIndexOf("$"); return v68d46.substring(v80478 +1); }; this.IsUnicodeEncoding =function() { return this.ContentEncoding.indexOf("Unicode")>-1; }; this.Register(this);}var ISPosLib = { getIeBox: function(v76719) { return this.ie &&v76719.document.compatMode !="CSS1Compat"; }, getClientLeft: function(v7ac83) { if (IS.ie) { var v8cf83 =v7ac83.getBoundingClientRect(); return v8cf83.left -this.getBorderLeftWidth(this.getCanvasElement(v7ac83)); } else return ISMoz.GetClientLeft(v7ac83); }, getClientTop: function(v4cb99) { if (IS.ie) { var v6b299 =v4cb99.getBoundingClientRect(); return v6b299.top -this.getBorderTopWidth(this.getCanvasElement(v4cb99)); } else return ISMoz.GetClientTop(v4cb99); }, getLeft: function(v53627) { var v4ff99 =this.getCanvasElement(v53627); var v58b1 =v4ff99.scrollLeft; var v5c516 =0;  return this.getClientLeft(v53627)+v58b1 -v5c516; }, getRight: function(v5e727) { return this.getLeft(v5e727)+this.getWidth(v5e727); }, getRightW3C: function(va7527) { return this.getLeftW3C(va7527)+this.getWidth(va7527); }, getTop: function(vc7a27) { return this.getClientTop(vc7a27)+this.getCanvasElement(vc7a27).scrollTop; },  getTopW3C: function(vede27) { var v9fa27 =0; if (IS.IsXHTMLDocType()) { v9fa27 =this.getClientTop(vede27);  if (IS.ie ||IS.safari ||IS.chrome) v9fa27 +=this.getScrollTop(this.getDocumentElement(vede27)); } else v9fa27 =this.getTop(vede27);  return v9fa27; }, getLeftW3C: function(vf4744,v30922) { var v3f527 =0; var vb8b62 =IS.IsXHTMLDocType(); if (vb8b62) { v3f527 =this.getClientLeft(vf4744); if (IS.ie ||IS.safari ||IS.chrome) v3f527 +=this.getScrollLeft(this.getDocumentElement(vf4744)); } else v3f527 =this.getLeft(vf4744);  if (IS.ie &&v30922) v3f527 =this.getCalcRtlLeft(vf4744,v3f527); return v3f527; },  getCalcRtlLeft: function(vde172,v3c483) { var v64d72 =this.getCanvasElement(vde172); v3c483 -=v64d72.scrollLeft; if (IS.IsXHTMLDocType()) v3c483 -=v64d72.scrollLeft; else { v3c483 -=(v64d72.scrollWidth -v64d72.clientWidth -v64d72.scrollLeft); if (v64d72.scrollWidth >v64d72.offsetWidth) v3c483 +=17; }  return v3c483; },  getBottom: function(v8aa88) { return this.getTop(v8aa88)+this.getHeight(v8aa88); },  getBottomW3C: function(v22788) { return this.getTopW3C(v22788)+this.getHeight(v22788); }, getInnerLeft: function(v5c988) { return this.getLeft(v5c988)+this.getBorderLeftWidth(v5c988); }, getInnerRight: function(v61d88) { return this.getRight(v61d88)-this.getBorderRightWidth(v61d88); }, getInnerTop: function(v35388) { return this.getTop(v35388)+this.getBorderTopWidth(v35388); }, getInnerBottom: function(v1cb88) { return this.getBottom(v1cb88)-this.getBorderBottomWidth(v1cb88); }, getWidth: function(v59452) { var v94a88 =v59452.offsetWidth; if (v94a88 ==0) { v94a88 =v59452.style.pixelWidth; if (v94a88 ==0 ||isNaN(v94a88)) v94a88 =parseFloat(v59452.style.width); if (v94a88 ==0 ||isNaN(v94a88)) v94a88 =parseFloat(v59452.clientWidth); if (isNaN(v94a88)) v94a88 =0; } return v94a88; }, getInnerWidth: function(vb3852) { return this.getWidth(vb3852)-this.getBorderLeftWidth(vb3852)-this.getBorderRightWidth(vb3852); }, getHeight: function(v7b252) { var v98252 =v7b252.offsetHeight; if (v98252 ==0) { v98252 =v7b252.style.pixelHeight; if (v98252 ==0 ||isNaN(v98252)) v98252 =parseFloat(v7b252.style.height); if (v98252 ==0 ||isNaN(v98252)) v98252 =parseFloat(v7b252.clientHeight); if (isNaN(v98252)) v98252 =0; } return v98252; }, getInnerHeight: function(v2d052) { return this.getHeight(v2d052)-this.getBorderTopWidth(v2d052)-this.getBorderBottomWidth(v2d052); },  getDocumentElement: function(v1a152) { return v1a152.ownerDocument ||v1a152.document ||window.document; }, getCanvasElement: function(v9a669) { var v1c769 =v9a669.ownerDocument ||v9a669.document; if (v1c769.compatMode =="CSS1Compat" ||IS.IsXHTMLDocType()) return v1c769.documentElement; else return v1c769.body; }, getBorderLeftWidth: function(v95669) { if (IS.moz) return 0; return v95669.clientLeft; }, getBorderRightWidth: function(v45569) { if (IS.moz) return 0; return this.getWidth(v45569)-v45569.clientLeft -v45569.clientWidth; }, getBorderTopWidth: function(vb1f69) { if (IS.moz) return 0; return vb1f69.clientTop; }, getBorderBottomWidth: function(v8ca69) { if (IS.moz) return 0; return this.getHeight(v8ca69)-v8ca69.clientTop -v8ca69.clientHeight; }, getScreenLeft: function(v96f33) { var v49c69 =v96f33.ownerDocument ||v96f33.document; var v20133 =v49c69.parentWindow; return v20133.screenLeft +this.getBorderLeftWidth(this.getCanvasElement(v96f33))+this.getClientLeft(v96f33); }, getScreenTop: function(v69033) { var v4a633 =v69033.ownerDocument ||v69033.document; var ve2163 =v4a633.parentWindow;  return ve2163.screenTop +this.getBorderTopWidth(this.getCanvasElement(v69033))+this.getClientTop(v69033); }, getCurX: function() { if (event) return event.clientX +document.body.scrollLeft; }, getCurY: function() { if (event) return event.clientY +document.body.scrollTop; }, getLeftNonIE: function(vb0b33) { return ISMoz.GetLeft(vb0b33); }, getTopNonIE: function(vcf933) { return ISMoz.GetTop(vcf933); }, getScrollTop: function(v69433) { var v88133 =v69433.body.parentElement ||v69433.body.parentNode;  if (IS.IsXHTMLDocType()) return Math.max(v88133.scrollTop,v69433.body.scrollTop); else return v69433.body.scrollTop; }, getScrollLeft: function(vdf733) { var va1a33 =vdf733.body.parentElement ||vdf733.body.parentNode; if (IS.IsXHTMLDocType()) return Math.max(va1a33.scrollLeft,vdf733.body.scrollLeft); else return vdf733.body.scrollLeft; },  ApplyIntelligentPosition: function(v0cb42,v58815,v99b56,v14e68) { var vd8333 =v0cb42.Y; var va0463 =v0cb42.X; var v27760 =ISPosLib.getDocumentElement(v58815); var v49913 =ISPosLib.getCanvasElement(v58815); var v21991 =false;  if (vd8333 +ISPosLib.getHeight(v58815)>v49913.clientHeight +ISPosLib.getScrollTop(v27760)) { if (!v99b56) { vd8333 =((v49913.clientHeight +ISPosLib.getScrollTop(v27760))-ISPosLib.getHeight(v58815)); vd8333 -=4; } else { vd8333 =ISPosLib.getTopW3C(v99b56)-ISPosLib.getHeight(v58815)-2;  if (vd8333 <1) { if (!v14e68) vd8333 =1; else { vd8333 =((v49913.clientHeight +ISPosLib.getScrollTop(v27760))-ISPosLib.getHeight(v58815)); v21991 =true; } } } }  if (v21991) va0463 +=ISPosLib.getWidth(v99b56); if (va0463 +(ISPosLib.getWidth(v58815))>v49913.clientWidth) { if (!v14e68) { va0463 =v49913.clientWidth -ISPosLib.getWidth(v58815); va0463 -=4; } else if (v99b56 !=null) { va0463 =ISPosLib.getLeft(v99b56)-ISPosLib.getWidth(v58815)-4; } } if (vd8333 <0) vd8333 =2;  return new OffsetLocation(va0463,vd8333); } };ISPosLib.ua =navigator.userAgent;ISPosLib.opera =/opera[56789]|opera\/[56789]/i.test(ISPosLib.ua);ISPosLib.ie =(!ISPosLib.opera)&&/MSIE/.test(ISPosLib.ua);ISPosLib.ie6 =ISPosLib.ie &&/MSIE[6789]/.test(ISPosLib.ua);ISPosLib.moz =!ISPosLib.opera &&/gecko/i.test(ISPosLib.ua);function Dimension(v9a063,v0c752,vcd450,vc3b11,vf5558,v5fa16){ this.Left =v9a063; this.Top =v0c752; this.Right =vcd450; this.Bottom =vc3b11; this.Width =vf5558; this.Height =v5fa16;}var ISDimension = { Calc: function(vb4c46) { if (vb4c46 ==null) return; with (vb4c46.style) { if (position =="relative") position ="absolute"; with (ISPosLib) { left =getLeft(vb4c46); right =getRight(vb4c46); top =getTop(vb4c46); bottom =getBottom(vb4c46); width =getWidth(vb4c46); height =getHeight(vb4c46); } } }, Copy: function(vc5b11,v8705) { if (vc5b11 ==null ||v8705 ==null) return; with (ISDimension) { Check(vc5b11); Check(v8705); } with (vc5b11.style) { v8705.style.width =width; v8705.style.height =height; v8705.style.top =top; v8705.style.left =left; v8705.style.right =parseFloat(left)+parseFloat(width)+"px"; v8705.style.bottom =parseFloat(top)+parseFloat(height)+"px"; } }, Save: function(v72a91,veee95) { if (veee95 ==null) return; with (v72a91.style) { with (veee95) { Left =parseFloat(left); Right =parseFloat(right); Top =parseFloat(top); Bottom =parseFloat(bottom); Width =parseFloat(width); Height =parseFloat(height); } } }, Retrieve: function(vdaa91,va8295) { if (va8295 ==null) return; with (vdaa91.style) { with (va8295) { left =Left; right =Left +Width; top =Top; bottom =Top +Height; width =Width; height =Height; } } }, Check: function(vc0955) { if (vc0955 ==null) return; with (vc0955.style) { if (position =="relative" ||position =="static") ISDimension.Calc(vc0955); } }, CalcStyleDimension: function(v5de55) { if (v5de55 ==null) return; with (v5de55) { style.left =offsetLeft; style.top =offsetTop; style.width =offsetWidth; style.height =offsetHeight; style.right =offsetWidth +offsetLeft; style.bottom =offsetHeight +offsetTop; if (style.position =="relative") style.position ="absolute"; } } };function Listener(vdc788,v58d63,vddf97){ this.fp =vdc788; this.scope =v58d63; this.remove =vddf97;}Listener.Add =function(oSource,sEvent,fpDest,oScope,bRunOnce){ if (!oSource[sEvent] ||oSource[sEvent] ==null ||!oSource[sEvent]._listeners) { oSource[sEvent] =function() { return Listener.Fire(oSource,sEvent,arguments); }; if (IS.safari &&oSource[sEvent] ==null) { setTimeout(function(){Listener.Add(oSource,sEvent,fpDest,oScope,bRunOnce);},100); return; }  oSource[sEvent]._listeners =new Array(); } var idx =this.FindForEvent(oSource[sEvent],fpDest,oScope); if (idx ==-1) idx =oSource[sEvent]._listeners.length; oSource[sEvent]._listeners[idx] =new Listener(fpDest,oScope,bRunOnce);};Listener.Append =function(index,oSource,sEvent,fpDest,oScope,bRunOnce){ if (!oSource[sEvent] ||oSource[sEvent] ==null ||!oSource[sEvent]._listeners) { oSource[sEvent] =function() { try { return Listener.Fire(oSource,sEvent,arguments); } catch (e) { alert(e.description); return true; } }; oSource[sEvent]._listeners =new Array(); } var idx =this.FindForEvent(oSource[sEvent],fpDest,oScope); if (idx ==-1) { var lstr =oSource[sEvent]._listeners; idx =lstr.length; if (idx >0) { if (index <idx) { var nLstr =new Array(idx +1); var oIdx =0; for (var i =0; i <nLstr.length; i++) { if (index !=i) { nLstr[i] =lstr[oIdx]; oIdx++; } } oSource[sEvent]._listeners =nLstr; idx =index; } } } oSource[sEvent]._listeners[idx] =new Listener(fpDest,oScope,bRunOnce);};Listener.Remove =function(oSource,sEvent,fpDest,oScope){ var idx =this.FindForEvent(oSource[sEvent],fpDest,oScope); if (idx !=-1) { var iLast =oSource[sEvent]._listeners.length -1; oSource[sEvent]._listeners[idx] =oSource[sEvent]._listeners[iLast]; oSource[sEvent]._listeners.length--; }};Listener.FindForEvent =function(fpEvent,fpDest,oScope){ if (fpEvent &&fpEvent._listeners) { for (var i =0; i <fpEvent._listeners.length; i++) { if (fpEvent._listeners[i].scope ==oScope &&fpEvent._listeners[i].fp ==fpDest) { return i; } } } return -1;};Listener.Fire =function(oSourceObj,sEvent,args){ var lstnr,fp,returnValue,tempReturn; var last =null; var e; try { last =oSourceObj[sEvent]._listeners.length -1; } catch (e) { return; } if (IS.moz) e =window.event =args[0]; else e =window.event; if (e ==null) { try { if (IS.ie) e =oSourceObj.document.parentWindow.event; else e =oSourceObj.ownerDocument.parentWindow.event; } catch (e) { } } for (var i =last; i >=0; i--) { lstnr =oSourceObj[sEvent]._listeners[i]; if ((e &&!e.cancelBubble)||!e) { fp =lstnr.fp; tempReturn =fp.apply(lstnr.scope,args); if (typeof tempReturn !="undefined") returnValue =tempReturn; } if (lstnr.remove) Listener.Remove(oSourceObj,sEvent,lstnr.fp,lstnr.scope); } if (typeof returnValue !="undefined") return returnValue;};Listener.Unload =function(oSourceObj){ if (oSourceObj ==null) return; for (var i =0; i <NtvEvents.length; i++) { var ev =NtvEvents[i].toLowerCase(); if (oSourceObj[ev] !=null) { oSourceObj[ev] =null; } }};var NtvEvents =new Array();NtvEvents[0] ="OnActivate";NtvEvents[1] ="OnAfterUpdate";NtvEvents[2] ="OnBeforeActivate";NtvEvents[3] ="OnBeforeDeActivate";NtvEvents[4] ="OnBeforeEditFocus";NtvEvents[5] ="OnBeforePaste";NtvEvents[6] ="OnBeforeUpdate";NtvEvents[7] ="OnBlur";NtvEvents[8] ="OnChange";NtvEvents[9] ="OnClick";NtvEvents[10] ="OnContextMenu";NtvEvents[11] ="OnControlSelect";NtvEvents[12] ="OnDblClick";NtvEvents[13] ="OnDeActivate";NtvEvents[14] ="OnErrorUpdate";NtvEvents[15] ="OnFilterChange";NtvEvents[16] ="OnFocus";NtvEvents[17] ="OnFocusin";NtvEvents[18] ="OnFocusOut";NtvEvents[19] ="OnHelp";NtvEvents[20] ="OnKeyDown";NtvEvents[21] ="OnKeypress";NtvEvents[22] ="OnKeyUp";NtvEvents[23] ="OnLoseCapture";NtvEvents[24] ="OnMouseDown";NtvEvents[25] ="OnMouseEnter";NtvEvents[26] ="OnMouseLeave";NtvEvents[27] ="OnMouseMove";NtvEvents[28] ="OnMouseOut";NtvEvents[29] ="OnMouseOver";NtvEvents[30] ="OnMouseUp";NtvEvents[31] ="OnMouseWheel";NtvEvents[32] ="OnPropertyChange";NtvEvents[33] ="OnReadyStateChange";NtvEvents[34] ="OnScroll";NtvEvents[35] ="OnSelect";NtvEvents[36] ="OnResize";NtvEvents[37] ="OnDragStart";NtvEvents[38] ="OnSelectStart";function IsEvtHdlExist(v7a316){ var v7f916; try { v7f916 =eval(v7a316 +"!=null"); } catch (ex) { v7f916 =false; } return v7f916;}var ISEvent = { objEvent: null, clientX: 0, clientY: 0, LastKeyboardType: null, LastKeyCode: null, MouseDownId: -1, ContextMenuCancelled: false, LEFT: 1, MIDDLE: 4, RIGHT: 2, IsLeftButton: function(vd143) { var v96438 =window.event; if (!v96438) v96438 =vd143; if (IS.ie) return (v96438.button ==1); else return (v96438.button ==0 ||v96438.button ==65535); }, IsMiddleButton: function(v1653) { var vec03 =window.event; if (!vec03) vec03 =v1653; if (IS.ie) return (vec03.button ==4); else return (vec03.button ==1); }, IsRightButton: function(vc2e3) { var v31c3 =window.event; if (!v31c3) v31c3 =vc2e3; return (v31c3.button ==2); }, Capture: function(v4193) { with (ISEvent) { objEvent =(v4193 ==null)? window.event : v4193; clientX =v4193.clientX +v4193.srcElement.parentNode.scrollLeft; clientY =v4193.clientY +v4193.srcElement.parentNode.scrollTop; } }, Register: function(v43183,v5e686) { var vf103; if (v5e686 !=null) { vf103 =new Object(); IS.SetProperties(vf103,v5e686); var v09c96; for (var vf6d22 =0; vf6d22 <v5e686.childNodes.length; vf6d22++) { v09c96 =v5e686.childNodes[vf6d22]; var v1ae45 =ISEvent.Register(v43183,v09c96); eval("vf103." +v09c96.nodeName +"=v1ae45;"); } } return vf103; }, AttachControlEvents: function(ve0828,v5017) { if (!ve0828) return; var v5cb11 =""; for (v5cb11 in ve0828) { var v5ac47 =v5cb11.toLowerCase(); Listener.Add(v5017,v5ac47,function() { ISEvent.RaiseMultiDelegates(); }); } }, ValidateHandler: function(v37836,ve6658) { if (v37836[ve6658].constructor ==Array ||typeof (v37836[ve6658])=="object") { var v83c92 =false; for (var v21938 =0; v21938 <v37836[ve6658].length; v21938++) { var vbb652 =v37836[ve6658][v21938]; try { var va1938 =vbb652.toString(); } catch (e) { v83c92 =true; break; } } if (v83c92) { var vfa13 =new Array(); for (var v21938 =0; v21938 <v37836[ve6658].length; v21938++) { var vbb652 =v37836[ve6658][v21938]; try { var va1938 =vbb652.toString(); vfa13.push(vbb652); } catch (e) { } } v37836[ve6658] =vfa13; } } }, AddFunctionHandler: function(v9ad81,v3cc79,v83f81) { if (!v9ad81) return; try { ISEvent.ValidateHandler(v9ad81,v3cc79); } catch (e) { v9ad81[v3cc79] =new Array(); } try { if (v9ad81[v3cc79] ==null ||v9ad81[v3cc79] =="") v9ad81[v3cc79] =new Array(); } catch (e) { } var ve9717 =true; var v11949 =false; if (v83f81.TargetObject !=null) v11949 =true; for (var vafb0 =0; vafb0 <v9ad81[v3cc79].length; vafb0++) { var vc1174 =v9ad81[v3cc79][vafb0]; if (vc1174.toString()==v83f81.toString()) { if (v11949) { if (v83f81.TargetObject ==vc1174.TargetObject) { ve9717 =false; break; } } else { ve9717 =false; break; } } } if (ve9717) v9ad81[v3cc79][v9ad81[v3cc79].length] =v83f81; }, RemoveFunctionHandler: function(v16b42,v4f260,v60248) { if (!v16b42) return; var v3e097 =new Array(); for (var vd9439 =0; vd9439 <v16b42[v4f260].length; vd9439++) { var v39a33 =v16b42[v4f260][vd9439];  var v47012 =v39a33.toString().substring(0,v39a33.toString().lastIndexOf("(")); var v47182 =v60248.toString().substring(0,v60248.toString().lastIndexOf("(")); if (v47012 !=v47182) v3e097.push(v39a33);  } v16b42[v4f260] =v3e097; }, RaiseMultiDelegates: function() {  var v1fb22 =IS.GetRuntimeObjectById(window.event.srcElement.id); var vd1e51 =""; var vbcb81 =""; var v93f47 =IS.GetEventType(); for (vd1e51 in v1fb22.Events) { if (vd1e51.toLowerCase()=="on" +v93f47) vbcb81 =v1fb22.Events[vd1e51]; } if (vbcb81 !="") { if (vbcb81.indexOf(";")<0) { if (vbcb81.indexOf("(")<0) { return eval(vbcb81 +"('" +v1fb22.Id +"')"); } else { return eval(vbcb81); } } else { var v75261 =vbcb81.split(';'); for (var vfb458 =0; vfb458 <v75261.length; vfb458++) { var v05459 =v75261[vfb458]; if (v05459.indexOf("(")<0) { return eval(v05459 +"('" +v1fb22.Id +"')"); } else { return eval(v05459); } } } } }, IsNative: function(vf4f92) { var ve0876 =false; for (var v35523 =0; v35523 <NtvEvents.length; v35523++) { if (NtvEvents[v35523] ==vf4f92) { ve0876 =true; break; } } return ve0876; }, IsDirtyKeyboardEvent: function() { var v01a56 =window.event; var v78a13 =IS.ie ? v01a56.type : IS.mozEventType; with (ISEvent) { if (LastKeyboardType ==null ||LastKeyboardType !=v78a13 ||LastKeyCode !=v01a56.keyCode) { LastKeyboardType =v78a13; LastKeyCode =v01a56.keyCode; return false; } else return true; } }, GetName: function(v17f37) { var ve4820 =window.event; var vb0c44 =null; if (ve4820) vb0c44 =IS.ie ? ve4820.type : IS.mozEventType; var vcfd7 =null; if (v17f37 ==null ||v17f37 =="") v17f37 =vb0c44; else { if (v17f37.indexOf("On")>-1) return v17f37; } switch (v17f37) { case "c": case "click": vcfd7 ="OnClick"; break; case "dc": case "dblclick": vcfd7 ="OnDblClick"; break; case "md": case "mousedown": vcfd7 ="OnMouseDown"; break; case "mm": case "mousemove": vcfd7 ="OnMouseMove"; break; case "mout": case "mouseout": vcfd7 ="OnMouseOut"; break; case "mover": case "mouseover": vcfd7 ="OnMouseOver"; break; case "mu": case "mouseup": vcfd7 ="OnMouseUp"; break; } return vcfd7; }, Raise: function() { var vc3d17 =true; var evtHandler,params; evtHandler =arguments[0]; try { if (evtHandler ==null ||evtHandler =="") return vc3d17; } catch (e) { } if (typeof (evtHandler)=="function") { vc3d17 =evtHandler(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]); if (vc3d17 ==null) vc3d17 =true; return vc3d17; } else if (evtHandler.constructor ==Array ||typeof (evtHandler)=="object") { for (var ve3f94 =0; ve3f94 <evtHandler.length; ve3f94++) { var vcab91 =evtHandler[ve3f94]; if (vcab91 ==null) continue; vc3d17 =vcab91(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]); if (vc3d17 ==null) vc3d17 =true; if (!vc3d17) break; } return vc3d17; } params =""; for (var ve3f94 =1; ve3f94 <arguments.length; ve3f94++) { if (arguments[ve3f94] !=null) { if (arguments[ve3f94].constructor ==String) params =params +"'" +escape(arguments[ve3f94])+"',"; else params =params +"arguments[" +ve3f94 +"],"; } else params =params +"null,"; } if (params.length >0) params ="(" +params.substr(0,params.length -1)+")"; if (evtHandler.indexOf(";")>-1) { var v98695 =evtHandler.split(';'); for (var vd7917 =0; vd7917 <v98695.length; vd7917++) { var v90f63 =v98695[vd7917]; if (v90f63.indexOf("(")==-1) v90f63 +=params; vc3d17 =eval(v90f63); if (vc3d17 ==null) vc3d17 =true; if (!vc3d17) break; } } else { if (evtHandler.indexOf("(")==-1) evtHandler +=params;  vc3d17 =eval(evtHandler); } if (vc3d17 ==null) vc3d17 =true; return vc3d17; } };if (!IS.ie){ ISEvent.LEFT =0; ISEvent.MIDDLE =1; ISEvent.RIGHT =2;}var ISShiftSymbol =new Array();var ISUnShiftSymbol =new Array();ISShiftSymbol[0] =new Array("~",192);ISShiftSymbol[1] =new Array("!",49);ISShiftSymbol[2] =new Array("@",50);ISShiftSymbol[3] =new Array("#",51);ISShiftSymbol[4] =new Array("$",52);ISShiftSymbol[5] =new Array("%",53);ISShiftSymbol[6] =new Array("^",54);ISShiftSymbol[7] =new Array("&",55);ISShiftSymbol[8] =new Array("*",56);ISShiftSymbol[9] =new Array("(",67);ISShiftSymbol[10] =new Array(")",48);if (IS.ie){ ISShiftSymbol[11] =new Array("_",189); ISShiftSymbol[12] =new Array("+",187);}else{ ISShiftSymbol[11] =new Array("_",109); ISShiftSymbol[12] =new Array("+",61);}ISShiftSymbol[13] =new Array("|",220);ISShiftSymbol[14] =new Array("{",219);ISShiftSymbol[15] =new Array("}",221);if (IS.ie) ISShiftSymbol[16] =new Array(":",186);else ISShiftSymbol[16] =new Array(":",59);ISShiftSymbol[17] =new Array("\"",222);ISShiftSymbol[18] =new Array("<",188);ISShiftSymbol[19] =new Array(">",190);ISShiftSymbol[20] =new Array("?",191);ISUnShiftSymbol[0] =new Array("`",192);ISUnShiftSymbol[1] =new Array("-",189);if (IS.ie) ISUnShiftSymbol[2] =new Array("=",187);else ISUnShiftSymbol[2] =new Array("=",61);ISUnShiftSymbol[3] =new Array("\\",220);ISUnShiftSymbol[4] =new Array("[",219);ISUnShiftSymbol[5] =new Array("]",221);if (IS.ie) ISUnShiftSymbol[6] =new Array(";",186);else ISUnShiftSymbol[6] =new Array(";",59);ISUnShiftSymbol[7] =new Array("'",222);ISUnShiftSymbol[8] =new Array(",",188);ISUnShiftSymbol[9] =new Array(".",190);ISUnShiftSymbol[10] =new Array("/",191);ISUnShiftSymbol[11] =new Array("/",111);ISUnShiftSymbol[12] =new Array("*",106);ISUnShiftSymbol[13] =new Array("-",109);ISUnShiftSymbol[14] =new Array("+",107);ISUnShiftSymbol[15] =new Array(".",110);var ISKeyboardKey = { ENTER: 13, TAB: 9, UP: 38, DOWN: 40, LEFT: 37, RIGHT: 39, SPACE: 32, SHIFT: 16, CTRL: 17, ALT: 18, ESC: 27, F1: 112, F2: 113, F3: 114, F4: 115, F5: 116, F6: 117, F7: 118, F8: 119, F9: 120, F10: 121, F11: 122, F12: 123, DELETE: 46, BACKSPACE: 8, INSERT: 45, HOME: 36, END: 35, PAGE_UP: 33, PAGE_DOWN: 34, NUM_LOCK: 144, NUMPAD0: 96, NUMPAD1: 97, NUMPAD2: 98, NUMPAD3: 99, NUMPAD4: 100, NUMPAD5: 101, NUMPAD6: 102, NUMPAD7: 103, NUMPAD8: 104, NUMPAD9: 105, NUMPAD_DIVIDE: 111, NUMPAD_MULTIPLY: 106, NUMPAD_MINUS: 109, NUMPAD_PLUS: 107, IsSpecialKey: function(v96b5) { return ((v96b5 >=112 &&v96b5 <=123)||v96b5 ==13 ||v96b5 ==32); }, IsDirection: function(v8f422) { if (v8f422 ==null) v8f422 =window.event.keyCode; return (37 <=v8f422 &&v8f422 <=40); }, IsLetter: function(v58122) { if (v58122 ==null) v58122 =window.event.keyCode; return (65 <=v58122 &&v58122 <=90); }, IsUpperCaseLetter: function(vc9122,vd1080) { if (vd1080 ==null) vd1080 =window.event; if (vc9122 ==null) vc9122 =vd1080.keyCode; return (65 <=vc9122 &&vc9122 <=90 &&!vd1080.shiftKey); }, IsLowerCaseLetter: function(vaa586,v40411) { if (v40411 ==null) v40411 =window.event; if (vaa586 ==null) vaa586 =window.event.keyCode; return (65 <=vaa586 &&vaa586 <=90 &&v40411.shiftKey); }, IsNumber: function(v16a86,va6411) { if (va6411 ==null) va6411 =window.event; if (v16a86 ==null) v16a86 =window.event.keyCode; return ((48 <=v16a86 &&v16a86 <=57 &&!va6411.shiftKey)||(96 <=v16a86 &&v16a86 <=105)); }, IsShiftSymbol: function(v8ef66,v41e1) { if (v41e1 ==null) v41e1 =window.event; if (!v41e1.shiftKey) return false; if (v8ef66 ==null) v8ef66 =v41e1.keyCode; var v3c886 =false; for (var v0af11 =0; v0af11 <ISShiftSymbol.length; v0af11++) { if (ISShiftSymbol[v0af11][1] ==v8ef66) { v3c886 =true; break; } } return v3c886; }, IsUnShiftSymbol: function(vc1511,vab122) { if (vab122 ==null) vab122 =window.event; if (vab122.shiftKey) return false; if (vc1511 ==null) vc1511 =vab122.keyCode; var v9e447 =false; for (var v5df92 =0; v5df92 <ISUnShiftSymbol.length; v5df92++) { if (ISUnShiftSymbol[v5df92][1] ==vc1511) { v9e447 =true; break; } } return v9e447; }, IsSymbol: function(v35591,v60613) { return (ISKeyboardKey.IsShiftSymbol(v35591,v60613)||ISKeyboardKey.IsUnShiftSymbol(v35591,v60613)); }, GetChar: function(vc9f19,vb4a74,vcf642) { var vbdd91 =""; if (vb4a74 ==null) vb4a74 =window.event; if (vc9f19 ==null) vc9f19 =vb4a74.keyCode; ISUnShiftSymbol[15][0] =vcf642 !=null ? vcf642 : ".";  if (ISKeyboardKey.IsLetter(vc9f19)) { vbdd91 =String.fromCharCode(vc9f19); if (!vb4a74.shiftKey) vbdd91 =vbdd91.toLowerCase(); } else { if (ISKeyboardKey.IsNumber(vc9f19)) { if (48 <=vc9f19 &&vc9f19 <=57) vbdd91 =vc9f19 -48; else if (96 <=vc9f19 &&vc9f19 <=105) vbdd91 =vc9f19 -96; vbdd91 =vbdd91.toString(); } else { if (vb4a74.shiftKey) { for (var v41713 =0; v41713 <ISShiftSymbol.length; v41713++) { if (ISShiftSymbol[v41713][1] ==vc9f19) { vbdd91 =ISShiftSymbol[v41713][0]; break; } } } else { for (var v41713 =0; v41713 <ISUnShiftSymbol.length; v41713++) { if (ISUnShiftSymbol[v41713][1] ==vc9f19) { vbdd91 =ISUnShiftSymbol[v41713][0]; break; } } } } } return vbdd91; } };function WindowInfo(){ this.IsEnabled =true; this.DisplayPosition =this.DisplayType =this.OffsetControlID =this.ControlID =""; this.X =this.Y =this.Width =this.Height =0; this.OffsetLocation =new OffsetLocation(); this.OffsetControl =null; this.IsRelFromOffsetControl =false; this.GetWindowType =function() { if (IS.ie) { if (this.DisplayType ==null ||this.DisplayType =="") return "Normal"; else return this.DisplayType; } else return "Normal"; };};function OffsetLocation(vb5633,vea684){ this.X =this.Y =0; this.IsEmpty =function() { return (this.X ==0 &&this.Y ==0); }; this.Parse =function(vb1397) { if (!vb1397) return; var vb8833 =vb1397.split(","); this.X =parseFloat(vb8833[0]); this.Y =parseFloat(vb8833[1]); }; if (vb5633) this.X =vb5633; if (vea684) this.Y =vea684;};var WindowEngine = { Register: function(ve3a61,va0e45,v46541) { var v2a580; if (ve3a61 !=null) { v2a580 =new WindowInfo(); WindowEngine.AssignProperties(v2a580,ve3a61); var v18b54 =document.getElementById(v2a580.ControlID); if (va0e45 !=null &&v46541 !=null) { va0e45 =parseFloat(va0e45); v2a580.Width =isNaN(va0e45)? 0 : va0e45; v46541 =parseFloat(v46541); v2a580.Height =isNaN(v46541)? 0 : v46541; } else { if (v18b54) { v2a580.Width =ISPosLib.getWidth(v18b54); v2a580.Height =ISPosLib.getHeight(v18b54); } } if (v2a580.GetWindowType()=="Popup" &&IS.ie) { v2a580.Popup =window.createPopup(); if (v18b54) { with (v2a580.Popup.document.body) { topMargin =bottomMargin =leftMargin =rightMargin =0; innerHTML =v18b54.outerHTML; } } } else v2a580.Popup =new WindowPopup(v2a580); if (v18b54) v18b54.style.display ="none"; } return v2a580; }, AssignProperties: function(vb4c5,v1c166) { if (vb4c5 !=null &&v1c166 !=null) { IS.SetProperties(vb4c5,v1c166); if (!IS.ie) vb4c5.DisplayType ="Normal"; var v09e5 =v1c166.selectSingleNode("OffsetLocation"); IS.SetProperties(vb4c5.OffsetLocation,v09e5); } }, AssignPropertiesToXml: function(vc8486,vb0b56) { if (vc8486 !=null &&vb0b56 !=null) { IS.SetPropertiesToXml(vc8486,vb0b56); var va6486 =vb0b56.selectSingleNode("OffsetLocation"); IS.SetPropertiesToXml(vc8486.OffsetLocation,va6486); } }, ShowById: function(v84f86,v2f756) { var vc1586 =IS.GetRuntimeObjectById(v84f86); if (vc1586 ==null) return; }, Show: function(v90586,v2cb56) { if (v90586 ==null) return; if (v90586.IsEnabled) { if (typeof (v90586.Popup.Init)=="function") v90586.Popup.Init(); if (!v2cb56) WindowEngine.CalcLocation(v90586); v90586.Popup.show(v90586.X,v90586.Y,parseFloat(v90586.Width),parseFloat(v90586.Height)); } }, Hide: function(v52031) { if (v52031 ==null) return; }, CalcLocation: function(v70275) { if (v70275.IsEnabled) { var vbfc31 =new OffsetLocation(); with (v70275) { var vf7377 =document.getElementById(OffsetControlID); var va7b4 =v70275.Popup.document.getElementById(ControlID); if (vf7377) { v70275.OffsetControl =vf7377; var d,v; if (va7b4) { with (va7b4.style) { d =display; v =visibility; display =""; visibility ="visible"; } v70275.Width =ISPosLib.getWidth(va7b4); v70275.Height =ISPosLib.getHeight(va7b4); } WindowEngine._InitOffsetLocation(vbfc31,vf7377,v70275.Width,v70275.Height,DisplayPosition,v70275); if (va7b4) { with (va7b4.style) { display =d; visibility =v; } } var vc1b53 =0; var vba454 =0; if (!(OffsetLocation ==null &&OffsetLocation ==undefined)) { vc1b53 =OffsetLocation.X !=null ? parseFloat(OffsetLocation.X): 0; vba454 =OffsetLocation.Y !=null ? parseFloat(OffsetLocation.Y): 0; } v70275.X =vc1b53 +vbfc31.X; v70275.Y =vba454 +vbfc31.Y; } } } }, _InitOffsetLocation: function(ve1f9,va6261,v1da63,v38f40,v59466,vc8791) { var v1fa75 =0; var v33a98 =0; var vb3f19 =ISPosLib.getWidth(va6261); var v9e449 =ISPosLib.getHeight(va6261); v1da63 =parseFloat(v1da63); v38f40 =parseFloat(v38f40); if (vc8791.IsRelFromOffsetControl ==false) { if (vc8791.GetWindowType()=="Normal") { v1fa75 =ISPosLib.getLeft(va6261); v33a98 =ISPosLib.getTop(va6261); } else { v1fa75 =ISPosLib.getScreenLeft(va6261); v33a98 =ISPosLib.getScreenTop(va6261); } switch (v59466) { case "Left": ve1f9.X =v1fa75 -v1da63; ve1f9.Y =v33a98; break; case "LeftTop": ve1f9.X =v1fa75 -v1da63; ve1f9.Y =v33a98 -v38f40; break; case "LeftBottom": ve1f9.X =v1fa75 -v1da63; ve1f9.Y =v33a98 +v9e449; break; case "Right": ve1f9.X =v1fa75 +vb3f19; ve1f9.Y =v33a98; break; case "RightTop": ve1f9.X =v1fa75 +vb3f19; ve1f9.Y =v33a98 -v38f40; break; case "RightBottom": ve1f9.X =v1fa75 +vb3f19; ve1f9.Y =v33a98 +v9e449; break; case "Top": ve1f9.X =v1fa75; ve1f9.Y =v33a98 -v38f40; break; case "Bottom": ve1f9.X =v1fa75; ve1f9.Y =v33a98 +v9e449; break; case "Center": ve1f9.X =v1fa75 +(vb3f19 /2); ve1f9.Y =v33a98 +(vb3f19 /2); break; } } else { var vbcf32 =vc8791.Popup.document.getElementById(vc8791.ControlID); if (vbcf32 ==null) vbcf32 =document.getElementById(vc8791.ControlID); v1fa75 =va6261.offsetLeft; v33a98 =va6261.offsetTop; if (v1fa75 ==0 &&v33a98 ==0) { v1fa75 =ISPosLib.getLeftW3C(va6261); v33a98 =ISPosLib.getTopW3C(va6261); } var vd1d13 =vbcf32.currentStyle.display; var v9114 =vc8791.Width; var vb7040 =vc8791.Height; if (v9114 ==0 ||vb7040 ==0) { if (vd1d13 =="none") vbcf32.style.display =""; if (v9114 ==0) v9114 =ISPosLib.getWidth(vbcf32); if (vb7040 ==0) vb7040 =ISPosLib.getHeight(vbcf32); if (vd1d13 =="none") vbcf32.style.display ="none"; } switch (v59466) { case "Left": ve1f9.Y =v33a98; ve1f9.X =v1fa75 -v9114; break; case "LeftTop": ve1f9.Y =v33a98 -vb7040; ve1f9.X =v1fa75 -v9114; break; case "LeftBottom": ve1f9.X =v1fa75 -v9114; ve1f9.Y =v33a98 +v9e449; break; case "Right": ve1f9.X =v1fa75 +vb3f19; ve1f9.Y =v33a98; break; case "RightTop": ve1f9.X =v1fa75 +vb3f19; ve1f9.Y =v33a98 -vb7040; break; case "RightBottom": ve1f9.X =v1fa75 +vb3f19; ve1f9.Y =v33a98 +v9e449; break; case "Top": ve1f9.Y =v33a98 -vb7040; ve1f9.X =v1fa75; break; case "Bottom": ve1f9.X =v1fa75; ve1f9.Y =v33a98 +v9e449; break; case "Center": ve1f9.X =((v1fa75 +vb3f19)/2)*-1; ve1f9.Y =((v33a98 +v9e449)/2)*-1; break; } } } };function ClientEditor(){ this.AccessKey =113; this.EnterValueKey =13; this.SwitchKey =17;  this.IsEnabled =false; this.IsCollaborateWithHighLight =true; this.WindowInfo =this.Styles =this.CId =null; this.IsUICreated =false; this.IsActive =false; this.Behavior =null;}function Settings(){ this.Directory =null;}function CommonElementClientSideEvents(){ this.OnClick =this.OnDblClick =this.OnMouseDown =this.OnMouseMove =this.OnMouseOut =this.OnMouseOver =this.OnMouseUp =null;}function DynamicStyle(vedc61,v44045,v8c975){ this.Normal =this.Active =this.Over =""; this.Object =null; if (vedc61) this.Normal =vedc61; if (v44045) this.Over =v44045; if (v8c975) this.Active =v8c975; this.SetToNormal =function() { if (this.Object !=null) DynamicStyleEngine.SetToStyle(null,this,this.Object); }; this.SetToActive =function() { if (this.Object !=null) DynamicStyleEngine.SetToActiveStyle(null,this,this.Object); }; this.SetToOver =function() { if (this.Object !=null) DynamicStyleEngine.SetToOverStyle(null,this,this.Object); }; this.GetCurrentState =function() { if (this.Object !=null) { if (this.Object.className ==this.Normal) return "Normal"; else if (this.Object.className ==this.Over) return "Over"; else if (this.Object.className ==this.Active) return "Active"; } };}var DynamicStyleEngine = { _o: null, Assign: function(vb0447,v31827) { var v3f131; if (vb0447 !=null) { v3f131 =new DynamicStyle(); IS.SetProperties(v3f131,vb0447); if (v31827) v3f131.Object =v31827; } return v3f131; }, AssignFromArray: function(v10875,vc8c88,v98b59) { for (var vdac11 =0; vdac11 <v98b59.length; vdac11++) { var vd2d57 =vc8c88.selectSingleNode(v98b59[vdac11]); if (vd2d57) { v10875[v98b59[vdac11]] =DynamicStyleEngine.Assign(vd2d57); vc8c88.removeChild(vd2d57); } } }, _GetElementToSet: function(vcc256) { var v86756; if (DynamicStyleEngine._o !=null) { if (DynamicStyleEngine._o.id ==vcc256) v86756 =DynamicStyleEngine._o; else v86756 =document.getElementById(vcc256); } else v86756 =document.getElementById(vcc256); return v86756; }, SetToActiveStyle: function(v40956,v1b378,v5d093) { var v10656 =v5d093 ==null ? DynamicStyleEngine._GetElementToSet(v40956): v5d093; if (v10656 !=null &&v1b378 !=null) v10656.className =v1b378.Active; }, SetToOverStyle: function(vd0836,v1fc69,v92526) { var vd4136 =v92526 ==null ? DynamicStyleEngine._GetElementToSet(vd0836): v92526; if (vd4136 !=null &&v1fc69 !=null) vd4136.className =v1fc69.Over; }, SetToStyle: function(v44317,v7e559,v6b059) { var vaa417 =v6b059 ==null ? DynamicStyleEngine._GetElementToSet(v44317): v6b059; if (vaa417 !=null &&v7e559 !=null) vaa417.className =v7e559.Normal; }, AddStyleRule: function(v36481,v3fa90,v2da41) { if (v2da41 !=null &&v36481 !=null) { IS.AddStyleRule(v36481,v3fa90,v2da41.Active); IS.AddStyleRule(v36481,v3fa90,v2da41.Over); IS.AddStyleRule(v36481,v3fa90,v2da41.Normal); } }, GetStyleText: function(v50345,v47b20,v35e22) { var ve2345 =""; if (v47b20) { ve2345 =IS.GetStyleText(v50345,v47b20.Active,v35e22); ve2345 +=IS.GetStyleText(v50345,v47b20.Over,v35e22); ve2345 +=IS.GetStyleText(v50345,v47b20.Normal,v35e22); } return ve2345; } };var ISXml = { GetAttribute: function(vbd96,v41836) { if (vbd96) { var v4e690 =vbd96.getAttribute(v41836); if (v4e690 ==null) { v4e690 =vbd96.getAttribute(v41836.toLowerCase()); if (v4e690 ==null) v4e690 =vbd96.getAttribute(v41836.toUpperCase()); } return v4e690; } return ""; }, SetAttribute: function(v65e70,v1e267,v13b3) { if (v65e70) { var vf4370 =v65e70.attributes.getNamedItem(v1e267); if (vf4370) vf4370.value =v13b3; else { vf4370 =v65e70.attributes.getNamedItem(v1e267.toLowerCase()); if (vf4370) vf4370.value =v13b3; else { vf4370 =v65e70.attributes.getNamedItem(v1e267.toUpperCase()); if (vf4370) vf4370.value =v13b3; else v65e70.setAttribute(v1e267,v13b3); } } } }, GetNode: function(v5c151,v94357) { return v5c151.selectSingleNode(v94357); }, GetNodes: function(v6ed51,vfa257) { return v6ed51.selectNodes(vfa257); }, GetNodeText: function(v24e15,va4d88) { var v53851 =ISXml.GetNode(v24e15,va4d88); if (v53851) { return v53851.text; } return ""; }, SetNodeText: function(ve5e15,v35188,vfeb17) { var v50515 =ISXml.GetNode(ve5e15,v35188); if (v50515) { if (IS.ie) v50515.text =vfeb17; else v50515.textContent =vfeb17; } }, CreateNode: function(v2ba15,vfc088,vb4517,v75f63) { var vfe415 =v2ba15.createNode(1,vb4517,v75f63); vfc088.appendChild(vfe415); return vfe415; }, CreateNodeOnly: function(v6bc96,v6cd78,v19950) { var v1be96 =v6bc96.createNode(1,v6cd78,v19950); return v1be96; }, CreateCDATA: function(v28460,v4da8,v0bc32,vf0860) { var vab996 =v28460.createNode(1,v0bc32,""); var v41378 =v28460.createCDATASection(vf0860); vab996.appendChild(v41378); v4da8.appendChild(vab996); return vab996; }, RemoveNode: function(v3ce40,vb5999) { var v81340 =v3ce40.selectSingleNode(vb5999); if (v81340) { v3ce40.removeChild(v81340); } return v81340; }, GetElementById: function(v64685) { var v72657 =document.getElementById(v64685); if (!v72657) return null; var v23b59 =v72657.innerHTML; if (v23b59.substring(4,11)=="[CDATA[") { v23b59 =v23b59.substr(v23b59.indexOf("[CDATA[")+7); v23b59 =v23b59.substr(0,v23b59.length -5); if (IS.ie) { var vf6617 =new ActiveXObject("Microsoft.XMLDOM"); vf6617.loadXML(v23b59); return vf6617; } else { v23b59 =v23b59.replace(new RegExp(">\\s*<","g"),"><"); v23b59 =v23b59.replace(new RegExp("\"\\s{2,}","g"),"\" "); v23b59 =v23b59.replace(new RegExp("^\\s*"),""); v23b59 =v23b59.replace(new RegExp("\\s*$"),""); return (new DOMParser()).parseFromString(v23b59,"text/xml"); } } return v72657; }, CreateXmlDocument: function() { if (IS.ie) return new ActiveXObject("Microsoft.XMLDOM"); else return (new DOMParser()).parseFromString("<root/>","text/xml"); }, LoadXml: function(v9661,va8780) { v9661.loadXML(va8780); }, EncodeAmpersand: function(vee365) { return vee365.replace(/[&]/g,"$isamp;"); }, EncodeString: function(vd3129) { if (vd3129 ==null ||typeof (vd3129)=="undefined") return null; if (typeof (vd3129)!="string") vd3129 =vd3129.toString(); var v7d165 =vd3129.replace(/[&]/g,"$isamp;"); v7d165 =v7d165.replace(/[<]/g,"$isltd;"); v7d165 =v7d165.replace(/[>]/g,"$isgtd;"); v7d165 =v7d165.replace(/[+]/g,"$isplus;"); v7d165 =v7d165.replace(/["]/g, "$isquot;");         return v7d165;     },     DecodeString: function(v6d146)     {         if (typeof (v6d146) != "string")             return;         var vc8a46 = v6d146.replace(/\$isamp;/g, "&");         vc8a46 = vc8a46.replace(/\$isltd;/g, "<");         vc8a46 = vc8a46.replace(/\$isgtd;/g, ">");         vc8a46 = vc8a46.replace(/\$isplus;/g, "+");         vc8a46 = vc8a46.replace(/\$isquot;/g, "\""); return vc8a46; } };function IFlyPostBack(vbf222){ this.PostViewState =true; this.PostHiddenFields =true; this.PostInputControls =false; this.PostControlState =true; this.FormIndex =-1; this.FormKey =vbf222; this.AdditionalInputs =new Array(); this.IsFlyPostBackControl =true; this.AddInput =function(v2b186,vbb456) { var vcce42 =false; for (var va4236 =0; va4236 <this.AdditionalInputs.length; va4236++) { if (this.AdditionalInputs[va4236][0] ==v2b186) { vcce42 =true; break; } } if (vcce42) this.AdditionalInputs[va4236] = [ v2b186, ISXmlHttpEngine.EncodeURL(vbb456) ]; else this.AdditionalInputs[this.AdditionalInputs.length] = [ v2b186, ISXmlHttpEngine.EncodeURL(vbb456) ]; }; this.CollectInput =function() { var v3f29 =ISXmlHttpEngine.CollectInput(); for (var va4236 =0; va4236 <v3f29.length; va4236++) { var ve8170 =v3f29[va4236]; this.AddInput(ve8170[0],ve8170[1]); }  for (var va4236 =0; va4236 <this.AdditionalInputs.length; va4236++) { if (this.AdditionalInputs[va4236][1] =="!_remove") { this.AdditionalInputs.splice(va4236,1); va4236--; } } };}function ISXmlHttp(){ this.XmlHttp =null; this.OnResponse =null; this.Control =null; this.Asynchronous =true; this.LastAction =""; this.ResponseFormat ="Xml"; this.HttpVerb ="POST"; this.HttpSubVerb =""; this.UsePostTunneling =false; this.Reset =function() { this.HttpVerb ="POST"; this.HttpSubVerb =""; this.UsePostTunneling =false; }; this.SendFast =function() { this.Send(null,null,true); }; this.SendJson =function(vcee81,vaea0,v2d034) { var v57b67 =this.XmlHttp; var v42a47 =this; if (!this.Asynchronous ||v57b67 ==null ||v57b67.readyState !=0) { this.XmlHttp =null; if (v57b67 !=null) v57b67.abort(); v57b67 =null; try { v57b67 =new XMLHttpRequest(); } catch (e) { if (IS.ie) v57b67 =new ActiveXObject("Microsoft.XMLHTTP"); } if (this.Asynchronous) this.XmlHttp =v57b67; } if (this.UsePostTunneling) { this.HttpSubVerb =this.HttpVerb; this.HttpVerb ="POST"; } v57b67.open(this.HttpVerb,vcee81,true); v57b67.setRequestHeader("Content-Type","application/json"); v57b67.setRequestHeader("Accept","application/json"); if (this.HttpSubVerb !="") v57b67.setRequestHeader("X-HTTP-Method",this.HttpSubVerb); v57b67.onreadystatechange =function() { ISXmlHttpEngine.OnResponse(v42a47); }; if (typeof (v2d034)!="undefined") v57b67.send(ISJsonEngine.Serialize(v2d034)); else v57b67.send(""); if (typeof (vaea0)!="undefined" &&vaea0 !=null) this.LastAction =vaea0; if (!this.Asynchronous) ISXmlHttpEngine.OnResponse(v42a47,v57b67); }; this.Send =function(v3ae61,vaea0,v96867) { var v57b67 =this.XmlHttp; var v96033 =""; var v8da48 =-1; var v42a47 =this; if (v3ae61 ==null) { if (typeof (this.Control.FormIndex)=="number") v8da48 =this.Control.FormIndex; if (v8da48 ==-1) { if (document.forms.length >1) { var vba252 =this.Control.FrameObj; if (vba252) { var vbdb45 =vba252.parentElement; while (vbdb45) { if (vbdb45.tagName =="FORM") { v96033 =vbdb45.action; break; } vbdb45 =vbdb45.parentElement; } } else v8da48 =0; } else v8da48 =0; } if (v96033 =="") v96033 =document.forms[v8da48].action; } else v96033 =v3ae61; if (IS.ie &&IS.GetIEVersion()<6) v96033 =v96033.substring(0,2).toUpperCase()+v96033.substring(2).toLowerCase(); var v14b44 ="&__EVENTTARGET=ISControl&__EVENTARGUMENT=PostBack"; if (this.Control.GetType()=="WebFlyPostBackManager" &&this.Control.EnableUIMode) { var va8084 =document.getElementById("__EVENTTARGET"); var v67827 =document.getElementById("__EVENTARGUMENT"); v14b44 =""; if (va8084) v14b44 ="&__EVENTTARGET=" +va8084.value; if (v67827) v14b44 +="&__EVENTARGUMENT=" +v67827.value; } if (!this.Asynchronous ||v57b67 ==null) { this.XmlHttp =null; if (v57b67 !=null) v57b67.abort(); v57b67 =null; try { v57b67 =new XMLHttpRequest(); } catch (e) { if (IS.ie) v57b67 =new ActiveXObject("Microsoft.XMLHTTP"); } if (this.Asynchronous) this.XmlHttp =v57b67; } v57b67.open("POST",v96033,this.Asynchronous); v57b67.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); v57b67.onreadystatechange =function() { ISXmlHttpEngine.OnResponse(v42a47); }; v57b67.send(this.Control.FormKey +"=" +ISXmlHttpEngine.GetData(this.Control,v96867)+v14b44 +"&__FLYPOSTBACK=true&__FLYPOSTBACKID=" +this.Control.ServerUniqueID); if (typeof (vaea0)!="undefined" &&vaea0 !=null) this.LastAction =vaea0; if (!this.Asynchronous) ISXmlHttpEngine.OnResponse(v42a47,v57b67); }; this.Abort =function() { var v57b67 =this.XmlHttp; if (v57b67 !=null) { v57b67.abort(); if (IS.safari) { if (this.Control !=null) this.Control.OnResponseError(""); } } };}var ISXmlHttpEngine = { Create: function(va3592,va8d83) { var v90628 =new ISXmlHttp(); v90628.OnResponse =va8d83; v90628.Control =va3592; try { v90628.XmlHttp =new XMLHttpRequest(); } catch (e) { if (IS.ie) v90628.XmlHttp =new ActiveXObject("Microsoft.XMLHTTP"); } return v90628; }, CreateRequestXml: function(vb0f92) { var v01292 =ISXml.CreateXmlDocument(); var v4e783 ="<" +vb0f92 +">"; v4e783 +="<request />"; v4e783 +="</" +vb0f92 +">"; v01292.loadXML(v4e783); return v01292; }, CreateResponseXml: function() { return ISXml.CreateXmlDocument(); }, GetObjectData: function(v96789,vfa933) { var v5a292 =""; var v63683 =""; if (typeof (v96789.ClassName)=="string" &&v96789.XmlDt !=null) { v96789.PreparePostBackData(4); if (typeof (v96789.CustomStateString)=="string") v5a292 =v96789.CustomStateString; else { if (v96789.XmlDt.documentElement !=null) v5a292 =v96789.XmlDt.documentElement.xml; } if (v96789.XmlCompressionEnabled) v5a292 =IS.CompressXmlState(v5a292); v5a292 =ISXmlHttpEngine.EncodePlus(ISXmlHttpEngine.EncodeXml(v5a292)); v63683 +="&" +v96789.xmlInputHiddenUniqueID +"=" +(!v96789.IsUnicodeEncoding()? escape(v5a292): v5a292); } return v63683; }, GetData: function(va533,vdbe87) { var v4c717 =ISXmlHttpEngine.EncodeXml(va533.XmlReq.xml); var v3b095 =""; var vdd626 =null; if (!va533.IsUnicodeEncoding()) v4c717 =escape(v4c717); if (vdbe87) { var v5cd53 =document.getElementById(va533.Id); if (v5cd53 !=null) v4c717 +="&" +v5cd53.name +"=" +"Dummy"; for (var v41a67 =0; v41a67 <va533.AdditionalInputs.length; v41a67++) v4c717 +="&" +va533.AdditionalInputs[v41a67][0] +"=" +va533.AdditionalInputs[v41a67][1]; return v4c717; } if (va533.PostViewState) { var vc8069 =document.getElementById("__VIEWSTATE"); if (IS.moz) vc8069 =document.forms[0]["__VIEWSTATE"]; if (vc8069) { v3b095 =vc8069.value; v3b095 =v3b095.replace(/[+]/g,"%2b"); } if (v3b095 !="") v3b095 ="&__VIEWSTATE=" +v3b095; v4c717 +=v3b095; } if (va533.PostInputControls) va533.CollectInput(); if (va533.PostControlState) { var v5cd53 =document.getElementById(va533.Id); if (v5cd53 !=null) v4c717 +="&" +v5cd53.name +"=" +ISXmlHttpEngine.EncodeURL(v5cd53.value); v4c717 +=ISXmlHttpEngine.GetObjectData(va533); } if (va533.PostHiddenFields) { var vdaf61 =document.getElementsByTagName("input"); var v7d740 =false; if (va533.GetType()=="WebFlyPostBackManager" &&va533.FlyPostBackSettings.SelectiveControlsForHiddenFields.length >0) { v7d740 =true; vdd626 =va533.FlyPostBackSettings.SelectiveControlsForHiddenFields; } for (var v41a67 =0; v41a67 <vdaf61.length; v41a67++) { if (vdaf61[v41a67].name.indexOf("EVENT")==-1 &&vdaf61[v41a67].name !="__VIEWSTATE" &&vdaf61[v41a67].type =="hidden" &&vdaf61[v41a67].id !=va533.Id) if (vdaf61[v41a67].name.indexOf("_h")==-1) v4c717 +="&" +vdaf61[v41a67].name +"=" +ISXmlHttpEngine.EncodeURL(vdaf61[v41a67].value); else if (vdaf61[v41a67].type =="checkbox" &&vdaf61[v41a67].checked) v4c717 +="&" +vdaf61[v41a67].name +"=" +vdaf61[v41a67].value; } var v41a67; for (v41a67 in IS.RuntimeObjects) { var v91335 =IS.RuntimeObjects[v41a67]; if (typeof (v91335.ClassName)=="string" &&v91335.Id !=va533.Id) { var vdc796 =false; if (v7d740) { for (var v60f47 =0; v60f47 <vdd626.length; v60f47++) { var v05229 =vdd626[v60f47].ControlID; if (v91335.Id.indexOf(v05229)>-1) { vdc796 =true; break; } } } else vdc796 =true; if (vdc796) v4c717 +=ISXmlHttpEngine.GetObjectData(v91335,true); } } } for (var v41a67 =0; v41a67 <va533.AdditionalInputs.length; v41a67++) { v4c717 +="&" +va533.AdditionalInputs[v41a67][0] +"=" +va533.AdditionalInputs[v41a67][1]; } return v4c717; }, EncodeXml: function(vb9873) { var v6d129 =vb9873; var v94298 =new RegExp("<","g"); var v5e588 =new RegExp("&lt;","g"); var v9700 =new RegExp("&","g"); var v6ee25 =new RegExp("On","g"); var va1d18 =new RegExp("%","g"); v6d129 =v6d129.replace(v94298,"\03"); v6d129 =v6d129.replace(v5e588,"\04"); v6d129 =v6d129.replace(v9700,"\05"); v6d129 =v6d129.replace(v6ee25,"\02"); v6d129 =v6d129.replace(va1d18,"$ispct;"); return v6d129; }, EncodePlus: function(vb9873) { return vb9873.replace(/[+]/g,"$isplus;"); }, EncodeURL: function(vbe018) { var vcf573 =vbe018.replace(/[&]/g,"%26"); vcf573 =vcf573.replace(/[+]/g,"%2b"); return vcf573; }, CollectInput: function() { var v92018 =document.getElementsByTagName("input"); var v29c40 =[]; var v84317 =new Array(); for (var v50494 =0; v50494 <v92018.length; v50494++) { if (v92018[v50494].type !="hidden" &&v92018[v50494].type !="button" &&v92018[v50494].type !="submit" &&v92018[v50494].type !="reset" &&v92018[v50494].type !="checkbox" &&v92018[v50494].type !="radio") { var v97e81 =ISXmlHttpEngine.EncodeURL(v92018[v50494].value); v84317[v84317.length] = [ IS.GetInputCtlName(v92018[v50494]), v97e81 ]; } else if (v92018[v50494].type =="checkbox") { if (v92018[v50494].checked) v84317[v84317.length] = [ IS.GetInputCtlName(v92018[v50494]), "true" ]; else v84317[v84317.length] = [ IS.GetInputCtlName(v92018[v50494]), "!_remove" ]; } else if (v92018[v50494].type =="radio") { if (!v29c40[v92018[v50494].name]) { var vef03 =document.getElementsByName(v92018[v50494].name); if (vef03.length ==1) { if (v92018[v50494].checked) v84317[v84317.length] = [ v92018[v50494].name, v92018[v50494].value ]; } else { for (var va799 =0; va799 <vef03.length; va799++) { if (va799 ==0) v29c40[v92018[v50494].name] =true; if (vef03[va799].checked) { v84317[v84317.length] = [ v92018[v50494].name, vef03[va799].value ]; break; } } } } } } var v09e8 =document.getElementsByTagName("select"); for (var v50494 =0; v50494 <v09e8.length; v50494++) { var v97e81 =ISXmlHttpEngine.EncodeURL(v09e8[v50494].value); v84317[v84317.length] = [ IS.GetInputCtlName(v09e8[v50494]), v97e81 ]; } var v50237 =document.getElementsByTagName("textarea"); for (var v50494 =0; v50494 <v50237.length; v50494++) { var v97e81 =ISXmlHttpEngine.EncodeURL(v50237[v50494].value); v84317[v84317.length] = [ IS.GetInputCtlName(v50237[v50494]), v97e81 ]; } return v84317; }, OnResponse: function(v2a782,vcbf16) { var v98552 =v2a782.Control; var v6c83 =v2a782.XmlHttp; if (vcbf16 !=null) v6c83 =vcbf16;  if (!ISXmlHttpEngine) return; if (v6c83 ==null ||typeof (v6c83)=="undefined") return; if (v6c83.readyState ==4) { var v96262 =v6c83.getResponseHeader("Content-Type"); var v73884 =v6c83.status; if (v73884 ==204 ||v73884 ==1223) { if (v2a782.LastAction !="" &&v2a782.LastAction.indexOf("Execute")>-1 &&v98552.ClientProvider) v98552.ClientProvider.CallbackHandler(new Object()); if (v98552.OnResponse) v98552.OnResponse(new Object(),true); return; }  var vedc15 =v6c83.getResponseHeader("IS-Redirect");  if (vedc15 =="true") { window.location =v6c83.getResponseHeader("IS-Location"); return; } if (v96262 !=null &&v96262 !="" &&v96262.indexOf("json")>-1) { var va5f81 =v6c83.getResponseHeader("jsonerror"); v2a782.ResponseFormat ="Json"; if (va5f81 =="true" ||(v73884 <200 ||v73884 >=300)) { v98552.OnResponseError(v6c83.responseText); return; } else { var v18192 =ISXmlHttpEngine.GetJsonObject(v6c83.responseText); if (v2a782.LastAction !="" &&v2a782.LastAction.indexOf("Execute")>-1 &&v98552.ClientProvider) v98552.ClientProvider.CallbackHandler(v18192); if (v98552.OnResponse) v98552.OnResponse(v18192,true); ISXmlHttpEngine.ProcessClientActions(v18192,true); if (!ISXmlHttpEngine) return; ISXmlHttpEngine.InvokeGeneralResponse(v18192,true); } } else { if (v98552.XmlResp ==null) v98552.XmlResp =ISXmlHttpEngine.CreateResponseXml(); var v86135 =v98552.XmlResp; ISXml.LoadXml(v86135,v6c83.responseText); if (v86135.xml =="" ||v86135.xml.indexOf("parsererror")>0) { var v37636 =v6c83.responseText; var vf5352 =true; var v8fe49 ="<" +v98552.XmlNamespace +">"; var v6dd69 ="</" +v98552.XmlNamespace +">"; if (v37636.indexOf(v8fe49)>=0 &&v37636.indexOf(v6dd69)>=0) { v37636 =v37636.substring(0,v37636.indexOf(v6dd69)+v6dd69.length); ISXml.LoadXml(v86135,v37636); if (v86135.xml =="") vf5352 =true; else vf5352 =false; } if (vf5352) { v98552.OnResponseError(v37636); return; } } v98552.OnResponse(v86135.xml); ISXmlHttpEngine.ProcessClientActions(v86135); if (!ISXmlHttpEngine) return; ISXmlHttpEngine.InvokeGeneralResponse(v86135); } v2a782.Asynchronous =true; } }, InvokeGeneralResponse: function(v80691,v09f67) { for (var v25c10 =0; v25c10 <IS.RuntimeObjects.length; v25c10++) { var v4af77 =IS.RuntimeObjects[v25c10]; if (v4af77 !=null &&v4af77.ClassName !=null && typeof (v4af77.ClassName)!="undefined" && typeof (v4af77.OnFlyPostBackResponse)=="function") { v4af77.OnFlyPostBackResponse(v80691,v09f67); } } }, ReplaceCDataEndTag: function(ve527) { while (ve527.indexOf("||C!||")>-1) { ve527 =ve527.replace("||C!||","]]"); } return ve527; }, ProcessClientActions: function(v45116,v2b079) { if (v45116 ==null) return; var v5427 =null; if (!v2b079) { v5427 =v45116.selectSingleNode("//clientActions"); } else { if (typeof (v45116.clientActions)!="undefined") { v5427 =new Object(); v5427.text =v45116.clientActions; } } if (v5427) { var vb4e27 =v5427.text; IS.OnAJAXInitialization =true; if (vb4e27 !="") { var va4f38 =vb4e27.split("||IS||"); for (var v17b28 =0; v17b28 <va4f38.length; v17b28++) { if (va4f38[v17b28] !="") { var vcbd50 =va4f38[v17b28]; if (vcbd50.indexOf("ISControlRenderer")>-1) { vcbd50 =vcbd50.replace(new RegExp("ISControlRenderer",""),"IS.RenderControl"); vcbd50 =vcbd50.replace(/\n/g,""); vcbd50 =vcbd50.replace(new RegExp("\'","ig"),"\\'"); vcbd50 =ISXmlHttpEngine.ReplaceCDataEndTag(vcbd50); } else if (vcbd50.indexOf("SetValue")>-1) { vcbd50 =vcbd50.replace(/\n/g,"\\n"); } eval(vcbd50); } } } IS.OnAJAXInitialization =false; } }, GetJsonObject: function(v4585) { var v7b461 =ISJsonEngine.ParseAjax(v4585); var vc1999 =""; if (v7b461.d) v7b461 =v7b461.d; if (v7b461 !=null &&typeof (v7b461)!="undefined") { if (typeof (v7b461["__type"])=="string") vc1999 =v7b461["__type"]; if (typeof (ISADONETMappingEngine)=="object" &&vc1999.indexOf("ISDataSet")>-1 ||vc1999.indexOf("ISDataTable")>-1) v7b461 =ISADONETMappingEngine.MappingJsonToObject(v7b461); } return v7b461; } };var ISJsonEngine = { DateRegEx: new RegExp('(^|[^\\\\])\\"\\\\/Date\\((-?[0-9]+)(?:[a-zA-Z]|(?:\\+|-)[0-9]{4})?\\)\\\\/\\"','g'), Cx: /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, Escapable: /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,        Gap: null,        Indent: null,        Meta:
        {    // table of character substitutions
            '\b': '\\b',            '\t': '\\t',            '\n': '\\n',            '\f': '\\f',            '\r': '\\r',            '"': '\\"',            '\\': '\\\\'        },        Rep: null,        Parse: function(v0e134, v59417)        {            var v93d34;            var v0d417 = ISJsonEngine.Cx;            v0d417.lastIndex = 0;            if (v0d417.test(v0e134))            {                v0e134 = v0e134.replace(v0d417, function(a)                {                    return "\\u" +                        ("0000" + a.charCodeAt(0).toString(16)).slice(-4);                });            }            v93d34 = eval("(" + v0e134 + ")");            return typeof v59417 === "function" ?                ISJsonEngine._Walker({ "": v93d34 }, "", v59417) : v93d34;        },        ParseAjax: function(v4e334)        {            v4e334 = v4e334.replace(ISJsonEngine.DateRegEx, "$1new Date($2)");            return ISJsonEngine.Parse(v4e334);        },        _Walker: function(v5dd34, v84a17, v2332)        {            var k, v, value = v5dd34[v84a17];            if (value && typeof value === "object")            {                for (k in value)                {                    if (Object.hasOwnProperty.call(value, k))                    {                        v = walk(value, k);                        if (v !== undefined)                            value[k] = v;                        else                            delete value[k];                    }                }            }            return v2332.call(v5dd34, v84a17, value);        },        Quote: function(v5bf99)        {            ISJsonEngine.Escapable.lastIndex = 0;            return ISJsonEngine.Escapable.test(v5bf99) ? '"' + v5bf99.replace(ISJsonEngine.Escapable,                function(a)                {                    var vf6099 = ISJsonEngine.Meta[a];                    return typeof vf6099 === "string" ? vf6099 :                        "\\u" + ("0000" + a.charCodeAt(0).toString(16)).slice(-4);                })                + '"' : '"' + v5bf99 + '"';        },        Serialize: function(va447, v82b99, v79a80)        {            var v71f7;            ISJsonEngine.Gap = "";            ISJsonEngine.Indent = "";            if (typeof v79a80 === "number")            {                for (v71f7 = 0; v71f7 < v79a80; v71f7 += 1)                    ISJsonEngine.Indent += " ";            }            else if (typeof v79a80 === "string")                ISJsonEngine.Indent = v79a80;            ISJsonEngine.Rep = v82b99;            if (v82b99 && typeof v82b99 !== "function" &&                (typeof v82b99 !== "object" || typeof v82b99.length !== "number"))            {                throw new Error("ISJsonEngine.Serialize");            }            return ISJsonEngine._SerializeString("", { "": va447 });        },        _SerializeString: function(vd481, vd4990)        {
            var v60324,          // The loop counter.

                k,          // The member vd481.

                v,          // The member value.
                length,                mind = ISJsonEngine.Gap,                partial,                value = vd4990[vd481];            if (value && typeof value === "object" && typeof value.toJSON === "function")                value = value.toJSON(vd481);            if (typeof ISJsonEngine.Rep === "function")                value = ISJsonEngine.Rep.call(vd4990, vd481, value);            switch (typeof value)            {                case "string":                    return ISJsonEngine.Quote(value);                case "number":                    return isFinite(value) ? String(value) : "null";                case "boolean":                case "null":                    return String(value);                case "object":                    if (!value)                        return 'null';                    ISJsonEngine.Gap += ISJsonEngine.Indent;                    partial = [];                    if (Object.prototype.toString.apply(value) === '[object Array]')                    {                        length = value.length;                        for (v60324 = 0; v60324 < length; v60324 += 1)                            partial[v60324] = ISJsonEngine._SerializeString(v60324, value) || "null";                        v = partial.length === 0 ? '[]' :                            ISJsonEngine.Gap ? '[\n' + ISJsonEngine.Gap + partial.join(',\n' + ISJsonEngine.Gap) + '\n' + mind + ']'                            : '[' + partial.join(',') + ']';                        ISJsonEngine.Gap = mind;                        return v;                    }                    else if (value instanceof Date)                    {                        return '"\\/Date(' + value.getTime() + ')\\/"';                    }                    if (ISJsonEngine.Rep && typeof ISJsonEngine.Rep === 'object')                    {                        length = ISJsonEngine.Rep.length;                        for (v60324 = 0; v60324 < length; v60324 += 1)                        {                            k = ISJsonEngine.Rep[v60324];                            if (typeof k === 'string')                            {                                v = ISJsonEngine._SerializeString(k, value);                                if (v)                                    partial.push(ISJsonEngine.Quote(k) + (ISJsonEngine.Gap ? ': ' : ':') + v);                            }                        }                    }                    else                    {                        for (k in value)                        {                            if (Object.hasOwnProperty.call(value, k))                            {                                v = ISJsonEngine._SerializeString(k, value);                                if (v)                                    partial.push(ISJsonEngine.Quote(k) + (ISJsonEngine.Gap ? ': ' : ':') + v);                            }                        }                    }                    v = partial.length === 0 ? '{}' :                        ISJsonEngine.Gap ? '{\n' + ISJsonEngine.Gap + partial.join(',\n' + ISJsonEngine.Gap) + '\n' + mind + '}' :                        '{' + partial.join(',') + '}';                    ISJsonEngine.Gap = mind;                    return v;            }        }    };function ISCoreDestructor(){    if (IS.RuntimeObjects != null)    {        for (var vd4b42 = 0; vd4b42 < IS.RuntimeObjects.length; vd4b42++)        {            var ve7481 = IS.RuntimeObjects[vd4b42];            if (ve7481 != null && ve7481.ClassName != null)            {                if (typeof (ve7481.OnBeforeUnload) == "function")                    ve7481.OnBeforeUnload();            }        }    }    Listener.Unload(document);    var v7830;    var vd4b42;    for (var vd4b42 = 0; vd4b42 < IS.RuntimeObjects.length; vd4b42++)    {        var ve7481 = IS.RuntimeObjects[vd4b42];        if (ve7481 != null)        {            if (typeof (ve7481.OnUnload) == "function")                ve7481.OnUnload();            if (ve7481.HtmlObj != null)            {                try                {                    ve7481.HtmlObj.form = null;                }                catch (e)                { }            }            ISDeleteObject(ve7481);        }    }    ISDeleteObject(IS.RuntimeObjects);    ISDeleteObject(IS.RuntimeWindowPopups);    document.body.detachEvent("onmousedown", doHideWindowPopups);    window.detachEvent("onresize", doHideWindowPopups);    if (!IS.ie)    {        document.body.detachEvent("onkeydown", doHideWindowPopupsOnKeyDown);        window.detachEvent("onkeydown", doHideWindowPopupsOnKeyDown);    }    UnregisterKeyboardHandler();    if (typeof (IS) == "object" && IS.UnloadVariables != null)    {        for (var vd4b42 = 0; vd4b42 < IS.UnloadVariables.length; vd4b42++)        {            try            {                if (typeof (IS.UnloadVariables[vd4b42]) == "string")                    eval(IS.UnloadVariables[vd4b42] + " =null;");                else                    IS.UnloadVariables[vd4b42] = null;            }            catch (e)      { }        }    }    IS.UnloadVariables = null;    ISXmlHttpEngine = null;    ISXml = null;    DynamicStyleEngine = null;    WindowEngine = null;    ISKeyboardKey = null;    ISUnShiftSymbol = null;    ISShiftSymbol = null;    ISEvent = null;    /* NtvEvents = null;*/
    /* Listener = null;*/
    ISDimension = null;    ISPosLib = null;    /* IS = null; */
    ISUI = null;}function ISDeleteObject(vaac67){    if (vaac67.length > 0)    {        for (var v45b51 = 0; v45b51 < vaac67.length; v45b51++)        {            delete vaac67[v45b51];            vaac67[v45b51] = null;        }        delete vaac67;        vaac67 = null;    }    else    {        var v3e732 = null;        for (v3e732 in vaac67)        {            delete vaac67[v3e732];            vaac67[v3e732] = null;        }        delete vaac67;        vaac67 = null;    }}function ISDeleteObjectPermanent(v73712){    if (v73712.length > 0)    {        for (var vdbb95 = 0; vdbb95 < v73712.length; vdbb95++)        {            delete v73712[vdbb95];            v73712[vdbb95] = null;        }        delete v73712;        v73712 = null;    }    else    {        var vb5053 = null;        for (vb5053 in v73712)        {            delete v73712[vb5053];            eval("delete v73712." + vb5053);        }    }}/* <WindowPopup> */
function WindowPopupBody(e){    this._e = e;    this.appendChild = function(v77b7)    {        return this._e.appendChild(v77b7);    };}function WindowPopupDocument(v44f62){    this._e = v44f62;    this._ts = null;    this.body = new WindowPopupBody(v44f62);    this.open = function()    {        this._ts = "";        this._e.innerHTML = "";    };    this.write = function(va1832)    {        if (typeof (va1832) == "string")            this._ts += va1832;    };    this.close = function()    {        this._e.innerHTML = this._ts;    };    this.getOwnerDocument = function()    {        return this._e;    };    this.getElementById = function(v8c687, vc6318)    {
        // return document.getElementById(v8c687); // this doesn'vaf132 guarantee correct object when there are multiple objects with same v8c687
        var v29140 = null;        if (vc6318)            v29140 = vc6318;        else            v29140 = this._e;        for (var veac74 = 0; veac74 < v29140.childNodes.length; veac74++)        {            if (v29140.childNodes[veac74].id && v29140.childNodes[veac74].id == v8c687)                return v29140.childNodes[veac74];            if (v29140.childNodes[veac74].childNodes.length > 0)            {                var v89026 = this.getElementById(v8c687, v29140.childNodes[veac74]);                if (v89026)                    return v89026;            }        }        return null;    };    this.attachEvent = function(v20e96, v84a16)    {        this._e.attachEvent(v20e96, v84a16);    };    this.detachEvent = function(v20e96, v84a16)    {        this._e.detachEvent(v20e96, v84a16);    };    this.createElement = function(v97f66)    {        return this._e.ownerDocument.createElement(v97f66);    };    this.createStyleSheet = function()    {        return this._e.ownerDocument.createStyleSheet();    };    this.getElementsByName = function(v54f46, vc6318, vaec32)    {        var v29140 = null;        if (!vaec32)            vaec32 = new Array();        if (vc6318)            v29140 = vc6318;        else            v29140 = this._e;        for (var veac74 = 0; veac74 < v29140.childNodes.length; veac74++)        {            if (v29140.childNodes[veac74].name && v29140.childNodes[veac74].name == v54f46)                vaec32[vaec32.length] = v29140.childNodes[veac74];            if (v29140.childNodes[veac74].childNodes.length > 0)            {                this.getElementsByName(v54f46, v29140.childNodes[veac74], vaec32);            }        }        return vaec32;    };    if (!IS.ie)    {        this.__defineGetter__("all", function()        {            var v5ef1 = new Array();            for (var veac74 = 0; veac74 < this._e.childNodes.length; veac74++)            {                v5ef1[v5ef1.length] = this._e.childNodes[veac74];            }            return v5ef1;        });        this.parentWindow = window;    }}function WindowPopup(wi){    ISObject.call(this);    this._wi = wi;    this._e = null;    this.Index = IS.RuntimeWindowPopups.length;    this.Id = IS.PopupPrefix + this.Index;    this.document = new WindowPopupDocument();    this.isOpen = false;    this.Initialized = false;    this.OnClosed = null;    this.Init = function()    {        if (this.Initialized)            return;        if (this._wi)        {            this._e = document.getElementById(this._wi.ControlID);            if (this._e)            {                this.Id = this._wi.ControlID;                with (this._e.style)                {                    visibility = "visible";                    display = "";                }                this._wi.Width = ISPosLib.getWidth(this._e);                this._wi.Height = ISPosLib.getWidth(this._e);            }            else            {                this._e = document.createElement("DIV");                if (this._wi.ControlID != "")                    this.Id = this._e.id = this._wi.ControlID;                else                    this._e.id = this.Id;            }        }        else        {            this._e = document.createElement("DIV");            this._e.id = this.Id;        }        with (this._e.style)        {            visibility = "hidden";            position = "absolute";            left = "-100px";            top = "-100px";            zIndex = 9900 + this.Index;        }        
        // make sure our popup has Intersoft flag
        this._e.setAttribute("popupProvider", "Intersoft");        if (this._wi == null || this._wi.IsRelFromOffsetControl == false || (this._wi.OffsetControlID == null || this._wi.OffsetControlID == ""))            document.body.insertAdjacentElement("afterBegin", this._e);        else        {            var vbc529 = document.getElementById(this._wi.OffsetControlID);            if (vbc529.offsetParent != null)                vbc529.offsetParent.insertAdjacentElement("beforeEnd", this._e);            else                document.body.insertAdjacentElement("beforeEnd", this._e);            this._e.style.display = "none";
            //this._e.style.position="relative";
        }        this.document.body._e = this.document._e = this._e;        if (this._wi)            WindowEngine.CalcLocation(this._wi);        this.Initialized = true;    };    this.ShowSmart = function(v87716, ve2771, ve2095, vfd575, vdda99, vd333, v02c44, v7af82)    {        var v1107 = ISPosLib.ApplyIntelligentPosition(new OffsetLocation(v87716, ve2771), this._e, ve2095, true);        this.Show(v1107.X, v1107.Y, vfd575, vdda99, vd333, v02c44, v7af82);    };    this.show = this.Show = function(v87716, ve2771, vfd575, vdda99, vd333, v02c44, v7af82)    {        if (this._e)        {            v87716 = parseFloat(v87716);            if (v87716 == NaN)                v87716 = 0;            ve2771 = parseFloat(ve2771);            if (ve2771 == NaN)                ve2771 = 0;            vfd575 = parseFloat(vfd575);            if (isNaN(vfd575))                vfd575 = 0;            vdda99 = parseFloat(vdda99);            if (isNaN(vdda99))                vdda99 = 0;            if (vd333)            {                v87716 = v87716 + ISPosLib.getLeft(vd333);                ve2771 = ve2771 + ISPosLib.getTop(vd333);            }            if (!this._wi)            {                if (window.screenLeft)                    v87716 -= window.screenLeft;                                if (window.screenTop)                    ve2771 -= window.screenTop;            }                        if (v02c44 && !IS.ie)            {                ve2771 = ISMoz.GetPreferredTop(ve2771, this._e, v7af82);                v87716 = ISMoz.GetPreferredLeft(v87716, this._e, v7af82);            }            if (!IS.ie)            {
                // check for negative pos
                if (ve2771 < 0)                    ve2771 = 1;                if (v87716 < 0)                    v87716 = 1;            }            if (this._e.id == "")                this._e.id = this.Id;            with (this._e.style)            {                left = v87716 + "px";                top = ve2771 + "px";                if (vfd575 <= 0)                {                    if (this._e.offsetWidth != 0)                        width = this._e.offsetWidth;                }                else                    width = vfd575 + "px";                if (vdda99 == 0)                    height = "auto";                else                    height = vdda99 + "px";                visibility = "visible";                display = "";            }        }        if (isPopup_CloseAcrossFrameClick)        {            var v0de66 = IS.GetTopOpenPopups();            try            {                v0de66.push([window.name, this.Id, window.location.pathname, this]);            }            catch (v44f62)            {                v0de66 = new Array();                v0de66.push([window.name, this.Id, window.location.pathname, this]);            }        }        this.isOpen = true;    };    this.hide = this.Hide = function()    {        if (this._e)        {            this._e.style.visibility = "hidden";            if ((IS.mac && IS.moz) || (this._wi != null && this._wi.IsRelFromOffsetControl == true))                this._e.style.display = "none";        }        if (isPopup_CloseAcrossFrameClick)        {            var v0de66 = IS.GetTopOpenPopups();            for (var veac74 = 0; veac74 < v0de66.length; veac74++)            {                var va5845 = v0de66[veac74];                if (va5845[0] == window.name && va5845[1] == this.Id && va5845[2] == window.location.pathname)                {                    try                    {                        v0de66.splice(veac74, 1);                    }                    catch (v44f62)                    {                        window.top.IS_OpenPopups = new Array();                    }                    break;                }            }        }        this.isOpen = false;    };    if (!wi)    {        this.Init();    }    IS.RuntimeWindowPopups[IS.RuntimeWindowPopups.length] = this;}/* </WindowPopup> */
function UnitSize(width, height){    this.Height = this.Width = null;    if (width)        this.Width = width;    if (height)        this.Height = height;    this.IsEmpty = function()    {        return (this.Height == null && this.Width == null);    };    this.Parse = function(va1832)    {        if (!va1832)            return;        var v5ef1 = va1832.split(",");        this.Width = parseFloat(v5ef1[0]);        this.Height = parseFloat(v5ef1[1]);    };}function Rectangle(x, y, width, height){    this.X = this.Y = this.Width = this.Height = null;    this.IsEmpty = function()    {        return (this.Height == null && this.Width == null && this.X == null && this.Y == null);    };    if (x)        this.X = x;    if (y)        this.Y = y;    if (width)        this.Width = width;    if (height)        this.Height = height;}function FlyPostBackSettings(){    this._Type = "FlyPostBackSettings";    ISObject.call(this);    this.PostViewState = true;    this.PostInputControls = false;    this.PostHiddenFields = true;    this.PostControlState = true;    this.OnPropertiesInitialized = function()    {        var v3d764 = this.Parent;        if (v3d764 != null)        {            if (typeof (v3d764.PostViewState) == "boolean")            {                v3d764.PostViewState = this.PostViewState;                v3d764.PostInputControls = this.PostInputControls;                v3d764.PostHiddenFields = this.PostHiddenFields;                v3d764.PostControlState = this.PostControlState;            }        }    };}function ShortcutKey(v3d764, alt, shift, type, vd481){    this._Type = "ShortcutKey";    ISObject.call(this);    this.Ctrl = this.Alt = this.Shift = false;    this.AccessKeyType = "Alphabet";    this.SpecialKey = "None";    this.AlphabetKey = "";    this.Object = null;    this.OwnerControl = null;    if (typeof (v3d764) != "undefined")        this.Ctrl = v3d764;    if (typeof (alt) != "undefined")        this.Alt = alt;    if (typeof (shift) != "undefined")        this.Shift = shift;    if (typeof (type) != "undefined")        this.AccessKeyType = type;    if (typeof (vd481) != "undefined")    {        if (this.AccessKeyType == "Alphabet")            this.AlphabetKey = vd481;        else            this.SpecialKey = vd481;    }    this.GetString = function()    {        var va1832 = "";        if (this.Ctrl)            va1832 = "Ctrl+";        if (this.Shift)            va1832 += "Shift+";        if (this.Alt)            va1832 += "Alt+";        if (this.AccessKeyType == "Alphabet")            va1832 += this.AlphabetKey;        else            va1832 += this.SpecialKey;        return va1832;    };    this.IsEmpty = function()    {        if (!this.Ctrl && !this.Alt && !this.Shift && this.AccessKeyType == "Alphabet" && this.SpecialKey == "None" && this.AlphabetKey == "")            return true;        return false;    };    this.OnPropertiesInitialized = function()    {        if (!this.IsEmpty())            RegisterShortcutKey(this);    };}function RegisterKeyboardHandler(){    if (!IS.KeyboardHandlerInitialized)    {        if (document != null && document.body != null)            document.body.attachEvent("onkeydown", ISCoreKeyboardHandler);        IS.KeyboardHandlerInitialized = true;    }}function RegisterShortcutKey(shortcut){    IS.ShortcutKeys.push(shortcut);}function UnregisterShortcutKey(shortcut){    var veac74 = -1;    for (var va4f28 = 0; va4f28 < IS.ShortcutKeys.length; va4f28++)    {        var v8aa41 = IS.ShortcutKeys[va4f28];        if (v8aa41 == shortcut)        {            veac74 = va4f28;            break;        }    }    if (veac74 > -1)        IS.ShortcutKeys.splice(veac74, 1);}function UnregisterKeyboardHandler(){    window.detachEvent("onkeydown", ISCoreKeyboardHandler);}function ISCoreKeyboardHandler(sourceEvent){    var v89e81 = event;    var v89026 = null;    if (sourceEvent)        v89e81 = sourceEvent;    try    {
        var v39995 = v89e81.altKey; // check for permission denied issue when Window has closed
    }    catch (v44f62)    {        return;    }    if (v89e81)    {        if (v89e81.altKey || v89e81.ctrlKey)        {            var v13587 = String.fromCharCode(v89e81.keyCode).toLowerCase();            if (v13587 == ISKeyboardKey.TAB)                return;            for (var veac74 = 0; veac74 < IS.ShortcutKeys.length; veac74++)            {                var v8aa41 = IS.ShortcutKeys[veac74];
                if ((v8aa41.Ctrl == v89e81.ctrlKey) && (v8aa41.Alt == v89e81.altKey) && (v8aa41.Shift == v89e81.shiftKey)) // check enabled and other state of the object
                {                    var vecf63 = v8aa41.Parent;                    if (vecf63 && vecf63.Enabled && vecf63.Visible)                    {                        if (v8aa41.AccessKeyType == "Alphabet" && v8aa41.AlphabetKey.toLowerCase() == v13587)                        {                            v89026 = v8aa41;                            break;                        }                        else if (v8aa41.AccessKeyType == "Special" && ISKeyboardKey.IsSpecialKey(v89e81.keyCode))                        {                            if (ISKeyboardKey[v8aa41.SpecialKey] == v89e81.keyCode)                            {                                v89026 = v8aa41;                                break;                            }                        }                    }                }            }            if (!v89026)            {
                // try again to search on WebDesktopWindow level
                var vdfb82 = ISGetDesktopManager();                if (vdfb82)                {                    var vede11 = ISGetCurrentWindow(true);                    if (vede11)                    {                        var v37925 = vede11.DesktopManager.GetIFrameWindow(vede11.Name);                        if (v37925 != window && v37925 != null)                            v37925.ISCoreKeyboardHandler(v89e81);                    }                }            }            if (v89026)            {                var vecf63 = v8aa41.Parent;
                // check for object validity
                if (vecf63.Click)                    vecf63.Click();                v89e81.keyCode = 0;                v89e81.cancelBubble = true;                v89e81.returnValue = false;            }        }    }}function ISCoreContextMenuHandler(){    var v89e81 = window.event;    if (v89e81.type == "mousedown" && !ISEvent.ContextMenuCancelled)    {        if (ISEvent.IsLeftButton(event))        {            if (ISEvent.MouseDownId != -1)                clearTimeout(ISEvent.MouseDownId);            var v29140 = v89e81.srcElement;            ISEvent.MouseDownId = setTimeout(function() { ISCoreEmulateContextMenu(v29140); }, 1000);        }    }    else if (v89e81.type == "mouseup")    {        if (ISEvent.MouseDownId != -1)        {            clearTimeout(ISEvent.MouseDownId);            ISEvent.MouseDownId = -1;        }        ISEvent.ContextMenuCancelled = false;    }    else    {        /* mouse moved, context menu emulation cancelled */
        if (ISEvent.MouseDownId != -1)        {            clearTimeout(ISEvent.MouseDownId);            ISEvent.MouseDownId = -1;            ISEvent.ContextMenuCancelled = true;        }    }}function ISCoreEmulateContextMenu(v29140){    if (v29140 != null)    {        v29140.fireEvent("oncontextmenu");        var vc6318 = v29140.parentElement;        if (vc6318 != null && vc6318.tagName != "HTML")            ISCoreEmulateContextMenu(vc6318);    }}function ISGetPlaceHolderManager(){    var v1b142 = null;    if (typeof (GetPagePlaceHolderManager) == "function")        v1b142 = GetPagePlaceHolderManager();    if (!v1b142)    {
        // try to find vc6318
        while (window.parent != null && window != window.parent)        {            var v25459 = window.parent;            if (typeof (v25459.GetPagePlaceHolderManager) == "function")            {                return v25459.GetPagePlaceHolderManager();            }        }    }    return null;}function ISGetDesktopManager(){    if (typeof (IS) == "object")    {        for (var veac74 = 0; veac74 < IS.RuntimeObjects.length; veac74++)        {            var v1b142 = IS.RuntimeObjects[veac74];            if (v1b142 && v1b142.ClassName != null && v1b142.GetType() == "WebDesktopManager")                return v1b142;        }    }    var v25459 = window;
    // try to find vc6318
    while (v25459.parent != null && v25459 != v25459.parent)    {        v25459 = v25459.parent;        if (typeof (v25459.ISGetDesktopManager) == "function")        {            return v25459.ISGetDesktopManager();        }    }    return null;}function ISGetWindow(v54f46){    var vdfb82 = ISGetDesktopManager();    if (vdfb82)        return vdfb82.GetWindow(v54f46);}function ISGetActiveWindow(){    var vdfb82 = ISGetDesktopManager();    if (vdfb82)        return vdfb82.GetActiveWindow();}function ISGetCurrentWindow(searchParent, _dm){    var vdfb82 = ISGetDesktopManager();    if (_dm)        vdfb82 = _dm;    if (vdfb82)    {        if (window.frameElement)        {            var vde296 = vdfb82.GetWindow(window.frameElement.name);            if (!searchParent)                return vde296;            else            {                if (vde296)                    return vde296;                else                {                    var v72528 = window.parent;                    while (v72528 && v72528.frameElement)                    {                        vde296 = vdfb82.GetWindow(v72528.frameElement.name);                        if (vde296)                            return vde296;                        else                            v72528 = v72528.parent;                    }                }            }        }    }    return null;}function ISCloseCurrentWindow(){    var vde296 = ISGetCurrentWindow();    if (vde296)        vde296.Close();}function IsGecko18(){    return (IS.moz && navigator.userAgent.indexOf("rv:1.8") > -1);}function IsGecko20(){    return (IS.moz && navigator.userAgent.indexOf("Firefox/2.0") > -1);}function IsGecko30(){    return (IS.moz && (navigator.userAgent.indexOf("Firefox/3.0") > -1 || navigator.userAgent.indexOf("Firefox/3.5")));}function IsGecko18Up(){    if (IsGecko18() || IsGecko20() || IsGecko30())        return true;    return false;}function IsIE8StandardMode(){    return (IS.ie && IS.GetIEVersion() > 7 && IS.IsXHTMLDocType());}function IsIE7StandardMode(){    return (IS.ie && IS.GetIEVersion() < 8 && IS.IsXHTMLDocType());}window.attachEvent("onload", ISCoreOnLoad);window.attachEvent("onunload", ISCoreDestructor);if (!IS.ie)    ecde356.m6d940();if (typeof (Sys) != "undefined")    Sys.Application.notifyScriptLoaded();
