function gvsb(zhwb,hwkb,bnt,mccb){AW.Formats.UserLoginString=AW.Formats.XMLString.subclass();AW.Formats.UserLoginString.create=function(){var glt=this.prototype;var lst=this.superclass.prototype;var zcgb=new Date();var vxk=zcgb.getTimezoneOffset();glt.init=function(){lst.init.call(this);};glt.dataToText=function(vycb,ckbb,hhj,bnj){var jcd="",bws="";var zrbb=parseInt(ckbb.getCellData(8,bnj));var skx=parseInt(ckbb.getCellData(5,bnj));var tqj="User-Expired-Grid-Txt";if((ckbb!=undefined)&&(skx>=1)&&((jcd=ckbb.getCellData(11,bnj))!="0")){if(skx==1){if(zrbb==1){bws=wypb;tqj="User-Expiring-Grid-Txt";}else bws=ryq;}else if(skx==2)bws=txfb;var ttc=new Date(parseInt(jcd)*1000);return(gcj(vycb)+"<span class='"+tqj+"'> ("+bws+" "+ttc.getFullYear()+'/'+fly(ttc.getMonth()+1)+'/'+fly(ttc.getDate())+")</span>");}else return(gcj(vycb));};glt.dataToValue=function(vycb){return(gcj(vycb));};glt.comparator=yhvb;};function fly(fph){if(isNaN(fph))return(fph);else return(fph>9?fph:'0'+fph);}AW.Formats.UsersGridLocaleDate=AW.System.Format.subclass();AW.Formats.UsersGridLocaleDate.create=function(){var glt=this.prototype;var lst=this.superclass.prototype;var zcgb=new Date();var vxk=zcgb.getTimezoneOffset();glt.init=function(){lst.init.call(this);};glt.dataToText=function(vycb){if((typeof(vycb)=="undefined")||(vycb=="")||(vycb.toString()=="0"))return("");else{if((AW.ie)&&(parseInt(navigator.appVersion)>=4))return(VBDateFormat(vycb,vxk));else{return(dhkb(vycb));}}};glt.dataToValue=function(vycb){var cncb=parseInt(vycb);if(isNaN(cncb))return(0);else return(cncb);};};var bjbb=13;var ckbb=xhgb(zhwb,[wtbb,kql,wfn,vbk,cjg],[160,160,190,100,100],bnt,"users","user",bjbb,hwkb);var tfgb=new AW.Formats.XMLString;ckbb.setCellFormat([new AW.Formats.UserLoginString,tfgb,tfgb,new AW.Formats.UsersGridLocaleDate,tfgb]);ckbb.m_nDeleteColumn=0;ckbb.m_nIDCol=0;ckbb.m_sIDCol="LoginID";ckbb.getCellImage=function(gcqb,bnj){var lwq="";if(this.getCellData(10,bnj)=="1")lwq="-Domain";else if(this.getCellData(10,bnj)=="2")lwq="-Sys";else if(this.getCellData(10,bnj)=="3")lwq="-DomainRO";else if(this.getCellData(10,bnj)=="4")lwq="-SysRO";else if(this.getCellData(10,bnj)=="5")lwq="-Group";else if(this.getCellData(10,bnj)=="6")lwq="-GroupRO";if(this.getCellData(7,bnj)=="0")return("UserDisabled"+lwq);else if(this.getCellData(8,bnj)=="1")return("UserAutoDisabled"+lwq);else if(this.getCellData(6,bnj)=="0")return("UserWarn"+lwq);else if(parseInt(this.getCellData(5,bnj))>0)return("UserTemp"+lwq);else return("User"+lwq);};if(mccb!=undefined)ckbb.setStyle("height",mccb+"px");return(ckbb);}