Ext.namespace("AssistCom","AssistCom.Core","AssistCom.Core.Method");AssistCom.Core.Method.GetStrLength=function(a){if(a==null){return null}else{return a.replace(/[^\x00-\xff]/g,"**").length}};AssistCom.Core.Method.GetDataFromServer=function(e,g,f,c,d,b){var a={cmd:e,params:g,isCmdStr:d==true?true:false,scope:c,maskStr:b,callbackFun:f};AssistCom.Util.Ajax.Send(a)};AssistCom.Core.setSession=function(a,d){var c=null;try{c=Ext.decode(window.name)}catch(f){if(!c){c={}}}c[a]=d;try{window.name=Ext.encode(c)}catch(b){return null}return d};AssistCom.Core.getSession=function(a){var b=null;try{b=Ext.decode(window.name)}catch(c){return null}return b[a]};

