
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 12/11/2009 3:13:45 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**
function SelectedObject(v94097,v9d859,v51a96){ this.tblName =v94097; this.gridId =v9d859; this.element =v51a96; this.rowIndex =0; this.cellIndex =0; this.type =""; this.getRowElement =this.GetRowElement =function() { if (this.element) { if (this.element.tagName =="TR") return this.element; else return this.element.parentElement; } return null; }; this.GetRowObject =this.ToRowObject =function() { var v22641 =wgGetRootRow(this.GetRowElement()); if (v22641) { var vebd53 =ISGetObject(this.gridId); var v98d11 =vebd53.Tables[this.tblName]; return v98d11.ToRowObject(v22641); } }; this.getColSetRowElement =this.GetColSetRowElement =function() { var v9d859 =wgGetGridById(this.gridId); var v98d11 =v9d859.Tables[this.tblName]; if (v98d11.IsUseColumnSet) return wgGetColumnSetRow(this.element); return null; }; this.getColSetRowsElement =this.GetColSetRowsElement =function() { var v9d859 =wgGetGridById(this.gridId); var v98d11 =v9d859.Tables[this.tblName]; if (v98d11.IsUseColumnSet) return wgGetColumnSetRows(this.element); return null; }; return this;}function wgGetLastSelectedObject(){ return wg_Global.LastSelObj;}function wgGetRowHeader(v57536){ if (!v57536) return null; var v5c216 =wg4a378.m33a20(v57536); if (!v5c216) return null; var vbda42 =ISGetObject(v5c216.gridId); if (!vbda42) return null; for (var va1263=0; va1263<v57536.cells.length; va1263++) { var v10924 =v57536.cells[va1263]; wg4a378.mb6b61(v10924); if (v10924.type =="RowSelector" ||v10924.type =="RowHeader") return v10924; } return null;}function wgGetValidActiveCell(v49a72){ if (v49a72.type !="Cell") return v49a72.parentElement.cells[wgGetFirstEditableCell(v49a72.parentElement)]; else return v49a72;}function wgGetLastVisibleRow(v40611){ var v86d55 =null; try { v86d55 =v40611.rows[v40611.rows.length -1]; } catch (e) { v86d55 =null; } if (v86d55 ==null) { var vedc61 =ISGetObject(v40611.gridId).Tables[v40611.tblName]; if (vedc61.Get("AllowAddNew")=="Yes") { v86d55 =v40611.parentElement.previousSibling.childNodes[0].rows[0]; v86d55 =vedc61.GetNewRow(v86d55); var v83e97 =new SelectedObject(v40611.tblName,v40611.gridId,v86d55); return v83e97; } } if (v86d55) wg4a378.mb6b61(v86d55); if (v86d55 &&(v86d55.style.display =="none" ||v86d55.type =="GroupTotalRow" ||v86d55.type =="PR" ||v86d55.type =="CSRecord" ||v86d55.type =="ColHeader")) { return wgGetPrevVisibleRow(v40611,v86d55); } else { var v44b47 =ISGetObject(v40611.gridId); var vedc61 =v44b47.Tables[v40611.tblName]; if (v44b47.LastSelObj.element.type =="NewRow") { v86d55 =v40611.rows[v40611.rows.length -1]; wg4a378.mb6b61(v86d55); if (v86d55.style.display =="none" ||v86d55.type =="GroupTotalRow" ||v86d55.type =="PR" ||v86d55.type =="CSRecord" ||v86d55.type =="ColHeader") { return wgGetPrevVisibleRow(v40611,v86d55); } } var v83e97 =new SelectedObject(v40611.tblName,v40611.gridId,v86d55); return v83e97; } return null;}function wgGetLastChildVisibleRow(vdf42){ if (vdf42.style.display =="none") vdf42 =wgGetPreviousRow(tb,vdf42); else { var v7bf30 =vdf42.cells[vdf42.cells.length -1]; var v6d449 =v7bf30.childNodes[v7bf30.childNodes.length -1]; wg4a378.mb6b61(v6d449); var v6ee49 =document.getElementById("dvTB_" +v6d449.gridId +"_" +v6d449.tblName +"_" +v6d449.subId).childNodes[0]; var v72912 =wgGetLastVisibleRow(v6ee49); if (v72912) { if (v72912.type =="HierRecord") v72912 =wgGetLastChildVisibleRow(v72912.element); if (v72912) return v72912; } else vdf42 =wgGetPreviousRow(tb,vdf42); } return vdf42;}function wgGetPrevVisibleRow(vcf22,vb9a43){ var vf3822 =ISGetObject(vcf22.gridId); var vc1d98 =vf3822.Tables[vcf22.tblName]; var v87952 =wgGetPreviousRow(vcf22,vb9a43); wg4a378.mb6b61(vb9a43); if (vb9a43.type =="NewRow") { if (vc1d98.Get("AllowFilter")=="Yes" &&vc1d98.IsFilterRowVisible()) { var vf3c57 =vc1d98.GetFilterRow(vb9a43); if (vf3c57) { v87952 =vf3c57; var v41a91 =new SelectedObject(vcf22.tblName,vcf22.gridId,v87952); return v41a91; } } else v87952 =null; } else if (vb9a43.type =="FilterRow") v87952 =null; while (v87952 !=null) { if (v87952.type =="HierRecord") { if (v87952.style.display =="none") v87952 =wgGetPreviousRow(vcf22,v87952); else { var v97f72 =v87952.cells[v87952.cells.length -1]; var v13916 =v97f72.childNodes.length;  for (var veae45=v13916 -1; veae45>-1; veae45--) { var va6b16 =v97f72.childNodes[veae45]; wg4a378.mb6b61(va6b16);  if (va6b16.subId) { var v2cc55 =document.getElementById("dvTB_" +va6b16.gridId +"_" +va6b16.tblName +"_" +va6b16.subId).childNodes[0]; var v51e49 =wgGetLastVisibleRow(v2cc55); if (v51e49) { if (v51e49 &&v51e49.element.type =="HierRecord") v51e49 =wgGetLastChildVisibleRow(v51e49.element); if (v51e49 &&v51e49.element) return v51e49; } else break; } } v87952 =wgGetPreviousRow(vcf22,v87952); } } else { if (v87952.style.display =="none" ||v87952.type =="GroupTotalRow" ||v87952.type =="PR" ||v87952.type =="CSRecord" ||v87952.type =="RowSeparator" ||v87952.type =="ColHeader") v87952 =wgGetPreviousRow(vcf22,v87952); else { var v41a91 =new SelectedObject(vcf22.tblName,vcf22.gridId,v87952); return v41a91; } } } if (v87952 ==null &&vb9a43.type !="NewRow") { var v68e17 =vc1d98.Get("AllowAddNew"); if (v68e17 =="Yes") { var v9fb38 =vc1d98.GetNewRow(vb9a43); if (v9fb38) { v87952 =v9fb38; var v41a91 =new SelectedObject(vcf22.tblName,vcf22.gridId,v87952); return v41a91; } } if (vc1d98.Get("AllowFilter")=="Yes") { var vf3c57 =vc1d98.GetFilterRow(vb9a43); if (vf3c57) { v87952 =vf3c57; var v41a91 =new SelectedObject(vcf22.tblName,vcf22.gridId,v87952); return v41a91; } } } if (v87952 ==null) { var vf3822 =ISGetObject(vcf22.gridId); var vc1d98 =vf3822.Tables[vcf22.tblName]; if (!vc1d98.IsRootTable) { var v28e59 =vc1d98.GetElement(WG40.COLHEADER,WG40.HTMLDIV,vb9a43).parentElement; if (v28e59) { while (v28e59.previousSibling !=null) { v28e59 =v28e59.previousSibling.previousSibling; wg4a378.mb6b61(v28e59); var vbbf37 =document.getElementById("dvTB_" +v28e59.gridId +"_" +v28e59.tblName +"_" +v28e59.subId).childNodes[0]; var v51e49 =wgGetLastVisibleRow(vbbf37); if (v51e49 &&v51e49.element &&v51e49.element.type =="HierRecord") { var vacd53 =wgGetPreviousRow(vbbf37,v51e49.element); if (vacd53 !=null) v51e49.element =vacd53; }  if (v51e49 &&v51e49.element) return v51e49; } } var vfe752 =vc1d98.GetParentRow(vb9a43); if (vfe752) { var v78342 =wg4a378.m33a20(vfe752); return new SelectedObject(v78342.tblName,v78342.gridId,vfe752); } } } return null;}function wgGetPrevSiblingRow(v98493,va8c92){ var v52221; wg4a378.mb6b61(va8c92); if (va8c92.type =="NewRow") return null; else if (va8c92.type =="Record") { v52221 =wgGetPreviousRow(v98493,va8c92); if (v52221) { if (v52221.type =="HierRecord") v52221 =wgGetPreviousRow(v98493,v52221); else if (v52221.type =="NewRow") v52221 =null; } } else if (va8c92.type =="GroupHeader") { v52221 =wgGetPreviousRow(v98493,va8c92); if (v52221) v52221 =wg91c62.m57f30(v52221,va8c92.groupIndex,"previous"); if (v52221) if (v52221.parentIndex !=va8c92.parentIndex) v52221 =null; } if (v52221 ==null) return null; var vd6253 =new SelectedObject(v98493.tblName,v98493.gridId,v52221); return vd6253;}function wgGetFirstVisibleRow(v5da32){ var v75277 =null; try { v75277 =v5da32.rows[0]; } catch (e) { v75277 =null; } if (v75277) wg4a378.mb6b61(v75277); if (v75277 &&(v75277.style.display =="none" ||v75277.type =="GroupTotalRow" ||v75277.type =="PR" ||v75277.type =="CSRecord" ||v75277.type =="ColHeader")) { return wgGetNextVisibleRow(v5da32,v75277); } else { wg4a378.mb6b61(v5da32); var v7dc32 =ISGetObject(v5da32.gridId).Tables[v5da32.tblName]; if (v7dc32.Get("AllowAddNew")=="Yes") { if (!v75277) v75277 =v5da32.parentElement.previousSibling.childNodes[0].rows[0]; v75277 =v7dc32.GetNewRow(v75277); } var v9e746 =new SelectedObject(v5da32.tblName,v5da32.gridId,v75277); return v9e746; } return null;}function wgGetNextSiblingRow(vc777,v53a99){ var vb3552; wg4a378.mb6b61(v53a99); if (v53a99.type =="NewRow") return null; else if (v53a99.type =="Record") { var v6c620 =wgGetGridById(vc777.gridId); var v06698 =v6c620.Tables[vc777.tblName]; if (v06698.IsUseColumnSet) { vb3552 =wgGetLowestColumnSetRow(v53a99); vb3552 =wgGetNextRow(vc777,vb3552); } else vb3552 =wgGetNextRow(vc777,v53a99); if (vb3552) { if (vb3552.type =="PR") vb3552 =wgGetNextRow(vc777,vb3552); if (vb3552 &&vb3552.type =="HierRecord") vb3552 =wgGetNextRow(vc777,vb3552); else if (vb3552.type =="NewRow" ||vb3552.type =="GroupTotalRow") vb3552 =null; } } else if (v53a99.type =="GroupHeader") { vb3552 =wgGetNextRow(vc777,v53a99); if (vb3552) vb3552 =wg91c62.m57f30(vb3552,v53a99.groupIndex,"next"); if (vb3552) if (vb3552.parentIndex !=v53a99.parentIndex) vb3552 =null; } if (vb3552 ==null) return null; var v1e384 =new SelectedObject(vc777.tblName,vc777.gridId,vb3552); return v1e384;}function wgGetNextVisibleRow(v1c268,v79a35){ var vaf979 =ISGetObject(v1c268.gridId); var v38738 =vaf979.Tables[v1c268.tblName]; var v3e420 =wgGetNextRow(v1c268,v79a35); var va3170 =false; if (v79a35.type =="NewRow") va3170 =true; else if (wgIsFilterRow(v79a35)&&v38738.Get("AllowAddNew")=="No") va3170 =true; if (va3170) { var vaf979 =ISGetObject(v1c268.gridId); var v38738 =vaf979.Tables[v1c268.tblName]; var v2c336 =0;  tbl =v38738.GetElement(WG40.BODY,WG40.HTMLTABLE,v79a35); if (vaf979.EnableSection508Standards) v2c336 =wg4a378.ma806(tbl); if (tbl.rows.length>0) v3e420 =tbl.rows[v2c336]; else v3e420 =null; } while (v3e420 !=null) { if (v3e420.type =="HierRecord") { if (v3e420.style.display =="none") v3e420 =wgGetNextRow(v1c268,v3e420); else { var v28332 =v3e420.cells[v3e420.cells.length -1]; var v1ad0 =v28332.childNodes.length;  for (var v39782=0; v39782<v1ad0; v39782++) { var va8864 =v28332.childNodes[v39782]; wg4a378.mb6b61(va8864);  if (va8864.subId) { var vef52 =document.getElementById("dvTB_" +va8864.gridId +"_" +va8864.tblName +"_" +va8864.subId).childNodes[0]; var v43d90 =wgGetFirstVisibleRow(vef52); if (v43d90) { if (v43d90.element) return v43d90; } else { break; } } } v3e420 =wgGetNextRow(v1c268,v3e420); } } else { if (v3e420.style.display =="none" ||v3e420.type =="GroupTotalRow" ||v3e420.type =="PR" ||v3e420.type =="CSRecord"  ||!v3e420.type ||v3e420.type =="RowSeparator" ||v3e420.type =="ColHeader") { v3e420 =wgGetNextRow(v1c268,v3e420); } else { var vb6d83 =new SelectedObject(v1c268.tblName,v1c268.gridId,v3e420); return vb6d83; } } } if (v3e420 ==null) { if (!v38738.IsRootTable) { var v7b995 =v38738.GetElement(WG40.COLHEADER,WG40.HTMLDIV,v79a35).parentElement; if (v7b995) { if (v7b995.nextSibling) { v7b995 =v7b995.nextSibling.nextSibling; wg4a378.mb6b61(v7b995); var vd6128 =document.getElementById("dvTB_" +v7b995.gridId +"_" +v7b995.tblName +"_" +v7b995.subId).childNodes[0]; return wgGetFirstVisibleRow(vd6128); } } var vf4921 =v38738.GetParentRow(v79a35); if (vf4921) { var v4789 =wg4a378.m33a20(vf4921); vf4921 =wgGetNextSiblingRow(v4789,vf4921); if (!vf4921) return null; vf4921 =wgGetPreviousRow(v4789,vf4921.element); return wgGetNextVisibleRow(v4789,vf4921); } } } return null;}var wgdee10 = { ma3d97:function(v2d366,vfa29,vc5f51) { var v9b345; if (!v2d366) return; if (v2d366.tagName !="TD" &&v2d366.tagName !="TH") { v9b345 =v2d366; v2d366 =wg4a378.m5e484(v2d366); } if (!v2d366) return; if (v2d366.tagName =="TD" ||v2d366.tagName =="TH") { var va5993 =v2d366.parentElement; var v5e510; wg4a378.mb6b61(v2d366); wg4a378.mb6b61(va5993); if (!v2d366.type) return; else if (v2d366.type =="SubCell") { v2d366 =wg4a378.m2c14(v2d366.parentElement);  if (v2d366) va5993 =v2d366.parentElement; } if (!v2d366.type) return; if (wgIsValidClickableCell(v2d366)||wgIsValidRow(va5993)) { if (v2d366.type =="RowSelector") vfa29 =true; var vc5a6 =wg4a378.m33a20(va5993); var v62d53 =ISGetObject(vc5a6.gridId); if (!v62d53 ||!v62d53.Enabled) return; var ve6519 =v62d53.Tables[vc5a6.tblName]; var v7ce46 =ve6519.Get("CellClickAction"); var v16696 =ve6519.GetSelRowStyle(); var vabc26 =ve6519.GetFocusCellStyle(); var v23a22 =v62d53.ResolveImagePathEx(v62d53.LayoutSettings.ImageSettings.CurrentRowImage); var v71524 =false; if (!vc5f51) if (!ISEvent.Raise(v62d53.LayoutSettings.ClientSideEvents.OnCellClick,v62d53.Id,ve6519.Id,va5993.rowIndex,v2d366.cellIndex,v2d366,va5993.position)) return; if (typeof(event)=="undefined") event =null; if (event !=null &&ve6519.Get("AllowMultipleSelection")=="Yes" &&ISEvent.IsRightButton(event)) {  var v4f464 =ve6519.GetCheckedRows();  for (var v29355=0; v29355<v4f464.length; v29355++) { if (wgIsSameRow(v4f464[v29355],va5993)) return; } }  if (v7ce46 =="RowSelect" ||v7ce46 =="CellSelect" ||wgIsValidRow(va5993)) { var vcc394 =ve6519.Get("AllowEdit")=="Yes"; if (v62d53.LastSelObj &&(v62d53.ActiveEditCell ||v62d53.LastEditObj)) { v5e510 =v62d53.LastSelObj.element; if (v5e510.tagName =="TD") v5e510 =v5e510.parentElement; if (!wgIsSameRow(v5e510,va5993)||vfa29) { var vb6f89 =v62d53.ExitEdit(1)[0]; if (!vb6f89) return; } else { if (((vcc394 ||(va5993.type =="NewRow"))||va5993.type =="FilterRow")&&!vfa29 &&va5993.type !="GroupHeader") { if (v9b345) { if (v9b345.rowChecker) wg91c62.m66b32(v9b345,event.shiftKey); else wg2f128.mcf845(v9b345,v2d366); } wgdee10.m46d47(v62d53,event); wgdee10.mf9563(v62d53,ve6519,v9b345,v2d366); v71524 =true; if (v62d53.LastEditObj) { var vb6f89 =v62d53.ExitEditMode(); if (vb6f89 &&(v7ce46 !="CellSelect" ||va5993.type =="NewRow" ||va5993.type =="FilterRow")) { wg2f128.mc9757(v2d366); var vb7629 =v62d53.LayoutSettings.EditOnClick; if (vb7629 ||va5993.type =="NewRow" ||va5993.type =="FilterRow") { if (wgIsFilterRow(va5993)&&v9b345 &&v9b345.tagName =="IMG") return; if (!vc5f51 &&event.button !=2) v62d53.ActivateEditMode(); if (va5993.type =="NewRow" ||wgIsFilterRow(va5993)||vb7629) return; } else { v2d366.setActive(); return; } } else if (vb6f89 &&v7ce46 =="CellSelect" &&v62d53.LayoutSettings.EditOnClick) {  } else return; } else { if (v7ce46 !="CellSelect") { wg2f128.mc9757(v2d366); if (v62d53.LayoutSettings.EditOnClick ||va5993.type =="NewRow" ||va5993.type =="FilterRow") { if (wgIsFilterRow(va5993)&&v9b345 &&v9b345.tagName =="IMG") return; if (!vc5f51 &&event.button !=2) v62d53.ActivateEditMode(); } return; } } } } } } wgdee10.m46d47(v62d53,event); var v75565 =false; if ((v7ce46 =="RowSelect" ||v2d366.type =="RowSelector" ||va5993.type =="GroupHeader" ||va5993.type =="NewRow" ||va5993.type =="FilterRow")) { v75565 =true; } if (v75565) { if (ve6519.Get("AllowMultipleSelection")=="Yes" &&event !=null &&(wgIsFilterRow(va5993)||wgIsNewRow(va5993))&&(event.ctrlKey ||event.shiftKey)) return; if (v2d366.type =="RowSelector") { if (!ISEvent.Raise(v62d53.LayoutSettings.ClientSideEvents.OnRowSelectorClick,v62d53.Id,ve6519.Id,va5993.rowIndex,va5993,va5993.position)) return; vfa29 =true; } if (va5993.type =="NewRow") wgdee10.ma6678(v62d53,va5993); wgdee10.m0d99(va5993,v23a22); if (wgIsColumnSetRow(va5993)&&v2d366.type =="RowSelector" &&v7ce46 =="CellSelect") { if (typeof(wg2f128)!="undefined") wg2f128.m04345(v2d366);  wgdee10.m56d38(va5993,v16696,vabc26,"Forcedraw",true); } else wgdee10.m56d38(va5993,v16696,vabc26,"",vc5f51); if (((vcc394 &&(va5993.type =="Record" ||va5993.type =="CSRecord"))||va5993.type =="FilterRow")&&!vfa29) { if (v62d53.HasFocus()) { wg2f128.mc9757(v2d366); if (wgIsFilterRow(va5993)&&v9b345 &&v9b345.tagName =="IMG") return; if (v62d53.LayoutSettings.EditOnClick) v62d53.ActivateEditMode(); } else { wg2f128.mc9757(v2d366,"Nodraw"); } } else if (wgIsRecordRow(va5993)&&!vcc394) v62d53.ActiveEditCell =null; if (vfa29 &&vcc394) { if (v62d53.HasFocus()) v2d366.setActive(); } if ((va5993.type =="GroupHeader" ||!vcc394)&&v62d53.ActiveEditCell &&v62d53.ActiveEditCell.rowElement.type =="NewRow") { wg2f128.m18e69(v62d53.ActiveEditCell.rowElement); v62d53.ActiveEditCell =null; } else if (va5993.type =="NewRow") { wg2f128.m4c417(va5993); if (!vc5f51) v62d53.ActivateEditMode(); } else if (va5993.type =="FilterRow") { if (event.button ==ISEvent.LEFT) v62d53.ActivateEditMode(); } else if (va5993.type =="GroupHeader" &&v62d53.ActiveEditCell) v62d53.ActiveEditCell =null; } else if (v7ce46 =="CellSelect" &&va5993.type !="PR") { if (v5e510) { if (!wgIsSameRow(v5e510,va5993)) wgdee10.m0d99(va5993,v23a22); } else wgdee10.m0d99(va5993,v23a22); wgdee10.mcc643(v2d366,v16696,vabc26,"",vc5f51); if (v62d53.LayoutSettings.EditOnClick) v62d53.ActivateEditMode(); } } if (v9b345 &&v9b345.type =="checkbox") { wg4a378.mb6b61(v9b345); if (v9b345.rowChecker) wg91c62.m66b32(v9b345,event.shiftKey); else { if (typeof (wg2f128)!="undefined") { if (typeof (wg2f128.mcf845)=="function") wg2f128.mcf845(v9b345,v2d366); } } } if (!v71524) wgdee10.mf9563(v62d53,ve6519,v9b345,v2d366);   } },  m46d47:function(v8bc61,va887) { if (!IS.ie &&!v8bc61.HasFocus()) { if (va887 &&va887.srcElement) { var vf1177 =va887.srcElement; if (vf1177.tagName =="INPUT" &&vf1177.type =="checkbox") v8bc61.SetFocus(); } } }, mf9563:function(vc888,v9f835,v79f59,v24293) { if (IS.safari) { if (v79f59 &&v79f59.tagName =="IMG" &&v79f59.parentElement !=null) if (v79f59.parentElement.tagName =="BUTTON") v79f59 =v79f59.parentElement; }  if (v79f59 &&v79f59.tagName =="BUTTON") { wg4a378.mb6b61(v79f59); if (v79f59.disabled) return; var v87333 =wgGetColNameByCell(v24293); var v14d46 =ISEvent.Raise(vc888.LayoutSettings.ClientSideEvents.OnButtonClick,vc888.Id,v9f835.Id,v87333,v79f59.keyValue); if (v14d46) { if (IS.moz ||IS.safari) { event.cancelBubble =true; event.returnValue =false; } var v74d7 =v9f835.Columns.GetNamedItem(v87333); if (v74d7.ButtonAutoPostback) { var v3c328 =v74d7.ButtonPostbackMode; if (v3c328 =="OnTheFly") { wg4a378.m71658(vc888.Name,"ButtonClick",v79f59); } else { var ve637 =vc888.Name +"\03" +v9f835.Id +"\03" +v87333 +"\03" +v79f59.keyValue; __doPostBack(vc888.ServerUniqueID,"ButtonClick:" +ve637); } } } } }, ma6678:function(vb0b57,ve6a12) { var v25c66; var v4f764 =ve6a12.cells; var v9a859 =0; for (var v1de78=0; v1de78<v4f764.length; v1de78++) { if (v4f764[v1de78].type =="NewRowInfoCell") { v25c66 =v4f764[v1de78]; break; } } if (v25c66) { var v7b927 =vb0b57.Tables[wg4a378.m97d49(ve6a12)]; if (v7b927.IsUseColumnSet) { wg17710.m1f249(vb0b57,v7b927,ve6a12,v25c66); return; }  if (v7b927.IsRootTable) v9a859 =1; ve6a12.origColSpan =v25c66.colSpan; ve6a12.infoText =v25c66.innerText; v25c66.colSpan =1; v25c66.innerText =" "; v25c66.type ="Cell"; ve6a12.oldClassName =v25c66.className; v25c66.className =vb0b57.RowClass; for (var v1de78=0; v1de78<ve6a12.origColSpan -1; v1de78++) { var v8bd48 =ve6a12.insertCell(-1); v8bd48.type ="Cell"; v8bd48.className =vb0b57.RowClass;  if (v9a859 ==1 &&v1de78 ==ve6a12.origColSpan -2) v8bd48.type =""; } if (vb0b57.FreezePaneActive &&vb0b57.FreezeConfig !=null) { var v9c281 =new WebGridPartOption(); v9c281.AddNewRow =true;  wg91c62.m1ba74(vb0b57,true,v9c281); }  wg2f128.m09f77(vb0b57,ve6a12); } }, m39d5:function(v18c54) { var v9a168; var v40f70 =v18c54.cells; var vd4d34 =wg4a378.m33a20(v18c54); var v7be29 =wgGetGridById(vd4d34.gridId); var v2c716 =v7be29.Tables[vd4d34.tblName]; if (v2c716.IsUseColumnSet) { wg17710.m29384(v7be29,v2c716,v18c54); return; } for (var v57934=0; v57934<v40f70.length; v57934++) { if (v40f70[v57934].type =="Cell") { v9a168 =v40f70[v57934]; break; } } if (v9a168) { var v8ac83 =0;  if (v2c716.IsRootTable &&v7be29.FreezePaneActive) { for (var v57934=0; v57934<v18c54.cells.length; v57934++) v18c54.cells[v57934].style.display =""; } for (var v57934=0; v57934<v18c54.origColSpan -1; v57934++) { v18c54.deleteCell(v9a168.cellIndex +1); v8ac83++; } v9a168.colSpan =v18c54.origColSpan; v9a168.innerText =v18c54.infoText; v9a168.type ="NewRowInfoCell"; v9a168.style.cssText =""; v9a168.className =v18c54.oldClassName; } }, m33461:function(vb6473) { for (var vf0473=0; vf0473<vb6473.childNodes.length; vf0473++) { if (vb6473.childNodes[vf0473].tagName =="SPAN" &&vb6473.childNodes[vf0473].getAttribute("content")=="") return vb6473.childNodes[vf0473]; else if (vb6473.childNodes[vf0473].childNodes.length>0) { var vc9627 =wgdee10.m33461(vb6473.childNodes[vf0473]); if (vc9627) return vc9627; } } return null; }, m4f150:function(vb0b54,vcdc72,vaf465,vbff60) { var v22893 =wgGetCellCount(vb0b54); var v73f36 =wg4a378.m33a20(vb0b54); if (!vb0b54 ||!v73f36) return; var vafd90 =ISGetObject(v73f36.gridId); var v73f24 =vafd90.Tables[v73f36.tblName]; var vb0580 =v73f24.GetSelRowStyle(); var v77083 =v73f24.GetFocusCellStyle(); var ve9567 =false; var v56897; var v77949 =vafd90.LayoutSettings.RowHighlightType; if (v77083 !="") v77083 =v77083.substring(v77083.indexOf(":")+1); if (wgGetActiveGrid()!=vafd90.Name) vaf465 =true;  if (vbff60) vaf465 =false; if (vaf465) { vb0580 =vafd90.GetBlurRowStyle(); v77083 ="0px"; } else { if (vcdc72 =="CheckedRow") { vb0580 =v73f24.GetCheckedRowStyle(); if (vb0580 ==null ||vb0580 =="") return; v77083 =""; } else { if (vafd90.LayoutSettings.BatchUpdateSettings !=null) { if (vafd90.LayoutSettings.BatchUpdateSettings.HighlightChanges) { if (vcdc72 =="AddedRow" ||vcdc72 =="ModifiedRow" ||vcdc72 =="DeletedRow") { var v50f77 =vafd90.LayoutSettings[vcdc72 +"Style"]; vb0580 =null;  if (v50f77 !="") { vb0580 =IS.GetCssText(vafd90.Id,v50f77); v77083 =""; } } if (vb0580 ==null ||vb0580 =="") return; } else { if (vcdc72 =="AddedRow") vb0580 =""; } } } }  vb0b54.selectionMode =vcdc72; if (wgIsColumnSetRow(vb0b54)||(v73f24.PreviewRowVisible &&vb0b54.type !="GroupHeader" &&vb0b54.type !="NewRow")) { wg17710.m58212(vb0b54,vcdc72,vaf465); return; } if (v73f24.SelfReferencingSettings.Enabled &&v73f24.SelfReferencingSettings.IsTreeViewSelectionMode  &&vb0b54.type !="GroupHeader" &&vb0b54.type !="NewRow") { var vc8766 =v73f24.SelfReferencingSettings.ExpandColumnMember; var vd0c25 =wgGetCellByName(vb0b54,vc8766); var v7697 =wgdee10.m33461(vd0c25); if (vcdc72 =="Clear") v7697.runtimeStyle.cssText =""; else { if (vcdc72 !="Redraw") v7697.runtimeStyle.cssText =vb0580; v7697.runtimeStyle.border =v77083; } return; } for (var v72748=0; v72748<vb0b54.cells.length; v72748++) { var ve3857 =vb0b54.cells[v72748]; var v9a416 =false; wg4a378.mb6b61(ve3857); if (ve3857.type =="Cell" ||ve3857.type =="GroupCell" ||ve3857.type =="FilterColumn") { if (vcdc72 =="Clear") { if (!IS.ie &&ve3857.currentStyle.display =="none") v9a416 =true; ve3857.runtimeStyle.cssText ="";  if (v9a416) ve3857.style.display ="none"; else if (!IS.ie &&ve3857.style.display =="none") ve3857.style.display =""; } else { if (vcdc72 !="Redraw") { if (!IS.ie &&ve3857.currentStyle.display =="none") v9a416 =true;  ve3857.runtimeStyle.cssText =vb0580;  if (v9a416) ve3857.style.display ="none"; }  if (IS.opera) continue;  if (v77949 =="EntireRow") { if (!ve9567) { ve9567 =true; ve3857.runtimeStyle.borderLeft =v77083; ve3857.runtimeStyle.borderTop =v77083; ve3857.runtimeStyle.borderBottom =v77083; if (v22893>1 ||ve3857.type =="GroupCell") ve3857.runtimeStyle.borderRightWidth ="0"; else ve3857.runtimeStyle.borderRight =v77083; } else { v56897 =ve3857; ve3857.runtimeStyle.borderTop =v77083; ve3857.runtimeStyle.borderBottom =v77083; ve3857.runtimeStyle.borderLeftWidth ="0"; ve3857.runtimeStyle.borderRightWidth ="0"; } } } } } if (v56897 &&v77949 =="EntireRow") { with (v56897.runtimeStyle) { borderRight =v77083; borderTop =v77083; borderBottom =v77083; borderLeftWidth ="0"; } } if (vcdc72 =="Clear" &&vb0b54.isRowChecked &&!vaf465) wgdee10.m4f150(vb0b54,"CheckedRow"); else if (vcdc72 =="Clear" &&vafd90.LayoutSettings.AllowBatchUpdate && vafd90.LayoutSettings.BatchUpdateSettings.HighlightChanges) { if (typeof(vb0b54.rowState)!="undefined" &&vb0b54.rowState !=null) wgdee10.m4f150(vb0b54,vb0b54.rowState +"Row"); } }, m56d38:function(v19170,v31c86,v22825,v49499,v08177) { if (!v19170) return; if (v49499 =="Clear" &&v19170.tagName =="TD") { wgdee10.mcc643(v19170,v31c86,v22825,"Clear"); return; } if (v49499 =="Clear") { var vd9164 =wg4a378.m33a20(v19170); if (!vd9164) return; var v76430 =ISGetObject(vd9164.gridId); if (!wg4a378.mb6713(v76430.LastSelObj)) return; } else { var vd9164 =wg4a378.m33a20(v19170); var v76430 =ISGetObject(vd9164.gridId); var v4db11 =false; if (v19170.type =="PR") v19170 =wgGetPreviousRow(vd9164,v19170); if (v76430.LastSelObj) { var v28f45 =v76430.Tables[vd9164.tblName];  if (event !=null &&v28f45.Get("AllowMultipleSelection")=="Yes") { var v0ad81 =v76430.LastSelObj.GetRowElement();  if (v76430.LastSelObj.tblName ==v28f45.Name) { if (event.ctrlKey &&!event.shiftKey) { if (!wgIsSameRow(v0ad81,v19170)) { if (!v0ad81.isRowChecked &&v0ad81.selectionMode !="Clear") v28f45.AddSelectedRow(v0ad81); }  if (!v19170.isRowChecked) v28f45.AddSelectedRow(v19170); else { v28f45.RemoveSelectedRow(v19170); v49499 ="Clear"; } } else { var v06055 =v28f45.GetCheckedRows();  if (v06055.length >0 &&!event.ctrlKey) { for (var v7375=0; v7375<v06055.length; v7375++) { var v28962 =v06055[v7375];  v28962.isRowChecked =false; wgdee10.m56d38(v28962,"","","Clear"); }  v28f45.ClearSelectedRows(); }  if (event.shiftKey &&!wgIsSameRow(v0ad81,v19170)) { if (!wgIsSameRow(v0ad81,v19170)) { if (!v0ad81.isRowChecked &&v0ad81.selectionMode !="Clear") v28f45.AddSelectedRow(v0ad81); }  if (v19170.rowIndex >v0ad81.rowIndex) { var v62010 =wgGetNextRow(vd9164,v0ad81); while (v62010 !=v19170) { if (!v62010.isRowChecked &&wgIsRecordRow(v62010)) v28f45.AddSelectedRow(v62010,true);  v62010 =wgGetNextRow(vd9164,v62010); } } else { var v62010 =wgGetPreviousRow(vd9164,v0ad81); while (v62010 !=v19170) { if (!v62010.isRowChecked &&wgIsRecordRow(v62010)) v28f45.AddSelectedRow(v62010,true);  v62010 =wgGetPreviousRow(vd9164,v62010); } } v28f45.AddSelectedRow(v19170); v4db11 =true; } } } }  if (!wgIsSameRow(v76430.LastSelObj.element,v19170)) { if (!v4db11) wgdee10.m56d38(v76430.LastSelObj.element,"","","Clear"); else { if (v76430.ActiveEditCell !=null &&v28f45.SelectedRowsContain(v76430.ActiveEditCell.rowElement)) wgdee10.mcc643(v76430.ActiveEditCell.element,v31c86,v22825,""); } if (v76430.LastSelObj.element.type =="NewRow") { wgdee10.m39d5(v76430.LastSelObj.element); } } } else { if (v76430.LastSelObj &&wgIsSameRow(v76430.LastSelObj.element,v19170)&&v49499 !="Forcedraw") return; } if (!v08177) { if (!ISEvent.Raise(v76430.LayoutSettings.ClientSideEvents.OnBeforeRowSelect,v76430.Id,vd9164.tblName,v76430.LastSelObj)) return; } var vcb456 =new SelectedObject(vd9164.tblName,vd9164.gridId,v19170); vcb456.type ="Row"; vcb456.rowIndex =v19170.rowIndex; v76430.LastSelObj =vcb456; if (!v08177) { if (!ISEvent.Raise(v76430.LayoutSettings.ClientSideEvents.OnRowSelect,v76430.Id,vd9164.tblName,v19170.rowIndex,v19170,v19170.position)) return; }  if (v76430.LayoutSettings.RowChangedAction !="None" &&event !=null &&!wgIsNewRow(v19170)&&!wgIsFilterRow(v19170)) { var vbee45 =v76430.LayoutSettings.RowChangedAction;  if (vbee45 =="FullPagePostback") { var v7bb36 =v19170.keyValue +"\03" +vd9164.tblName; __doPostBack(v76430.ServerUniqueID,"RowChanged:" +v7bb36); } else if (vbee45 =="OnTheFlyPostback") { wg4a378.m71658(v76430.Name,"RowChanged",v19170); } } } wgdee10.m4f150(v19170,v49499); }, mcc643:function(v38575,v54224,v6f214,v89332,v32342) { if (!v38575.origStyle) v38575.origStyle =v38575.style.cssText; if (v6f214 !="") v6f214 =v6f214.substring(v6f214.indexOf(":")+1); if (v89332 =="Clear" &&v38575.tagName =="TR") { wgdee10.m56d38(v38575,v54224,v6f214,"Clear"); return; } var v1a345 =wg4a378.m33a20(v38575.parentElement); var vde175 =ISGetObject(v1a345.gridId); if (v89332 =="Clear") { } else { if (vde175.LastSelObj &&vde175.LastSelObj.element !=v38575) { wgdee10.mcc643(vde175.LastSelObj.element,"","","Clear"); } if (vde175.LastSelObj &&vde175.LastSelObj.GetRowElement()!=v38575.parentElement) { var vfd977 =vde175.LastSelObj.GetRowElement(); if (vfd977 &&vfd977.type =="NewRow") { wgdee10.m56d38(vfd977,"","","Clear"); wgdee10.m39d5(vfd977); } } var v2f064 =new SelectedObject(v1a345.tblName,v1a345.gridId,v38575); var v7bc98 =vde175.Tables[v1a345.tblName]; v2f064.type ="Cell"; v2f064.rowIndex =v38575.parentElement.rowIndex; v2f064.cellIndex =wgGetCellPosByName(v38575.parentElement,v38575); v7bc98.LastAECIndex =v38575.cellIndex;  if (v7bc98.IsUseColumnSet) v7bc98.LastCSIndex =[v38575.r,v38575.c,v38575.cs]; vde175.LastSelObj =v2f064; if (!v32342) if (!ISEvent.Raise(vde175.LayoutSettings.ClientSideEvents.OnCellSelect,v1a345.gridId,v1a345.tblName,v2f064.rowIndex, v2f064.cellIndex,v38575)) return; var vb7e2 =v7bc98.Get("AllowEdit")=="Yes"; if (vb7e2) { vde175.ActiveEditCell =new wgActiveCell(v1a345.gridId,v1a345.tblName,v38575); vde175.ActiveEditCell.rowElement =v38575.parentElement; } } if (v89332 =="Clear") { var va6671 =true; var v41852 =null;  if (vde175.LayoutSettings.AllowBatchUpdate) { v41852 =wgGetRootRow(v38575.parentElement); if (v41852.rowState &&vde175.LayoutSettings.BatchUpdateSettings.HighlightChanges) va6671 =false; }  if (va6671) { v38575.runtimeStyle.cssText =""; } else { if (vde175.LayoutSettings.BatchUpdateSettings.HighlightChanges) { var vaa281 =vde175.LayoutSettings[v41852.rowState +"RowStyle"]; var v54224;  if (vaa281 !="") v54224 =IS.GetCssText(vde175.Id,vaa281);  if (v54224) { with (v38575.runtimeStyle) { cssText =v54224; borderRight =""; borderBottom =""; } } } }  if (v38575.stripedClass) { v38575.className +=v38575.stripedClass; v38575.stripedClass =""; } } else { with (v38575.runtimeStyle) { cssText =v54224; borderLeft =borderRight =borderBottom =borderTop =v6f214; } if (v38575.className.indexOf("DefNoBrdBottom")>=0) { v38575.className =v38575.className.replace(/DefNoBrdBottom/g,""); v38575.stripedClass ="DefNoBrdBottom "; } if (v38575.className.indexOf("DefNoBrdRight")>=0) { v38575.className =v38575.className.replace(/DefNoBrdRight/g,""); v38575.stripedClass +="DefNoBrdRight "; } } }, m0d99:function(v2eb61,v44690) { if (!v2eb61) return; var vc5869 =wg4a378.m33a20(v2eb61); if (!vc5869) return; var ve7341 =ISGetObject(vc5869.gridId); if (ve7341.LastSelObj &&v44690 !=null) { obj =ve7341.LastSelObj.element; if (obj.tagName =="TR") wgdee10.m0d99(obj,null); else wgdee10.m0d99(obj.parentElement,null); } if (!ve7341) return; if (wgIsColumnSetRow(v2eb61)) v2eb61 =wgGetColumnSetRow(v2eb61); else if (v2eb61.type =="PR") v2eb61 =wgGetPreviewRowParent(v2eb61); var v56633 =wgGetRowHeader(v2eb61); if (!v56633) return; if (v44690) { var vc5f59 =true;  if (ve7341.LayoutSettings.AllowBatchUpdate) { if (v2eb61.rowState) vc5f59 =false; }  if (vc5f59) { if (ve7341.CurrentRowImage) { v56633.innerHTML =""; v56633.appendChild(ve7341.CurrentRowImage); } else { v56633.innerHTML ="<img src='" +v44690 +"' align='absmiddle'>"; ve7341.CurrentRowImage =v56633.children[0]; } } } else { if (v2eb61.type =="NewRow") { v44690 =ve7341.ResolveImagePathEx(ve7341.LayoutSettings.ImageSettings.NewRowImage); v56633.innerHTML ="<img src='" +v44690 +"' align='absmiddle'>"; } else { var v35d63 =true;  if (ve7341.LayoutSettings.AllowBatchUpdate) { if (v2eb61.rowState) v35d63 =false; }  if (v35d63) v56633.innerHTML ="&nbsp;"; } } if (IS.moz ||IS.safari) wgd2488.m4bc34(ve7341); v2eb61.markedEdit =false; },  m60595:function(vc6236,v29278) { if (!vc6236) return; var v62980 =wg4a378.m33a20(vc6236); if (!v62980) return; var vca399 =ISGetObject(v62980.gridId); if (!vca399) return; if (wgIsColumnSetRow(vc6236)) vc6236 =wgGetColumnSetRow(vc6236); else if (vc6236.type =="PR") vc6236 =wgGetPreviewRowParent(vc6236); var vfbb3 =wgGetRowHeader(vc6236); if (!vfbb3) return; var va8665 =vca399.LayoutSettings.ImageSettings; var vf4f7 =va8665[v29278];  if (vf4f7 !="" &&typeof(vf4f7)!="undefined") { var v95c65 ="";  if (v29278 =="AddedRowIndicator") v95c65 =vca399.GetString("AddedRowState"); else if (v29278 =="ModifiedRowIndicator") v95c65 =vca399.GetString("ModifiedRowState"); else if (v29278 =="DeletedRowIndicator") v95c65 =vca399.GetString("DeletedRowState");  vfbb3.innerHTML ="<img src='" +vca399.ResolveImagePathEx(vf4f7)+"'" + " title='" +v95c65 +"' align='absmiddle'>"; } }, ma3f55:function(v8ca85) { var va0791 =event.srcElement; var v5d557; if (va0791.tagName !="TD" &&va0791.tagName !="TH") va0791 =wg4a378.m5e484(va0791); if (!va0791 ||(va0791.tagName !="TD" &&va0791.tagName !="TH")) return; if (va0791.tagName =="TD" ||va0791.tagName =="TH") v5d557 =wg4a378.m33a20(va0791.parentElement); else if (va0791.tagName =="TR") v5d557 =wg4a378.m33a20(va0791); if (!v5d557) return; if (v5d557.tagName !="TABLE" ||!v5d557.gridId) return; if (v5d557.tblName !=v8ca85) return; var v0c474 =ISGetObject(v5d557.gridId); var vd6a71 =v0c474.Tables[v5d557.tblName]; var vb2951 =va0791.parentElement; if (v0c474.EnableSection508Standards) { var v1ae80 =wg91c62.mac218();  if (v1ae80) return; } if (!ISEvent.Raise(v0c474.LayoutSettings.ClientSideEvents.OnCellDblClick,v5d557.gridId,v5d557.tblName,vb2951.rowIndex,va0791.cellIndex,va0791,vb2951.position)) return; if (vb2951.type =="GroupHeader") { wg91c62.m13014(v0c474,wgGetCellByPosition(vb2951,0).childNodes[0],vb2951.expanded); wg91c62.mdd07(null,vb2951); } else if (wgIsRecordRow(vb2951)) { if (!v0c474.LayoutSettings.EditOnClick) { if (vd6a71.Get("AllowEdit")=="Yes") v0c474.ActivateEditMode(); else { if (typeof (vb2951.srLevel)!="undefined") wgToggleSelfRefRow(vb2951); } } } event.cancelBubble =true; event.returnValue =false; }, m0ca69:function() { if (IS.moz &&wg_Global.LastKeyDownProcessed) { event.cancelBubble =true; event.returnValue =false; } }, m47e6:function() { }, m93043:function(v04799) { var v67785 =(v04799 ? v04799 : event); var v78256 =v67785.srcElement; if (!v78256) v78256 =v67785._srcElement; var tbl,v47976; if (v78256.tagName =="TD") { tbl =wg4a378.m33a20(v78256.parentElement); v47976 =v78256.parentElement; } else if (v78256.tagName =="TR") { tbl =wg4a378.m33a20(v78256); v47976 =v78256; } else if (v78256.tagName =="SPAN" ||v78256.tagName =="NOBR") { v78256 =wg4a378.m2c14(v78256);  if (v78256 !=null) { v47976 =v78256.parentElement; tbl =wg4a378.m33a20(v78256); } } if (!tbl) return; if (tbl.tagName !="TABLE" ||!tbl.gridId) return; var vb0b93 =ISGetObject(tbl.gridId); var v28e98 =vb0b93.Tables[tbl.tblName]; var v4dc72 =false; var v72e6 =false; var vd3b63 =false; var v96091 =true; var v74150 =false; var v0425 =vb0b93.LastSelObj; var v68c32 =false; var v76c76 =null; if (IS.moz) { if (v0425) { v78256 =v0425.element; tbl =wg4a378.m33a20(v78256); } } if (tbl !=v28e98.GetElement(WG40.BODY,WG40.HTMLTABLE,v47976)) { if (!v0425) return; v78256 =v0425.element; tbl =wg4a378.m33a20(v78256); } try { if (!ISEvent.Raise(vb0b93.LayoutSettings.ClientSideEvents.OnKeyDown,vb0b93.Name,tbl.tblName,v78256.parentElement.rowIndex,v78256.cellIndex)) return; } catch (e) { return; } var ve0d77 =v28e98.Get("CellClickAction"); if (ve0d77 =="None") v72e6 =true; if (v72e6) { event.cancelBubble =true; return; } var v4ac90 =new SelectedObject(tbl.tblName,tbl.gridId,null); var va1b73 =false; var v09a10 =false; if (v67785.keyCode ==187 &&v67785.ctrlKey) va1b73 =true; if (v67785.keyCode ==189 &&v67785.ctrlKey) v09a10 =true; switch (v67785.keyCode) { case 35: var v47976 =v0425.element; if (v0425.type =="Cell") v47976 =v47976.parentElement; if (ve0d77 =="RowSelect" ||v47976.type =="GroupHeader") { try { if (v47976.type =="NewRow") v4ac90 =wgGetLastVisibleRow(v28e98.GetElement(WG40.BODY,WG40.HTMLTABLE)); else v4ac90 =wgGetLastVisibleRow(tbl); } catch (e) { } } else { if (v47976.type !="NewRow") { v4ac90.cellIndex =wgGetCellCount(v0425.element.parentElement)-1; v4ac90.element =wgGetCellByPosition(v0425.element.parentElement,v4ac90.cellIndex); } } if (v4ac90) { var vd7d79 =vb0b93.Tables[v4ac90.tblName].Get("CellClickAction"); if (vd7d79 =="RowSelect" ||v47976.type =="GroupHeader") v4ac90.type ="Row"; else if (vd7d79 =="CellSelect") v4ac90.type ="Cell"; vd3b63 =true; v4dc72 =true; } if (!v67785.ctrlKey &&ve0d77 !="CellSelect") { if (v47976.type =="NewRow" ||wgIsFilterRow(v47976)||(wgIsRecordRow(v47976)&&v28e98.Get("AllowEdit")=="Yes")) { var v4de33 =wgGetLastEditableCell(v47976); if (v4de33) wg2f128.mc9757(v4de33); vd3b63 =false; } } break; case 36: var v47976 =v0425.element; if (v0425.type =="Cell") v47976 =v47976.parentElement; if (ve0d77 =="RowSelect" ||v47976.type =="GroupHeader") v4ac90 =wgGetFirstVisibleRow(tbl); else { if (v47976.type !="NewRow") { v4ac90.element =wgGetCellByPosition(v0425.element.parentElement,0); v4ac90.cellIndex =0; } } if (v4ac90) { var vd7d79 =vb0b93.Tables[v4ac90.tblName].Get("CellClickAction"); if (vd7d79 =="RowSelect" ||v47976.type =="GroupHeader") v4ac90.type ="Row"; else if (vd7d79 =="CellSelect") { v4ac90.type ="Cell"; } vd3b63 =true; v4dc72 =true; } if (!v67785.ctrlKey &&ve0d77 !="CellSelect") { if (v47976.type =="NewRow" ||wgIsFilterRow(v47976)||(wgIsRecordRow(v47976)&&v28e98.Get("AllowEdit")=="Yes")) { wg2f128.m4c417(v47976); vd3b63 =false; } } break; case 9: if (v67785.ctrlKey) { while (true) { var v1d855; if (!v67785.shiftKey) v1d855 =wgGetNextFocusableElement(vb0b93,null,v1d855); else v1d855 =wgGetPrevFocusableElement(vb0b93,null,v1d855); if (v1d855) { if (vb0b93.LastEditObj) vb0b93.ExitEditMode(); try { v1d855.focus(); break; } catch (e) { } } else break; } vd3b63 =false; v4dc72 =true; break; } case 37: if (v67785.keyCode ==37 ||(v67785.keyCode ==9 &&v67785.shiftKey)) { var v47976 =v0425.element; if (ve0d77 =="RowSelect" ||v47976.type =="GroupHeader" ||v47976.type =="NewRow" ||wgIsFilterRow(v47976)) { if (v0425.type =="Cell") v47976 =v47976.parentElement; if (v47976.type =="GroupHeader" &&v47976.expanded =="True") { wg91c62.m13014(vb0b93,wgGetCellByPosition(v47976,0).childNodes[0],v47976.expanded); wg91c62.mdd07(null,v47976); } else if (typeof (v47976.srLevel)!="undefined" &&!v28e98.Get("AllowEdit")=="Yes") { if (ve0d77 !="CellSelect") { var vb0852 =wg91c62.m1c114(v28e98,v47976); wg91c62.m13014(vb0b93,vb0852,v47976.srExpanded); wg91c62.m89518(vb0852); } } else if (v47976.type =="NewRow" ||wgIsFilterRow(v47976)||(wgIsRecordRow(v47976)&&v28e98.Get("AllowEdit")=="Yes")) { if (!wgActiveCellValid(vb0b93,v47976)) { wg2f128.m4c417(v47976); } else { var vd4d76 =wgGetPrevEditableCell(vb0b93.ActiveEditCell.element,v47976); if (vd4d76) { if (!vd4d76.rowChanged) { wg2f128.mc9757(vd4d76.element); if (wgIsColumnSetRow(v47976)) vd4d76.element.setActive(); } if (vd4d76.rowChanged) { v47976 =vd4d76.rowElement; v4ac90.type ="Row"; v4ac90.element =v47976; vd3b63 =true; if (vd4d76.element) { v68c32 =true; v76c76 =vd4d76.element; } } if (wgIsColumnSetRow(v47976)) v96091 =false; } } } } else if (ve0d77 =="CellSelect") { if (v0425.cellIndex -1>=0) { v4ac90 =new SelectedObject(v0425.tblName,v0425.gridId,null); v4ac90.cellIndex =v0425.cellIndex -1; v4ac90.rowIndex =v0425.rowIndex; v4ac90.type ="Cell"; v4ac90.element =wgGetCellByPosition(v0425.element.parentElement,v4ac90.cellIndex); vd3b63 =true; } } v4dc72 =true; break; } case 9: if (v67785.shiftKey) break; case 39: var v47976 =v0425.element; if (ve0d77 =="RowSelect" ||v0425.element.type =="GroupHeader" ||v47976.type =="NewRow" ||wgIsFilterRow(v47976)) { if (v0425.type =="Cell") v47976 =v47976.parentElement; if (v47976.type =="GroupHeader") { if (v47976.expanded =="False") { wg91c62.m13014(vb0b93,wgGetCellByPosition(v47976,0).childNodes[0],v47976.expanded); wg91c62.mdd07(null,v47976); } else { if (v67785.keyCode ==9) { var v07e35 =wgGetNextVisibleRow(tbl,v47976); var v0d198 =wgGetFirstEditableCell(v07e35.element);  if (v07e35 &&v07e35.element) { v47976 =v07e35.element; v4ac90.type ="Row"; v4ac90.element =v47976; vd3b63 =true;  if (v0d198 >-1) { v0d198 =v47976.cells[v0d198]; v68c32 =true; v76c76 =v0d198; } } } } } else if (typeof (v47976.srLevel)!="undefined" &&!v28e98.Get("AllowEdit")=="Yes") { if (ve0d77 !="CellSelect") { var vb0852 =wg91c62.m1c114(v28e98,v47976); wg91c62.m13014(vb0b93,vb0852,v47976.srExpanded); wg91c62.m89518(vb0852); } } else if (v47976.type =="NewRow" ||wgIsFilterRow(v47976)||(wgIsRecordRow(v47976)&&v28e98.Get("AllowEdit")=="Yes")) { if (!wgActiveCellValid(vb0b93,v47976)) { wg2f128.m4c417(v47976); } else { var v0d198 =wgGetNextEditableCell(vb0b93.ActiveEditCell.element,v47976); if (v0d198) { if (!v0d198.rowChanged) { if (vb0b93.LayoutSettings.FocusNewRowOnLastCell &&v28e98.Get("AllowAddNew")=="Yes" &&v0d198.element ==vb0b93.ActiveEditCell.element  &&parseFloat(v47976.position)==vb0b93.TotalLoadedRows -1) { v28e98.GotoNewRow(v47976); } else { wg2f128.mc9757(v0d198.element); if (wgIsFilterRow(v47976)) wgdee10.mfb068(vb0b93,v0d198.element); if (wgIsColumnSetRow(v47976)) v0d198.element.setActive(); } } if (v0d198.rowChanged) { v47976 =v0d198.rowElement; v4ac90.type ="Row"; v4ac90.element =v47976; vd3b63 =true; if (v0d198.element) { v68c32 =true; v76c76 =v0d198.element; } } if (wgIsColumnSetRow(v47976)) v96091 =false; } } } } else if (ve0d77 =="CellSelect") { var v4ba69 =(v0425.element.tagName =="TR" ? v0425.element : v0425.element.parentElement); if (!vb0b93.LastEditObj) { if (v0425.cellIndex +1<wgGetCellCount(v4ba69)) { v4ac90 =new SelectedObject(v0425.tblName,v0425.gridId,null); v4ac90.cellIndex =v0425.cellIndex +1; v4ac90.rowIndex =v0425.rowIndex; v4ac90.type ="Cell"; v4ac90.element =wgGetCellByPosition(v4ba69,v4ac90.cellIndex); vd3b63 =true; } } else { var vc5d44 =v0425.GetRowElement(); if (wgIsRecordRow(vc5d44)&&v28e98.Get("AllowEdit")=="Yes") { var v0d198 =wgGetNextEditableCell(vb0b93.ActiveEditCell.element,vc5d44); if (v0d198) { v4ac90 =new SelectedObject(v0425.tblName,v0425.gridId,null); v4ac90.cellIndex =v0d198.element.cellIndex; v4ac90.rowIndex =vc5d44.rowIndex; v4ac90.type ="Cell"; v4ac90.element =v0d198.element; } vd3b63 =true; } } } v4dc72 =true; break; case 38: var ve0d56; var v47976 =v0425.element; if (v0425.type =="Cell") v47976 =v47976.parentElement; if (v67785.ctrlKey) { v4ac90 =wgGetPrevSiblingRow(tbl,v47976); if (!v4ac90) v4ac90 =wgGetPrevVisibleRow(tbl,v47976); } else v4ac90 =wgGetPrevVisibleRow(tbl,v47976); if (v28e98.Get("AllowEdit")=="Yes" &&!wgActiveCellValid(vb0b93,v47976)) { if (!wgIsColumnSetRow(v47976)) wg2f128.m4c417(v47976); else v96091 =false; } else { if (wgIsColumnSetRow(v47976)&&(v28e98.Get("AllowEdit")=="Yes" ||wgIsFilterRow(v47976))) { var v78256 =vb0b93.ActiveEditCell.element; var v00662 =wgGetCSPrevEditableRow(tbl,v78256,v78256.cs,v78256.c,true); if (v00662 &&v00662.element &&v00662.element.type !="GroupHeader" &&v00662.element.type !="NewRow") { if (v00662 &&v28e98.Id ==v00662.tblName) { if (wgIsSameRow(v00662.rowElement,v47976)) { v74150 =true; v68c32 =true; v96091 =false; v76c76 =v00662.element; v4ac90 =new SelectedObject(v0425.tblName,v0425.gridId,null); v4ac90.type ="Row"; v4ac90.element =v00662.rowElement; } else { v96091 =false; v4ac90 =new SelectedObject(v0425.tblName,v0425.gridId,null); v4ac90.type ="Row"; v4ac90.element =v00662.rowElement; if (v00662.element) { v68c32 =true; v76c76 =v00662.element; } } } } else { if (!event.ctrlKey) v4ac90 =wgGetPrevVisibleRow(tbl,v78256.parentElement); } } } if (v4ac90) { var vd7d79 =vb0b93.Tables[v4ac90.tblName].Get("CellClickAction"); if (vd7d79 =="RowSelect" ||v4ac90.element.type =="GroupHeader" ||v4ac90.element.type =="NewRow" ||v4ac90.element.type =="FilterRow") v4ac90.type ="Row"; else if (vd7d79 =="CellSelect") { v4ac90.type ="Cell"; if (v0425.tblName ==v4ac90.tblName) { v4ac90.cellIndex =v0425.cellIndex; v4ac90.element =wgGetCellByPosition(v4ac90.element,v4ac90.cellIndex); } else { if (vb0b93.Tables[v4ac90.tblName].LastAECIndex !=-1) { v4ac90.cellIndex =vb0b93.Tables[v4ac90.tblName].LastAECIndex; v4ac90.element =wgGetValidActiveCell(v4ac90.element.cells[v4ac90.cellIndex]); } else v4ac90.element =wgGetCellByPosition(v4ac90.element,v4ac90.cellIndex); } } vd3b63 =true; v4dc72 =true; } break; case 40: var ve0d56; var v47976 =v0425.element; if (v0425.type =="Cell") v47976 =v47976.parentElement; if (v0425.tblName !=tbl.tblName) tbl =wg4a378.m33a20(v47976); if (v67785.ctrlKey) { v4ac90 =wgGetNextSiblingRow(tbl,v47976); if (!v4ac90) v4ac90 =wgGetNextVisibleRow(tbl,v47976); } else v4ac90 =wgGetNextVisibleRow(tbl,v47976); if (v28e98.Get("AllowEdit")=="Yes" &&!wgActiveCellValid(vb0b93,v47976)) { if (!wgIsColumnSetRow(v47976)) wg2f128.m4c417(v47976); else v96091 =false; } else { if (wgIsColumnSetRow(v47976)&&(v28e98.Get("AllowEdit")=="Yes" ||wgIsFilterRow(v47976))) { var v78256 =vb0b93.ActiveEditCell.element; var v00662 =wgGetCSNextEditableRow(tbl,v78256,v78256.cs,v78256.c,true); if (v00662 &&v00662.element &&v00662.element.type !="GroupHeader" &&v00662.element.type !="NewRow") { if (v00662 &&v28e98.Id ==v00662.tblName) { if (wgIsSameRow(v00662.rowElement,v47976)) { v74150 =true; v68c32 =true; v96091 =false; v76c76 =v00662.element; v4ac90 =new SelectedObject(v0425.tblName,v0425.gridId,null); v4ac90.type ="Row"; v4ac90.element =v00662.rowElement; } else { v96091 =false; v4ac90 =new SelectedObject(v0425.tblName,v0425.gridId,null); v4ac90.type ="Row"; v4ac90.element =v00662.rowElement; if (v00662.element) { v68c32 =true; v76c76 =v00662.element; } } } } else { if (!event.ctrlKey) v4ac90 =wgGetNextVisibleRow(tbl,v78256.parentElement); } } } if (v4ac90) { var vd7d79 =vb0b93.Tables[v4ac90.tblName].Get("CellClickAction"); if (vd7d79 =="RowSelect" ||v4ac90.element.type =="GroupHeader" ||v4ac90.element.type =="NewRow") v4ac90.type ="Row"; else if (vd7d79 =="CellSelect") { v4ac90.type ="Cell"; if (v0425.tblName ==v4ac90.tblName) { v4ac90.cellIndex =v0425.cellIndex; v4ac90.element =wgGetCellByPosition(v4ac90.element,v4ac90.cellIndex); } else { if (vb0b93.Tables[v4ac90.tblName].LastAECIndex !=-1) { v4ac90.cellIndex =vb0b93.Tables[v4ac90.tblName].LastAECIndex; v4ac90.element =wgGetValidActiveCell(v4ac90.element.cells[v4ac90.cellIndex]); } else { v4ac90.element =wgGetCellByPosition(v4ac90.element,v4ac90.cellIndex); } } } vd3b63 =true; v4dc72 =true; } break; case 46: var v47976 =v0425.element; if (v0425.type =="Cell") v47976 =v47976.parentElement; if (v28e98.Get("AllowDelete")=="Yes" &&wgIsRecordRow(v47976)&&v47976.rowState !="Deleted") { var ve1523 =true; if (vb0b93.LayoutSettings.PromptBeforeDelete) ve1523 =confirm(vb0b93.GetString("MessageBoxText/DeleteRow")); if (ve1523) { wg2f128.me2512(vb0b93,v47976); v4dc72 =true; } else { event.cancelBubble =true; } } break; case 107: if (ve0d77 =="RowSelect") { var vc5d44 =v0425.element; if (v0425.type =="Cell") vc5d44 =vc5d44.parentElement; if (wgIsRecordRow(vc5d44)) { var v92b99; vc5d44 =wgGetRootRow(vc5d44); for (var v94f37=0; v94f37<vc5d44.cells.length; v94f37++) { if (vc5d44.cells[v94f37].type =="CellExpander") { v92b99 =vc5d44.cells[v94f37]; break; } } if (v92b99 &&(vc5d44.childExpanded =="True")) { wga3c88.m57926(vb0b93,v92b99,"True"); wga3c88.m6aa31(null,vc5d44); } } } v4dc72 =true; break; case 109: if (ve0d77 =="RowSelect") { var vc5d44 =v0425.element; if (v0425.type =="Cell") vc5d44 =vc5d44.parentElement; if (wgIsRecordRow(vc5d44)) { var v92b99; for (var v94f37=0; v94f37<vc5d44.cells.length; v94f37++) { if (vc5d44.cells[v94f37].type =="CellExpander") { v92b99 =vc5d44.cells[v94f37]; break; } } if (v92b99 &&(vc5d44.childExpanded =="False" ||!vc5d44.childExpanded)) { wga3c88.m57926(vb0b93,v92b99,"False"); wga3c88.m6aa31(null,vc5d44); } } } v4dc72 =true; break; case 27: if (v28e98.Get("AllowAddNew")=="Yes" ||v28e98.Get("AllowEdit")=="Yes" ||wgIsFilterRow(v47976)) { var v23397 =vb0b93.ExitEdit(-1)[0]; if (v23397) vb0b93.IsInEditMode =false; } break; case 82: if (v67785.ctrlKey) { vb0b93.Refresh(); v67785.keyCode =0; v4dc72 =true; break; } case 76: if (v67785.ctrlKey) { wgLoadMore(vb0b93.Name); v67785.keyCode =0; v4dc72 =true; break; } case 69: if (v67785.ctrlKey) { if (typeof (wg09156.ma1e61)=="function" &&vb0b93.LayoutSettings.AllowExport =="Yes") { wgExport(vb0b93.Name); } v67785.keyCode =0; v4dc72 =true; break; } case 115: if (v67785.keyCode ==115) { if (wgIsFilterRow(v47976)) { wg91c62.m98686(vb0b93.ActiveEditCell.element.childNodes[0]); v67785.keyCode =0; v4dc72 =true; } else if (vb0b93.ActiveEditCell) { var v05725 =v28e98.Columns.GetNamedItem(wgGetColNameByCell(vb0b93.ActiveEditCell.element)); if (v05725 &&v05725.EditType =="Custom") { var v8e949 =vb0b93.CustomEditors[v05725.CustomEditorName]; if (v8e949.ImplementationObject) v8e949.ImplementationObject.OnDropdown(); v67785.keyCode =0; v4dc72 =true; } } } default: if (v67785.keyCode>=48 &&v67785.keyCode<=57 ||v67785.keyCode>=54 &&v67785.keyCode<=90 ||v67785.keyCode>=96 &&v67785.keyCode<=111 ||v67785.keyCode>=186 &&v67785.keyCode<=192 ||v67785.keyCode>=219 &&v67785.keyCode<=222 ||v67785.keyCode ==113 ||v67785.keyCode ==13 ||v67785.keyCode ==32 ||v67785.keyCode ==229) { if (!v67785.ctrlKey) { var v47976 =v0425.element; if (v0425.type =="Cell") v47976 =v47976.parentElement; if ((v28e98.Get("AllowAddNew")=="Yes" &&v47976.type =="NewRow")||(v28e98.Get("AllowEdit")=="Yes" &&wgIsRecordRow(v47976)) ||wgIsFilterRow(v47976)) { if (v67785.shiftKey &&v67785.keyCode ==13) { vb0b93.ExitEdit(0,false); v4dc72 =true; } else { var v0dc30 =wg2f128.m13c95(vb0b93,true); if (v67785.keyCode ==13) v4dc72 =true; else if (v0dc30) { wg2f128.m8de51(vb0b93); v67785.cancelBubble =true; } } } else { var vc4f40 =v28e98.GetRowCheckerColumn(); if (vc4f40 &&wgIsRecordRow(v47976)) { wg91c62.m99e75(v47976); v4dc72 =true; } } } else { if (v67785.keyCode ==84) { if (v28e98.Get("AllowFilter")=="Yes" &&v28e98.IsFilterRowVisible()) { v4ac90 =new SelectedObject(v0425.tblName,v0425.gridId,v28e98.GetFilterRow()); v4ac90.type ="Row"; vd3b63 =true; } v4dc72 =true; } else if (v67785.keyCode ==32) { var vc4f40 =v28e98.GetRowCheckerColumn(); if (vc4f40) { wg91c62.m99e75(v47976); v4dc72 =true; } } } } } if (va1b73) { var v47976 =v0425.element; if (ve0d77 =="RowSelect" ||v0425.element.type =="GroupHeader" ||v47976.type =="NewRow") { if (v0425.type =="Cell") v47976 =v47976.parentElement; if (v47976.type =="GroupHeader" &&v47976.expanded =="False") { wg91c62.m13014(vb0b93,wgGetCellByPosition(v47976,0).childNodes[0],v47976.expanded); wg91c62.mdd07(null,v47976); } else if (v47976.type =="Record") { var v92b99; for (var v94f37=0; v94f37<v47976.cells.length; v94f37++) { if (v47976.cells[v94f37].type =="CellExpander") { v92b99 =v47976.cells[v94f37]; break; } } if (v92b99 &&(v47976.childExpanded =="False" ||!v47976.childExpanded)) { wga3c88.m57926(vb0b93,v92b99,"False"); wga3c88.m6aa31(null,v47976); } } } } else if (v09a10) { var v47976 =v0425.element; if (ve0d77 =="RowSelect" ||v47976.type =="GroupHeader" ||v47976.type =="NewRow") { if (v0425.type =="Cell") v47976 =v47976.parentElement; if (v47976.type =="GroupHeader" &&v47976.expanded =="True") { wg91c62.m13014(vb0b93,wgGetCellByPosition(v47976,0).childNodes[0],v47976.expanded); wg91c62.mdd07(null,v47976); } else if (v47976.type =="Record") { var v92b99; for (var v94f37=0; v94f37<v47976.cells.length; v94f37++) { if (v47976.cells[v94f37].type =="CellExpander") { v92b99 =v47976.cells[v94f37]; break; } } if (v92b99 &&(v47976.childExpanded =="True")) { wga3c88.m57926(vb0b93,v92b99,"True"); wga3c88.m6aa31(null,v47976); } } } } if (vd3b63) { var v57535 =ISGetObject(v4ac90.gridId); var v86c88 =v57535.Tables[v4ac90.tblName]; var vc7b0 =v86c88.GetSelRowStyle(); var v12d20 =v86c88.GetFocusCellStyle(); var vb0852 =v57535.ResolveImagePathEx(v57535.LayoutSettings.ImageSettings.CurrentRowImage); if (vb0b93.ActiveEditCell ||vb0b93.LastEditObj) { if (!wgIsSameRow(v0425.GetRowElement(),v4ac90.GetRowElement())) { var v23397 =vb0b93.ExitEdit(2)[0]; if (!v23397) return; } } if (v4ac90.type =="Row") { if (v4ac90.element.type =="NewRow") wgdee10.ma6678(v57535,v4ac90.element); if (!v74150) { wgdee10.m0d99(v4ac90.element,vb0852); wgdee10.m56d38(v4ac90.element,vc7b0,v12d20); } if (v96091) { var v43848 =wgGetCellByPosition(v4ac90.element,0); v43848.setActive(); if (v4ac90.element.type =="NewRow" ||wgIsFilterRow(v4ac90.element) ||(v4ac90.element.type =="Record" &&v86c88.Get("AllowEdit")=="Yes")) wgSetLastAEC(v4ac90.element); else { wgdee10.mfb068(vb0b93,v43848); v57535.ActiveEditCell =null; } } else { if (v68c32) { if (v76c76.cellIndex ==-1) { if (v4ac90.element.type =="NewRow") v76c76 =wgGetCSFirstEditableCell(v4ac90.element); } wgdee10.mfb068(vb0b93,v76c76); v76c76.setActive(); } } if (v68c32) { wg2f128.mc9757(v76c76); } } else if (v4ac90.type =="Cell") { if (!wgIsSameRow(v0425.GetRowElement(),v4ac90.GetRowElement())) { wgdee10.m0d99(v4ac90.element.parentElement,vb0852); } wgdee10.mcc643(v4ac90.element,vc7b0,v12d20); v4ac90.element.setActive(); wgdee10.mfb068(v57535,v4ac90.element); } } if (v4dc72) { event.cancelBubble =true; event.returnValue =false; } wg_Global.LastKeyDownProcessed =v4dc72; }, mfb068:function(v0eb60,vf5826) { var v6cf19 =v0eb60.GetRootTable().GetElement(WG40.BODY,WG40.HTMLDIV); var v6c61 =v6cf19.scrollLeft; var v5424 =v6cf19.scrollTop; var vaf446 =vf5826.parentElement; var vcad51 =wg4a378.m97d49(vaf446); var v37867 =v0eb60.Tables[vcad51]; var v25071 =true; var v71f73 =0; var v78162 =false; if (vaf446.type =="NewRow" ||vaf446.type =="FilterRow") { if (v0eb60.Tables[vcad51].IsRootTable) { if (v6cf19.childNodes[0].rows.length ==0) v6cf19 =wg4a378.m33a20(vaf446).parentElement; } }  if (v37867.IsRootTable &&v0eb60.FreezePaneActive) { v25071 =false;  if (v0eb60.CacheFrozenWidth ==0) v0eb60.CacheFrozenWidth =wg91c62.me170(v0eb60);  v71f73 =v0eb60.CacheFrozenWidth; } var v4f58 =ISPosLib.getClientLeft(vf5826)+vf5826.offsetWidth +v6cf19.scrollLeft; var v9c633 =v6cf19.offsetWidth +v6cf19.scrollLeft +ISPosLib.getClientLeft(v6cf19); var v41e24 =posLib2.getLeftAbs(v0eb60.FrameObj,v0eb60); if (v9c633<v4f58) { if (v25071) v6cf19.scrollLeft +=v4f58 -v9c633 +20; else { var v4941 =0;  if (v0eb60.FreezeConfig !=null) v4941 =v0eb60.FreezeConfig[0].length;  wg91c62.m15191(v0eb60,vf5826); v78162 =true; } } if (v41e24 ==0) v41e24 =ISPosLib.getClientLeft(v6cf19); var v1a225 =ISPosLib.getClientLeft(vf5826)-v41e24; if (v1a225 <0 &&v25071) v6cf19.scrollLeft +=v1a225 -20;  if (!v25071 &&v0eb60.FreezeConfig !=null) { if (v0eb60.FreezeConfig[0].length >0) { var v15920 =wgGetColNameByCell(vf5826); var v06182 =v37867.Columns.GetNamedItem(v15920);  if (v06182 !=null &&v06182.HiddenFromView) { if (v06182.Position ==v0eb60.GetLastFrozenColumn().Position +1) wg91c62.m4ce23(v0eb60,0,false,false,true); else wg91c62.m5ed47(v0eb60,"Left");  v78162 =true; } } }  if (!v78162) { var ve3776 =ISPosLib.getClientTop(vf5826); var v31129 =ve3776 +vf5826.offsetHeight +17; var v3d855 =ISPosLib.getClientTop(v6cf19); var ve9451 =v3d855 +v6cf19.offsetHeight; if (ve3776<v3d855 &&v6cf19.contains(vf5826)) v6cf19.scrollTop -=v3d855 -ve3776; if (v31129>ve9451) v6cf19.scrollTop +=v31129 -ve9451; if (IS.moz &&(v6c61 !=v6cf19.scrollLeft ||v5424 !=v6cf19.scrollTop)) wg4a378.m89c30(v0eb60); } } };function WebGridEventDestructor(){ delete wgdee10; window.detachEvent("onunload",WebGridEventDestructor); IS.RegisterUnloadVariables("wgdee10");}window.attachEvent("onunload",WebGridEventDestructor);if (typeof(Sys)!="undefined") Sys.Application.notifyScriptLoaded();
