String.prototype.trim=function(){return this.replace(/^\s*|\s*$/g,'');};var VysrConfig={};g.k={vw:"1.0",IX:"0.3.2.055",Gj:"20080515",jc:"vysr",ar:"Vysr",Bs:"",wS:"images/titleIcon.png",uR:"server/HtmlClient",IL:"server/Search",qV:"xip_server.html",Dx:"cssVysr/",Ba:"vysrmain.css",CC:"startcobrowse.html",yC:"js/vysrcookie.js",oz:"js/vysr_signature.js",BK:"termwin.html",Lz:"about:blank",Lt:"empty.html",CQ:";jsessionid=",oy:"x",iy:"y",kT:"js",DU:"&js=",yz:"../footer/footer.html",vL:"-1",ly:"vysrFootUrl",Fm:"HTTP",ga:"method",fm:"content",ev:"handle",eP:"mimetype",ef:"transport",zY:"get",bw:"post",bQ:"action",cP:"cb",EK:"digest",EJ:"enable",Er:"header",ny:"text/plain",bO:"application/json",bW:"XMLHTTPTransport",HY:"location",fT:"locid",Ke:"nickname",Ck:"nummsg",Gr:"recip",Kp:"recipid",Jl:"recipname",Jd:"chatstatus",IJ:"chatCallId",kl:"callid",Co:"lastseq",AM:"sync",LI:"x",kR:"ts",Hb:"type",IH:"url",IF:"ver",Ld:"xml",rX:"rseed",Gq:"realm",Fp:"pageid",pL:"ct",fg:"load",mH:"error",te:"timeout",bC:"response",Hq:"responseText",bA:"status",Gy:"session",BJ:"jsessionid",BY:"isnew",Bm:"version",Cf:"ver",rn:"nickname",Hn:"location",Cw:"siteid",wl:"locid",Cc:"profile",fS:"name",Kr:"active",CH:"visitorlist",og:"item",Cd:"refresh",lp:"action",Md:"uid",hv:"jid",Az:"vid",rs:"presence",mF:"avail",oD:"capability",zb:"type",qN:"callstatus",nC:"content",yY:"messages",qb:"message",tO:"sender",lh:"text",EW:"seqNo",Cz:"msgtext",BM:"persona",Ad:"style",oN:"callid",Ir:"ts",KY:"alert",sO:"request",lp:"action",Lf:"Events",gx:"onunload",dH:"onclick",oV:"onfocus",qj:"onblur",Kb:"onresize",Ah:"mouseover",hK:"onmouseover",Bq:"mouseout",iJ:"onmouseout",Jz:"mousedown",IE:"onmousedown",Bf:"onchange",mU:"oncontextmenu",Be:"onscroll",Kj:"mouseup",JO:"onmouseup",yP:"click",jL:"focus",mY:"blur",is:"unload",rj:"MouseEvents",yN:"onLoad",wc:"onUnLoad",IU:"onValueChanged",HM:"onItemClick",vY:"selectChild",hn:"onKey",pP:"onShow",IM:"onHide",wa:"after",uN:"before",rO:"dojo:ContentPane",uk:"head",ra:"script",Dr:"DIV",uv:"div",jy:"iframe",mv:"option",gI:"id",wt:"src",uO:"type",Do:"text",dT:"value",Br:"class",xQ:"selected",Ik:"relative",Bu:"fixed",rI:"text/javascript",eH:"display",uF:"position",hb:"backgroundColor",vE:"backgroundImage",BE:"visibility",tu:"top",zG:"left",vC:"screenX",vA:"screenY",GE:"screenTop",Gu:"screenLeft",dU:"none",dz:"block",hU:"height",iO:"width",na:"location",nQ:"menubar",iB:"resizable",lN:"scrollbars",kH:"status",nK:"toolbar",wJ:"filter",vu:"alpha(opacity=100)",HE:"disabled",JC:"hidden",yH:"visible",AX:270,zV:100,Jp:280,IT:270,rw:380,pM:300,IK:380,IB:300,mj:650,lk:550,pj:"white",cq:"usrName",ds:"displayName",wk:"usrSiteId",yQ:"usrLocId",pD:"usrXDom",hQ:"usrServBaseUri",hR:"usrPartBaseUri",lB:"usrSrvPath",Ct:"usrCssPath",uZ:"usrJsess",Bt:"add",Bz:"del",BF:"mod",CK:"na",qd:"avail",vt:"imgTDavail",zN:"imgTDunavail",vS:"imgSvcUnavail",BO:"text",JQ:"voice",kO:"no_chat",sh:"chat_ended",rB:"invite_sent",ec:"invite_recvd",xI:"invite_accepted",By:"chat_active",kQ:"msgtype",CZ:"sig",BT:"data",vi:"content-type",ws:"text",yk:"cc",ET:"uact",GA:"url",Hi:"addr",Fo:"sender",Ka:"commaddr",GD:"proxy",kC:"Send",HP:"Enter",GV:"Cancel",pr:"Cancel invitation",sg:"media",BU:"url",Lw:"messages",Mb:"message",AN:"activity",dm:"callid",wq:"action",my:"invite",iw:"accept",lQ:"decline",lK:"retract",hm:"terminate",ss:"ack",Ii:"pushurl",HN:"leavechat",nZ:"text",oe:"url",jg:"voice",KL:"video",ls:"ptt",Jc:"alert",wr:"notify",xR:"active",tl:"canceled",we:"current",Jv:"unsetalert",tY:"_tc",pW:"_text",xl:"_label",vX:"_alert",JK:"images/flag.gif",It:"images/empty.gif",CY:["New activity","New message(s)","New message(s)"],Dy:"duplex",KF:"master",Lb:"slave",oK:1023,H:"",Kf:" ",bx:"undefined",tT:"null",C:true,KG:"true",L:false,Bh:"false",aw:"=",nA:"?",ip:"&",aU:",",jV:"(",iX:")",jT:"/",of:"no",dp:"yes",Gt:"px",pn:"100%",Cn:"0",uu:"&nbsp;",Ip:"<p>",GI:"</p>",BG:"...",kG:false,aO:null,Ew:null,iI:null,OH:"PH",OC:"PW",Oq:"PG",dh:"regfail",oa:"messageDiv",ph:["sound1","sound2","sound3","sound1"],rJ:0,xf:1,wM:2,uS:3,rD:function(cd,o){if(cd&&cd.baseVysrUri&&typeof cd.baseVysrUri!=this.bx&&cd.baseVysrUri!=this.H){o.bb=cd.baseVysrUri;}if(cd&&cd.vysrSkin){if(cd.vysrSkin.charAt(cd.vysrSkin.length-1)=="/"){o.cy=cd.vysrSkin;}else{o.cy=cd.vysrSkin+"/";}}else{o.fP=this.L;o.cy=this.Dx;}if(cd&&cd.rmtVysrUri&&typeof cd.rmtVysrUri!=this.bx&&cd.rmtVysrUri!=g.k.H){o.ac=cd.rmtVysrUri;var jd=/^http[s]*:\/\/([^\/]+).*/;var Cg=cd.rmtVysrUri.match(jd);if(Cg){var os=Cg[1];if(os&&os!=""){if(os.toLowerCase()!=window.location.host.toLowerCase()){//-->
}}}}this.eS(o);},qg:function(){return this.Ew;},xs:function(){return this.iI;},yp:function(bp,ai){if(bp&&bp.g&&bp.g.Q){this.aO=bp.g.Q;this.aO.BH(ai);}},lL:function(bp,aD,Hf){if(bp&&bp.g&&bp.g.G){this.aO=bp.g.G;return this.aO.Cl(aD,Hf);}return this.L;},aj:function(){return this.aO;},mP:function(){if(this.aO){this.aO=null;}},bK:function(iU,IC,mr){if(!mr){mr=null;}if(this.aO){this.aO.oQ(iU,IC,mr);}},eo:function(ik){if(this.aO){this.aO.eo(ik);}},jB:function(w,h){window.resizeBy(w-window.document.body.clientWidth,h-window.document.body.clientHeight);},ax:function(zO,gV){gV[this.oy]=null;gV[this.iy]=this.H;gV[this.kT]=null;var eV=zO.split(this.ip);for(var i=0;i<eV.length;i++){var mG=eV[i].indexOf(this.aw);if(mG>=0){var bR=eV[i].substring(0,mG);var gw=unescape(eV[i].substring(mG+1));if(typeof gV[bR]!=this.bx){gV[bR]=gw;};if(bR==this.oy){if(gw==this.tT||gw==this.H){gV.x=this.L;}else{gV.x=gw;}}if(bR=="y"){if(gw==this.tT||gw==this.H){gV.y=null;continue;}if(gw.charAt(gw.length-1)==this.jT){gV.y=gw;}else{gV.y=gw+this.jT;}}};};},ae:function(as){if(!as){return;}for(var a in as){if(typeof as[a]=="object"){this.ae(as[a])}as[a]=null;}as=null;},sQ:function(LW){var jv=LW;var PK=new RegExp("&#?([A-Za-z0-9])+;","g");var Oy=jv.match(PK);var Oo=false;var NJ=new Array("&amp;","&lt;&#47;","&lt;","&gt;","&quot;","&#38;","&#34;","&#60;","&#60;&#47;","&#62;");if(Oy){for(bH=0;bH<Oy.length;bH++){for(Mn=0;Mn<NJ.length;Mn++){if(Oy[bH]==NJ[Mn]){Oo=true;break;}}}}if(Oo){jv=jv.replace(/&/g,"&amp;");}jv=jv.replace(/<\//g,"&lt;&#47;");jv=jv.replace(/</g,"&lt;");jv=jv.replace(/>/g,"&gt;");jv=jv.replace(/"/g,"&quot;");var Gp=/\r*\n/gm;var uT=jv.replace(Gp,"<br>");var mn=uT;return mn;},wY:function(JF){var FP=JF.match(/[<>&%]/);if(FP){return false;}return true;},GJ:function(ac,LB,ay,DB,ap){var by=(new Date()).getTime();var B={action:LB,locid:ay,cb:DB,ts:by};g.k.Li(ac,B,ap);},fk:function(bu,dP){var iK=this.H;try{var wp=bu.getElementsByTagName("error");if(!dP||dP==null){dP=this.H;}if(wp){var FU=wp[0].getElementsByTagName("text");iK=FU[0].firstChild.nodeValue;var AP="error message: "+iK;this.A(dP+AP);}this.A("vysrcommon fk end of try: "+dP+iK);}catch(e){this.A("vysrcommon fk failed: "+e.message);iK="Unknown error";}this.A("vysrcommon fk end: "+dP+iK);return iK;},bn:function(D,dP){var iK;var aa=null;var ji=null;if(D){aa=D[this.bC];}if(aa){ji=aa[this.mH];}else{aa=D;ji=aa[this.mH];}if(D&&aa&&ji){iK=ji[this.lh];}else{iK="unknown error";}if(!dP||dP==null){dP=this.H;}var AP="error message: "+iK;this.A("vysrcommon xn end: "+dP+iK);return iK;},lz:function(bJ,O){var Dz=this.H;var Ax=this.H;if(O&&O.responseText){Dz=O.responseText;};if(bJ&&bJ.message){Ax=bJ.message;};this.A("error from io.bind: \n"+Ax+"\n\n"+Dz);},A:function(kt){if(!djConfig.isDebug){return;};try{if(!this.kG){this.xb();}}catch(e){}if(dojo.render.html.safari){window.console.log(kt);}else{try{dojo.log.debug(kt);}catch(e){};}},xb:function(){dojo.require("dojo.debug.console");this.kG=this.C;},ya:function(kt){g.k.A(kt);},Fy:function(ok){if(typeof(ok)!='object')return ok;if(ok==null)return ok;var yf=new Object();for(var bH in ok)yf[bH]=this.Fy(ok[bH]);return yf;},eS:function(o){if(VysrConfig.ServerPath){o.aV=VysrConfig.ServerPath;if(o.ac){var jd=/^(http[s]*:\/\/[^\/]+).*/;var xT=o.ac.match(jd);if(xT){MT=xT[1];o.aV=xT[1]+VysrConfig.ServerPath;return;}}}else{o.aV=o.ac;}},bi:function(R,o,Kc){if(!o)o=this;if(o.aQ){R.iframeProxyUrl=o.aV+g.k.qV;R.url=o.aV+g.k.uR;}else{if(o.aV){R.url=o.aV+g.k.uR;}else{R.url=g.k.uR;}}if(o.bt){R.url+=g.k.CQ+o.bt;}},ah:function(){}};g.k.FY=function(db,kh,GQ,EC,DG,aJ,ES){this.xF="er";this.db=db;this.kh=kh;this.ao=GQ;this.aq=EC;this.au=DG;this.jx=aJ;this.er=ES;};function fB(){return;};if(djConfig.isDebug){aZ=new Object();aZ.dO=g.k.ya;}
VysrConfig.ServerPath = "/Vysr/";  // server path if not relative to service base uri


