(function(){var a={};a.$Modules=a;;var b={"build_number":"20110922.044756","git_commit":"cd0a1231234fb6abd8dee383a16a962c182d82af-dirty","languages":{"ar":"__$$__stringtable_lang_ar","bg":"__$$__stringtable_lang_bg","cs":"__$$__stringtable_lang_cs","da":"__$$__stringtable_lang_da","de":"__$$__stringtable_lang_de","el":"__$$__stringtable_lang_el","es":"__$$__stringtable_lang_es","et":"__$$__stringtable_lang_et","fa":"__$$__stringtable_lang_fa","fi":"__$$__stringtable_lang_fi","fo":"__$$__stringtable_lang_fo","fr":"__$$__stringtable_lang_fr","he":"__$$__stringtable_lang_he","hr":"__$$__stringtable_lang_hr","hu":"__$$__stringtable_lang_hu","id":"__$$__stringtable_lang_id","is":"__$$__stringtable_lang_is","it":"__$$__stringtable_lang_it","ja":"__$$__stringtable_lang_ja","ka":"__$$__stringtable_lang_ka","ko":"__$$__stringtable_lang_ko","ku":"__$$__stringtable_lang_ku","lt":"__$$__stringtable_lang_lt","lv":"__$$__stringtable_lang_lv","mk":"__$$__stringtable_lang_mk","ms":"__$$__stringtable_lang_ms","nb":"__$$__stringtable_lang_nb","nl":"__$$__stringtable_lang_nl","pl":"__$$__stringtable_lang_pl","pt":"__$$__stringtable_lang_pt","pt_BR":"__$$__stringtable_lang_pt_BR","ro":"__$$__stringtable_lang_ro","ru":"__$$__stringtable_lang_ru","sk":"__$$__stringtable_lang_sk","sl":"__$$__stringtable_lang_sl","sr":"__$$__stringtable_lang_sr","sv":"__$$__stringtable_lang_sv","th":"__$$__stringtable_lang_th","tr":"__$$__stringtable_lang_tr","uk":"__$$__stringtable_lang_uk","ur":"__$$__stringtable_lang_ur","vi":"__$$__stringtable_lang_vi","zh_CN":"__$$__stringtable_lang_zh_CN","zh_TW":"__$$__stringtable_lang_zh_TW","en":"__$$__stringtable_lang_en"},"strings":["Questions?","Click here to chat with us!","Online","Offline","Away","Click here to chat","We're online","We're offline","We're away","Options","Now online","Now offline","Now away","Last message received at <time>","<person> is typing a message...","optional","required","Choose a department","Any Operator","SUBMIT","START"," Department "," Name "," Email "," Question ","Submit"," Send the full chat transcript to yourself when this conversation ends. ","Name ","Email ","Save email address ","Cancel","Saving..."," End current chat session and clear all chat data from this computer? ","Yes","No"," We're sorry! Seems no one can serve you now. If you leave your email address, we'll get back to you soon. ","Message ","Sending message...","Message sent","Change Name"," Edit name: ","Sound"," Email Chat Transcript "," Clear History ","You","click to change","you","agent","<person> has joined","You are currently being served by <br> <person>","<person> has left","<person> has left the chat, but don't worry. We will still be able to retrieve any messages you leave behind.","<person> is now known as <newname>.","Press enter to send message","Connectivity problems, reconnecting.. Refresh page if problem persists","Resuming Chat"]};var c=a.Module=(function(){var q=[],r=/^function *\( *\) *{ *([\s\S]*) *}$/;function s(x,y){var z=a[x];z.module_function=new Function('$Modules',y.toString().replace(r,'$1'));z.ready();}function t(x){var y,z,A,B;for(y=q.length-1;y>=0;y--){A=q[y];B=A.dependencies;for(z=B.length-1;z>=0;z--){if(B[z]==x){B.splice(z,1);break}}A.ready()}}function u(x,y){if(x instanceof v)x.ensureLoaded(y);else y();}v.ensureLoaded=u;function v(){var x=Array.prototype.slice.call(arguments);var y=x.shift();this.fqname=y;this.name=y.split('.').pop();this.callbacks=[];this.dependencies=x;q.push(this);}v.prototype.ensureLoaded=function(x){this.ifLoaded(x);this.load();};v.prototype.ifLoaded=function(x){this.callbacks.push(x);};v.prototype.load=function(){var x=this.getDependencies(),y,z;for(y=0;y<x.length;y++){z=x[y];if(z.loader)continue;z.loader=new o(b.baseURL+'/lib/'+b.build_number+'/'+z.fqname+'.js',a,function(A){s(A[0],A[1]);})}};v.prototype.getDependencies=function(){var x=this.dependencies,y,z=[this];for(y=0;y<x.length;y++){var A=a[x[y]];z=z.concat(A.getDependencies())}return z;};v.prototype.ready=function(){if(this.dependencies.length||!this.module_function)return;for(y=q.length-1;y>=0;y--)if(q[y]==this){q.splice(y,1);break}this.module_function(a);var x=a[this.fqname],y;x.ifLoaded=x.ensureLoaded=w;for(y=0;y<this.callbacks.length;y++)this.callbacks[y](x);t(this.fqname);delete this.callbacks;delete this.fqname;delete this.name;delete this.dependencies;delete this.loader;};function w(x){x();}return v;})();var d=a.clone=(function(){function q(){}function r(s){q.prototype=s;return new q();}return r;})();var e=a.isArray=(function(){function q(r){return Object.prototype.toString.call(r)=='[object Array]';}return q;})();var f=a.isFunction=(function(){function q(r){return typeof r=='function';}return q;})();var g=a.isString=(function(){function q(r){return typeof r=='string';}return q;})();var h=a.nextTick=(function(){var q,r=[];function s(u,v,w){j.ok(typeof u=='function','1st argument to nextTick must be a function');if(w){for(var x=0;x<r.length;x++)if(r[x][0]===u&&r[x][1]===v)return}r.push([u,v]);if(!q)q=setTimeout(t,0);}function t(){for(var u=0;u<r.length;u++)r[u][0].apply(r[u][1]);r=[];q=!1;}s.tick=t;return s;})();var i=a.StackTrace=(function(){var q;try {0()} catch(t){q=t.arguments?'chrome':t.stack?'firefox':window.opera&&!('stacktrace' in t)?'opera':'other'}function r(){this.stack=this[q]();}r.prototype.toString=function(){return this.stack.join('\n');};r.prototype.chrome=function(){try {0()} catch(t){return t.stack.replace(/^(.*?\n){2}/,'').replace(/^[^\(]+?[\n$]/g,'').replace(/^\s+at\s+/g,'').replace(/^Object.<anonymous>\s*\(/g,'{anonymous}()@').split('\n')}};r.prototype.firefox=function(){try {0()} catch(t){return t.stack.replace(/^.*?\n/,'').replace(/(?:\n@:0)?\s+$/,'').replace(/^\(/g,'{anonymous}(').split('\n')}};r.prototype.opera=function(){try {0()} catch(t){var u=t.message.split('\n'),v='{anonymous}',w=/Line\s+(\d+).*?script\s+(http\S+)(?:.*?in\s+function\s+(\S+))?/i,x,y,z;for(x=4,y=0,z=u.length;x<z;x+=2){if(w.test(u[x])){u[y++]=(RegExp.$3?RegExp.$3+'()@'+RegExp.$2+RegExp.$1:v+'()@'+RegExp.$2+':'+RegExp.$1)+' -- '+u[x+1].replace(/^\s+/,'')}}u.splice(y,u.length-y);return u}};r.prototype.other=function(){var t=arguments.callee,u='{anonymous}',v=/function\s*([\w\-$]+)?\s*\(/i,w=[],x=0,y,z;var A=20;while(t&&w.length<A){y=v.test(t.toString())?RegExp.$1||u:u;z=Array.prototype.slice.call(t['arguments']);w[x++]=y+'('+s(z)+')';if(t===t.caller&&window.opera){break}t=t.caller}return w;};function s(t){for(var u=0;u<t.length;++u){var v=t[u];if(typeof v=='object'){t[u]='#object'}else if(typeof v=='function'){t[u]='#function'}else if(typeof v=='string'){t[u]='"'+v+'"'}}return t.join(',');}return r;})();var j=a.Assert=(function(){var q={ok:r,isFunction:function(s,t){r(f(s),t);}};q.log=function(){};function r(s,t){if(!!!s)q.log(t);}return q;})();var k=a.Browser=(function(){var q=navigator.userAgent.toLowerCase(),r=eval("/*@cc_on(function(v,m){return v>=9?9:v>=5.8?8:v>=5.7&&m?7:v>=5.6?6:v>=5.5?5.5:v>=5.1?5:v>=3?4:3})(@_jscript_version,'maxHeight' in document.createElement('a').style)@*/"),s=r==8,t=r==7,u=r==6,v=window.opera&&Object.prototype.toString.call(window.opera)=="[object Opera]",w=/webkit|khtml/.test(q),x=!r&&!v&&navigator.product=='Gecko'&&navigator.taintEnabled,y=q.indexOf('firefox')>-1,z=q.indexOf('firefox/2')>-1,A=q.indexOf('firefox/3')>-1,B=q.indexOf('chrome')>-1,C=q.indexOf("iphone")!=-1,D=q.indexOf("ipod")!=-1,E=q.indexOf("ipad")!=-1,F=C||E||D,G=r&&!H,H=document.compatMode=="CSS1Compat",I=!H,J=document.documentMode||r,K=q.indexOf("windows")!=-1||q.indexOf("win32")!=-1,L=q.indexOf("macintosh")!=-1||q.indexOf("mac os x")!=-1,M=document.location.protocol=='https:',N=navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage,O={noBoxSizing:J<=7,ie:{cssBottomRight:u,cssFixed:u||r&&I,buggyCSS:u||r&&I}};y=z?2:A?3:y;function P(V){return V.replace(/^http:/,M?'https:':'http:');}function Q(){if(J){if(J>6)return document.documentElement.clientHeight;return document.body.clientHeight}return window.innerHeight;}function R(){if(J){if(J>6)return document.documentElement.clientWidth;return document.body.clientWidth}return window.innerWidth;}if(u){var S=[];O.leaksMemory=function(V){j.isFunction(V);S.push(V);};function T(){for(var V=0;V<S.length;V++)S[V]();}window.attachEvent('onunload',T)}var U={isStrict:H,isQuirks:I,isOpera:v,isSafari:w,isChrome:B,isIPhone:C,isIPod:D,isIPad:E,isIOS:F,isIE:r,isIE6:u,isIE7:t,isIE8:s,isGecko:x,isFF:y,isFF2:z,isFF3:A,isBorderBox:G,engineIE:J,bugs:O,isWindows:K,isMac:L,isSecure:M,secureURL:P,language:N,getWindowClientHeight:Q,getWindowClientWidth:R};return U;})();var l=a.Element=(function(){var q={create:H,extend:N,appendChild:J,addChildren:K,hasParentNode:I,id:x,get:C,set:A,mangleIDs:D,generateID:x,nativeGenerator:E,getStyles:L,processDeferredStyles:v};var r=[];function s(U,V,W){try {U.style[T(V)]=W} catch(X){if(console)console.log('Failed to set style.'+V+' to "'+W+'": '+X.description)}}var t=s;function u(U){return;U.deferredStyle={};r.push(U);}function v(){return;t=s;var U;while(r.length){U=r.pop();for(var V in U.deferredStyle)if(U.deferredStyle.hasOwnProperty(V))t(U,V,U.deferredStyle[V])}}var w=1;function x(){return '___$_'+w++;}var y='__JX__ID',z=window.__IDs={};function A(U,V){var W=V.getAttribute(y);W=W?W.split(' '):[];U||(U=x());z[U]=V;W.push(U);V.setAttribute(y,W.join(' '));}function B(U){var V=U.getAttribute(y);if(!V)return;V=V.split(' ');for(var W=0;W<V.length;W++)delete z[V[W]];}function C(U){return z[U];}function D(U,V){var W;for(var X=0;X<V.length;X++){W=V[X];if(typeof W!='string'){if(W[1])W[1]=U+'__'+W[1];if(W[3])D(U,W[3])}}return V;}function E(U){return function(V,W,X,Y,Z){W=W||x();var $$=V.ownerDocument;var $_=q.create($$,U,W);$_.__jx__constructor=arguments.callee;$_.__jx__native=!0;var $a=!1;$_.appendToParent=function($b){if(!q.hasParentNode($_))q.appendChild(V,$_);if($b&&!$a){if(V.appendToParent)V.appendToParent(!0);$a=!0}};$_.setStyle(X);$_.setAttributes(Z);q.addChildren($_,Y);$_.appendToParent();return $_;};}function F(U){while(U.defaultPlacement)U=U.defaultPlacement;return U;}function G(U){if(U.createElement)return U;return F(U).ownerDocument;}function H(U,V,W,X){var Y=G(U).createElement(V);if(k.isSafari&&V.toLowerCase()=='textarea'){Y.style.resize='none'}switch(V.toLowerCase()){case 'textarea':case 'input':Y.style.outlineStyle='none';}u(Y);A(W,Y);N(Y);m.extend(Y);Y.setStyle(X);if(k.buggyCSS)Y.setOverflow('auto');return Y;}function I(U){return U.parentNode&&U.parentNode.nodeType&&U.parentNode.nodeType!=11;}function J(U,V){if(U==document.body&&(V.style.position=='absolute'||V.style.position=='fixed')){U.insertBefore(V,U.firstChild);V.applyConstraints();return}var W=U;while(W.defaultPlacement)W=W.defaultPlacement;W.appendChild(V);V.applyConstraints();}function K(U,V){if(!V||!V.length)return;U=F(U);var W,X,Y=U.ownerDocument,Z;for(var $$=0;$$<V.length;$$++){X=V[$$];if(e(X))W=X[0](U,X[1],X[2],X[3],X[4]);else{Z=Y.createTextNode(X);U.appendChild(Z);if(typeof X.bind=='function')X.bind(Z)}}return W;}function L(U){var V=U.ownerDocument;if(V.defaultView&&V.defaultView.getComputedStyle)return V.defaultView.getComputedStyle(U,null)||{};if(U.currentStyle)return U.currentStyle;return {};}function M(U,V){return L(U)[V];}function N(U,V){var W=U.style,X=k.isIE6||k.isIE&&U.ownerDocument.compatMode=='BackCompat';function Y($T){var $U;for(var $V in $T)if($T.hasOwnProperty($V)){$U='set'+$V.substr(0,1).toUpperCase()+$V.substr(1);if(typeof U[$U]=='function')U[$U]($T[$V])}}function Z(){return U.innerText||U.textContent||'';}function $$($T){if($T&&typeof $T.bind=='function')$T.bind(U);else p&&p.unbind&&p.unbind(U);if(typeof document.body.innerText=='undefined')U.textContent=$T;else U.innerText=$T;}function $_($T){var $U,$V;if(arguments.length==1&&g($T)){if(!$T)return;$T=$T.split(';');for($U=0;$U<$T.length;$U++){if($T[$U].match(/^\s*$/))continue;$V=$T[$U].match(/\s*([^:]+):\s*(.*?)\s*$/);if(!$V&&$T[$U].length){if(console)console.log('Bad style: "'+$T[$U]+'"');continue}$X($V[1],$V[2])}}else if(arguments.length==1&&typeof $T=='object'){for(var $W in $T)if($T.hasOwnProperty($W))$X($W,$T[$W])}else if(arguments.length>1){for($U=0;$U<arguments.length;$U+=2)$X(arguments[$U],arguments[$U+1])}function $X($Y,$Z){var $0=T('set-'+$Y);if(typeof U[$0]=='function')U[$0]($Z);else t(U,$Y,$Z);}}function $a($T){p&&p.onLanguage&&p.onLanguage($U);$U();function $U(){var $V=p&&p.flip?p.flip($T):$T;if(k.isIE)W.styleFloat=$V;else W.cssFloat=$V;}return U;}var $b,$c,$d,$e,$f,$g,$h,$i,$j;$b=$c=$d=$e=$f=$g=NaN;$h=null;function $k($T){$b=$q($T);$s();return U;}function $l($T){$d=$q($T);$s();return U;}function $m($T){$c=$q($T);$s();return U;}function $n($T){$e=$q($T);$s();return U;}function $o($T){$f=$q($T);$s();return U;}function $p($T){$g=$q($T);$s();return U;}function $q($T){return g($T)&&$T.substr($T.length-1)=='%'?parseInt($T)+'%':parseInt($T);}function $r($T){switch($T){case 'static':case 'relative':case 'absolute':case 'fixed':$h=$T;}if($h!=null)t(U,'position',X&&$h=='fixed'?'absolute':$h);return U;}function $s(){if(!isNaN($b)&&!isNaN($g))$c=NaN;if(!isNaN($d)&&!isNaN($f))$e=NaN;if($f<0)$f=0;if($g<0)$g=0;$t();}function $t(){if(!q.hasParentNode(U))return;if(k.bugs.ie.cssFixed&&$h=='fixed'){h($u,U,!0);return}if(k.bugs.ie.cssBottomRight&&(!isNaN($d)&&!isNaN($e)||!isNaN($b)&&!isNaN($c))){$w();return}$x();}function $u(){$v();if(U.appendToParent)U.appendToParent(!0);if($c<0)$c=0;if($e<0)$e=0;j.ok(isNaN($d)!=isNaN($e),'One and only one of left/right must be set');j.ok(isNaN($b)!=isNaN($c),'One and only one of top/bottom must be set');j.ok(!isNaN($f),'Width must be set');j.ok(!isNaN($g),'Height must be set');j.ok(U.ownerDocument==document,'Fixed element must be top level element');if($g!=$j){W.height=$g+'px';$j=$g}if($f!=$i){W.width=$f+'px';$i=$f}var $T,$U,$V,$W;if(k.isQuirks){$W='document.body.clientHeight';$V='document.body.clientWidth';$T='(dummy=document.body.scrollLeft)+';$U='(dummy=document.body.scrollTop )+'}else{$W='document.documentElement.clientHeight';$V='document.documentElement.clientWidth';$T='(dummy=document.documentElement.scrollLeft)+';$U='(dummy=document.documentElement.scrollTop )+'}if(!isNaN($d))$T+=$d;else if(g($d))$T+=parseInt($d)/100*(k.isQuirks?document.body:document.documentElement).clientWidth;else $T+=$V+'-'+($f+$e);if(!isNaN($b))$U+=$b;else if(g($b))$U+=parseInt($b)/100*(k.isQuirks?document.body:document.documentElement).clientHeight;else $U+=$W+'-'+($g+$c);if(k.isIE6&&document.body.currentStyle.direction=='rtl'){if(k.isQuirks)$T+='-(document.body.scrollWidth-document.body.clientWidth)';else $T+='-(document.documentElement.scrollWidth-document.documentElement.clientWidth)'}W.setExpression('left',$T+'+"px"');W.setExpression('top',$U+'+"px"');}function $v(){if($v.alreadyHacked)return;$v.alreadyHacked=1;if(k.isStrict)document.body.parentNode.style.background='#fff url(https://) fixed';else{if(document.body.currentStyle.backgroundAttachment!='fixed'){if(document.body.currentStyle.backgroundImage!='none'){var $T=document.createElement('div'),$U=$T.style,$V=document.body.currentStyle;$U.backgroundAttachment=$V.backgroundAttachment;$U.backgroundColor=$V.backgroundColor;$U.backgroundImage=$V.backgroundImage;$U.backgroundPositionX=$V.backgroundPositionX;$U.backgroundPositionY=$V.backgroundPositionY;$U.backgroundRepeat=$V.backgroundRepeat;$U.position='absolute';$U.zIndex=-1;$U.top=$U.left=0;$U.width='100%';document.body.insertBefore($T,document.body.firstChild);var $W=!1;var $X=0,$Y,$Z;function $0(){if(!$W&&$X){$Y+=document.body.clientWidth-$X;$U.width=$Y+'px';$X=document.body.clientWidth}if($Z)return;$Z=setTimeout(function(){$U.width=0;document.body.className=document.body.className;$Y=Math.max(document.body.scrollWidth,document.body.clientWidth);$U.width=$Y+'px';$X=document.body.clientWidth;$W=document.body.scrollWidth>document.body.clientWidth;$Z=null;},0);}setTimeout($0,0);$U.setExpression('height','document.body.scrollHeight+"px"');$0()}document.body.style.backgroundImage='url(https://)';document.body.style.backgroundAttachment='fixed'}}}function $w(){if(U.appendToParent)U.appendToParent(!0);$v();var $T=isNaN($d)?'':$d,$U=isNaN($e)?'':$e,$V=isNaN($f)?'':$f,$W,$X=isNaN($b)?'':$b,$Y=isNaN($c)?'':$c,$Z=isNaN($g)?'':$g,$0,$1=U.ownerDocument.compatMode=='BackCompat';if($h=='fixed'&&U.ownerDocument==document){if($1){$0='document.body.clientHeight';$W='document.body.clientWidth'}else{$0='document.documentElement.clientHeight';$W='document.documentElement.clientWidth'}}else{$0='this.offsetParent.clientHeight';$W='this.offsetParent.clientWidth'}if(k.isIE6){if(!isNaN($d)&&!isNaN($e)){$U='';$V=[$W,$d,$e].join('-')}if(!isNaN($b)&&!isNaN($c)){$Y='';$Z=[$0,$b,$c].join(' - ')}}if($h=='fixed'&&U.ownerDocument==document){if($1){if(!isNaN($d)||isNaN($e))$T+='+(dummy=document.body.scrollLeft)';else{$T+='+(dummy=document.body.scrollLeft)+document.body.clientWidth-this.offsetWidth-'+$e;$U=''}if(!isNaN($b)||isNaN($c))$X+='+(dummy=document.body.scrollTop)';else{$X+='+(dummy=document.body.scrollTop)+document.body.clientHeight-this.offsetHeight-'+$c;$Y=''}}else{if(!isNaN($d)||isNaN($e))$T+='+(dummy=document.documentElement.scrollLeft)';else if(k.isIE6){$T+='+(dummy=document.documentElement.scrollLeft)+document.documentElement.clientWidth-this.offsetWidth-'+$e;$U=''}else $U+='+document.documentElement.scrollWidth-(dummy=document.documentElement.scrollLeft)-document.documentElement.clientWidth';if(!isNaN($b)||isNaN($c))$X+='+(dummy=document.documentElement.scrollTop)';else if(k.isIE6){$X+='+(dummy=document.documentElement.scrollTop)+document.documentElement.clientHeight-this.offsetHeight-'+$c;$Y=''}else $Y+='+document.documentElement.scrollHeight - (dummy=document.documentElement.scrollTop) - document.documentElement.clientHeight'}}var $2,$3;if(0&&U.parentNode==document.body)window.attachEvent('onscroll',function(){if(!$2){$5('left',$T);$5('right',$U);$5('width',$V);$5('top',$X);$5('bottom',$Y);$5('height',$Z);$2=setInterval(function(){$3--;if(!$3)$4();},200)}$3=5;});function $4(){W.removeExpression('left');W.removeExpression('right');W.removeExpression('width');W.removeExpression('top');W.removeExpression('bottom');W.removeExpression('height');clearInterval($2);$2=!1;}$5('left',$T);$5('right',$U);$5('width',$V);$5('top',$X);$5('bottom',$Y);$5('height',$Z);function $5($6,$7){W[$6]='';W.removeExpression($6);if(typeof $7=='number')W[$6]=$7+'px';else if(g($7)&&$7.substr($7.length-1)=='%')W[$6]=$7;else if(g($7)&&$7.length)W.setExpression($6,$7);}}function $x(){$z();$y();}function $y(){W.top=g($b)?$b:isNaN($b)?'':$b+'px';W.bottom=g($c)?$c:isNaN($c)?'':$c+'px';if($g!=$j){W.height=g($g)?$g:isNaN($g)?'':$g+'px';$j=$g}}function $z(){W.left=g($d)?$d:isNaN($d)?'':$d+'px';W.right=g($e)?$e:isNaN($e)?'':$e+'px';if($f!=$i){W.width=g($f)?$f:isNaN($f)?'':$f+'px';$i=$f}}var $A='';var $B=0;var $C=0;U.dock=function($T,$U,$V){$A=$T;if($U!=null)$B=$U;if($V!=null)$C=$V;$D();U.on('jx:resize',$D);};function $D(){var $T=isNaN($f)?U.offsetWidth:$f,$U=isNaN($g)?U.offsetHeight:$g;var $V,$W,$X,$Y,$Z,$0;$V=$W=$X=$Y=NaN;$Z=$0=0;switch($A.charAt(0)){case 't':$V=0;break;case 'm':$V='50%';break;case 'b':$W=0;break;}switch($A.charAt(1)){case 'l':$X=0;break;case 'c':$X='50%';break;case 'r':$Y=0;break;}if($V=='50%')$Z=-($U/2);if($X=='50%')$0=-($T/2);var $1=0;if($C>=0||!isNaN($V)||typeof $V=="string"){$Z+=$C}else{$1=-$C}$0+=$B;U.setMargin([$Z+'px',0,$1+'px',$0+'px'].join(' ')).setTop($V).setBottom($W).setLeft($X).setRight($Y);}var $E,$F=[0,0,0,0];function $G($T){if(!e($T)){$T=$T.split(' ');$T[0]=parseInt($T[0]);$T[1]=parseInt($T[1]);$T[2]=parseInt($T[2]);$T[3]=parseInt($T[3])}if(X){$T[1]=Math.max(0,$T[1]);$T[2]=Math.max(0,$T[2])}$E=$T;return U;}function $H($T){if(!e($T)){$T=$T.split(' ');$T[0]=parseInt($T[0]);$T[1]=parseInt($T[1]);$T[2]=parseInt($T[2]);$T[3]=parseInt($T[3])}$F=[Math.max(0,$T[0]),Math.max(0,$T[1]),Math.max(0,$T[2]),Math.max(0,$T[3])];return U;}function $I(){if(!$E)return;if($d<$E[3]+$F[3])$d=$E[3];if($e<$E[1]+$F[1])$e=$E[1];if($b<$E[0]+$F[0])$b=$E[0];if($c<$E[2]+$F[2])$c=$E[2];var $T=k.isQuirks?document.body:document.documentElement,$U=isNaN($f)?U.offsetWidth:$f,$V=$T.clientWidth-$U,$W=$T.clientHeight-U.offsetHeight;if($V-$d<=$E[1]+$F[1])$d=$V-$E[1];if($V-$e<=$E[3]+$F[3])$e=$V-$E[3];if($W-$b<=$E[2]+$F[2])$b=$W-$E[2];if($W-$c<=$E[0]+$F[0])$c=$W-$E[0];}function $J($T,$U){$c=$e=NaN;$b=$U;$d=$T;$I();$t();return U;}function $K($T,$U){if(isNaN($d)&&isNaN($e))$d=0;if(isNaN($b)&&isNaN($c))$b=0;if(!isNaN($d))$d+=$T;if(!isNaN($e))$e-=$T;if(!isNaN($b))$b+=$U;if(!isNaN($c))$c-=$U;$I();$t();}function $L($T,$U,$V,$W){if($T){if(isNaN($f))$f=U.offsetWidth;$f=Math.max($V||0,$f+$T)}if($U){if(isNaN($g))$g=U.offsetHeight;$g=Math.max($W||0,$g+$U)}$I();$t();U.fire('jx:resize');return U;}var $M=!1;function $N($T){if($T=='none'||$T=='block')$M=!0;if($T=='none'||$T=='hidden'||$T=='false'||$T==!1)$O();else $Q();return U;}function $O(){if($M){if(W.display!='none'){W.display='none';U.fire('hide')}}else{if(W.visibility!='hidden'){W.visibility='hidden';U.fire('hide')}}return U;}function $P(){if($M)return U.getStyle('display')!='none';else return U.getStyle('visibility')=='visible';}function $Q(){if($M){if(W.display!='block'){W.display='block';U.fire('show')}}else{if(W.visibility!='visible'){W.visibility='visible';U.fire('show')}}return U;}U.getStyles=function(){return L(U);};U.getStyle=function($T){return M(U,$T);};U.setAttributes=Y;U.getText=Z;U.setText=$$;U.setStyle=$_;U.setFloat=$a;U.setPosition=$r;U.setTop=$k;U.setBottom=$m;U.setLeft=$l;U.setRight=$n;U.setHeight=$p;U.setWidth=$o;U.applyConstraints=$t;U.setVisible=$N;U.setBounds=$G;U.setSnaps=$H;U.move=$K;U.moveTo=$J;U.resizeBy=$L;U.hide=$O;U.show=$Q;U.isVisible=$P;for(var $R in O)if(O.hasOwnProperty($R))U[$R]=O[$R];if(k.bugs.leaksMemory)k.bugs.leaksMemory(function(){U.$=U.destroy=U.empty=U.getXY=U.appendToParent=U.defaultPlacement=U.getStyles=U.getStyle=U.setAttributes=U.getText=U.setText=U.setStyle=U.setFloat=U.setPosition=U.setTop=U.setBottom=U.setLeft=U.setRight=U.setHeight=U.setWidth=U.applyConstraints=U.setVisible=U.setBounds=U.setSnaps=U.move=U.moveTo=U.resizeBy=U.hide=U.show=U.isVisible=U.toggle=U.setOpacity=U.setBackgroundImage=U.setClass=U.addClass=U.removeClass=U.setRotation=U.setSelectable=U.setScrollTop=U.setBackground=U.setBackgroundPosition=U.setBorder=U.setBorderColor=U.setBorderStyle=U.setBorderWidth=U.setBorderTop=U.setBorderRight=U.setBorderBottom=U.setBorderLeft=U.setClear=U.setColor=U.setPadding=U.setMargin=U.setMarginTop=U.setMarginRight=U.setMarginBottom=U.setMarginLeft=U.setDisplay=U.setLineHeight=U.setLetterSpacing=U.setVisibility=U.setOutline=U.setOverflow=U.setOverflowX=U.setOverflowY=U.setFontFamily=U.setFontSize=U.setFontWeight=U.setFontStyle=U.setTextAlign=U.setTextDecoration=U.setTextTransform=U.setVerticalAlign=U.setZIndex=U.setCursor=U.setHref=U.setSrc=U.setChecked=U.setMedia=U.setName=U.setType=U.setValue=U.setDataNode=U.__jx__constructor=U.__jx__native=null;});if(V){var $S=U.firstChild;while($S){N($S,!0);$S=$S.nextSibling}}return U;}var O={$:function(U){return C(this.id+'__'+U);},destroy:function(){this.parentNode&&this.parentNode.removeChild(this);typeof this.empty=='function'&&this.empty();B(this);},empty:function(){var U;while(U=this.firstChild){if(typeof U.destroy=='function')U.destroy();else this.removeChild(U)}},getXY:function(){var U,V,W=this.offsetParent;U=this.offsetLeft;V=this.offsetTop;while(W){U+=W.offsetLeft;V+=W.offsetTop;W=W.offsetParent}return [U,V];},toggle:function(){this.isVisible()?this.hide():this.show();return this;},setOpacity:function(U){U=Math.max(Math.min(U,1),0);if(k.isIE)this.style.filter=(this.style.filter||'').replace(/progid:DXImageTransform.Microsoft.Alpha\([^\)]*\),? ?/gi,'')+(U>=1?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+U*100+'), ');else this.style.opacity=U;return this;},setBackgroundImage:function(U){var V=U;if(V&&k.isIE)this.style.filter+='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+V+'",sizingMethod="scale"), ';else this.style.backgroundImage='url("'+U+'")';return this;},setClass:function(U){this.className=U;return this;},addClass:function(U){this.removeClass(U);this.className+=' '+U;return this;},removeClass:function(U){var V=this.className.split(' ');for(var W=0;W<V.length;W++){if(V[W]==U){V[W]=""}}this.className=V.join(' ');return this;},setRotation:function(U){if(k.isFF)this.style.MozTransform=U?'rotate('+U+'deg)':'';else if(k.isSafari)this.style.WebkitTransform=U?'rotate('+U+'deg)':'';else if(k.isIE){this.style.filter=U?'progid:DXImageTransform.Microsoft.BasicImage(rotation='+Math.round(U/90)+')':'';if(k.isIE8&&U){var V=this.getElementsByTagName('iframe');if(k.isIE8&&V.length){V[0].style.filter=U?'progid:DXImageTransform.Microsoft.BasicImage(rotation='+Math.round(U/90)+')':'';this.style.overflow='visible'}}}return this;},setSelectable:function(U){function V(){return !1;}if(U&&U!='false'){this.unselectable='on';if(typeof this.style.MozUserSelect!='undefined')this.style.MozUserSelect='none';else if(typeof this.style.WebkitUserSelect!='undefined')this.style.WebkitUserSelect='none';else if(typeof this.onselectstart!='undefined')this.un('selectstart',V)}else{this.unselectable='on';if(typeof this.style.MozUserSelect!='undefined')this.style.MozUserSelect='none';else if(typeof this.style.WebkitUserSelect!='undefined')this.style.WebkitUserSelect='none';else if(typeof this.onselectstart!='undefined')this.on('selectstart',V)}return this;},setScrollTop:function(U){this.scrollTop=U;return this;}};var P,Q;P='background background-position border border-color border-style border-width color border-top border-right border-bottom border-left clear padding margin margin-top margin-right margin-bottom margin-left display line-height letter-spacing visibility outline overflow overflow-x overflow-y font-family font-size font-weight font-style text-align text-decoration text-transform vertical-align z-index cursor'.split(' ');for(Q=0;Q<P.length;Q++)O[T('set-'+P[Q])]=R(T(P[Q]));P='checked href media name src target type value'.split(' ');for(Q=0;Q<P.length;Q++)O[T('set-'+P[Q])]=S(P[Q]);function R(U){return function(V){try {this.style[U]=V} catch(W){}return this;};}function S(U){return function(V){this.setAttribute(U,V);return this;};}function T(U){U=U.split(/[^a-zA-Z0-9]/);for(var V=1;V<U.length;V++)if(U[V].length)U[V]=U[V].substr(0,1).toUpperCase()+U[V].substr(1);return U.join('');}if(k.isIE)document.execCommand("BackgroundImageCache",!1,!0);return q;})();var m=a.Events=(function(){var q={extend:r,body:r(document.body,!0),window:r(window,!0),document:r(document,!0),runAfterScriptReady:u,runAfterFirstChildReady:v,runAfterDomReady:w};function r(C,D){var E={fire:L,on:H,un:K};var F={};function G(O){if(!C.nodeType&&C!=window&&C!=document)return !0;if(k.isGecko)return !document.createEvent('event')[O.toUpperCase()];return typeof C['on'+O]=='undefined';}function H(O,P,Q){if(O&&typeof P=='function'){if(G(O))J(O,P,Q);else I(O,P,Q)}return C;}function I(O,P,Q){if(C.attachEvent){function R(){var S;if(window.event)S=window.event;else if(C.ownerDocument&&C.ownerDocument.parentWindow&&C.ownerDocument.parentWindow.event)S=C.ownerDocument.parentWindow.event;else return;P(S.preventDefault?S:M(S));}C.attachEvent('on'+O,R);if(k.bugs.leaksMemory)k.bugs.leaksMemory(function(){C.detachEvent('on'+O,R);})}else if(C.addEventListener)C.addEventListener(O,P,Q);}function J(O,P){F[O]=F[O]||[];F[O].push(P);}function K(O,P){var Q=F[O],R=0;if(Q)for(;R<Q.length;R++)if(Q[R]===P){Q[R].splice(R,1);break}return C;}function L(O,P){if(!k.isFF||G(O)){var Q=F[O];var R=!0;if(Q&&Q.length){for(var S=0;S<Q.length;S++){if(Q[S].call(C,P)===!1)R=!1}}return R}else{var T=(C.compatMode?C:C.ownerDocument).createEvent('Events');T.initEvent(O,!1,!1);C.dispatchEvent(T)}return C;}function M(O){O.preventDefault=M.preventDefault;O.stopPropagation=M.stopPropagation;O.target=O.srcElement;return O;}M.preventDefault=function(){this.returnValue=!1;};M.stopPropagation=function(){this.cancelBubble=!0;};if(D)return E;var N;for(N in E)if(E.hasOwnProperty(N))C[N]=E[N];if(k.bugs.leaksMemory)k.bugs.leaksMemory(function(){for(N in E)if(E.hasOwnProperty(N))C[N]=null;});return C;}var s=0;var t=[[],[],[],[]];function u(C){x(0,C);}function v(C){x(1,C);}function w(C){x(2,C);}function x(C,D){if(C<=s)D();else t[C].push(D);}function y(C){while(s<C){s++;for(var D=0;D<t[s].length;D++)t[s][D]();t[s]=null}}function z(){if(s>0)return;if(document.body&&document.body.firstChild)y(1);else window.setTimeout(z,200);}function A(){y(2);}function B(){var C;if(k.isSafari){C=window.setInterval(function(){if(/loaded|complete/i.test(document.readyState)){window.clearInterval(C);A()}},20)}else if(document.addEventListener){if(/loaded|complete/i.test(document.readyState))A();else document.addEventListener("DOMContentLoaded",A,!1)}else if(k.isIE){window.attachEvent('onload',A);var D=document.createElement('document:ready');C=window.setInterval(function(){if(/loaded|complete/i.test(document.readyState)){D=null;window.clearInterval(C);A();return}try {D.doScroll('left')} catch(E){return}D=null;window.clearInterval(C);A();},200)}}z();B();return q;})();var n=a.DataIFrame=(function(){function q(){var r,s,t=m.extend(this);if(window.ActiveXObject){r=new window.ActiveXObject('htmlfile');r.open();r.write('<script>document.win = window</script>');r.close();s=r.win}else{var u=document.createElement('iframe'),v=u.style;t.allowTransparency='true';t.frameBorder='0';v.backgroundColor='transparent';v.position='absolute';v.width=v.height='1px';v.left=v.top='-9999px';v.border=0;document.body.appendChild(u);s=u.contentWindow;r=s.document}t.doc=r;t.win=s;t.$Loader={cleanup:function(){h(function(){if(t.$Loader.payload)t.fire('success',t.$Loader.payload);else t.fire('error');if(u)document.body.removeChild(u);u=t.win.$Loader=t.doc=r=t.win=s=null;});}};}q.prototype.setScope=function(r){this.scope=r;};q.prototype.load=function(r){this.doc.open();this.win.$Loader=this.$Loader;this.win.$Loader.scope=this.scope||{};this.doc.write('<html><head><script src="'+r+'"></script></head><body onload="$Loader.cleanup()"></body></html>');this.doc.close();};return q;})();var o=a.ScriptLoader=(function(){function q(r,s,t){var u=this;m.extend(u);var v=new n();s=s||{};v.setScope(s);v.on('success',t);v.on('error',function(w){u.onError(w);});v.load(r);}q.prototype.onError=function(r){r;};return q;})();var p=a._=(function(){var q=[],r='_',s=[],t=[];function u(G,H){if(isNaN(G)){return G}if(G==-1)G=q.length;var I=q[G];if(!I)q[G]=I=new v();if(typeof H=='string')I.add('_',H);else for(var J in H)if(H.hasOwnProperty(J))I.add(J,H[J]);return I;}function v(){var G={},H=[],I={add:L,bind:M,onTranslate:N,toString:O,update:P},J=['concat','replace'];for(var K=0;K<J.length;K++)I[J[K]]=R(J[K]);return I;function L(S,T){G[S]=T;}function M(S){w(S,I);}function N(S){H.push(S);}function O(S){return G[S||r]||G._;}function P(S){var T=O(S),U;for(U=0;U<H.length;U++)H[U](T);}function Q(S,T){var U=new v(),V;q[G._]=U;for(var W in G)if(G.hasOwnProperty(W)){V=G[W];if(typeof V!='string')continue;V=V[S].apply(V,T);U.add(W,V)}return U;}function R(S){return function(){return Q(S,arguments);};}}function w(G,H){for(var I=0;I<s.length;I++)if(s[I]==G){t[I]=H;return}s.push(G);t.push(H);}function x(G){for(var H=0;H<s.length;H++)if(s[H]==G){s.splice(H,1);t.splice(H,1);return}}var y=[];function z(G){if(b.languages[G])return G;else if(b.languages[G=G.substr(0,2)])return G;else return null;}function A(G){var H,I,J,K,L;G=z(G);if(!G)return;K=b.languages[G];if(!K)return;L=a[b.languages[G]];if(!L)return;u.language=r=G;c.ensureLoaded(L,function(M){if(M)B(G);if(G!=r)return;for(H=0;H<q.length;H++)if(q[H].update instanceof Function)q[H].update(G);for(H=0;H<s.length;H++){I=s[H];J=t[H].toString();if(typeof I.textContent=='string')I.textContent=J;else{if(typeof I.innerText=='string')I.innerText=J;else if(typeof I.nodeValue=='string')try {I.data=J} catch(N){}}}for(H=0;H<y.length;H++)y[H](G);});}function B(G){var H=a[b.languages[G]],I;for(I=0;I<H.length;I++)if(H[I]!==0)q[I].add(G,H[I]);}function C(G){y.push(G);}function D(G){if(r.search(/^ar|^fa|^he/)==-1)return G;return G.replace(/left/,'%left%').replace(/right/,'left').replace(/%left%/,'right').replace(/ltr/,'%ltr%').replace(/rtl/,'ltr').replace(/%ltr%/,'rtl');}var E=b.strings;for(var F=0;F<E.length;F++)u(F,E[F]);u.bind=w;u.flip=D;u.onLanguage=C;u.update=A;u.unbind=x;return u;})();a.__$$__meshim_Clock=(function(){var q=(function(){var r;function s(y){var z=new Date();r=y?(z.getTime()-y*1000)/1000:0;return r;}function t(y){if(!y)return new Date().getTime()/1000;var z=new Date();if(r)z.setTime((y+r)*1000);else z.setTime(y*1000);return z.getTime()/1000;}function u(y){var z=new Date();if(!y){if(r)z.setTime(z.getTime()-r*1000)}else{if(r)z.setTime((y-r)*1000)}return z.getTime()/1000;}function v(y){if(!y)return;var z=[[60,'second'],[60,'minute'],[24,'hour']];y/=1000;for(var A=0;A<z.length;A++){if(y<z[A][0]){y=parseInt(y);if(y==1)return y+' '+z[A][1]+' ago';else return y+' '+z[A][1]+'s ago'}else y/=z[A][0]}return;}function w(y,z){var A=['January','February','March','April','May','June','July','August','September','October','November','December'];var B=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];var C=y?new Date(y*1000):new Date().getTime()/1000;var D=C.getYear()<2000?C.getYear()+1900:C.getYear();if(z){if(D>=2000)D='0'+(D-2000);return C.getDate()+' '+A[C.getMonth()].slice(0,3)}return B[C.getDay()]+', '+A[C.getMonth()]+' '+C.getDate()+', '+D;}function x(y,z){if(z)z='am';var A=y?new Date(y*1000):new Date().getTime()/1000;var B=A.getHours();var C=A.getMinutes();if(z&&B>12){B=B-12;z='pm'}if(B==0)B=12;if(!z&&B<10)B='0'+B;if(C<10)C='0'+C;return z?B+':'+C+z:B+':'+C;}return {syncTime:s,getLocalEpoch:t,formatDuration:v,formatDate:w,formatTime:x};})();return q;})();a.__$$__jx_controls_FullFrame=(function(){function q(r,s,t,u,v){s=s||l.generateID();var w=r.ownerDocument;var x;if(k.bugs.noBoxSizing){var y=l.create(r,'table',s),z=l.create(r,'tbody'),A=l.create(r,'tr'),B=l.create(r,'td'),C=l.create(r,'div'),D=y.style,E=z.style,F=C.style;B.appendChild(C);A.appendChild(B);z.appendChild(A);y.appendChild(z);D.tableLayout='fixed';D.borderCollapse='collapse';F.height=F.width=E.height=E.width='100%';y.setTop(0).setLeft(0).setWidth('100%').setHeight('100%').setPosition('absolute').applyConstraints();F.position='relative';F.overflow='auto';x=y;x.defaultPlacement=C;x.setColor=function(H){B.setColor(H);};x.setFontWeight=function(H){B.setFontWeight(H);};x.setFontFamily=function(H){B.setFontFamily(H);};x.setFontSize=function(H){B.setFontSize(H);};x.setTextAlign=function(H){B.setTextAlign(H);};x.setLetterSpacing=function(H){B.setLetterSpacing(H);};x.setLineHeight=function(H){B.setLineHeight(H);};x.setOverflow=function(H){C.setOverflow(H);}}else{x=l.create(w,'div',s);x.setPosition('absolute');x.setStyle({top:0,bottom:0,left:0,right:0,overflow:'auto'})}x.__jx__constructor=arguments.callee;var G=!1;x.appendToParent=function(H){if(!l.hasParentNode(x))l.appendChild(r,x);if(H&&!G){if(r.appendToParent)r.appendToParent(!0);G=!0}};if(k.bugs.noBoxSizing){x.setPadding=function(H){B.style.padding=H;}}else{x.setPadding=function(H){if(H==undefined)return;H=H.split(' ');x.setTop(parseInt(H[0])).setRight(parseInt(H[1])).setBottom(parseInt(H[2])).setLeft(parseInt(H[3]));}}x.setStyle(t);x.setAttributes(v);l.addChildren(x,u);x.appendToParent();return x;}return q;})();a.__$$__jx_controls_Application=(function(){var q=document.getElementsByTagName('script');b.scriptElement=q[q.length-1];function r(s,t,u,v,w){var x=s.ownerDocument;var y;y=l.create(x,'div');y.style.position='absolute';y.style.visibility='hidden';y.style.margin=y.style.padding=y.style.border='0';y.style.height=y.style.width='0';if(b.scriptElement&&b.scriptElement.parentNode.tagName=='HEAD')document.body.insertBefore(y,document.body.firstChild);else b.scriptElement.parentNode.insertBefore(y,b.scriptElement);y.setAssets=function(B){if(B.indexOf('http')!=0){if(B.indexOf('/')!=0)B='/'+B;B=r.scriptURL.match(/^https?:\/\/[^\/]+/)+B}r.assetsURL=k.secureURL(B);};if(!(r.assetsURL&&r.assetsURL!='')){y.setAssets('/assets')}y.setDesktop=function(B){if(!B||B=='false')return;function C(E,F){var G=document.createElement('meta');G.name=E;G.content=F;return G;}var D=document.getElementsByTagName('head')[0];D.appendChild(C('viewport','user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1'));if(k.isIOS){D.appendChild(C('apple-mobile-web-app-capable','yes'));D.appendChild(C('apple-mobile-web-app-status-bar-style','black-translucent'));setTimeout(function(){document.body.ontouchmove=function(){window.event.preventDefault();};},1000)}};var z;for(var A in w)if(w.hasOwnProperty(A)){z='set'+A.substr(0,1).toUpperCase()+A.substr(1);if(y[z] instanceof Function)y[z](w[A])}l.addChildren(y,v);if(k.bugs.leaksMemory)k.bugs.leaksMemory(function(){y.setAssets=null;});return y;};if(b.scriptElement.getAttribute.length!==undefined)r.scriptURL=b.scriptElement.src;else r.scriptURL=b.scriptElement.getAttribute('src',-1);return r;})();a.__$$__style=(function(){function q(r,s,t,u,v){var w=r.ownerDocument,x=w.documentElement.getElementsByTagName('head')[0],y=u[0];var z=l.create(w,"style",s);z.setAttributes(v);l.appendChild(x,z);if(k.isIE){var A=y.split('}'),B,C,D,E;for(D=0;D<A.length;D++){B=A[D].split(/ *{ */);if(B.length!=2)continue;C=B[0].split(/ *, */);for(E=0;E<C.length;E++){try {z.styleSheet.addRule(C[E],B[1])} catch(F){}}}}else l.addChildren(z,u);return z;}return q;})();a.__$$__jx_color_Convert=(function(){var q=(function(){var r=/^#{0,1}(\w{1,2})(\w{1,2})(\w{1,2})$/;function s(w){var x=[],y=w.match(r),z;if(!y)return [0,0,0];for(var A=1;A<y.length;A++){z=y[A];z=z.length==1?z+z:z;x.push(parseInt(z,16))}return x;}function t(w,x,y){function z(D){D=Math.round(D);var E=D.toString(16);while(E.length<2)E='0'+E;return E;}var A=w instanceof Array?w:[w,x,y],B=['#'];for(var C=0;C<A.length;C++)B.push(z(A[C]));return B.join('');}function u(w,x,y){var z,A,B;if(w instanceof Array){z=w[0]||0;A=w[1]||0;B=w[2]||0}else{z=w;A=x;B=y}if(z==360)z=0;A/=100;B/=100;var C,D,E;if(A==0){C=B;D=B;E=B}else{var F=z/60;var G=Math.floor(F);var H=F-G;var I=B*(1-A);var J=B*(1-A*H);var K=B*(1-A*(1-H));switch(G){case 0:C=B;D=K;E=I;break;case 1:C=J;D=B;E=I;break;case 2:C=I;D=B;E=K;break;case 3:C=I;D=J;E=B;break;case 4:C=K;D=I;E=B;break;case 5:C=B;D=I;E=J;break;}}C*=255;D*=255;E*=255;return [C,D,E];};function v(w,x,y){var z,A,B;if(w instanceof Array){z=w[0]||0;A=w[1]||0;B=w[2]||0}else{z=w;A=x;B=y}var C,D,E;var F=Math.min(z,A,B);E=Math.max(z,A,B);var G=E-F;D=E==0?0:G/E;if(D==0)C=0;else if(z==E)C=60*(A-B)/G;else if(A==E)C=120+60*(B-z)/G;else if(B==E)C=240+60*(z-A)/G;if(C<=0){C+=360}D=D*100;E=E/255*100;return [C,D,E];}return {hex2rgb:s,rgb2hex:t,hsv2rgb:u,rgb2hsv:v};})();return q;})();a.__$$__jx_core_Util=(function(){var q={indexOf:s,Template:t,each:r,loadCSS:u};function r(v,w){if(!v||typeof w!='function')return;if(typeof v.length=='number'){var x=0;while(v[x]){w(v[x],x);x++}}else for(var y in v)if(v.hasOwnProperty(y))w(y,v[y]);};function s(v,w){if(w&&w.join){for(var x=0;x<v.length;x++)if(v[x].join&&v[x].join(',')==w.join(','))return x}for(x=0;x<v.length;x++)if(v[x]==w)return x;return -1;}function t(v){var w=function(x,y,z){var A=v,B=x;while(B.parentNode)B=B.parentNode;var C=B.createElement('div');C.style.display='none';B.body.appendChild(C);for(var D in y)if(y.hasOwnProperty(D))A=A.replace(new RegExp('{'+D+'}','g'),y[D]);C.innerHTML=A;var E={};r(C.getElementsByTagName('*'),function(F,G){if(F.className)E[F.className]=F;});if(z)while(C.lastChild)x.insertBefore(C.firstChild,z);else while(C.firstChild)x.appendChild(C.firstChild);B.body.removeChild(C);return E;};return {appendTo:w};};function u(v,w){if(!w||!v)return;var x=w.createElement('link');x.rel='stylesheet';x.href=v;w.getElementsByTagName("head")[0].appendChild(x);};return q;})();a.__$$__meshim_common_VectorElement=(function(){function q(r,s,t,u,v){s=s||l.generateID();var w=r.ownerDocument;var x;var y=document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");if(w.createElementNS&&y||k.isIE9){x=w.createElementNS("http://www.w3.org/2000/svg",'svg');x.vectorType='svg'}else if(k.isIE){if(w.namespaces&&!w.namespaces['v']){w.namespaces.add('v','schemas-microsoft-com:vml');var z=w.createElement('style');z.setAttribute("type","text/css");z.styleSheet.cssText="v\\:*{behavior:url(#default#VML); display: inline-block;";w.getElementsByTagName('head')[0].appendChild(z)}x=w.createElement('v:shape');x.vectorType='vml'}else{x=w.createElement('div')}l.extend(x);l.set(s,x);var A=!1;x.appendToParent=function(F){if(!l.hasParentNode(x))l.appendChild(r,x);if(F&&!A){if(r.appendToParent)r.appendToParent(!0);A=!0}};if(x.vectorType=='svg'){x.setClass=function(F){x.setAttribute('class',F);return x;};x.addClass=function(F){x.setAttribute('class',x.getAttribute('class')+' '+F);return x;};x.removeClass=function(F){var G=x.getAttribute('class');var H=new RegExp('\\b'+F+'\\b','g');G.replace(H,'');x.setAttribute('class',G);return x;}}x.setPath=function(F){var G,H;if(x.vectorType=='svg'){H=x.getElementsByTagName('path')[0];H?G=H:G=w.createElementNS("http://www.w3.org/2000/svg",'path');G.setAttribute('d',F);x.appendChild(G)}else if(x.vectorType=='vml'){F=F.replace(/c/g,'v').replace(/z/g,'x').replace(/m/g,'t').replace(/l/g,'r')+'e';H=x.getElementsByTagName('v:path')[0];H?G=H:G=w.createElement('v:path');G.setAttribute('v',F);x.appendChild(G)}return x;};x.setViewBox=function(F){if(x.vectorType=='svg'){x.setAttribute('viewBox',F)}else if(x.vectorType=='vml'){F=F.replace(/\s+/,' ').replace(/(^\s*)|(\s*$)/,'').split(' ');x.coordorigin=F[0]+' '+F[1];x.coordsize=F[2]+' '+F[3]}return x;};x.setFill=function(F){if(x.vectorType=='svg'){x.setAttribute('fill',F)}else if(x.vectorType=='vml'){var G=w.createElement('v:fill');F=='none'?G.setAttribute('on','false'):G.setAttribute('on','true');G.setAttribute('color',F);x.appendChild(G)}return x;};x.setGradient=function(F){F=F.replace(/,/g,' ').replace(/\s+/g,' ');if(x.vectorType=='svg')C(F);else if(x.vectorType=='vml')B(F);return x;};x.setStroke=function(F){if(x.vectorType=='svg'){x.setAttribute('stroke',F)}else if(x.vectorType=='vml'){var G=w.createElement('v:stroke');F=='none'?G.setAttribute('on','false'):G.setAttribute('on','true');G.setAttribute('color',F);x.appendChild(G)}return x;};x.setStrokeWidth=function(F){if(x.vectorType=='svg'){x.setAttribute('stroke-width',F)}else if(x.vectorType=='vml'){var G=w.createElement('v:stroke');F=parseInt(F);G.setAttribute('on','true');G.setAttribute('weight',F);x.appendChild(G)}return x;};x.setShadow=function(F){var G,H;if(x.vectorType=='svg'){if(k.isOpera)return;var I={'feOffset':{'result':'offset-out','in':'SourceGraphic','dx':'3','dy':'3'},'feColorMatrix':{'result':'matrix-out','in':'offset-out','type':'matrix','values':'0.2 0 0 0 0 0 0.2 0 0 0 0 0 0.2 0 0 0 0 0 1 0'},'feGaussianBlur':{'result':'blur-out','in':'matrix-out','stdDeviation':'2'},'feBlend':{'in':'SourceGraphic','in2':'blur-out','mode':'normal'}};G=w.createElementNS('http://www.w3.org/2000/svg','filter'),H='sha_'+new Date().getTime();G.setAttribute('id',H);var J=E(I,'http://www.w3.org/2000/svg');for(var K=0;K<J.length;K++)G.appendChild(J[K]);var L;if(x.getElementsByTagName('defs').length){L=x.getElementsByTagName('defs')[0];L.appendChild(G)}else{L=w.createElementNS('http://www.w3.org/2000/svg','defs');L.appendChild(G);x.appendChild(L)}x.setAttribute('filter','url(#'+H+')')}else if(x.vectorType=='vml'){G=w.createElement('v:shadow');G.setAttribute('on','true');G.setAttribute('opacity',F);x.appendChild(G)}return x;};function B(F){var G=F.split(' '),H=G.shift(),I,J;switch(G.shift()){case 'left':I='270';break;case 'top':I='180';break;case 'right':I='90';break;case 'bottom':I='0';break;}J=D(F).join(',');var K=w.createElement('v:fill');K.setAttribute('on','true');K.setAttribute('type','gradient');K.setAttribute('angle',I);K.setAttribute('colors',J);K.setAttribute('method','sigma');x.appendChild(K);}function C(F){if(k.isOpera){var G=D(F);x.setFill(G[G.length-1].split(' ')[1]);return}var H=F.split(' '),I=H.shift(),J,K;switch(H.shift()){case 'left':J='0% 0% 100% 0%'.split(' ');break;case 'top':J='0% 0% 0% 100%'.split(' ');break;case 'right':J='100% 0% 0% 0%'.split(' ');break;case 'bottom':J='0% 100% 0% 0%'.split(' ');break;}var L=w.createElementNS('http://www.w3.org/2000/svg','linearGradient'),M='grad_'+new Date().getTime();L.setAttribute('id',M);L.setAttribute('x1',J[0]);L.setAttribute('y1',J[1]);L.setAttribute('x2',J[2]);L.setAttribute('y2',J[3]);var N=D(F),O,P;for(var Q=0;Q<N.length;Q++){O=N[Q].split(' ');P=w.createElementNS('http://www.w3.org/2000/svg','stop');P.setAttribute('offset',O[0]);P.setAttribute('stop-color',O[1]);L.appendChild(P)}if(x.getElementsByTagName('defs').length){K=x.getElementsByTagName('defs')[0];K.appendChild(L)}else{K=w.createElementNS('http://www.w3.org/2000/svg','defs');K.appendChild(L);x.appendChild(K)}x.setAttribute('fill','url(#'+M+')');}function D(F){var G=/from\((.+?)\)/.exec(F),H=/to\((.+?)\)/.exec(F),I=[];G?I.push('0% '+G[1]):G='';F.replace(/color-stop\((.+?)\)/g,function(J,K){I.push(K);});H?I.push('100% '+H[1]):H='';return I;}function E(F,G){var H=[],I,J;for(var K in F)if(F.hasOwnProperty(K)){G?I=w.createElementNS(G,K):I=w.createElement(K);J=F[K];for(var L in J)if(J.hasOwnProperty(L))I.setAttribute(L,J[L]);H.push(I)}return H;}x.setStyle(t);x.setAttributes(v);l.addChildren(x,u);x.appendToParent();return x;}return q;})();a.__$$__iframe=(function(){function q(r,s,t,u,v){var w=r.ownerDocument;var x=l.create(w,"iframe",s);x.src='javascript:false';x.allowTransparency='true';x.frameBorder='0';x.style.backgroundColor='transparent';x.style.verticalAlign='text-bottom';x.style.visibility='hidden';r.appendChild(x);if(r.appendToParent instanceof Function)r.appendToParent(!0);var y=x.contentWindow;var z=m.extend(y.document);if(k.bugs.noBoxSizing){z.write('<html><head><style>html,body{height:100%;width:100%;background:none} *{border:0;padding:0;margin:0;}</style></head><body></body></html>');z.close()}else{z.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'+'<html><head><style>html,body{height:100%;width:100%;} *{border:0;padding:0;margin:0;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}</style></head><body></body></html>');z.close()}var A=z.getElementsByTagName('head')[0];var B=m.extend(z.body);x.ihead=A;x.ibody=B;x.idoc=z;x.iwin=y;p&&p.onLanguage&&p.onLanguage(C);function C(I){B.parentNode.setAttribute('lang',I);B.parentNode.setAttribute('dir',p.flip('ltr'));}p&&p.language&&C(p.language);B.style.position='relative';B.parentNode.style.overflowY=B.style.overflowY='hidden';if(k.isIE6){var D=l.create(z,"iframe");D.src='javascript:false';D.style.position='absolute';D.style.background='white';D.style.top=D.style.left=D.style.zIndex=-999;D.style.height=D.style.width=D.height=D.width='100%';D.frameBorder='0';D.style.filter='alpha(opacity=0)';B.appendChild(D)}var E,F,G;if(k.bugs.noBoxSizing){E=l.create(z,'div');E.setPosition('relative');E.setWidth('100%').setHeight('100%');E.setOverflow('hidden');B.appendChild(E);E.applyConstraints();E.setPadding=function(I){B.style.padding=I;}}else{E=l.create(z,'div');E.setPosition('absolute');E.setStyle({top:0,bottom:0,left:0,right:0,overflow:'hidden'});B.appendChild(E);E.applyConstraints()}F='Background BackgroundImage Border BorderColor BorderStyle BorderWidth Color Cursor FontFamily FontSize FontWeight LetterSpacing LineHeight Opacity Padding Selectable TextAlign'.split(' ');while(G=F.pop())x['set'+G]=(function(I){return function(J){E['set'+I](J);return this;};})(G);x.defaultPlacement=E;x.style.visibility='';var H={destroy:x.destroy};x.destroy=function(){H.destroy.call(x);E.destroy();D&&D.destroy();},x.empty=function(){E.empty();};if(x.setStyle)x.setStyle(t);if(x.setAttributes)x.setAttributes(v);l.addChildren(x,u);if(k.bugs.leaksMemory)k.bugs.leaksMemory(function(){x.iwin=x.idoc=x.ihead=x.ibody=y=z=A=B=D=E=null;});return x;}return q;})();a.__$$__meshim_GoogleAnalytics=(function(){var q=(function(){var r,s,t='Zopim Livechat';function u(x){r=x;r.on('chat.memberjoin',function(y){w('Served by Operator',y.name);}).on('chat.button_click',function(){w('Button Clicked');});v();}function v(){var x=window.pageTracker;var y=window._gat;if(!x&&y&&typeof y._getTrackerByName=='function')x=y._getTrackerByName();if(x&&typeof x._getAccount=='function'&&/^UA/.test(x._getAccount())&&typeof x._trackEvent=='function')s=x;return s;}function w(x,y,z){if(!s&&!v())return;if(z)s._trackEvent(z,x,y);else if(y)s._trackEvent(t,x,y);else s._trackEvent(t,x);}return {init:u,track:w};})();return q;})();a.__$$__jx_core_ObjectUtil=(function(){var q={equal:r,clone:t};function r(u,v){return u===v||u&&v&&typeof u=='object'&&typeof v=='object'&&s(u,v);}function s(u,v){var w;for(w in u)if(u.hasOwnProperty(w))if(!r(u[w],v[w]))return !1;for(w in v)if(v.hasOwnProperty(w))if(!r(u[w],v[w]))return !1;return !0;}function t(u){if(typeof u!='object')return u;if(u==null)return u;var v=new Object();for(var w in u)if(u.hasOwnProperty(w))v[w]=t(u[w]);return v;};return q;})();a.__$$__jx_language_Detect=(function(){var q={guess:y};var r=[],s={en:[/\b(up|me|submit|offers?|about|rights?|more|contact|all|downloads?|how|search|to|do|i[nst]?|your?|that|was|one?|are|with|[bw]e|have|this|f?or|had|by|[hn]ot?|[bo]ut|so|some|what|can|[tw]here|why|other|over|die|ten)\b/ig,4,/\b(inn|set|end|about|pro|the|of|from|and|a|as|at)\b/ig,6],cs:[/[\u00e1\u010d\u010f\u00e9\u011b\u00ed\u0148\u00f3\u0159\u0161\u0165\u00fa\u016f\u00fd\u017e]/gi,5,/\b(by|do|to|[aikosvz])\b/ig,3,/\b(na|za|se|je|\u017ee|ve|jako|jsem|pro|tak|po|u\u017e|jsou|byl)\b/ig,6],de:[/[\u00df]/g,10,/[\u00e4\u00f6\u00fc\u00c4\u00d6\u00dc]/g,7,/\b(de[mrs]|vo[nm]|zu[mr]?|da[s\u00df]?|eine[mnrs]?|a[lu]s|wir|[sw]ie|n[ao]ch|vor[ms]?|(\u00fcb|od|ab)er|und|im|mit|sich|auf|f\u00fcr|nicht|auch|es|bei|nur|bis|mehr|durch)\b/ig,6],es:[/[\u00f1]/g,10,/[\xE1\xE9\xED\xF3\xFA]/ig,6,/\b(que|nuestro|ingresar|inicio|qu[e\u00e9]|[dt]e|ser?|[ms]i|l?a|e[lns]|y|tu|los?|una?|por|con|para|est(\u00e1|ar))\b/ig,6],fr:[/[\u0153]/gi,15,/[\u00e0\u00e2\u00e7\u00e9\u00e8\u00ea\u00eb\u00ee\u00ef\u00f4\u00fb\u00f9\u00fc\u00ff]/ig,7,/\b(son)\b/ig,4,/\b(en)\b/ig,5,/\b([ado]u|aux?|[do]u|la|[cdls]es|es?t|une?|ne|qu[ei]|sur|dans|pa[rs]|il|sont|avec|voir)\b/ig,6],hr:[/[\u010d\u0107\u0111\u0161\u017e]/gi,10,/d\u017e|lj|nj/gi,3,/\b(ali|ja|je|mene|na|ne|od|ovo|se|sve|ti|u|za|znati)\b/ig,6],ms:[/\b(and)\b/ig,4,/\b((se)?(biji|buah|orang)|ada|anda|atau|boleh|bukan|dalam|dan|dari|di|ini|kami|ke|lagi|sila|tidak|tinggi|telah|untuk)\b/ig,6],da:[/[\u00c6\u00e6\u00d8\u00f8\u00c5\u00e5]/g,10,/\b(de)\b/ig,5,/\b(ind|l\u00e6s|nyheder|[vt]il|s?om|og|[mv]ed|kan|har|var|tager|af|d?et|de[tn]{2}e|skal|den|set|noget|nogle|mange|hadde|eller|efter|end|blive|er|sekund|viser|ud|(a|vi|sku)lle)\b/ig,6],nb:[/[\u00c6\u00e6\u00d8\u00f8\u00c5\u00e5]/g,10,/\b(de)\b/ig,5,/\b(passord|nyheter|inn|[vt]il|s?om|og|[mv]ed|kan|[htv]ar|av|d?et|de[tn]{2}e|skal|se(g|tt)|noen?|mange|hadde|e[lt]{2}er|enn|blir?|ble|andre|viser|ut|(a|vi|sku)lle)\b/ig,6],nl:[/\b(in|die)\b/ig,4,/\b(de|en)\b/ig,5,/\b(het|dat|van|ik|te|een|hij|niet|zijn)\b/ig,6],pt:[/[\u00e1\u00e2\u00e3\u00e0\u00e7\u00e9\u00ea\u00ed\u00f3\u00f4\u00f5\u00fa]/ig,7,/\b(gr\u00e1fico|ao|como|das?|de|dos|ele|em?|mai?s|na|n\u00e3o|os?|para|por|que|se|uma?)\b/ig,6],sk:[/\u00e1\u00e4\u010d\u010f\u00e9\u00ed\u013e\u013a\u0148\u00f3\u00f4\u0155\u0161\u0165\u00fa\u00fd\u017e/ig,10,/dz|d\u017e/ig,5,/\b(ten|to|do|so)\b/ig,4,/\b(ja|na|za|c\u030co|t\u00e1|po|vo|zo|n\u00e1[s\u030cs])\b/ig,6],tr:[/[\u00c7\u011e\u0130\u00d6\u015e\u00dc\u00e7\u011f\u0131\u00f6\u015f\u00fc]/g,7,/\b(son)\b/ig,4,/\b(formu|bir|ve|ne|bu|i\u00e7in|o|b?en|\u00e7ok|(al|\u00e7\u0131k|ol|yap)mak|(de|gel|git|g\u00f6r|iste|ver)mek|gibi|daha|kendi|ile|ama|sonra|kadar|yer|insan|de\u011fil|y\u0131l|g\u00fcn|biz)\b/ig,6],vi:[/[\u00e0\u1ea3\u00e3\u00e1\u1ea1\u0103\u1eb1\u1eb3\u1eb5\u1eaf\u1eb7\u00e2\u1ea7\u1ea9\u1eab\u1ea5\u1ead\u0111\u00e8\u1ebb\u1ebd\u00e9\u1eb9\u00ea\u1ec1\u1ec3\u1ec5\u1ebf\u1ec7\u00ec\u1ec9\u0129\u00ed\u1ecb\u00f2\u1ecf\u00f5\u00f3\u1ecd\u00f4\u1ed3\u1ed5\u1ed7\u1ed1\u1ed9\u01a1\u1edd\u1edf\u1ee1\u1edb\u1ee3\u00f9\u1ee7\u0169\u00fa\u1ee5\u01b0\u1eeb\u1eed\u1eef\u1ee9\u1ef1\u1ef3\u1ef7\u1ef9\u00fd\u1ef5]/ig,8,/\b(v\u00e0|c\u00e1c|c\u1ee7a|c\u00f3|\u0111\u0103ng|\u0111\u00e2y|ho\u1eb7c|kh\u1ea9u|k\u00fd|m\u1ed9t|ng\u00e0y|l\u00e0|trong|cho)\b/ig,6],ja:[/[\u3041-\u30ff]/g,10],ko:[/[\uAC00-\uD7A3\u1100-\u11FF\u3131-\u318E\uFFA1-\uFFDC]/g,10],th:[/[\u0E00-\u0E7F]/g,10],zh_CN:[/[\u4e00-\u9fb4]/g,1,/[\u7684\u662f\u8fd9\u6709\u5728\u4e0d\u4e86\u6765\u4e2a\u5230\u4e3a\u548c\u9053\u4e5f\u65f6\u5f97\u5c31\u90a3\u8981\u4ee5\u7740\u53bb\u4e4b\u8fc7\u5bb6\u5bf9\u53ef\u91cc\u540e\u4e48\u591a\u800c\u80fd\u90fd\u7136\u6ca1\u8d77\u8fd8]/g,7],ru:[/[\u0410-\u042f\u0430-\u044f\u0401\u0451]/g,3],ar:[/[\u0600-\u06FF\u0750-\u077F\uFB50-\uFDFF\uFE70-\uFEFF]/g,1]};for(var t in s)if(s.hasOwnProperty(t))r.push(t);function u(z,A){var B=A.match(z);return B?B.length:0;}function v(z,A,B,C){return Math.pow(u(z,A)/B,1/C);}function w(z){var A=1-z[0],B;for(B=1;B<z.length;B++)A*=1-z[B];return 1-A;}function x(z,A,B){if(!B)B=u(/ /g,A);var C=A.length,D,E,F,G,H=[];for(var I=0;I<s[z].length;I+=2){D=s[z][I];E=s[z][I+1];F=D.toString().substr(1,2)=='\\\\b'?B:C;G=v(D,A,F,E);H.push(G)}if(z=='en')H.push(0.6/A.length);return w(H);}function y(z,A){var B=document.body.getAttribute('lang')||document.documentElement.getAttribute('lang');if(B){return B}if(!z)z=r;if(!A)A=document.body.innerHTML.replace(/\s+/g,' ').replace(/<script[^>]*?>.*?<\/script>/gi,' ').replace(/<style[^>]*?>.*?<\/style>/gi,' ').replace(/<!--.*?-->/g,' ').replace(/<\/?[^>]+?>/g,' ').replace(/[-_a-z0-9.@]+[.@][-_a-z0-9.@]+/gi,'').replace(/[\s\d!'#$%&'()*+,-.\/:;<=>?@^_{|}~\[\]\/]+/g,' ');A=A.replace(/\s+/g,' ');var C=u(/ +/g,A),D=[],E,F;for(E=0;E<z.length;E++)D.push([z[E],x(z[E],A,C)]);D.sort(function(G,H){return H[1]-G[1];});F=D[0][0];F.scores=D;window.__$z_results=C+' '+A.length+' '+A.length/C+'\n'+D.join('\n');window.__$z_innerText=A;return F;}return q;})();a.__$$__select=(function(){function q(r,s,t,u,v){var w=r.ownerDocument;var x=l.create(w,"select",s);var y=!1;x.appendToParent=function(z){if(!l.hasParentNode(x))l.appendChild(r,x);if(z&&!y){if(r.appendToParent)r.appendToParent(!0);y=!0}};x.setStyle(t);x.setAttributes(v);x.setOptions=function(z){var A='';for(var B in z)if(z.hasOwnProperty(B))A+='<option value="'+B+'">'+z[B]+'</option>';x.innerHTML=A;};l.addChildren(x,u);x.appendToParent();return x;}return q;})();a.__$$__jx_core_ExtendArray=(function(){function q(r){r=r||[];if(!r.indexOf){r.indexOf=function(s,t){var u;if(s&&s.join){for(u=t||0;u<this.length;u++)if(this[u].join&&this[u].join(',')==s.join(','))return u}for(u=t||0;u<this.length;u++)if(this[u]==s)return u;return -1;}}if(!r.find){r.find=function(s,t){var u;if(s&&s.join){for(u=t||0;u<this.length;u++)if(this[u].join&&this[u].join(',')==s.join(','))return !0}for(u=t||0;u<this.length;u++)if(this[u]==s)return !0;return !1;}}if(!r.remove){r.remove=function(s){var t=0;if(s.join){while(t<this.length){if(this[t].join&&this[t].join(',')==s.join(','))this.splice(t,1);else t++}}else{while(t<this.length){if(this[t]==s)this.splice(t,1);else t++}}}}return r;}return q;})();a.__$$__meshim_Config=(function(){var q=(function(){var r=a.__$$__jx_controls_Application;if(window.$zopim&&window.$zopim.s)r.scriptURL=window.$zopim.s.src;var s=r.scriptURL.split(/\/?[?]/);var t=s[0];var u='<!--# echo var="geoip_country_code" default="geo" -->'.toLowerCase();if(u.charAt(0)!='<'){t=t.replace(/\/\/.*/i,'//'+u+'.cdn.zopim.com')}var v=s[0],w=s[0].replace(/^(https?:)?\/\//i,'').split('/')[0],x=t+'/lib',y=s[1],z=document.location.protocol+'//web2.zopim.com/favicon/?url='+escape(window.location.protocol+'//'+window.location.hostname)+'&accountKey='+s[1],A=w.replace(/^(cdn\.|ssl\.)?(livechat\.)?/i,''),B=A!='zopim.com',C='http://www.'+A+'/?iref='+y;if(y=='nlb.gov.sg'){A='nlb.gov.sg';C='http://www.nlb.gov.sg/'}r.assetsURL=k.secureURL(t+'/assets');b.baseURL=k.secureURL(t);return {accountKey:y,baseDomain:v,baseURL:t,baseHostname:w,mediaURL:x,brandHostname:A,isReseller:B,resellerURL:C,favconvertURL:z,debug:!1};})();return q;})();a.__$$__img=(function(){function q(r,s,t,u,v){var w=a.__$$__jx_controls_Application;var x=r.ownerDocument;var y=l.create(x,"img",s);y.appendToParent=function(A){if(!l.hasParentNode(y))l.appendChild(r,y);if(A){if(r.appendToParent)r.appendToParent(!0)}};y.setDisplay('block');if(k.isIE6||k.isIE7){var z;y.setSrc=function(A){y.applyConstraints();y.src=z=A;return y;};y.on('load',function(){if(y.src!=z)return;var A=w.assetsURL+'/jxml/images/';y.style.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+y.src+'",sizingMethod="scale"),';B();function B(){if(!y.offsetWidth||!y.offsetHeight){setTimeout(B,300);return}if(!y.style.width)y.style.width=y.offsetWidth+'px';if(!y.style.height)y.style.height=y.offsetHeight+'px';y.src=A+'blank.png';}})}y.setStyle(t);y.setAttributes(v);l.addChildren(y,u);y.appendToParent();return y;}return q;})();a.__$$__jx_color_SolidColor=(function(){function q(r){var s=a.__$$__jx_color_Convert;var t=[0,0,0],u=[0,0,0];var v={set:w,toString:x,getHex:x,getRGB:y,getHSV:z,blend:A};w(r);return v;function w(B){if(g(B)){t=s.hex2rgb(B);u=s.rgb2hsv(t)}else if(B.getRGB instanceof Function&&B.getHSV instanceof Function){t=B.getRGB();u=B.getHSV()}else if(B instanceof Object){if('r' in B||'g' in B||'b' in B){t[0]=B.r||t[0];t[1]=B.g||t[1];t[2]=B.b||t[2];u=s.rgb2hsv(t)}else if('h' in B||'s' in B||'v' in B){u[0]=B.h||u[0];u[1]=B.s||u[1];u[2]=B.v||u[2];t=s.hsv2rgb(u)}}v.r=t.r=t[0];v.g=t.g=t[1];v.b=t.b=t[2];v.h=u.h=u[0];v.s=u.s=u[1];v.v=u.v=u[2];return v;}function x(){return s.rgb2hex(t);}function y(){return t;}function z(){return u;}function A(B,C){if(C==null)C=0.5;if(B.getRGB instanceof Function)B=B.getRGB();else if(g(B))B=s.hex2rgb;else return v;t[0]=(1-C)*t[0]+C*B[0];t[1]=(1-C)*t[1]+C*B[1];t[2]=(1-C)*t[2]+C*B[2];u=s.rgb2hsv(t);return v;}}return q;})();a.__$$__h4=l.nativeGenerator("h4");a.__$$__table=l.nativeGenerator("table");a.__$$__tbody=l.nativeGenerator("tbody");a.__$$__small=l.nativeGenerator("small");a.__$$__center=l.nativeGenerator("center");a.__$$__input=l.nativeGenerator("input");a.__$$__div=l.nativeGenerator("div");a.__$$__span=l.nativeGenerator("span");a.__$$__form=l.nativeGenerator("form");a.__$$__tr=l.nativeGenerator("tr");a.__$$__big=l.nativeGenerator("big");a.__$$__td=l.nativeGenerator("td");a.__$$__textarea=l.nativeGenerator("textarea");a.__$$__meshim_Socket=(function(){var q=(function(){var r=a.__$$__jx_core_ObjectUtil;var s=a.__$$__meshim_Config;var t,u,v,w={};function x(N){if(document.getElementById('__zopnetworkswf'))return;var O;if(k.isIE){t=document.createElement('div');O=t.style;O.position='absolute';O.top='-50px';O.left='0';O.height=O.width='1px';O.overflow='hidden';O.backgroundColor='transparent';document.body.insertBefore(t,document.body.firstChild);t.innerHTML='<OBJECT id="__zopnetworkswf" style="POSITION: absolute; left: 0; top: -9999px" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"><PARAM value="'+N+'" name="movie" /><PARAM value="always" name="allowscriptaccess" /></OBJECT>';t=t.getElementsByTagName('object')[0];return}t=document.createElement('embed');t.src=N;t.setAttribute('allowScriptAccess','always');t.setAttribute('type','application/x-shockwave-flash');O=t.style;O.position='absolute';O.top='-50px';O.left='0';O.height=O.width='1px';O.overflow='hidden';O.backgroundColor='none';document.body.insertBefore(t,document.body.firstChild);t.setAttribute('wmode','opaque');}function y(){B=parseInt(Math.random()*1000)*10000+10;x(s.baseURL+'/swf/ZClientController.swf');}function z(){if(u&&t.jsAlert)t.jsAlert();}var A={},B=2;function C(N,O){if(!A[N]){return}A[N](O);A[N]=null;}function D(N,O,P){O=O||{};if(!O.url)O.url=window.location.href;E(N,O,P);}function E(N,O,P,Q){function R(S){if(u&&t.jsSend)window.setTimeout(function(){t.jsSend(S);},50);else setTimeout(function(){R(S);},200);}O=O||{};O=r.clone(O);O.__type=N.replace(/\//g,'.');if(P){O.__messageID=B;A[O.__messageID]=P;B++}R(O);return;}function F(N,O){if(!w[N])w[N]=[];w[N].push(O);}function G(N){try {u=!0;if(!N)return;var O=N['__type'];if(N['__messageID'])C(N['__messageID'],N);if(w[O])for(var P=0;P<w[O].length;P++)w[O][P](N)} catch(Q){if(console&&console.log)console.log('Socket dispatching <'+N.__type+'> failed: '+(Q.description||Q.message))}}function H(N){var O='';for(var P in N)if(N.hasOwnProperty(P))O+=P+'='+escape(N[P])+'&';return O;}function I(){if(v)return v;var N=document.getElementsByTagName("script");for(var O=0;O<N.length;O++)if(N[O].src.search(new RegExp("https?://.*zopim.(com|net)/?[?]"))==0)return v=N[O].src.split("?")[1];}function J(N){if(t&&t.disconnect)t.disconnect(N);}function K(){if(t&&t.reset){t.reset()}else setTimeout(K,200);}function L(){if(t&&t.connect)t.connect();M.idleDisconnected=!1;}var M={handlers:w,createFlash:x,init:y,soundAlert:z,callbacks:A,messageID:B,callback:C,send:E,sendTrigger:D,registerHandler:F,dispatch:G,toGetString:H,getAccountKey:I,getFlash:function(){return t;},reset:K,connect:L,disconnect:J,isFlashReady:function(){return u;}};M.idleDisconnected=!1;F('idle_disconnect',function(){M.idleDisconnected=!0;});return M;})();return q;})();a.__$$__meshim_components_Button=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__div,null,null,[[a.__$$__img,"image",null,[],{"id":"image","position":"absolute","top":"0","left":"0"}],[a.__$$__div,"text",null,[],{"id":"text","width":"100%","container":"default","position":"absolute","top":"0","left":"0"}]],{"width":"64","height":"21","position":"relative","selectable":"false","fontFamily":"Verdana, Verdana, Geneva, sans-serif","fontSize":"8px","fontWeight":"bold","lineHeight":"21px","textAlign":"center","letterSpacing":"0.5px","textTransform":"uppercase"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__image');var x=l.get(r+'__text');v.defaultPlacement=x;var y=(function(){var A=a.__$$__meshim_Config;var B=!1;function C(){E(!1);v.on('click',D);}function D(H){if(!B)v.fire('meshim:click');}function E(H){B=H;w.setSrc(A.baseURL+'/assets/button'+(H?'_disabled.png':'.png'));v.setColor(H?'#888':'#fff');v.setCursor(H?'':'pointer');}function F(){E(!0);}function G(){E(!1);}C();return {setDisabled:E,disable:F,enable:G,setText:x.setText};})();for(var z in y)if(y.hasOwnProperty(z))v[z]=y[z];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_Button");l.addChildren(v,t);return v;};a.__$$__meshim_SessionInfo=(function(){var q=(function(){var r=a.__$$__jx_core_ExtendArray;var s=a.__$$__meshim_Socket;var t={get:B,save:A,set:C,isCached:z,listen:E,reset:F,saveVariable:D};var u,v,w,x={},y={};function z(){return u;}function A(){if(!v)return;if(!w)w=s.getFlash();if(w&&w.saveSessionInfo)w.saveSessionInfo();}function B(){if(!v)return;if(!w)w=s.getFlash();if(w&&w.getSessionInfo)w.getSessionInfo();}function C(G){try {v=!0;if(!G)return;for(var H in G)if(G.hasOwnProperty(H)){if(y[H]){y[H]=!1;if(!w)w=s.getFlash();if(w&&w.saveVariable)w.saveVariable(H,t[H],!0)}else{var I=t[H];if(G[H] instanceof Array)t[H]=r(G[H]);else t[H]=G[H]}if(x[H])for(var J=0;J<x[H].length;J++)x[H][J](I)}} catch(K){if(console&&console.log)console.log('SessionInfo dispatching <'+G.__type+'> failed: '+K)}}function D(G,H,I){if(t[G]==H)return;t[G]=H;if(!v){y[G]=!0;return}if(!w)w=s.getFlash();if(w&&w.saveVariable)w.saveVariable(G,H,I);}function E(G,H){if(!x[G])x[G]=[];x[G].push(H);}function F(){t.sound=!0;t.windowOpened=!1;t.showStatusArea=!0;t.agents=r();t.cIds=r();t.unreadMsgs=0;t.history=r();t.channel=t.cId=t.displayName=t.email=t.windowPosition=null;}F();return t;})();return q;})();a.__$$__meshim_components_Menu=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__div,null,null,[],{}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=(function(){var y=a.__$$__meshim_Config;var z;function A(F){var G;for(G=F.target;G.parentNode&&G.parentNode!=v;G=G.parentNode);if(G.parentNode!=v)return;for(var H=v.firstChild;H;H=H.nextSibling)H.removeClass('hover');G.addClass('hover');}function B(F){if(F.target!=v)return;for(var G=v.firstChild;G;G=G.nextSibling)G.removeClass('hover');}function C(F){if(F.target.parentNode==v)v.fire('menu.selected',F.target);}function D(){for(var F=v.firstChild;F;F=F.nextSibling){F.setPadding('0 6px');F.on('mouseover',A);F.on('click',C)}v.on('mouseout',B);}v.on('init',D);function E(){return z;}return {hasFocus:E,init:D};})();for(var x in w)if(w.hasOwnProperty(x))v[x]=w[x];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_Menu");l.addChildren(v,t);return v;};a.__$$__meshim_Tracker=(function(){var q=(function(){var r=a.__$$__meshim_Socket;var s=!0,t=0,u=9*60*1000;function v(){if(y.api_idle_override)return;t++;if(s)return;s=!0;r.send('client/active',{});if(r.idleDisconnected)r.connect();window.setTimeout(w,u);}function w(){if(y.api_idle_override)return;if(t){t=0;r.send('client/active',{});window.setTimeout(w,u)}else s=!1;}function x(){window.setTimeout(w,u);m.window.on('mousemove',v);m.window.on('click',v);m.window.on('scroll',v);m.window.on('keypress',v);r.registerHandler('idle_disconnect',function(){s=!1;});}var y={init:x,api_idle_override:!1};return y;})();return q;})();a.__$$__meshim_components_MessageBar=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__div,null,"position:absolute; text-align:center;",[],{"style":"position:absolute; text-align:center;"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=(function(){var y,z;A(p(53));function A(C){y=C;if(!z)v.setText(y);}function B(C){z=C;v.setText(z?z:y);}return {setMessage:B,setDefault:A};})();for(var x in w)if(w.hasOwnProperty(x))v[x]=w[x];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_MessageBar");l.addChildren(v,t);return v;};a.__$$__meshim_components_BubbleVector=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__div,null,null,[[a.__$$__meshim_common_VectorElement,"bubble",null,[],{"id":"bubble","fill":"none","gradient":"linear, top, from(#E0741B), to(#E0981B)","shadow":"0.8"}]],{"jx":"jx.controls","common":"meshim.common"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__bubble');var x=(function(){function z(C,D,E){C=parseInt(C),D=parseInt(D),E=parseInt(E);var F='',G={};var H=20,I=20,J=15,K=5,L=15,M=C-2*H-2*E,N=D-2*I-2*E-L,O=H+E,P=E;var Q=0.552284,R=Math.round(H*Q),S=Math.round(I*Q),T=H-R,U=I-S;F+='M start_x,start_y l c_wi,0 c rx_off,0 rx,ry_offr rx,ry l 0,c_he c 0,ry_off -rx_offr,ry -rx,ry l '+-(M-J)+',0 '+'l '+-(J+K)+' '+L+' l '+K+' '+-L+'c -rx_off,0 -rx,-ry_offr -rx,-ry l 0,'+-N+' c 0,-ry_off rx_offr,-ry rx,-ry z';F=F.replace(/rx_offr/g,T).replace(/ry_offr/g,U).replace(/rx_off/g,R).replace(/ry_off/g,S).replace(/rx/g,H).replace(/ry/g,I).replace(/c_wi/g,M).replace(/c_he/g,N).replace(/start_x/g,O).replace(/start_y/g,P);G.path=F;G.origin='0 0';G.width=C;G.height=D;return G;}function A(C){C=C.split(' ');var D=C[0],E=C[1],F=2;var G=z(D,E,F);w.setViewBox(G.origin+' '+(G.width+3)+' '+(G.height+3)+'').setPath(G.path).setStrokeWidth(F).setWidth(G.width+'px').setHeight(G.height+'px');v.setWidth(G.width).setHeight(G.height);}function B(){v.vectorType=w.vectorType;v.setDimension=A;v.setStroke=w.setStroke;v.setFill=w.setFill;v.setGradient=w.setGradient;}B();})();for(var y in x)if(x.hasOwnProperty(y))v[y]=x[y];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_BubbleVector");l.addChildren(v,t);return v;};a.__$$__jx_controls_SkinAbsolute=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__div,null,null,[[a.__$$__img,"i01",null,[],{"id":"i01","position":"absolute","top":"0","left":"0"}],[a.__$$__div,"d02",null,[[a.__$$__img,"i02",null,[],{"display":"block","id":"i02","width":"100%","height":"100%","position":"absolute","top":"0","left":"0","padding":"0"}]],{"id":"d02","position":"absolute","top":"0","overflow":"hidden"}],[a.__$$__img,"i03",null,[],{"id":"i03","position":"absolute","top":"0px","right":"0px"}],[a.__$$__div,"d04",null,[[a.__$$__img,"i04",null,[],{"display":"block","id":"i04","width":"100%","height":"100%","position":"absolute","top":"0","left":"0","padding":"0"}]],{"id":"d04","position":"absolute","left":"0px","overflow":"hidden"}],[a.__$$__div,"d05",null,[[a.__$$__img,"i05",null,[],{"display":"block","id":"i05","width":"100%","height":"100%","position":"absolute","top":"0","left":"0","padding":"0"}]],{"id":"d05","position":"absolute","overflow":"hidden"}],[a.__$$__div,"d06",null,[[a.__$$__img,"i06",null,[],{"display":"block","id":"i06","width":"100%","height":"100%","position":"absolute","top":"0","left":"0","padding":"0"}]],{"id":"d06","position":"absolute","right":"0px","overflow":"hidden"}],[a.__$$__img,"i07",null,[],{"id":"i07","position":"absolute","bottom":"0px","left":"0px"}],[a.__$$__div,"d08",null,[[a.__$$__img,"i08",null,[],{"display":"block","id":"i08","width":"100%","height":"100%","position":"absolute","top":"0","left":"0","padding":"0"}]],{"id":"d08","position":"absolute","bottom":"0px","overflow":"hidden"}],[a.__$$__img,"i09",null,[],{"id":"i09","position":"absolute","bottom":"0px","right":"0px"}]],{"position":"absolute","top":"0","left":"0","right":"0","bottom":"0","overflow":"hidden"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__i01');var x=l.get(r+'__d02');var y=l.get(r+'__i02');var z=l.get(r+'__i03');var A=l.get(r+'__d04');var B=l.get(r+'__i04');var C=l.get(r+'__d05');var D=l.get(r+'__i05');var E=l.get(r+'__d06');var F=l.get(r+'__i06');var G=l.get(r+'__i07');var H=l.get(r+'__d08');var I=l.get(r+'__i08');var J=l.get(r+'__i09');var K=(function(){var M=a.__$$__jx_controls_Application;v.setSrc=P;v.doLayout=Q;var N;function O(){w.on('load',Q);y.on('load',Q);z.on('load',Q);B.on('load',Q);D.on('load',Q);F.on('load',Q);G.on('load',Q);I.on('load',Q);J.on('load',Q);Q();}function P(S){var T=/^https?/i;if(!T.test(S))S=M.assetsURL+'/'+S;w.setSrc(S+'_01.png');y.setSrc(S+'_02.png');z.setSrc(S+'_03.png');B.setSrc(S+'_04.png');D.setSrc(S+'_05.png');F.setSrc(S+'_06.png');G.setSrc(S+'_07.png');I.setSrc(S+'_08.png');J.setSrc(S+'_09.png');}function Q(){if(!N)N=setTimeout(R,0);}function R(){N=!1;var S=w.offsetWidth||B.offsetWidth||G.offsetWidth,T=z.offsetWidth||F.offsetWidth||J.offsetWidth,U=w.offsetHeight||y.offsetHeight||z.offsetHeight,V=G.offsetHeight||I.offsetHeight||J.offsetHeight;if(S){A.setWidth(S);x.setLeft(S);C.setLeft(S);H.setLeft(S)}if(T){E.setWidth(T);x.setRight(T);C.setRight(T);H.setRight(T)}if(U){x.setHeight(U);A.setTop(U);C.setTop(U);E.setTop(U)}if(V){H.setHeight(V);A.setBottom(V);C.setBottom(V);E.setBottom(V)}}O();})();for(var L in K)if(K.hasOwnProperty(L))v[L]=K[L];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("jx_controls_SkinAbsolute");l.addChildren(v,t);return v;};a.__$$__jx_controls_SkinTable=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__table,"table",null,[[a.__$$__style,null,null,[" table.skin { border-collapse: collapse } table.skin td { position: relative } "],{}],[a.__$$__tbody,null,null,[[a.__$$__tr,"top",null,[[a.__$$__td,"left",null,[[a.__$$__img,"i01",null,[],{"id":"i01"}]],{"id":"left"}],[a.__$$__td,null,null,[[a.__$$__img,"i02",null,[],{"id":"i02","position":"absolute","height":"100%","width":"100%"}]],{}],[a.__$$__td,"right",null,[[a.__$$__img,"i03",null,[],{"id":"i03"}]],{"id":"right"}]],{"id":"top"}],[a.__$$__tr,null,null,[[a.__$$__td,null,null,[[a.__$$__img,"i04",null,[],{"id":"i04","position":"absolute","height":"100%","width":"100%"}]],{}],[a.__$$__td,null,null,[[a.__$$__img,"i05",null,[],{"id":"i05","position":"absolute","height":"100%","width":"100%"}]],{}],[a.__$$__td,null,null,[[a.__$$__img,"i06",null,[],{"id":"i06","position":"absolute","height":"100%","width":"100%"}]],{}]],{}],[a.__$$__tr,"bottom",null,[[a.__$$__td,null,null,[[a.__$$__img,"i07",null,[],{"id":"i07"}]],{}],[a.__$$__td,null,null,[[a.__$$__img,"i08",null,[],{"id":"i08","position":"absolute","height":"100%","width":"100%"}]],{}],[a.__$$__td,null,null,[[a.__$$__img,"i09",null,[],{"id":"i09"}]],{}]],{"id":"bottom"}]],{}]],{"class":"skin","id":"table","position":"absolute","width":"100%","height":"100%"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__table');var x=l.get(r+'__top');var y=l.get(r+'__left');var z=l.get(r+'__i01');var A=l.get(r+'__i02');var B=l.get(r+'__right');var C=l.get(r+'__i03');var D=l.get(r+'__i04');var E=l.get(r+'__i05');var F=l.get(r+'__i06');var G=l.get(r+'__bottom');var H=l.get(r+'__i07');var I=l.get(r+'__i08');var J=l.get(r+'__i09');var K=(function(){var M=a.__$$__jx_controls_Application;v.setSrc=P;v.doLayout=Q;if(k.bugs.leaksMemory)k.bugs.leaksMemory(function(){v.doLayout=null;});var N;function O(){v.setAttribute('dir','ltr');w.style.tableLayout='fixed';z.on('load',Q);A.on('load',Q);C.on('load',Q);D.on('load',Q);E.on('load',Q);F.on('load',Q);H.on('load',Q);I.on('load',Q);J.on('load',Q);Q();}function P(S){var T=/^https?/i;if(!T.test(S))S=M.assetsURL+'/'+S;z.setSrc(S+'_01.png');A.setSrc(S+'_02.png');C.setSrc(S+'_03.png');D.setSrc(S+'_04.png');E.setSrc(S+'_05.png');F.setSrc(S+'_06.png');H.setSrc(S+'_07.png');I.setSrc(S+'_08.png');J.setSrc(S+'_09.png');}function Q(){if(!N)N=setTimeout(R,0);}function R(){N=!1;var S=z.offsetWidth||D.offsetWidth||H.offsetWidth,T=C.offsetWidth||F.offsetWidth||J.offsetWidth,U=z.offsetHeight||A.offsetHeight||C.offsetHeight,V=H.offsetHeight||I.offsetHeight||J.offsetHeight;if(S)y.setWidth(S);if(T)B.setWidth(T);if(U)x.setHeight(U);if(V)G.setHeight(V);}O();})();for(var L in K)if(K.hasOwnProperty(L))v[L]=K[L];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("jx_controls_SkinTable");l.addChildren(v,t);return v;};a.__$$__jx_controls_ButtonSprite=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__div,null,null,[],{"cursor":"pointer","overflow":"hidden"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=(function(){var y=!1,z=[0,0];v.setSrc=A;v.setSprite=B;v.enable=E;v.disable=D;function A(F){v.setBackground('transparent url('+F+') no-repeat scroll 0 0');C();return v;}function B(F,G){if(G!=null)z[0]=G;if(F!=null)z[1]=F;C();}function C(){var F=z[0]*v.offsetWidth,G=z[1]*v.offsetHeight;v.setBackgroundPosition([-F+'px',-G+'px'].join(' '));}function D(){y=!0;B(3);}function E(){y=!1;B(0);}v.on('mouseover',function(){y||B(1);}).on('mouseout',function(){y||B(0);}).on('mousedown',function(){y||B(2);}).on('mouseup',function(){y||B(0);});})();for(var x in w)if(w.hasOwnProperty(x))v[x]=w[x];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("jx_controls_ButtonSprite");l.addChildren(v,t);return v;};a.__$$__jx_controls_Skin=(function(){function q(r,s,t,u,v){var w=a.__$$__jx_controls_SkinAbsolute;var x=a.__$$__jx_controls_SkinTable;s=s||l.generateID();var y=k.bugs.noBoxSizing?x(r):w(r);l.set(s,y);y.setStyle(t);y.setAttributes(v);l.addChildren(y,u);y.appendToParent();return y;}return q;})();a.__$$__meshim_LiveChatAPI=(function(){var q=(function(){var r=a.__$$__meshim_SessionInfo;var s=a.__$$__meshim_Socket;var t,u,v,w={},x=m.extend({say:A,set:z,setName:B,setEmail:C,setNotes:E,setLanguage:F,setGreetings:G,setOnStatus:I,setOnConnected:K,setOnFlashReady:L,setOnGreeting:J,setStatus:M,addTags:N,removeTags:O,getEmail:D,clearAll:P,endChat:Q,isChatting:R,freeze:S}),y={chatbutton:{},chatbubble:{},chatwindow:{}};function z($a){$a.name&&B($a.name);$a.email&&C($a.email);$a.notes&&E($a.notes);$a.language&&F($a.language);$a.greetings&&G($a.greetings);$a.onStatus&&I($a.onStatus);$a.onGreeting&&J($a.onGreeting);$a.status&&M($a.status);$a.tags&&N($a.tags);$a.untags&&O($a.untags);$a.clearAll&&P();$a.endChat&&Q();$a.onConnected&&K($a.onConnected);$a.onFlashReady&&L($a.onFlashReady);return x;}function A($a,$b){if(v)u.say($a,$b);return x;}function B($a){if(v){u.changeName($a);delete w.name}else w.name=$a;return x;}function C($a){if(v){u.changeEmail($a);delete w.email}else w.email=$a;return x;}function D(){return r&&r.email;}function E($a){if(v){u.update({notes:$a});delete w.notes}else w.notes=$a;return x;}function F($a){if(p.update instanceof Function)p.update($a);x.language=$a;return x;}function G($a){y.greetings=y.greetings||{};y.greetings.online={bar:$a.online[0],window:$a.online[1]};y.greetings.offline={bar:$a.offline[0],window:$a.offline[1]};y.greetings.away={bar:$a.away[0],window:$a.away[1]};if(r.settings){r.settings.greetings=y.greetings;u&&u.fireStatusAndGreeting()}return x;}var H;x.on('status',function($a){H=$a;});function I($a){if(H)setTimeout(function(){$a(H);},0);return x.on('status',function($b){setTimeout(function(){$a($b);},0);});}function J($a){return x.on('greeting',function($b){setTimeout(function(){$a($b);},0);});}function K($a){if(v)$a();x.on('connected',$a);}function L($a){s.registerHandler('flashready',$a);}function M($a){if(v){u.setStatus($a);delete w.status}else w.status=$a;return x;}function N(){var $a=[],$b;if(arguments[0] instanceof Array)$a=arguments[0];else for($b=0;$b<arguments.length;$b++)$a.push(arguments[$b]);if(v){u.addTags($a);delete w.tags}else w.tags=$a;return x;}function O(){var $a=[],$b;if(arguments[0] instanceof Array)$a=arguments[0];else for($b=0;$b<arguments.length;$b++)$a.push(arguments[$b]);if(v){u.removeTags($a);delete w.untags}else w.untags=$a;return x;}function P(){if(u){u.reset();delete w.clearAll}else w.clearAll=!0;}function Q(){if(v){u.endChat();delete w.endChat}else w.endChat=!0;}function R(){if(v)return u.isChatting();else return !1;}function S($a){$a===!1?$a=!1:$a=!0;if(v){u.fire('freeze',$a)}else{x.on('connected',function(){u.fire('freeze',$a);})}return x;}function T(){return function(){arguments.callee.buffer=arguments;};}function U($a,$b){var $c=x,$d;$a=$a.split('.');while($a.length>1)$c=$c[$a.shift()];$a=$a[0];$d=$c[$a]&&$c[$a].buffer;$c[$a]=$b;$d&&$b($d[0],$d[1],$d[2],$d[3],$d[4],$d[5],$d[6],$d[7],$d[8],$d[9]);return t;}x.button={setPosition:function($a){y.chatbutton.position=$a;if(r.settings){r.settings.chatbutton.position=$a;u&&u.fire('settings.chatbutton',r.settings.chatbutton)}},setOffsetBottom:function($a){y.chatbutton.offset_bottom=$a;if(r.settings){r.settings.chatbutton.offset_bottom=$a;u&&u.fire('settings.chatbutton',r.settings.chatbutton)}},setImage:function($a,$b){$b=typeof $b!='undefined'?$b:'4px 0px 0px 6px';y.chatbutton.image=$a;y.chatbutton.padding=$b;if(r.settings){r.settings.chatbutton.image=$a;r.settings.chatbutton.padding=$b;u&&u.fire('settings.chatbutton',r.settings.chatbutton)}},setTheme:function($a){y.chatbutton.theme=$a;y.chatbutton.image=null;if(r.settings){r.settings.chatbutton.theme=$a;u&&u.fire('settings.chatbutton',r.settings.chatbutton)}},setColor:function($a){y.chatbutton.color=$a;if(r.settings){r.settings.chatbutton.color=$a;u&&u.fire('settings.chatbutton',r.settings.chatbutton)}},setHideWhenOffline:function($a){y.chatbutton.hideWhenOffline=$a;if(r.settings){r.settings.chatbutton.hideWhenOffline=$a;u&&u.fire('settings.chatbutton',r.settings.chatbutton)}},useFavicon:T(),show:T(),hide:T()};x.bubble={setText:function($a){y.chatbubble.text=$a;if(r.settings){r.settings.chatbubble.text=$a;u&&u.fire('settings.chatbubble',r.settings.chatbubble)}},setTitle:function($a){y.chatbubble.title=$a;if(r.settings){r.settings.chatbubble.title=$a;u&&u.fire('settings.chatbubble',r.settings.chatbubble)}},setImage:function($a,$b,$c,$d){y.chatbubble.titleColor=typeof $c!='undefined'?$c:'#f69010';y.chatbubble.textColor=typeof $d!='undefined'?$d:'#5d4343';y.chatbubble.imagePath=$a;y.chatbubble.textPadding=typeof $b!='undefined'?$b:'0 0 0 0';if(r.settings){r.settings.chatbubble.titleColor=$c;r.settings.chatbubble.textColor=$d;r.settings.chatbubble.imagePath=$a;r.settings.chatbubble.textPadding=$b;u&&u.fire('settings.chatbubble',r.settings.chatbubble)}},show:T(),hide:T(),reset:T()};x.flag={enable:T(),disable:T()};x.window={setColor:T(),setTheme:T(),toggle:T(),show:T(),hide:T(),onShow:T(),onHide:T()};x.departments={filter:T()};function V($a){for(var $b in y)if(y.hasOwnProperty($b)){$a[$b]=$a[$b]||{};for(var $c in y[$b])if(y[$b].hasOwnProperty($c)){$a[$b][$c]=y[$b][$c]}}return $a;}function W(){var $a=window.$zopim||window.$_$;window.$_$=window.$zopim=X;window.$_$.livechat=window.$zopim.livechat=x;Y($a&&$a._);}function X($a){try {$a()} catch($b){if(!window.console)return;if(typeof window.console.log=='function'){window.console.log('Error in API call: '+$b.name+' - '+$b.message);if(typeof window.console.dir=='function')window.console.dir($b);window.console.log($a.toString())}}}function Y($a){if(!$a||!e($a))return;for(var $b=0;$b<$a.length;$b++)X($a[$b]);}if(k.bugs.leaksMemory)k.bugs.leaksMemory(function(){window.$_$=window.$zopim=null;});function Z($a){u=$a;$a.on('status',function($b){x.fire('status',$b);}).on('greeting',function($b){x.fire('greeting',$b);}).on('reset',$$).on('idle_disconnect',$$).on('connection.error',$$).on('connected',$_).on('reattached',$_);w.clearAll&&P();W();}function $$(){v=!1;}function $_(){v=!0;z(w);x.fire('connected');}return t={init:Z,api:x,define:U,mergeAPISettings:V,settings:y};})();return q;})();a.__$$__meshim_LiveChatController=(function(){var q=(function(){var r=a.__$$__jx_color_SolidColor;var s=a.__$$__jx_core_ObjectUtil;var t=a.__$$__jx_language_Detect;var u=a.__$$__meshim_Config;var v=a.__$$__meshim_LiveChatAPI;var w=a.__$$__meshim_SessionInfo;var x=a.__$$__meshim_Socket;var y=a.__$$__meshim_Tracker;var z=a.__$$__meshim_GoogleAnalytics;window.__$$__meshim__Config=u;window.__$$__meshim__SessionInfo=w;window.__$$__meshim__Socket=x;if(k.bugs.leaksMemory)k.bugs.leaksMemory(function(){window.__$$__meshim__Config=window.__$$__meshim__SessionInfo=window.__$$__meshim__Socket=null;});var A={init:B,reset:D,showWindow:$$,hideWindow:$_,send:$d,sendTrigger:$e,changeName:$c,changeEmail:$b,update:$a,buttonClick:$n,chatRequest:$k,fireStatusAndGreeting:P,say:$l,addTags:X,removeTags:Y,setStatus:Z,endChat:$i,isChatting:$h};m.extend(A);function B(){if(p.update instanceof Function&&!p.language){m.runAfterDomReady(function(){if(!p.language)p.update(t.guess());})}x.registerHandler('flashready',N);x.registerHandler('init',M);x.registerHandler('chat.join',$g);x.registerHandler('chat.memberjoin',R);x.registerHandler('chat.memberleave',S);x.registerHandler('connected',T);x.registerHandler('reset',C);x.registerHandler('idle_disconnect',E);x.registerHandler('config',U);x.registerHandler('chat.msg',Q);x.registerHandler('onlinestatus',O);x.registerHandler('client.update',F);x.registerHandler('banned',function(){A.fire('banned');});x.registerHandler('nossl',function(){A.fire('nossl');});x.registerHandler('idle_disconnect',$j);x.registerHandler('connection.error',$j);m.window.on('unload',H);G('chat.event');G('connection.error');G('chat.join');G('chat.action.typing');G('reattached');w.listen('windowOpened',function(){setTimeout(V,0);});w.listen('settings',function(){if(w&&w.settings){var $q=I(w.settings);$q=v.mergeAPISettings($q);w.settings=$q;A.fire('settings',$q);A.fire('settings.chatwindow',$q.chatwindow);A.fire('settings.chatbubble',$q.chatbubble);A.fire('settings.chatbutton',$q.chatbutton)}});w.listen('displayName',W);v.init(A);x.init();z.init(A);}function C(){$_();w.reset();$j();A.fire('reset');P();}function D(){if(x.isFlashReady()){x.reset();C()}else x.registerHandler('flashready',D);}function E(){$_();A.fire('idle_disconnect');}function F($q){if($q.name&&$q.name!=w.displayName){A.fire('changeName',$q.name,w.displayName);w.displayName=$q.name}if($q.email&&$q.email!=w.email){A.fire('changeEmail',$q.email,w.email);w.email=$q.email}}function G($q){function $r($s){A.fire($q,$s);}x.registerHandler($q,$r);}function H(){x.disconnect(w);}function I($q){$q=$q||{};$q.chatbubble=J($q.chatbubble);$q.chatbutton=J($q.chatbutton);$q.chatwindow=K($q.chatwindow);return $q;}function J($q){$q=$q||{};$q.position=$q.position||'br';return $q;}function K($q){$q=$q||{};$q.skinPath=$q.skinPath||'rounded-plastic';$q.titleBackgroundColor=$q.titleBackgroundColor||'#f3edde';$q.titleColor=$q.titleColor||'#000000';$q.padding=$q.padding||'25 4 4 4';$q.borderColor=$q.borderColor||'rgb(217, 212, 199)';return $q;}var L;function M($q){if(!$q)return;if($q.name&&$p.test($q.name)){L=$q.name}if($q.nick){w.nick=$q.nick}if($q.settings){var $r=I($q.settings);$r=v.mergeAPISettings($r);w.settings=$r;A.fire('settings',$r);A.fire('settings.chatwindow',$r.chatwindow);A.fire('settings.chatbubble',$r.chatbubble);A.fire('settings.chatbutton',$r.chatbutton)}if($q.chat&&$q.chat.members){var $s=$q.chat.members;var $t=w.agents;if($t&&$t instanceof Array){$t.splice(0,$t.length);for(var $u=0;$u<$s.length;$u++)if($s[$u].type=='agent')$t.push($s[$u].nick)}}if($q.chat&&$q.chat.history&&!s.equal($q.chat.history,w.history)){w.history=$q.chat.history;A.fire('history')}w.save();O($q);}function N(){if(w.settings){w.settings=v.mergeAPISettings(w.settings);w.settings.chatbutton&&A.fire('settings.chatbutton',w.settings.chatbutton);w.settings.chatwindow&&A.fire('settings.chatwindow',w.settings.chatwindow);w.settings.chatbubble&&A.fire('settings.chatbubble',w.settings.chatbubble);w.settings.chatwindow&&w.settings.chatbutton&&A.fire('settings',w.settings)}P();w.history&&A.fire('history');w.unreadMsgs&&A.fire('unreadMsgs');w.displayName&&!/^Visitor [0-9]+$/.test(w.displayName)&&A.fire('changeName',w.displayName);w.email&&A.fire('changeEmail',w.email);A.fire('flashready');}function O($q){if($q.status!=w.status){w.status=$q.status;P()}if($q.groups){A.fire('groups',$q.groups)}}function P(){if(w.status){A.fire('status',w.status);var $q=$o(w,'settings.greetings.'+w.status);$q&&A.fire('greeting',$q)}}function Q($q){if(w.sound)x.soundAlert();A.fire('chat.msg',$q);}function R($q){if(w.agents&&w.agents.push)w.agents.push($q.nick);A.fire('chat.memberjoin',$q);}function S($q){if(w.agents&&w.agents.remove)w.agents.remove($q.nick);A.fire('chat.memberleave',$q);}function T($q){if($q.nick)w.nick=$q.nick;if($q.name){A.fire('changeName',$q.name,w.displayName);w.displayName=$q.name}if($q.email){A.fire('changeEmail',$q.email,w.email);w.email=$q.email}y.init();A.fire('connected',$q);if(L){h(function(){$c($p.extractName(L));})}}function U($q){if($q&&$q.displayName)w.displayName=$q.displayName;A.fire('config',$q);}function V(){if(w.windowOpened)A.fire('showWindow');else A.fire('hideWindow');}function W($q){if(!$q)return;A.fire('changeName',w.displayName,$q);}function X($q){for(var $r=0;$r<$q.length;$r++)$d('client.visitor_add_tag',{tag:$q[$r]});}function Y($q){for(var $r=0;$r<$q.length;$r++)$d('client.visitor_remove_tag',{tag:$q[$r]});}function Z($q){$d('set_visitor_status',{status:$q});y.api_idle_override=$q=='idle';}function $$(){A.fire('showWindow');w.saveVariable('windowOpened',!0,!0);if(w.channel&&w.displayName)$d('chat.action.window',{visible:1,channel:w.channel,name:w.displayName});}function $_(){A.fire('hideWindow');w.saveVariable('windowOpened',!1,!0);if(w.channel&&w.displayName)$d('chat.action.window',{visible:0,channel:w.channel,name:w.displayName});}function $a($q,$r){if(!$q)return;if($q.name)$c($q.name);if($q.email)$b($q.email);delete $q.name;delete $q.email;if(!$q)return;x.send('client/update',$q,function($s){if($s.__status=='ok'){}if($r)$r($s);});}function $b($q,$r){var $s=w.email;x.send('client/update',{email:$q},function($t){if($t.__status=='ok'){A.fire('changeEmail',$q,$s);w.email=$q}if($r)$r($t);});}function $c($q,$r){if(!$q||!$q.replace(/\s/g,'').length||$q==w.displayName){if($r)$r();return}var $s=w.displayName;x.send('client/update',{name:$q},function($t){A.fire('changeName',$q,$s);if($t.__status=='ok')w.saveVariable('displayName',$q,!0);if($r)$r($t);});}function $d($q,$r,$s,$t){x.send($q,$r,$s,$t);}function $e($q,$r,$s){x.sendTrigger($q,$r,$s);}var $f;function $g($q){if($q.channel)$f=$q.channel;}function $h(){return !!($f||w.channel);}function $i(){$f=$f||w.channel;if($f)$d('chat.leave',{channel:$f});w.channel=$f=null;}function $j(){$f=undefined;}function $k($q,$r){if($f)return;$q=$q||'all';x.send('chat/request',{group:$q},function($s){if($s.__status=="ok"&&$s.channel)w.channel=$f=$s.channel;if($r)$r($s);});}function $l($q,$r){$q=$m($q);if($f)$s($q);else{$k('all',function($t){if($f)$s($q);else if($r)$r($t);})}function $s($t){x.send('chat.msg',{msg:$t,channel:$f},$r);A.fire('chat.msg',{__type:'chat.msg',nick:w.nick,name:w.displayName,msg:$t});}}function $m($q){function $r($s){var $t=0,$u;for(var $v=0;$v<$s.length;$v++){$u=parseInt($s.charAt($v));$t+=$v%2?$u:$u>4?$u*2%10+1:$u*2}return !($t%10);};return $q.replace(/\\+? *([0-9][ -]*){13,9999}/g,function($s){if($s.charAt(0)=='+')return $s;var $t=$s.replace(/[ -]/g,'');if(/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/.test($t)&&$r($t))return $s.replace(/[0-9]/g,'#');return $s;});}function $n(){if(!$f)x.send('chat.button_click',{});A.fire('chat.button_click');}function $o($q,$r,$s){var $t=$r.split('.'),$u;if($q==null)return $s;while($t.length){$u=$t.shift();$q=$q[$u];if($q==null)return $s}return $q;}var $p=(function(){var $q=/[\u200B\u202A\u202B\u202C\uFEFF]+$/g;function $r($t){if($t)return $t.replace($q,'');return '';}function $s($t){if($t)return $q.test($t);return !1;}return {extractName:$r,test:$s};})();return A;})();return q;})();a.__$$__jx_controls_Frame=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__div,null,"",[[a.__$$__jx_controls_Skin,"shadow","z-index:9999",[],{"id":"shadow","display":"none","style":"z-index:9999"}],[a.__$$__iframe,"iframe","background:transparent;overflow:hidden",[[a.__$$__jx_controls_Skin,"skin","z-index:-1",[],{"id":"skin","display":"none","style":"z-index:-1"}],[a.__$$__jx_controls_FullFrame,"content",null,[],{"id":"content","container":"default"}]],{"id":"iframe","position":"relative","width":"100%","height":"100%","border":"0","margin":"0","padding":"0","zIndex":"999999","style":"background:transparent;overflow:hidden"}]],{"style":"","margin":"0","padding":"0","border":"0","background":"transparent","jx":"jx.controls","overflow":"hidden","position":"absolute"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__shadow');var x=l.get(r+'__iframe');var y=l.get(r+'__skin');var z=l.get(r+'__content');v.defaultPlacement=z;var A=(function(){if(k.isFF2){v.style.overflow='visible';var C=setInterval(function(){x.style.display='block';x.style.opacity=0.99;},100);setTimeout(function(){clearInterval(C);},60000)}v.iframe=x;v.getXY=G;v.setSkin=H;v.setBg=I;v.setShadow=J;v.setShadowPadding=M;v.showShadow=K;v.hideShadow=L;v.fitToContents=N;var D={};D.fire=v.fire;v.on('show',function(){y.doLayout();});if(k.isIE<9){v.on('hide',function(){x.setDisplay('none');});v.on('show',function(){x.setDisplay('block');})}v.on=x.defaultPlacement.on;v.fire=function(P,Q){D.fire(P,Q);x.defaultPlacement.fire(P,Q);};var E='Background BackgroundImage Border BorderColor BorderStyle BorderWidth Cursor Opacity Selectable'.split(' '),F;while(F=E.pop())v['set'+F]=x['set'+F];v.setColor=function(P){z.setColor(P);};v.setPadding=function(P){z.setPadding(P);};v.setFontFamily=function(P){z.setFontFamily(P);};v.setFontSize=function(P){z.setFontSize(P);};v.setFontWeight=function(P){z.setFontWeight(P);};v.setTextAlign=function(P){z.setTextAlign(P);};v.setLetterSpacing=function(P){z.setLetterSpacing(P);};v.setLineHeight=function(P){z.setLineHeight(P);};v.setOverflow=function(P){z.setOverflow(P);};function G(){var P,Q;P=v.offsetLeft;Q=v.offsetTop;if(k.isIE){if(k.isStrict){if(k.isIE6){P-=document.documentElement.scrollLeft;Q-=document.documentElement.scrollTop}}else{P-=document.body.scrollLeft;Q-=document.body.scrollTop}}if(k.isSafari){var R=l.getStyles(v.iframe.offsetParent);P+=parseInt(R.borderLeftWidth);Q+=parseInt(R.borderTopWidth)}return [P,Q];}function H(P){y.setSrc(P);y.setDisplay(P?'block':'none');}function I(P){y.setBg(P);}function J(P){return;if(!k.isMac)return;w.setSrc(P);w.setDisplay(P?'block':'none');}function K(){w.show();}function L(){w.hide();}function M(P){return;if(!k.isMac)return;}function N(P,Q,R){P=P||v;var S=0,T=0;while(P.defaultPlacement)P=P.defaultPlacement;T=P.scrollWidth-P.clientWidth;S=P.scrollHeight-P.clientHeight;v.resizeBy(T,S,R||0,Q||0);}function O(){v.iframe=x;v.iwin=x.contentWindow;v.idoc=v.iwin.document;v.ibody=x.ibody;v.ihead=x.ihead;}O();})();for(var B in A)if(A.hasOwnProperty(B))v[B]=A[B];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("jx_controls_Frame");l.addChildren(v,t);return v;};a.__$$__meshim_components_ChatLogPanel=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__div,null,"overflow-y: auto;",[[a.__$$__input,"nameField","overflow-x:visible;",[],{"class":"namefield","id":"nameField","display":"none","style":"overflow-x:visible;"}]],{"jx":"jx.controls","style":"overflow-y: auto;"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__nameField');var x=(function(){var z=a.__$$__jx_core_Util;var A=a.__$$__meshim_Clock;var B=a.__$$__meshim_SessionInfo;var C=a.__$$__meshim_LiveChatController;v.on('init',D);function D(){C.on('changeName',X).on('showWindow',G).on('reset',E).on('freeze',F);C.printEvent=$a;E();}function E(){J=K=-1;N=[];if(!B.nicks)B.nicks=[];L=B.nicks;v.innerHTML='';}function F($c){w.disabled=$c;w.style.background=$c?'#eeeeee':'';O=$c;}function G(){setTimeout(function(){v.scrollTop=999999;},0);}var H,I,J,K,L,M,N,O,P=['#c65','#6c5','#65c','#cc5','#c5c','#5cc','#888'],Q=['#fed','#efd','#edf','#ffd','#fdf','#dff','#ddd'],R=/(ftp|https?):\/\/(\w+:\w*@)?(\w+\.)+(\w{2,})(:[0-9]+)?([\/?][\w-._~:\/?#[\]@!$&''()+,;=]*)?/gi,S=new z.Template('<div class="name_header">'+'<div class="name">{name}</div>'+'<div class="round1"></div><div class="round2"></div><div class="round3"></div>'+'<div class="middle"></div>'+'</div>'),T=new z.Template('<div class="msg">{msg}</div>'),U=new z.Template('<a href="#" class="zlog_option"><input type="radio" style="background-color:transparent" name="z_option"><span>{option}</span></a>'),V=new z.Template("<div class='msg'><a href='{url}' onclick='open(this.href,\"newwin\"); return 0'>{msg}</a></div>");function W($c){if(w.value&&w.value.replace(/\s/g,'').length&&w.value!=B.displayName)C.changeName(w.value);Y();}function X($c,$d){var $e={__type:'chat.changename',nick:B.nick,name:$d,newname:$c};$b($e);B.history.push($e);var $f=$c||B.displayName;$f=$f.replace(/</g,'&lt;');if($f.match(/Visitor [0-9]+/))$f=p(44)+' <span style="font-weight:bold">&lt;'+p(45)+'&gt;</span>';for(var $g=0;$g<N.length;$g++)N[$g].innerHTML=$f;}function Y(){if(H)H.style.display='';w.style.display='none';v.onscroll=null;}function Z($c){$c.style.cursor='pointer';m.extend($c);$c.on('click',function(){if(O==!0)return;window.setTimeout(function(){v.onscroll=W;},500);var $d=v.scrollTop;$c.parentNode.insertBefore(w,$c);w.style.display='block';if(k.isGecko)w.style.width=($c.offsetWidth<50?50:$c.offsetWidth)+'px';else w.style.width=($c.offsetWidth-12<50?50:$c.offsetWidth-12)+'px';w.style.border='1px solid #aaa';$c.style.display='none';H=$c;w.value=B.displayName||'me';w.focus();w.select();v.scrollTop=$d;});N.push($c);}w.on('blur',Y);w.on('keydown',function($c){if($c.keyCode==13)W();if($c.keyCode==27)Y();});function $$($c,$d){if(!$c)return;var $e=$d?v.ownerDocument.createElement('big'):v.ownerDocument.createElement('small');v.appendChild($e);if($c.onTranslate instanceof Function)$c.onTranslate(function($f){$e.innerHTML=$f;});$e.innerHTML=$c;}function $_($c){if(!$c||I)return;I=!0;if($c.length)for(var $d=0;$d<$c.length;$d++)$b($c[$d]);}function $a($c){if($c)$$($c,1);v.scrollTop=999999;J=-1;}function $b($c,$d){var $e,$f,$g=$c.name,$h,$i;if($c.timestamp!=-1)$c.timestamp=A.getLocalEpoch($c.timestamp);if($c.__type=='chat.msg'){if($c.timestamp!=-1&&K!=new Date().getDate()){K=new Date().getDate();$b(A.formatDate($c.timestamp))}$f=$c.timestamp==-1?'':A.formatTime($c.timestamp);if($c.nick!=J){J=$c.nick;var $j=z.indexOf(L,J);if($j==-1){$j=L.length;L.push(J)}$h=Q[$j];$i=P[$j];if($c.nick==B.nick)$g=B.displayName;$g=$g||'Visitor 1';$g=$g.replace(/</g,'&lt;').replace(/>/g,'&gt;');$g+='<span style="font-size:10px;"> ['+(/visitor:/.test($c.nick)?p(46):p(47))+']</span>';if($g.match(/Visitor [0-9]+/))$g=p(44)+' <span style="font-weight:bold">&lt;'+p(45)+'&gt;</span>';$e=S.appendTo(v,{name:$g});if($c.nick==B.nick)Z($e.name);$e.name.style.backgroundColor='transparent';$e.middle.style.backgroundColor=$e.round1.style.backgroundColor=$e.round2.style.backgroundColor=$e.round3.style.backgroundColor=$i;$e.name.style.color='#fff'}var $k=$c.msg.replace(/</g,'&lt;').replace(/[\r\n]+/g,'<br>').replace(R,'<a href="$&" target="_blank">$&</a>');$e=T.appendTo(v,{msg:$k,time:$f});if($c.options){z.each($c.options.split('/'),function($n){var $o=U.appendTo($e.msg,{option:$n});if(M&&M.optionHandler)$o.zlog_option.onclick=function(){M.optionHandler($n);return !1;};else{$o.zlog_option.style.cursor='default';$o.zlog_option.onclick=function(){return !1;}}})}}else{if(typeof $c=='string')$$($c);else{var $l,$m;switch($c.__type){case 'chat.memberjoin':$l=p(48).replace('<person>',$g);if(/^agent:/.test($c.nick))$m=p(49).replace('<person>',$c.name);break;case 'chat.memberleave':$l=p(50).replace('<person>',$g);if(/^agent:/.test($c.nick))$m=p(51).replace('<person>',$c.name);break;case 'chat.changename':if($g)$l=p(52).replace('<person>',$g).replace('<newname>',$c.newname);break;}$$($l);if($c.nick!=B.nick&&$m)$a($m)}J=-1}if(!$d)v.scrollTop=999999;}return {init:function($c){M=$c||{};},logChat:$b,logEvent:$a,renderHistory:$_};})();for(var y in x)if(x.hasOwnProperty(y))v[y]=x[y];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_ChatLogPanel");l.addChildren(v,t);return v;};a.__$$__meshim_components_TextArea=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__textarea,null,"overflow-y: auto",[],{"display":"block","padding":"0px","fontFamily":"tahoma, arial","style":"overflow-y: auto"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=(function(){var y=a.__$$__meshim_LiveChatController;function z(){y.on('connected',C).on('reattached',C).on('connection.error',function(){A(p(54));}).on('showWindow',D);v.on('focus',function(){v.addClass('focus');}).on('blur',function(){v.removeClass('focus');});A();}v.on('init',z);function A(H){v.disabled=!0;v.setStyle('backgroundColor','#f0f0f0');v.value=H||p(55);}function B(){v.disabled=!1;v.setStyle('backgroundColor','#fff');v.value='';}function C(){window.setInterval(F,500);B();}function D(){if(!v.disabled&&v.isVisible())setTimeout(function(){v.focus();},0);}var E='';function F(){var H=v.value;if(E==H)return;if(E=='')v.fire('typing',!0);else if(H=='')v.fire('typing',!1);E=H;}function G(){v.value="";}return {mask:A,unmask:B,clear:G};})();for(var x in w)if(w.hasOwnProperty(x))v[x]=w[x];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_TextArea");l.addChildren(v,t);return v;};a.__$$__meshim_components_EmailChatTranscriptForm=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__div,null,null,[[a.__$$__style,null,null,[" .emailChatTranscriptPane, .emailChatTranscriptPane * { overflow: hidden } .emailChatTranscriptPane .container { margin: 0 10px; position: relative } html .emailChatTranscriptPane .invalid { border-color: red } .emailChatTranscriptPane .input { border: 1px solid #aaa; position: relative; margin-bottom: 5px; padding: 2px 2px; } .emailChatTranscriptPane input { border: 0; margin: 0; padding: 0; font-size: 12px; line-height: 12px; font-family: Tahoma, Helvetica, Arial, sans-serif; } .emailChatTranscriptPane .input textarea { height: 40px; overflow-y: auto } .emailChatTranscriptPane h4 { font-weight: normal; font-size: 11px; margin: 4px 1px 2px; } .emailChatTranscriptPane h4 small { display: inline; font-size: 85% } .emailChatTranscriptPane .message { margin-left: 60px; height: 21px; line-height: 21px; font-size: 11px } .emailChatTranscriptPane .sending { padding-left: 20px } "],{}],[a.__$$__big,null,null,[p(26)],{}],[a.__$$__form,"form",null,[[a.__$$__h4,null,null,[p(27),[a.__$$__small,null,null,[p(15)],{}]],{}],[a.__$$__div,null,null,[[a.__$$__input,"name",null,[],{"id":"name","width":"206","display":"block"}]],{"class":"input"}],[a.__$$__h4,null,null,[p(28),[a.__$$__small,null,"color:#f88",[p(16)],{"style":"color:#f88"}]],{}],[a.__$$__div,null,null,[[a.__$$__input,"email",null,[],{"id":"email","width":"206","display":"block"}]],{"class":"input"}],[a.__$$__h4,null,null,[p(29),[a.__$$__input,"privacy",null,[],{"id":"privacy","type":"checkbox","verticalAlign":"bottom","margin":"3px"}]],{}],[a.__$$__div,null,null,[[a.__$$__meshim_components_Button,"saveButton",null,[p(25)],{"id":"saveButton","disabled":"true","margin":"0 8px 0 0","float":"left"}],[a.__$$__meshim_components_Button,"cancelButton",null,[p(30)],{"id":"cancelButton"}]],{"padding":"20px 0 0 0"}],[a.__$$__div,null,null,[[a.__$$__div,"sending",null,[p(31)],{"visible":"false","id":"sending","class":"sending"}]],{"class":"message"}]],{"id":"form","class":"container"}]],{"jx":"jx.controls","meshim":"meshim.components","class":"emailChatTranscriptPane"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__form');var x=l.get(r+'__name');var y=l.get(r+'__email');var z=l.get(r+'__privacy');var A=l.get(r+'__saveButton');var B=l.get(r+'__cancelButton');var C=l.get(r+'__sending');var D=(function(){var F=a.__$$__meshim_Config;var G=a.__$$__meshim_LiveChatController;var H='chat.email_chat_transcript';if(F.brandHostname=='nlb.gov.sg')H='nlb.email_chat_transcript';function I(){v.on('show',N);y.on('change',N);y.on('keyup',N);w.on('submit',O);A.on('meshim:click',O);B.on('meshim:click',v.hide);G.on('changeName',L);G.on('changeEmail',M);G.on('reset',J);G.on('freeze',K);C.setBackground("url('"+F.baseURL+"/assets/loading.gif') no-repeat left center");z.checked=!0;}v.on('init',I);function J(){x.value=y.value='';y.parentNode.removeClass('invalid');z.checked=!0;}function K(Q){x.disabled=Q;x.style.background=Q?'#eeeeee':'';y.disabled=Q;y.style.background=Q?'#eeeeee':'';N();}function L(Q){x.value=Q;}function M(Q){y.value=Q;}function N(){if(y.value==0||!y.value.match(/^[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:[A-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|jobs|museum)$/i)){A.disable();y.parentNode.addClass('invalid');return !1}y.parentNode.removeClass('invalid');A.enable();return !0;}function O(Q){if(!N())return;y.disabled=x.disabled=z.disabled=!0;A.setDisabled(!0);C.show();G.send(H,{email:y.value},P);G.changeName(x.value);if(!z.checked)G.changeEmail(y.value);}function P(){y.disabled=x.disabled=z.disabled=!1;C.hide();v.hide();J();}})();for(var E in D)if(D.hasOwnProperty(E))v[E]=D[E];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_EmailChatTranscriptForm");l.addChildren(v,t);return v;};a.__$$__meshim_components_ClearHistoryForm=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__div,null,null,[[a.__$$__style,null,null,[" .clearHistory { text-align: center } "],{}],[a.__$$__center,null,null,[[a.__$$__div,null,null,[p(32)],{"width":"160","padding":"30% 0 0","fontSize":"12px"}],[a.__$$__div,null,null,[[a.__$$__meshim_components_Button,"clearButton",null,[p(33)],{"id":"clearButton","float":"left"}],[a.__$$__meshim_components_Button,"cancelButton",null,[p(34)],{"id":"cancelButton","float":"right"}]],{"width":"140","padding":"20px 0 0 0"}]],{}]],{"jx":"jx.controls","meshim":"meshim.components","class":"clearHistory"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__clearButton');var x=l.get(r+'__cancelButton');var y=(function(){var A=a.__$$__meshim_LiveChatController;function B(){w.on('meshim:click',C);x.on('meshim:click',v.hide);}function C(){v.hide();A.reset();}v.on('init',B);})();for(var z in y)if(y.hasOwnProperty(z))v[z]=y[z];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_ClearHistoryForm");l.addChildren(v,t);return v;};a.__$$__meshim_components_OptionsMenu=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__meshim_components_Menu,null,null,[[a.__$$__style,null,null,[" .options_menu { background-color:#EBE3D1; border-color:#DDD3C3; z-index:1; font-size:12px; } .options_menu a { color:#7A7470; font-size:11px; } .options_menu .hover{ background-color:#E0BDA0; } .options { background-color:transparent; line-height:16px; cursor: pointer; z-index:2; } .options.activated { background-color:#EBE3D1; border-color:#EBE3D1 #DDD3C3 #DDD3C3; } "],{}],[a.__$$__div,null,null,[[a.__$$__div,"changenameButton",null,[p(39)],{"id":"changenameButton","cursor":"pointer","visible":"block"}],[a.__$$__div,"editNameDiv",null,[p(40),[a.__$$__input,"nameTextfield",null,[],{"id":"nameTextfield","borderWidth":"1","borderStyle":"solid","width":"93","height":"18","padding":"0","margin":"1","fontSize":"12"}]],{"id":"editNameDiv","position":"relative","visible":"none"}]],{}],[a.__$$__div,"soundButton",null,[[a.__$$__div,"soundIcon",null,[],{"float":"right","margin":"8px 0 0","height":"7","width":"11","id":"soundIcon"}],[a.__$$__span,"soundmsg",null,[p(41)],{"id":"soundmsg"}]],{"id":"soundButton"}],[a.__$$__div,"emailChatTranscript",null,[p(42)],{"id":"emailChatTranscript","name":"emailChatTranscript"}],[a.__$$__div,"clearHistory",null,[p(43)],{"id":"clearHistory","name":"clearHistory"}]],{"meshim":"meshim.components","cursor":"pointer","lineHeight":"22px","borderStyle":"solid","borderWidth":"1"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__changenameButton');var x=l.get(r+'__editNameDiv');var y=l.get(r+'__nameTextfield');var z=l.get(r+'__soundButton');var A=l.get(r+'__soundIcon');var B=l.get(r+'__soundmsg');var C=l.get(r+'__emailChatTranscript');var D=l.get(r+'__clearHistory');var E=(function(){var G=a.__$$__meshim_LiveChatController;var H=a.__$$__meshim_SessionInfo;function I(){O();}function J(S){w.setVisible(S?'none':'block');D.setVisible(S?'none':'block');}function K(S){x.show();w.hide();y.value=H.displayName;y.focus();y.select();Q(S);}function L(){x.hide();w.show();y.blur();}function M(S){if(S.keyCode==27)L();}function N(S){if(S.keyCode==13){G.changeName(y.value);L();v.hide();Q(S)}}function O(){if(H.sound){A.addClass('activate')}};function P(){H.sound=!H.sound;H.sound?A.addClass('activate'):A.removeClass('activate');}function Q(S){if(S&&S.stopPropagation&&S.preventDefault)S.stopPropagation();S.preventDefault();}function R(){A.addClass('sound_icon');v.addClass('options_menu');z.on('click',P);y.on('keypress',N);y.on('keydown',M);w.on('click',K);v.on('click',function(S){S.stopPropagation();});y.on('focus',function(){y.addClass('focus');});y.on('blur',function(){y.removeClass('focus');L();});G.on('flashready',I).on('freeze',J);}v.on('init',R);})();for(var F in E)if(E.hasOwnProperty(F))v[F]=E[F];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_OptionsMenu");l.addChildren(v,t);return v;};a.__$$__jx_controls_FloatingFrame=(function(){function q(r,s,t,u,v){var w=a.__$$__jx_controls_Frame;var x=arguments.callee;s=s||l.generateID();if(!x.max_zIndex)x.max_zIndex=9999999;var y=w(document.body,null,'',[],{position:'fixed'});l.set(s,y);y.raise=function(z,A){y.setStyle('z-index',x.max_zIndex+=A||1);};y.getTopMostZIndex=function(){return x.max_zIndex;};y.normalize=function(){var z=y.getXY();y.moveTo(z[0],z[1]).setMargin(0);};if(y.setStyle)y.setStyle(t);if(y.setAttributes)y.setAttributes(v);l.addChildren(y,u);y.raise();return y;}return q;})();a.__$$__meshim_components_OfflineForm=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__div,null,null,[[a.__$$__style,null,null,[" .offlinePane, .offlinePane * { overflow: hidden } .offlinePane .container { margin: 0 10px; position: relative } html .offlinePane .invalid { border-color: red } .offlinePane .input { display: block; border: 1px solid #aaa; position: relative; margin-bottom: 5px; padding: 2px 2px; } .offlinePane input, .offlinePane textarea { width: 100%; border: 0; margin: 0; padding: 0; font-size: 12px; line-height: 12px; font-family: Tahoma, Helvetica, Arial, sans-serif; display: block; } .offlinePane .input textarea { height: 40px; overflow-y: auto } .offlinePane h4 { font-weight: normal; font-size: 11px; margin: 4px 1px 2px; } .offlinePane h4 small { display: inline; font-size: 85% } .offlinePane .message { position: relative; margin-left: 60px; height: 21px; line-height: 21px; font-size: 11px; text-align: left; width:100px; } .offlinePane .message * { left: 0; top: 0; position: absolute } .offlinePane .sending { padding-left: 20px } "],{}],[a.__$$__big,"greeting",null,[p(35)],{"id":"greeting"}],[a.__$$__form,"form",null,[[a.__$$__h4,null,null,[p(28),[a.__$$__small,null,null,[p(16)],{}]],{}],[a.__$$__div,null,null,[[a.__$$__input,"email",null,[],{"id":"email"}]],{"class":"input"}],[a.__$$__h4,null,null,[p(27),[a.__$$__small,null,null,[p(15)],{}]],{}],[a.__$$__div,null,null,[[a.__$$__input,"name",null,[],{"id":"name"}]],{"class":"input"}],[a.__$$__h4,null,null,[p(36),[a.__$$__small,null,null,[p(16)],{}]],{}],[a.__$$__div,null,null,[[a.__$$__meshim_components_TextArea,"message",null,[],{"id":"message"}]],{"class":"input"}],[a.__$$__meshim_components_Button,"submitButton",null,[p(25)],{"id":"submitButton","float":"left","disabled":"true"}],[a.__$$__div,null,null,[[a.__$$__div,"sending",null,[p(37)],{"visible":"false","id":"sending","class":"sending"}],[a.__$$__div,"sentmsg",null,[p(38)],{"visible":"false","id":"sentmsg"}]],{"class":"message"}]],{"id":"form","class":"container"}]],{"jx":"jx.controls","meshim":"meshim.components","class":"offlinePane"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__greeting');var x=l.get(r+'__form');var y=l.get(r+'__email');var z=l.get(r+'__name');var A=l.get(r+'__message');var B=l.get(r+'__submitButton');var C=l.get(r+'__sending');var D=l.get(r+'__sentmsg');var E=(function(){var G=a.__$$__meshim_Config;var H=a.__$$__meshim_LiveChatController;var I=a.__$$__meshim_SessionInfo;var J=a.__$$__meshim_GoogleAnalytics;function K(){y.on('change',P).on('keyup',P);A.on('change',P).on('keyup',P);x.on('submit',Q).onsubmit=function(){return !1;};B.on('meshim:click',Q);H.on('changeName',L).on('changeEmail',M).on('greeting',N).on('connected',B.enable).on('reattached',B.enable).on('connection.error',B.disable).on('freeze',O);C.setBackground("url('"+G.baseURL+"/assets/loading.gif') no-repeat left center");}v.on('init',K);function L(S){z.value=/^Visitor [0-9]+$/.test(S)?'':S;}function M(S){y.value=S;}function N(S){w.setText(S.window);}function O(S){z.disabled=S;z.style.background=S?'#eeeeee':'';y.disabled=S;y.style.background=S?'#eeeeee':'';P();}function P(){D.hide();if(y.value==0||!y.value.match(/^[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:[A-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|jobs|museum)$/i)){B.disable();y.parentNode.addClass('invalid');return !1}y.parentNode.removeClass('invalid');if(A.value.length==0){B.disable();return !1}B.enable();return !0;}function Q(S){if(!P())return;y.disabled=z.disabled=A.disabled=!0;B.disable();C.show();H.send('offline.send_message',{email:y.value,name:z.value,message:A.value},R);H.changeName(z.value);I.email=y.value;}function R(){y.disabled=z.disabled=A.disabled=!1;C.hide();D.show();A.value='';J.track('Offline Message Sent');}})();for(var F in E)if(E.hasOwnProperty(F))v[F]=E[F];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_OfflineForm");l.addChildren(v,t);return v;};a.__$$__jx_controls_DraggableFrame=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__jx_controls_FloatingFrame,null,null,[],{"jx":"jx.controls"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=(function(){var y=a.__$$__jx_controls_Application;var z=v.iwin,A=v.idoc;var B;v.on('mousedown',v.raise);A.onmousedown=Q;var C=0,D;v.setResizableNode=function(V){if(D)D.onmousedown=null;if(V){V.onmousedown=function(W){if(C==0){C=1;setTimeout(function(){C=0;},300);Q(W,!0)}else{v.fitToContents(v,1000,1000)}};D=V}};v.setDraggableNode=function(V){if(V){v.setBounds([0,0,0,0]);B=V;A.onmousedown=null;V.onmousedown=Q;V.style.cursor='move';if(k.isIE)V.style.backgroundImage='url("'+y.assetsURL+'/jxml/images/blank.png")'}else{if(B){B.onmousedown=null;B.style.cursor='default';B=null}A.onmousedown=null}};var E,F,G,H,I,J,K,L=!1;var M;var N,O;function P(){var V=l.create(document,'div');V.setPosition('absolute').setTop(0).setLeft(0).setWidth('100%').setHeight('100%').setMargin(0).setPadding(0);return V;}function Q(V,W){v.raise(V,2);M=M||P();M.style.zIndex=v.style.zIndex-1;l.appendChild(document.body,M);L=!1;if(!V)V=z.event;if(!V)return;H=V.clientX;I=V.clientY;J=v.offsetWidth;K=v.offsetHeight;E=W;N=document.onmousemove;O=document.onmouseup;A.onmousemove=R;document.onmousemove=S;A.onmouseup=document.onmouseup=T;A.onselectstart=function(){return !1;};V.preventDefault&&V.preventDefault();v.fire('jx:activate');return !1;}function R(V){if(!L){v.fire('startdrag');L=!0}if(!V)V=window.event;if(!V)V=z.event;if(k.isIE<9&&!V.button){T();return}F=V.clientX-H;G=V.clientY-I;if(E){v.setWidth(J+F).setHeight(K+G)}else{v.move(F,G);v.fire('jx:drag');h.tick()}return !1;}function S(V){if(!L){v.fire('startdrag');L=!0}if(!V)V=window.event;if(!V)V=z.event;if(k.isIE<9&&!V.button){T();return}F=V.clientX-H;G=V.clientY-I;if(k.isIE){F-=U(document.body.currentStyle.borderLeftWidth);G-=U(document.body.currentStyle.borderTopWidth)}if(E){v.setWidth(J+F-v.offsetLeft);v.setHeight(K+G-v.offsetTop)}else{v.moveTo(F,G)}v.fire('jx:drag');return !1;}function T(){document.body.removeChild(M);document.onmousemove=N;document.onmouseup=O;A.onmousemove=null;A.onmouseup=null;A.onselectstart=null;if(L){v.fire('enddrag');L=!1}}function U(V){var W=parseInt(V);return isNaN(W)?0:W;}})();for(var x in w)if(w.hasOwnProperty(x))v[x]=w[x];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("jx_controls_DraggableFrame");l.addChildren(v,t);return v;};a.__$$__meshim_components_ChatPanel=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__div,null,null,[[a.__$$__jx_controls_FullFrame,null,null,[[a.__$$__meshim_components_ChatLogPanel,"chatLogPanel","border-bottom:1px solid #ddd;",[],{"id":"chatLogPanel","position":"absolute","width":"100%","height":"100%","style":"border-bottom:1px solid #ddd;"}]],{"padding":"0 0 48px 0"}],[a.__$$__meshim_components_MessageBar,"messageBar","left:5px; right:5px; bottom:33px; height:14px; line-height:12px;",[],{"id":"messageBar","style":"left:5px; right:5px; bottom:33px; height:14px; line-height:12px;"}],[a.__$$__meshim_components_TextArea,"textArea","position:absolute; left:1px; bottom:0px; width:99%; height:32px; border-width:1px; border-style:solid; ",[],{"id":"textArea","style":"position:absolute; left:1px; bottom:0px; width:99%; height:32px; border-width:1px; border-style:solid; "}]],{"jx":"jx.controls","meshim":"meshim.components","overflow":"auto"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__chatLogPanel');var x=l.get(r+'__messageBar');var y=l.get(r+'__textArea');var z=(function(){var B=a.__$$__meshim_LiveChatController;var C=a.__$$__meshim_SessionInfo;var D=a.__$$__meshim_Clock;var E;function F(){B.on('greeting',J).on('chat.event',N).on('chat.memberjoin',O).on('chat.memberleave',P).on('history',K).on('chat.join',M).on('chat.action.typing',L).on('chat.msg',Q).on('connection.error',S).on('reset',T);G();w.init({optionHandler:R});x.className='message_bar';if(document.location.protocol=='file:')w.logEvent('Depending on your flash security settings, running in a local environment might not work. Please contact us for more information on how to test locally.');}v.on('init',F);function G(){y.on('keydown',function(U){if(U.keyCode==13){if(y.value.replace(' ','').replace('\n','').length>0)R(y.value);U.stopPropagation();y.clear()}});y.on('keypress',function(U){if(U.keyCode==13){U.stopPropagation();U.preventDefault()}});y.on('typing',H);}function H(U){E=E||C.channel;if(E)B.send('chat.action.typing',{typing:U,channel:E,name:C.displayName});}var I={online:p(10),offline:p(11),away:p(12)};function J(U){var V=I[C.status];if(!V)return;V=V.concat(':\n');V=V.concat(U.window);w.logEvent(V);}function K(){if(C.history){w.renderHistory(C.history);var U=C.history[C.history.length-1];if(U&&U.nick!=C.nick){var V=D.getLocalEpoch(U.timestamp);x.setDefault(p(13).replace('<time>',D.formatTime(V,!0)+', '+D.formatDate(V,!0)))}C.history=C.history}}function L(U){if(U['typing'])x.setMessage(p(14).replace('<person>',U['name']));else x.setMessage();}function M(U){if(U.channel)E=U.channel;K(U,!0);}function N(U){w.logEvent(U.msg);}function O(U){Q({__type:'chat.memberjoin',nick:U.nick,name:U.name});}function P(U){Q({__type:'chat.memberleave',nick:U.nick,name:U.name});var V=D.formatTime(D.getLocalEpoch(U.timestamp),!0);x.setDefault(p(13).replace('<time>',V));}function Q(U){C.history.push(U);w.logChat(U);if(U&&U.nick!=C.nick){var V=D.formatTime(D.getLocalEpoch(U.timestamp),!0);x.setDefault(p(13).replace('<time>',V))}}function R(U){if(!U)return;B.say(U,function(V){if(V.__status!='ok'){if(y.value=='')y.value=U;Q('message sending failed =( please try again!')}});y.focus();}function S(){E=null;}function T(){E=null;}})();for(var A in z)if(z.hasOwnProperty(A))v[A]=z[A];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_ChatPanel");l.addChildren(v,t);return v;};a.__$$__jx_controls_Popup=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__jx_controls_FloatingFrame,null,"z-index:99999",[],{"jx":"jx.controls","position":"fixed","style":"z-index:99999"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=(function(){})();for(var x in w)if(w.hasOwnProperty(x))v[x]=w[x];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("jx_controls_Popup");l.addChildren(v,t);return v;};a.__$$__meshim_components_FirstUse=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__jx_controls_FloatingFrame,null,null,[[a.__$$__img,"img_bubble",null,[],{"id":"img_bubble","position":"absolute","top":"0","left":"0"}],[a.__$$__meshim_components_BubbleVector,"vector_bubble",null,[],{"id":"vector_bubble","position":"absolute","top":"0","left":"0","dimension":"220 90"}],[a.__$$__div,"bubbleMessage",null,[[a.__$$__div,"title",null,[],{"fontSize":"18px","fontWeight":"bold","id":"title","color":"#feb","textAlign":"left","padding":"0 38px 0 26px"}],[a.__$$__div,"subtitle",null,[],{"fontSize":"11px","lineHeight":"16px","id":"subtitle","padding":"0 38px 0 26px"}]],{"id":"bubbleMessage","position":"absolute","width":"100%","height":"100%"}],[a.__$$__div,"close_hover",null,[],{"id":"close_hover","position":"absolute","right":"34","top":"16","width":"13","height":"13"}],[a.__$$__img,"close",null,[],{"id":"close","position":"absolute","right":"31","top":"13","cursor":"pointer"}],[a.__$$__div,"temp_message",null,[[a.__$$__div,"temp_title",null,[],{"fontSize":"18px","fontWeight":"bold","id":"temp_title","padding":"0 30px 0 26px"}],[a.__$$__div,"temp_subtitle",null,[],{"fontSize":"11px","lineHeight":"16px","id":"temp_subtitle","padding":"0 38px 0 10px"}]],{"id":"temp_message","position":"absolute","top":"-1000","left":"-1000","visible":"hidden","width":"202px"}]],{"jx":"jx.controls","common":"meshim.common","meshim":"meshim.components","letterSpacing":"-0.3","fontSize":"11","fontFamily":"tahoma,arial","textAlign":"right","color":"#603412","cursor":"pointer","selectable":"false","visible":"false","overflow":"hidden","height":"103","width":"230","zIndex":"2147483647"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__img_bubble');var x=l.get(r+'__vector_bubble');var y=l.get(r+'__bubbleMessage');var z=l.get(r+'__title');var A=l.get(r+'__subtitle');var B=l.get(r+'__close_hover');var C=l.get(r+'__close');var D=l.get(r+'__temp_message');var E=l.get(r+'__temp_title');var F=l.get(r+'__temp_subtitle');var G=(function(){var I=a.__$$__jx_core_Util;var J=a.__$$__jx_color_Convert;var K=a.__$$__meshim_Config;var L=a.__$$__meshim_LiveChatAPI;var M=a.__$$__meshim_LiveChatController;var N=a.__$$__meshim_SessionInfo;var O=20,P={title:p(0),subtitle:p(1)},Q=P.title,R=P.subtitle;function S(){p&&p.onLanguage&&p.onLanguage(T);v.on('click',M.showWindow);M.on('flashready',$_).on('showWindow',v.hide).on('hideWindow',U).on('status',W).on('settings.chatbubble',Z).on('settings.chatbutton',$$).on('banned',v.hide).on('nossl',v.hide);N.listen('hideBubble',$_);C.setSrc(K.baseURL+'/assets/intro_dismiss.png').on('mouseover',$d).on('mouseout',$d).on('click',$d);$e();$i();}function T(){if(!$h.vector_mode)return;var $m=X(z.getText(),A.getText());x.setDimension($m.join(' '));v.resizeBy(-9999,-9999,$m[0],$m[1]+10);}v.on('init',S);function U(){try {if(V())v.hide();else v.show()} catch($m){}}function V(){if($h.display)return $h.display=='hide';return N.hideBubble||N.settings.chatbutton.hideBubble||N.settings.chatbutton.theme=='none'||!N.status||N.settings.chatbutton.hideWhenOffline&&N.status=='offline';}function W(){if($h.display)return;try {if(N.windowOpened||V())v.hide();else v.show()} catch($m){}}function X($m,$n){E.setText($m);F.setText($n);var $o=E.offsetWidth+20,$p=F.offsetWidth+20,$q=D.offsetHeight+40,$r,$s,$t=80,$u=220;$r=Math.max($o,$p,$u);$s=Math.max($q,$t);return [$r,$s];}var Y;function Z($m){var $n="20 0 0 0",$o;if($m.hide)N.hideBubble=!0;if(!$h.display)if(N&&!N.windowOpened)W();if($m.title)P.title=$m.title;if($m.text)P.subtitle=$m.text;Q=$m.title||P.title;R=$m.text||P.subtitle;$e();if(x.vectorType&&($m.enableVector||$h.vector_mode)){$h.vector_mode=!0;$n="10 0 0 0";x.show();w.hide();$m.strokeColor||($m.strokeColor='#fff');x.setStroke($m.strokeColor);$m.gradient=$h.gradient||$m.gradient||($m.gradient='linear top from(#DE7012) to(#b25a0e) color-stop(30% #ff8616)');x.setGradient($m.gradient);if(!Y){var $p='0 30px 0 20px',$q='0 20px 0 20px';z.setPadding($p);E.setPadding($p);A.setPadding($q);E.setPadding($q);C.setRight('15px').setTop('5px').setSrc(K.baseURL+'/assets/intro_dismiss.png');B.setRight('19px').setTop('9px');Y=!0}$o=X(z.getText(),A.getText());x.setDimension($o.join(' '));v.resizeBy(-9999,-9999,$o[0],$o[1]+10);if($m.titleColor)z.setColor($m.titleColor);if($m.textColor)A.setColor($m.textColor)}else{x.hide();w.show();if('imagePath' in $m&&$m.imagePath!=''){w.setSrc($m.imagePath);if($m.titleColor)z.setColor($m.titleColor);if($m.textColor)A.setColor($m.textColor);$n=$m.textPadding}else{w.setSrc(K.baseURL+'/assets/intro_bubble.png')}}var $r=$n.split(" ");y.setTop($r[0]);y.setRight($r[1]);y.setBottom($r[2]);y.setLeft($r[3]);}function $$($m){if($m.hideBubble)N.hideBubble=!0;var $n=$m.position,$o;for($o=0;$o<$n.length;$o++){switch($n.charAt($o)){case 'l':v.setRight(NaN).setLeft(O);break;case 'r':v.setLeft(NaN).setRight(O);break;case 'm':v.setTop('50%').setBottom(NaN);break;case 'b':v.setTop(NaN).setBottom(20+($m.offset_bottom||0));break;}}}function $_(){if($h.display)return;if(N.hideBubble||N.windowOpened)v.hide();}function $a(){N.saveVariable('hideBubble',!0,!0);v.hide();}function $b(){N.saveVariable('hideBubble',!1,!0);M.hideWindow();v.show();}function $c($m){M.showWindow();}function $d($m){switch($m.type){case 'mouseover':B.setBackground('#fb4').setBorder('1px solid #950');v.setOpacity(0.8);break;case 'mouseout':B.setBackground('').setBorder('');v.setOpacity(1);break;case 'click':$a();$m.stopPropagation();break;}}function $e(){z.setText(Q);A.setText(R);}function $f($m){if(/^#\w{3}/.test($m))$m=$m.replace(/^#(\w)(\w)(\w)$/,'#$1$1$2$2$3$3');var $n='linear top',$o=$g($m,0.8),$p=$g($m,1.2);$n+=' from('+$m+') '+' to('+$o+')'+' color-stop(50% '+$p+')';$h.gradient=$n;Z({});var $q=0,$r=1,$s=2,$t=$l($m),$u=$j($m),$v=$j($m);if($t>60){$u[$r]/=2;$v[$r]/=2;$u[$s]/=3;$v[$s]/=2}else if($t<35){$u[$s]=$v[$s]=100;$u[$r]/=3;$v[$r]/=4}else{$u[$s]=100;$u[$r]/=3;$v[$s]/=3}z.setColor($k($u));A.setColor($k($v));}function $g($m,$n,$o){$m=$m.replace('#','').replace(/^\s*|\s*$/g,'');var $p=[parseInt($m.slice(0,2),16),parseInt($m.slice(2,4),16),parseInt($m.slice(4),16)];if($o=='value'){var $q=Math.max.apply(Math,$p)/255*100;if($q<50)return $g($m,1-$n);else return $g($m,1+$n)}for(var $r=0;$r<3;$r++){var $s=Math.round($p[$r]*$n);if($s>255)$s=255;if($s<0)$s=0;$s=$s.toString(16);if($s.length<2)$s='0'+$s;$p[$r]=$s}return '#'+$p.join('');}var $h={};function $i(){L.define('bubble.hide',function(){$h.display='hide';$a();}).define('bubble.show',function(){$h.display='show';v.show();}).define('bubble.reset',$b).define('bubble.setColor',function($m){if(!x.vectorType)return;$h.color=$m;$h.vector_mode=!0;$f($m);});}function $j($m){return J.rgb2hsv(J.hex2rgb($m));}function $k($m){return J.rgb2hex(J.hsv2rgb($m));}function $l($m){var $n,$o,$p;$m=parseInt($m.substr(1),16);$n=$m&255;$m>>=8;$o=$m&255;$m>>=8;$p=$m&255;return Math.min((0.299*$p+0.587*$o+0.114*$n)/2.56,100);}})();for(var H in G)if(G.hasOwnProperty(H))v[H]=G[H];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_FirstUse");l.addChildren(v,t);return v;};a.__$$__meshim_components_ChatRequestForm=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__div,null,null,[[a.__$$__style,null,null,[" .chatRequestPane, .chatRequestPane * { overflow: hidden } .chatRequestPane .container { margin: 0 10px; position: relative } html .chatRequestPane .invalid { border-color: red } .chatRequestPane .input { border: 1px solid #aaa; position: relative; margin-bottom: 5px; padding: 2px 2px; } .chatRequestPane input, .chatRequestPane textarea, .chatRequestPane select { width: 226px; border: 0; margin: 0; padding: 0; font-size: 12px; line-height: 12px; font-family: Tahoma, Helvetica, Arial, sans-serif; display: block; } .chatRequestPane .input textarea { overflow-y: auto } .chatRequestPane .input select { display: block } .chatRequestPane h4 { font-weight: normal; font-size: 11px; margin: 3px 1px 1px; } .chatRequestPane h4 small { display: inline; font-size: 85% } .emailChatTranscriptPane .working { height: 21px; line-height: 21px; font-size: 11px; text-align: left; } "],{}],[a.__$$__big,"greeting",null,[],{"id":"greeting"}],[a.__$$__form,"form",null,[[a.__$$__div,"groups_control_group",null,[[a.__$$__h4,null,null,[p(21),[a.__$$__small,"group_required",null,[],{"id":"group_required"}]],{}],[a.__$$__div,null,null,[[a.__$$__select,"groups",null,[],{"id":"groups","width":"100%"}]],{"class":"input"}]],{"id":"groups_control_group","visible":"none"}],[a.__$$__h4,null,null,[p(22),[a.__$$__small,"name_required",null,[],{"id":"name_required"}]],{}],[a.__$$__div,null,null,[[a.__$$__input,"name",null,[],{"id":"name","width":"204","display":"block"}]],{"class":"input"}],[a.__$$__h4,null,null,[p(23),[a.__$$__small,"email_required",null,[],{"id":"email_required"}]],{}],[a.__$$__div,null,null,[[a.__$$__input,"email",null,[],{"id":"email","width":"204","display":"block"}]],{"class":"input"}],[a.__$$__div,null,"clear: both",[],{"style":"clear: both"}],[a.__$$__h4,null,null,[p(24),[a.__$$__small,"question_required",null,[],{"id":"question_required"}]],{}],[a.__$$__div,null,null,[[a.__$$__meshim_components_TextArea,"question",null,[],{"id":"question","width":"204","height":"28"}]],{"class":"input"}],[a.__$$__div,null,null,[[a.__$$__meshim_components_Button,"submit_button",null,[p(25)],{"id":"submit_button","disabled":"true","margin":"0 8px 0 0","float":"left"}],[a.__$$__div,"working",null,[],{"id":"working","class":"working","float":"left"}]],{"padding":"4 0 0 0"}]],{"id":"form","class":"container"}]],{"jx":"jx.controls","meshim":"meshim.components","class":"chatRequestPane"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__greeting');var x=l.get(r+'__form');var y=l.get(r+'__groups_control_group');var z=l.get(r+'__group_required');var A=l.get(r+'__groups');var B=l.get(r+'__name_required');var C=l.get(r+'__name');var D=l.get(r+'__email_required');var E=l.get(r+'__email');var F=l.get(r+'__question_required');var G=l.get(r+'__question');var H=l.get(r+'__submit_button');var I=l.get(r+'__working');var J=(function(){var L=a.__$$__meshim_Config;var M=a.__$$__meshim_LiveChatController;var N=a.__$$__meshim_LiveChatAPI;var O=a.__$$__meshim_SessionInfo;var P=a.__$$__meshim_GoogleAnalytics;var Q=!1,R={},S=!1,T=!1;function U(){x.on('change',$p).on('keyup',$o).on('submit',$q).onsubmit=function(){return !1;};H.on('meshim:click',$q);H.disable();M.on('settings',$_).on('changeName',$m).on('changeEmail',$n).on('greeting',$i).on('chat.msg',$s).on('chat.join',$s).on('reset',$k).on('groups',$d).on('connected',Z).on('reattached',Z).on('connection.error',$$).on('freeze',$j);A.on('change',$l);O.listen('chatRequestFormDone',$r);$w();}v.on('init',U);function V($x,$y,$z){var $A=$y.split('.'),$B;if($x==null)return $z;while($A.length){$B=$A.shift();$x=$x[$B];if($x==null)return $z}return $x;}var W={},X=[p(15),p(16)],Y=!1;function Z(){T=!0;$o();}function $$(){T=!1;$o();}function $_($x){var $y=V($x,'chat_request_form.standard_fields');W={group:V($y,'group.required'),email:V($y,'email.required'),name:V($y,'display_name.required'),question:V($y,'question.required')};$g();Y=V($x,'chat_request_form.show_form',!1);}var $a={online:p(2),offline:p(3),away:p(4)};var $b,$c;function $d($x){$b=$x;$f();}function $e(){$c=[];for(var $x=0;$x<arguments.length;$x++){if(typeof arguments[$x]=='string'||arguments[$x] instanceof RegExp)$c.push(arguments[$x]);else throw 'Bad arguments to filter'}if(typeof $b!='undefined')$f();}function $f(){if($b.length<1){y.hide();Q=!1;$o();return}var $x=A.value,$y,$z,$A;while(A.firstChild)A.removeChild(A.firstChild);$y=A.ownerDocument.createElement('option');$y.value='all';if(W.group)$y.innerHTML=p(17);else $y.innerHTML=p(18);$y.style.fontStyle='italic';A.appendChild($y);R['all']='online';for(var $C=0;$C<$b.length;$C++){$z=$b[$C][0];$A=$b[$C][1];if($c){for(var $D=0;$D<$c.length;$D++){if($c[$D].test&&$c[$D].test($z)||$c[$D].toLowerCase&&$c[$D].toLowerCase()==$z.toLowerCase())break}if($D==$c.length)continue}$y=A.ownerDocument.createElement('option');$y.value=$z;$y.innerHTML=$z+' ('+$a[$A]+')';$y.style.color=$A=='offline'?'silver':'darkgreen';A.appendChild($y);R[$z]=$A}A.value=$x||'all';y.show();Q=!0;$o();}function $g(){$h(z,W.group);$h(D,W.email);$h(B,W.name);$h(F,W.question);}function $h($x,$y){$y=$y?1:0;$x.setText(X[$y]);$x.setColor($y?'#f88':'');}function $i($x){w.setText($x.window);}function $j($x){C.disabled=$x;C.style.background=$x?'#eeeeee':'';E.disabled=$x;E.style.background=$x?'#eeeeee':'';$o();}function $k(){C.value=E.value=G.value='';A.parentNode.removeClass('invalid');C.parentNode.removeClass('invalid');E.parentNode.removeClass('invalid');G.parentNode.removeClass('invalid');$v();O.saveVariable('chatRequestFormDone',!1,!0);}function $l(){var $x=A.value,$y=R[$x];switch($y){case 'offline':H.setText(p(19));break;case 'online':case 'away':H.setText(p(20));break;}$o();}function $m($x){C.value=/^Visitor [0-9]+$/.test($x)?'':$x;}function $n($x){E.value=$x;}function $o(){var $x=!0;if(W.group&&A.value=='all'){A.parentNode.addClass('invalid');$x=!1}else A.parentNode.removeClass('invalid');if(W.email&&(E.value==0||!E.value.match(/^[a-z0-9!#$%&'*+\/=\?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=\?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:[A-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|jobs|museum)$/i))){E.parentNode.addClass('invalid');$x=!1}else E.parentNode.removeClass('invalid');if(W.name&&!C.value){C.parentNode.addClass('invalid');$x=!1}else C.parentNode.removeClass('invalid');if(W.question&&!G.value){G.parentNode.addClass('invalid');$x=!1}else G.parentNode.removeClass('invalid');$x&&T?H.enable():H.disable();return $x;}function $p(){if(arguments.callee.timerID)clearTimeout(arguments.callee.timerID);arguments.callee.timerID=setTimeout($o,100);}function $q($x){if(!$o())return;var $y=A.value,$z=R[$y];H.disable();if($z=='offline'){$v('Sending message...',!0);M.send('offline.send_message',{group:$y,email:E.value,name:C.value,message:G.value},function(){$v('Message sent');G.value='';P.track('Offline Message Sent',$y);});M.changeName(C.value);M.changeEmail(E.value)}else{$v('Requesting chat...',!0);M.changeEmail(E.value);function $A(){M.chatRequest($y,function(){P.track('Chat Request Form Submitted',$y);if(G.value.length){M.say(G.value);G.value=''}$s();});}if(C.value)M.changeName(C.value,$A);else $A()}}function $r($x){if($x)$s();}function $s(){if(S)return;O.saveVariable('chatRequestFormDone',!0,!0);S=!0;Y=!1;v.hide();}function $t(){if(Y&&!O.chatRequestFormDone){v.show();$o();return !0}return !1;}var $u="url('"+L.baseURL+"/assets/loading.gif') no-repeat left center";function $v($x,$y){I.setBackground($y?$u:'');I.setPadding($y?'0 0 0 20px':'0');if($x){I.setText($x);I.show()}else I.hide();}function $w(){N.define('departments.filter',$e);}return {showForm:$t};})();for(var K in J)if(J.hasOwnProperty(K))v[K]=J[K];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_ChatRequestForm");l.addChildren(v,t);return v;};a.__$$__meshim_components_FloatingButton=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__jx_controls_FloatingFrame,null,"border-color: rgb(217, 212, 199); border-width:1px; border-style: solid",[[a.__$$__img,"statusImage",null,[],{"id":"statusImage","margin":"2px 5px 0 5px","height":"16","width":"16","float":"left"}],[a.__$$__span,"agentStatus",null,[],{"id":"agentStatus"}]," - ",[a.__$$__span,"message",null,[p(5)],{"id":"message"}]],{"jx":"jx.controls","cursor":"pointer","style":"border-color: rgb(217, 212, 199); border-width:1px; border-style: solid","fontFamily":"Tahoma, Arial","fontSize":"12px","lineHeight":"20px","visible":"none","selectable":"false"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__statusImage');var x=l.get(r+'__agentStatus');var y=l.get(r+'__message');var z=(function(){var B=a.__$$__jx_core_Util;var C=a.__$$__meshim_Config;var D=a.__$$__meshim_LiveChatAPI;var E=a.__$$__meshim_LiveChatController;var F=a.__$$__meshim_SessionInfo;function G(){window.statusImage=w;B.loadCSS(C.baseDomain+'/assets/FloatingButton.css',v.idoc);E.on('showWindow',v.hide).on('hideWindow',T).on('greeting',L).on('status',K).on('settings.chatbutton',M).on('settings.chatwindow',Q).on('banned',v.hide).on('nossl',v.hide).on('connected',V);v.on('click',I);V();}v.on('init',G);var H={online:p(2),offline:p(3),away:p(4)};function I(){E.showWindow();E.buttonClick();}var J='';function K(W){if(W){J=W.toLowerCase();R();x.setText(H[W.toLowerCase()]);F.windowOpened?v.hide():T()}}function L(W){y.setText(W.bar);}function M(W){if(!F.windowOpened)T();var X=NaN,Y=NaN,Z=NaN,$$=NaN,$_;switch(W.position){case 'bl':Y=Z=0;break;case 'br':Y=$$=0;break;case 'ml':X='50%';Z=k.isIE?0:-106;$_=270;break;case 'mr':X='50%';$$=k.isIE?0:-106;$_=90;break;case 'tl':X=Z=0;break;case 'tr':X=$$=0;break;}W.padding=W.padding||'4px 0px 0px 6px';if(!W.color||W.color==''){F.settings?W.color=F.settings.chatwindow.titleBackgroundColor:W.color='#f3edde'}if('imagePath' in W){v.setBackground("url("+W.imagePath+")");v.setBorder("");v.setPadding(W.padding);v.setColor(U(W.color));O=W.imagePath}else if(typeof W.theme=='undefined'){v.setBackground(W.color)}else if(W.theme=='none'){}else if(W.theme!='bar'){P=C.baseURL+'/assets/jxml/images/'+W.theme+'/'+W.color.slice(1)+'_bar.png';v.setBackground('url('+P+')');O=W.theme;v.setBorder(0);v.setPadding(W.padding);v.setColor(U(W.color))}v.setLeft(Z).setRight($$).setTop(X).setBottom(Y+(W.offset_bottom||0)).setRotation($_);if('useFavicon' in W){N=W.useFavicon}R();}var N=0;var O='';var P='';function Q(W){v.setColor(W.titleColor);if(O==''){v.setBorderColor(W.borderColor);v.setBackground(W.titleBackgroundColor)}else{P=C.baseURL+'/assets/jxml/images/'+O+'/'+W.titleBackgroundColor.slice(1)+'_bar.png';v.setBackground('url('+P+')')}}function R(){var W='';if((N==0||N==!1)&&J&&J!=''){W=C.baseURL+'/assets/branding/'+C.brandHostname+'/chatman/'+J+'.png'}if((N==1||N==!0)&&J&&J!=''){W=C.favconvertURL+'&status='+J}if(W!=''&&w.getSrc!=W){w.setSrc(W)}}var S;function T(){if(S||!F.settings||!F.settings.chatbutton)return;var W=F.settings.chatbutton;if(W.theme=='none'||!F.status||W.hideWhenOffline&&F.status=='offline')v.hide();else v.show();}function U(W){var X,Y,Z,$$;W=parseInt(W.substr(1),16);X=W&255;W>>=8;Y=W&255;W>>=8;Z=W&255;$$=Math.min(0.299*Z+0.587*Y+0.114*X,255);$$=$$>127?0:255;$$=('0'+$$.toString(16)).slice(-2);return '#'+$$+$$+$$;}v.on('show',function(){E.isButtonVisible=!0;});v.on('hide',function(){E.isButtonVisible=!1;});function V(){D.define('button.show',function(){S=0;v.show();}).define('button.hide',function(){S=1;v.hide();}).define('button.useFavicon',function(W){if(W=='false'||!W||W==0){N=0;R()}else{N=1;R()}});}})();for(var A in z)if(z.hasOwnProperty(A))v[A]=z[A];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_FloatingButton");l.addChildren(v,t);return v;};a.__$$__jx_controls_TitleWindow=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__jx_controls_DraggableFrame,null,null,[[a.__$$__jx_controls_FullFrame,"content",null,[],{"id":"content","container":"default"}],[a.__$$__div,"titlebar",null,[[a.__$$__div,"buttons",null,[],{"float":"right","id":"buttons"}],[a.__$$__div,"title",null,[],{"float":"left","id":"title","container":"title","fontWeight":"bold"}]],{"id":"titlebar","position":"absolute","left":"0","top":"0","width":"100%","height":"25","zIndex":"10","fontSize":"12px","lineHeight":"12px","padding":"5px 5px 0"}],[a.__$$__img,"resize",null,[],{"id":"resize","position":"absolute","bottom":"1","right":"1","cursor":"SE-resize","selectable":"false","visible":"none"}]],{"jx":"jx.controls","height":"300","width":"240"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__content');var x=l.get(r+'__titlebar');var y=l.get(r+'__buttons');var z=l.get(r+'__title');var A=l.get(r+'__resize');v.defaultPlacement=w;var B=(function(){var D=a.__$$__jx_controls_Application;var E=a.__$$__jx_controls_ButtonSprite;v.setTitle=function(H){z.setText(H);};v.getTitle=function(){return z;};v.setPadding=function(H){w.setPadding(H);return v;};v.setOverflow=function(H){w.setOverflow(H);return v;};v.setScrollTop=function(H){w.setScrollTop(H);return v;};var F={'show':v.show};v.show=function(H){if(H)v.raise();F.show();};var G=0;v.addButton=function(H,I,J,K){if(!(H&&I&&K&&J))return;G+=H;var L=E(y);L.addClass('titlebutton').setWidth(H).setHeight(I).setMargin('0 0 0 3px').setFloat('right').setSrc(J).on('click',K);y.setWidth(G);};v.setResizable=function(H){if(H){A.setSrc(D.assetsURL+'/jxml/images/resize_corner.png');A.show();v.setResizableNode(A)}else v.setResizableNode(null);};v.setDraggableNode(x);})();for(var C in B)if(B.hasOwnProperty(C))v[C]=B[C];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("jx_controls_TitleWindow");l.addChildren(v,t);return v;};a.__$$__meshim_components_Notification=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__jx_controls_Popup,null,null,[[a.__$$__meshim_common_VectorElement,"vector_notification",null,[],{"id":"vector_notification","position":"absolute","top":"4px","left":"6px","stroke":"none","fill":"#FF0000","viewBox":"0 0 28 38","width":"28px","height":"38px","path":"M0 0m4 2l20 0c1 0 2 1 2 2l0 20c0 1-1 2-2 2l-6 0-5 10-4-10-6 0c-1 0-2-1-2-2l0-20c0-1 1-2 2-2z"}],[a.__$$__div,"content",null,[],{"id":"content","width":"100%","height":"20","position":"absolute","top":"7px","left":"0"}]],{"jx":"jx.controls","common":"meshim.common","meshim":"meshim.components","zIndex":"2147483647","color":"#fff","cursor":"pointer","height":"41","width":"37","fontFamily":"tahoma, arial","fontSize":"10px","fontWeight":"bold","textAlign":"center","lineHeight":"20px","letterSpacing":"-1px","overflow":"hidden"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__vector_notification');var x=l.get(r+'__content');var y=(function(){var A=a.__$$__meshim_SessionInfo;var B=a.__$$__meshim_LiveChatAPI;var C=a.__$$__meshim_LiveChatController;function D(){if(!w.vectorType){w.hide();v.setSkin('jxml/images/notification')}C.on('chat.msg',I).on('showWindow',F).on('unreadMsgs',H).on('settings.chatbutton',G);v.on('click',E);X();}v.on('init',D);function E(){C.showWindow();C.buttonClick();}function F(){v.hide();A.unreadMsgs=0;}function G(Y){if(Y.theme=='none'){W=!0;v.hide()}switch(Y.position){case 'bl':v.setRight(NaN);v.setLeft(7);break;case 'br':v.setLeft(NaN);v.setRight(202);break;}}function H(){if(A.unreadMsgs&&!A.windowOpened)J(A.unreadMsgs);else A.unreadMsgs=0;}function I(Y){if(!A.windowOpened){J(++A.unreadMsgs)}}function J(Y){if(V||W||!C.isButtonVisible)return;if(Y)A.unreadMsgs=Y;x.innerHTML=Math.round(A.unreadMsgs/2);v.show();if(!R)R=setInterval(T,5000);T();}var K=0.0,L=0.0,M=1.8,N=0.8,O=0.5,P=10.0,Q,R,S;function T(){if(Q)S=!0;else{L=P;Q=setInterval(U,45)}}function U(){L+=-M;K+=L;if(K<0.0){if(S){K=0.0;L=P;S=!1}else{L=L*-N-O;if(L<=1.1){L=K=0;clearInterval(Q);Q=null}else K*=-0.5}}v.style.marginBottom=K+'px';}var V=!1,W=!1;function X(){B.define('flag.disable',function(){V=!0;v.hide();}).define('flag.enable',function(){V=!1;});}D();})();for(var z in y)if(y.hasOwnProperty(z))v[z]=y[z];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_Notification");l.addChildren(v,t);return v;};a.__$$__meshim_components_LiveHelpWindow=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__jx_controls_TitleWindow,null,null,[[a.__$$__jx_controls_FullFrame,null,null,[[a.__$$__meshim_components_ChatPanel,"chatPanel",null,[],{"id":"chatPanel","position":"absolute","width":"100%","height":"100%","visible":"none"}],[a.__$$__meshim_components_ChatRequestForm,"chatRequestForm",null,[],{"id":"chatRequestForm","position":"absolute","width":"100%","height":"100%","visible":"none"}],[a.__$$__meshim_components_EmailChatTranscriptForm,"emailChatTranscriptForm",null,[],{"id":"emailChatTranscriptForm","position":"absolute","width":"100%","height":"100%","visible":"none"}],[a.__$$__meshim_components_ClearHistoryForm,"clearHistoryForm",null,[],{"id":"clearHistoryForm","position":"absolute","width":"100%","height":"100%","visible":"none"}],[a.__$$__meshim_components_OfflineForm,"offlineForm",null,[],{"id":"offlineForm","position":"absolute","width":"100%","height":"100%","visible":"none"}]],{"padding":"0 0 23px 0"}],[a.__$$__div,"bBar","font-size:12px; z-index:2",[[a.__$$__img,"byZopim",null,[],{"id":"byZopim","class":"by_zopim","float":"right"}],[a.__$$__div,"options",null,[p(9)],{"id":"options","class":"options","padding":"0 2","width":"80","height":"20","left":"0"}]],{"id":"bBar","position":"absolute","height":"20","bottom":"1","width":"100%","padding":"0 1px","style":"font-size:12px; z-index:2"}],[a.__$$__meshim_components_OptionsMenu,"optionsMenu",null,[],{"id":"optionsMenu","selectable":"false","position":"absolute","width":"100%","bottom":"20","visible":"false"}]],{"jx":"jx.controls","meshim":"meshim.components","snaps":"20 20 20 20","fontFamily":"Tahoma, Arial"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__chatPanel');var x=l.get(r+'__chatRequestForm');var y=l.get(r+'__emailChatTranscriptForm');var z=l.get(r+'__clearHistoryForm');var A=l.get(r+'__offlineForm');var B=l.get(r+'__bBar');var C=l.get(r+'__byZopim');var D=l.get(r+'__options');var E=l.get(r+'__optionsMenu');var F=(function(){var H=a.__$$__meshim_Config;var I=a.__$$__meshim_LiveChatAPI;var J=a.__$$__meshim_LiveChatController;var K=a.__$$__meshim_SessionInfo;var L=a.__$$__jx_core_Util;var M=a.__$$__jx_color_SolidColor;var N=v.ibody;v.getTitle().setClass='agentStatus';var O=v.moveTo;v.moveTo=function($m,$n){if($m instanceof Array){$n=$m[1];$m=$m[0]}if(typeof $m=='number'&&typeof $n=='number')return O($m,$n);return v;};function P(){v.show();}function Q(){v.hide();}var R={online:p(6),offline:p(7),away:p(8)};var S='';function T(){V(K.status);}function U(){if(A.isVisible()){w.show();A.hide()}}function V(){if(!K.status)return;v.setTitle(R[K.status.toLowerCase()]);if(S)return;if(K.status.toLowerCase()=='offline'&&K.history.length&&K.agents.length){x.showForm()||w.show();A.hide()}else if(K.status.toLowerCase()=='offline'){w.hide();x.hide();A.show()}else{x.showForm()||w.show();A.hide()}}function W($m){switch($m.position){case 'bl':v.setRight(NaN);v.setLeft(0);break;case 'br':v.setLeft(NaN);v.setRight(0);break;}}function X($m){if($m.skinPath)v.setSkin('jxml/images/'+$m.skinPath);if($m.padding)v.setPadding($m.padding);if($m.titleColor)v.getTitle().setColor($m.titleColor);if($m.hideBranding)C.hide();}function Y(){if(!v.isVisible())J.showWindow();;}function Z($m){if($m&&$m.stopPropagation&&$m.preventDefault)$m.stopPropagation();$m.preventDefault();}function $$($m){switch($m.getAttribute('name')){case 'clearHistory':y.hide();S='clearHistory';E.hide();w.hide();x.hide();A.hide();z.show();break;case 'emailChatTranscript':z.hide();S='emailChatTranscript';E.hide();w.hide();x.hide();A.hide();y.show();break;}}function $_(){D.addClass('activated');}function $a(){D.removeClass('activated');}function $b($m){E.toggle();Z($m);}function $c(){E.hide();}function $d(){if(v.isVisible()){J.hideWindow()}else{J.showWindow()}}function $e(){w.hide();}function $f(){J.on('showWindow',P).on('hideWindow',Q).on('status',V).on('settings.chatbutton',W).on('chat.join',Y).on('settings.chatwindow',X).on('banned',v.hide).on('nossl',v.hide).on('reset',$e).on('chat.memberleave',T).on('chat.action.typing',U);K.listen('windowPosition',function(){v.moveTo(K.windowPosition);});D.on('click',$b);E.on('show',$_).on('hide',$a).on('menu.selected',$$);y.on('hide',function(){S='';V();});z.on('hide',function(){S='';V();});x.on('hide',V);v.on('windowFocus',$c);};function $g(){v.setAttribute('id','__cwindow__');m.document.on('click',function(){v.fire('windowFocus',!1);});N.on('click',function(){v.fire('windowFocus',!0);});v.on('titlebar_click',J.hideWindow);L.loadCSS(H.baseURL+'/assets/LiveHelpWindow.css',v.idoc);C.setSrc(H.baseURL+'/assets/branding/'+H.brandHostname+'/by.png');C.on('click',function(){window.open(H.resellerURL);return !1;});v.addButton(13,13,H.baseURL+'/assets/buttons/default_closebuttons.png',J.hideWindow);$f();E.init();$l();}function $h($m){$h.color=$m;$j();}function $i($m){$i.theme=$m;$j();}function $j(){var $m,$n=$h.color,$o=$i.theme;if(!$n&&!$o)$o='rounded-plastic';else if(!$o)$o='plastic';else if(!$n)$n='#ffdbbf';$m=K.settings||{};$m=$m.chatwindow||{};$m.skinPath=$o+($n?'/'+$n.substr(1):'');if(!$n)$n='#ffdbbf';$m.titleBackgroundColor=$n;$m.titleColor=$k($n);$m.padding='25 4 4 4';$m.borderColor='#'+('00000'+(parseInt($n.substr(1),16)&15790320*0.8).toString(16)).slice(-6);$m.primaryColor=$n;I.settings.chatwindow=$m;J.fire('settings.chatwindow',$m);}function $k($m){var $n,$o,$p,$q;$m=parseInt($m.substr(1),16);$n=$m&255;$m>>=8;$o=$m&255;$m>>=8;$p=$m&255;$q=Math.min(0.299*$p+0.587*$o+0.114*$n,255);$q=$q>127?0:255;$q=('0'+$q.toString(16)).slice(-2);return '#'+$q+$q+$q;}function $l(){I.define('window.setBg',v.setBg).define('window.setColor',$h).define('window.setTheme',$i).define('window.show',J.showWindow).define('window.hide',J.hideWindow).define('window.toggle',$d).define('window.onHide',function($m){J.on('hideWindow',$m);}).define('window.onShow',function($m){J.on('showWindow',$m);}).define('window.getSettings',function(){return I&&I.settings&&I.settings.chatwindow;});}v.on('init',$g);})();for(var G in F)if(F.hasOwnProperty(G))v[G]=F[G];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("meshim_components_LiveHelpWindow");l.addChildren(v,t);return v;};a.__$$__livechat=function(q,r,s,t,u){r=r||l.generateID();var v=l.addChildren(q,l.mangleIDs(r,[[a.__$$__jx_controls_Application,null,null,[[a.__$$__style,null,null,[" .zopim { display: none } "],{"media":"print"}],[a.__$$__meshim_components_FirstUse,"firstUse",null,[],{"id":"firstUse","class":"zopim","right":"1","bottom":"20","visible":"false"}],[a.__$$__meshim_components_FloatingButton,"liveHelpButton",null,[],{"id":"liveHelpButton","class":"zopim","right":"1","bottom":"0","height":"28","width":"240","padding":"3px","visible":"false","selectable":"false","shadow":"shadow","shadowPadding":"17 22 20 20"}],[a.__$$__meshim_components_LiveHelpWindow,"liveHelpWindow","right:1px; bottom:0px;",[],{"id":"liveHelpWindow","class":"zopim","style":"right:1px; bottom:0px;","width":"240","height":"340","visible":"false","shadow":"shadow","shadowPadding":"17 22 48 20"}],[a.__$$__meshim_components_Notification,"notification",null,[],{"id":"notification","class":"zopim","right":"202","bottom":"12","visible":"false"}]],{"meshim":"meshim.components","jx":"jx.controls","init":"init()"}]]));l.set(r,v);v.__jx__constructor=arguments.callee;v.__jx__native=!1;var w=l.get(r+'__firstUse');var x=l.get(r+'__liveHelpButton');var y=l.get(r+'__liveHelpWindow');var z=l.get(r+'__notification');var A=(function(){var C=a.__$$__meshim_LiveChatController;function D(){C.init();}D();})();for(var B in A)if(A.hasOwnProperty(B))v[B]=A[B];if(v.fire)v.fire('init');v.setStyle&&v.setStyle(s);v.setAttributes&&v.setAttributes(u);v.addClass("livechat");l.addChildren(v,t);return v;};a.__$$__stringtable_lang_ms=new c('__$$__stringtable_lang_ms');a.__$$__stringtable_lang_bg=new c('__$$__stringtable_lang_bg');a.__$$__stringtable_lang_cs=new c('__$$__stringtable_lang_cs');a.__$$__stringtable_lang_da=new c('__$$__stringtable_lang_da');a.__$$__stringtable_lang_de=new c('__$$__stringtable_lang_de');a.__$$__stringtable_lang_el=new c('__$$__stringtable_lang_el');a.__$$__stringtable_lang_es=new c('__$$__stringtable_lang_es');a.__$$__stringtable_lang_et=new c('__$$__stringtable_lang_et');a.__$$__stringtable_lang_fa=new c('__$$__stringtable_lang_fa');a.__$$__stringtable_lang_fi=new c('__$$__stringtable_lang_fi');a.__$$__stringtable_lang_fo=new c('__$$__stringtable_lang_fo');a.__$$__stringtable_lang_fr=new c('__$$__stringtable_lang_fr');a.__$$__stringtable_lang_he=new c('__$$__stringtable_lang_he');a.__$$__stringtable_lang_hr=new c('__$$__stringtable_lang_hr');a.__$$__stringtable_lang_hu=new c('__$$__stringtable_lang_hu');a.__$$__stringtable_lang_id=new c('__$$__stringtable_lang_id');a.__$$__stringtable_lang_is=new c('__$$__stringtable_lang_is');a.__$$__stringtable_lang_it=new c('__$$__stringtable_lang_it');a.__$$__stringtable_lang_ja=new c('__$$__stringtable_lang_ja');a.__$$__stringtable_lang_ka=new c('__$$__stringtable_lang_ka');a.__$$__stringtable_lang_ko=new c('__$$__stringtable_lang_ko');a.__$$__stringtable_lang_ku=new c('__$$__stringtable_lang_ku');a.__$$__stringtable_lang_lt=new c('__$$__stringtable_lang_lt');a.__$$__stringtable_lang_lv=new c('__$$__stringtable_lang_lv');a.__$$__stringtable_lang_mk=new c('__$$__stringtable_lang_mk');a.__$$__stringtable_lang_ar=new c('__$$__stringtable_lang_ar');a.__$$__stringtable_lang_nb=new c('__$$__stringtable_lang_nb');a.__$$__stringtable_lang_nl=new c('__$$__stringtable_lang_nl');a.__$$__stringtable_lang_pl=new c('__$$__stringtable_lang_pl');a.__$$__stringtable_lang_pt=new c('__$$__stringtable_lang_pt');a.__$$__stringtable_lang_pt_BR=new c('__$$__stringtable_lang_pt_BR');a.__$$__stringtable_lang_ro=new c('__$$__stringtable_lang_ro');a.__$$__stringtable_lang_ru=new c('__$$__stringtable_lang_ru');a.__$$__stringtable_lang_sk=new c('__$$__stringtable_lang_sk');a.__$$__stringtable_lang_sl=new c('__$$__stringtable_lang_sl');a.__$$__stringtable_lang_sr=new c('__$$__stringtable_lang_sr');a.__$$__stringtable_lang_sv=new c('__$$__stringtable_lang_sv');a.__$$__stringtable_lang_th=new c('__$$__stringtable_lang_th');a.__$$__stringtable_lang_tr=new c('__$$__stringtable_lang_tr');a.__$$__stringtable_lang_uk=new c('__$$__stringtable_lang_uk');a.__$$__stringtable_lang_ur=new c('__$$__stringtable_lang_ur');a.__$$__stringtable_lang_vi=new c('__$$__stringtable_lang_vi');a.__$$__stringtable_lang_zh_CN=new c('__$$__stringtable_lang_zh_CN');a.__$$__stringtable_lang_zh_TW=new c('__$$__stringtable_lang_zh_TW');a.__$$__stringtable_lang_en=["Questions?","Click here to chat with us!","Online","Offline","Away","Click here to chat","We're online","We're offline","We're away","Options","Now online","Now offline","Now away","Last message received at <time>","<person> is typing a message...","optional","required","Choose a department","Any Operator","SUBMIT","START"," Department "," Name "," Email "," Question ","Submit"," Send the full chat transcript to yourself when this conversation ends. ","Name ","Email ","Save email address ","Cancel","Saving..."," End current chat session and clear all chat data from this computer? ","Yes","No"," We're sorry! Seems no one can serve you now. If you leave your email address, we'll get back to you soon. ","Message ","Sending message...","Message sent","Change Name"," Edit name: ","Sound"," Email Chat Transcript "," Clear History ","You","click to change","you","agent","<person> has joined","You are currently being served by <br> <person>","<person> has left","<person> has left the chat, but don't worry. We will still be able to retrieve any messages you leave behind.","<person> is now known as <newname>.","Press enter to send message","Connectivity problems, reconnecting.. Refresh page if problem persists","Resuming Chat"];{m.runAfterFirstChildReady(function(){new a.__$$__livechat(document.body,!1,'','',[]);})}})();

