function yrv(tklb,zchb,mpq,xtt){AW.Formats.UserLoginString=AW.Formats.XMLString.subclass();AW.Formats.UserLoginString.create=function(){var bsb=this.prototype;var nkq=this.superclass.prototype;var ypqb=new Date();var fpf=ypqb.getTimezoneOffset();bsb.init=function(){nkq.init.call(this);};bsb.dataToText=function(llz,bhbb,mgnb,xrx){var qmx="",ygkb="";var bqfb=parseInt(bhbb.getCellData(8,xrx));var svt=parseInt(bhbb.getCellData(5,xrx));var wfq="#13920d";if((bhbb!=undefined)&&(svt>=1)&&((qmx=bhbb.getCellData(11,xrx))!="0")){if(svt==1){if(bqfb==1){ygkb=yzkb;wfq="#ff0000";}else ygkb=hyv;}else if(svt==2)ygkb=rtgb;var fycb=new Date(parseInt(qmx)*1000);return(mpy(llz)+"<span style='color:"+wfq+"'> ("+ygkb+" "+fycb.getFullYear()+'/'+phr(fycb.getMonth()+1)+'/'+phr(fycb.getDate())+")</span>");}else return(mpy(llz));};bsb.dataToValue=function(llz){return(mpy(llz));};bsb.comparator=bypb;};function phr(lhrb){if(isNaN(lhrb))return(lhrb);else return(lhrb>9?lhrb:'0'+lhrb);}AW.Formats.UsersGridLocaleDate=AW.System.Format.subclass();AW.Formats.UsersGridLocaleDate.create=function(){var bsb=this.prototype;var nkq=this.superclass.prototype;var ypqb=new Date();var fpf=ypqb.getTimezoneOffset();bsb.init=function(){nkq.init.call(this);};bsb.dataToText=function(llz){if((typeof(llz)=="undefined")||(llz=="")||(llz.toString()=="0"))return("");else{if((AW.ie)&&(parseInt(navigator.appVersion)>=4))return(VBDateFormat(llz,fpf));else{return(jtgb(llz));}}};bsb.dataToValue=function(llz){var byt=parseInt(llz);if(isNaN(byt))return(0);else return(byt);};};var njsb=13;var bhbb=jdw(tklb,[ybsb,gpf,ssgb,zxs,dlpb],[160,160,190,100,100],mpq,"users","user",njsb,zchb);var vnvb=new AW.Formats.XMLString;bhbb.setCellFormat([new AW.Formats.UserLoginString,vnvb,vnvb,new AW.Formats.UsersGridLocaleDate,vnvb]);bhbb.m_nDeleteColumn=0;bhbb.m_nIDCol=0;bhbb.m_sIDCol="LoginID";bhbb.getCellImage=function(zgx,xrx){var lx="";if(this.getCellData(10,xrx)=="1")lx="-Domain";else if(this.getCellData(10,xrx)=="2")lx="-Sys";else if(this.getCellData(10,xrx)=="3")lx="-DomainRO";else if(this.getCellData(10,xrx)=="4")lx="-SysRO";else if(this.getCellData(10,xrx)=="5")lx="-Group";else if(this.getCellData(10,xrx)=="6")lx="-GroupRO";if(this.getCellData(7,xrx)=="0")return("UserDisabled"+lx);else if(this.getCellData(8,xrx)=="1")return("UserAutoDisabled"+lx);else if(this.getCellData(6,xrx)=="0")return("UserWarn"+lx);else if(parseInt(this.getCellData(5,xrx))>0)return("UserTemp"+lx);else return("User"+lx);};if(xtt!=undefined)bhbb.setStyle("height",xtt);return(bhbb);}