﻿           /*3OGGO3(^
       ~Q@@@BBBBB@#(B@@S/
     O@@BBBBBBBBBB@O R@B@@O
    O@BBB@@@@@@BBB@G S@@@@@O		Cloudo System
  /B@BBB@t    /#@B@( //     /		Script controlled by Hakan Bilgin © 2009
 ~@BBB@R(       BB~   /tC/  %@/		http://www.cloudo.com
 O@BB@#CCQ##s  /R(  e#@@O  C@@s
/@BBBBBBBBB@O (@( /@#7 /6R@@BB@/
%@BBBBBBB@B~ KR    ^(CG3   t@B@%
3@BBBBBB@O (@R   Q@@@@Q^ /#@BB@%
%@BBBBB@#  K@e   K@@BC  tR@BBB@t
^B@B@SC3  »%   ^^ /sB@BBBBB@R^R
 %KC/      //(     C@@BBBBBBB@t
  QQQ#G    e@@/     C@BBBBBB@R
   K@@#   sRRB@%S@@@(C@BBBB@Q
    (B@K 7@BBBBBBBB@S6@BB@R/
     ~R@G e@BBBBBBB@GS@B@#/			This code is licensed under a Creative Commons License.
        (#@S#@BBBB@#Q@Q(			http://creativecommons.org/licenses/LGPL/2.1/
             ^/~~/*/

var _C={Av:'0.814',A1:{a:'/sys/xml/ledger.php',b:'/sys/xsl/common.xsl',c:'//xrpc/@sys:token',d:'./*[@select]',e:'//*[@name="desk_icons"]',f:'//*[@name="menu"]',g:'//*[@name="window"]',h:'//*[@name="appbarapp"]',i:'//*[@name="spe_input"]',j:'/gui/bg/wp/080404/macw.jpg',k:'linspire',l:'cloudo',m:'SPAN',n:'match',o:'//application',p:'/app/sys/_dlg/login.xml',q:'<_spe_input/>',r:'_id',s:'CIE',t:'_stamp',u:'none',v:'inline-block',w:'block',x:'name',y:'value',z:'nodeName'},A2:{a:'_loader',b:'//*[@name="dockbarapp"]',c:'size',d:'_action',e:'<img src="/gui/images/spinner.gif" class="loading" align="absmiddle"/>',f:'i16_tree_blank',g:'_itype',h:'&#160;',i:'px',j:'true',k:'false',l:'//*[@name="tinywin"]',m:'DIV',n:'id',o:'status',p:'avatar',q:'onmouseover',r:'onmouseout',s:'onmousedown',t:'onmouseup',u:'ondblclick',v:'onmousemove',w:'_ondrop',x:'_oncontextmenu',y:'_onresize',z:'_onclose'},A3:{a:'_onmove',b:'_onchange',c:'_onblur',d:'_onfocus',e:'_ondragdisplay',f:'_onkeypress',g:'_ondragstart',h:'_onscroll_sync',i:'_onexpand',j:'date_days',k:'date_months',l:'date_format',m:'date_day_first',n:'sys:intprt',o:'req:_envelope',p:'req:id',q:'sys:id',r:'sys:ftId',s:'sys:title',t:'sys:ft_name',u:'sys:x',v:'sys:y',w:'sys:spId',x:'sys:sId',y:'sys:upd',z:'sys:size'},A4:{a:'object',b:'function',c:'string',d:'boolean',e:'number',f:'undefined',g:'_otype',h:'_ival',i:'_dtype',j:'_etype',k:'_stype',l:'_gtype',m:'_layout',n:'_btn',o:'_tId',p:'_xpath',q:'_dfs',r:'_dragable',s:'_resizeable',t:'_maximized',u:'_ydrag',v:'_xdrag',w:'_valign',x:'_align',y:'_ralign',z:'_balign'},A5:{a:'sys_gui_task_quickbar',b:'sys_gui_task_startbtn',c:'sys_gui_task_sys_tray',d:'sys_gui_task_pos',e:'show_debugging',f:'show_content_onresize',g:'show_content_ondrag',h:'user_avatar',i:'chx_startmenu',j:'start_btn',k:'quickbar',l:'sys_tray',m:'sys_user_lngId',n:'_fsid',o:'_dfsv',p:'',q:'',r:'',s:'',t:'',u:'',v:'',w:'',x:'',y:'',z:''},Cb:{},E:{},fx:function(i){return (i<10)?'0'+i:i;},H:{R:{},c:{E:10,N:Math.pow(10,5)},x2o:function(x){var o={};for(var i=0,il=x.attributes.length;i<il;i++){o[x.attributes[i].name]=x.getAttribute(x.attributes[i].name);}return o;},L:function(){_C.Sp=document.createElement(_C.A1.m);_C.Dv=document.createElement(_C.A2.m);getEl(document,_C.E);_C.E.chx_ghost.innerHTML='';_C.X.I(_C.A1.a,function(p){_C.H.l=p;var t=p.selectSingleNode(_C.A1.c);if(t)_C.X.t=t.nodeValue;_C.X.L(_C.A1.b,_C.H.I);});},I:function(p){_C.G.xsl=p;_C.H.R.D=p.selectSingleNode(_C.A1.e);_C.H.R.I=_C.H.R.D.selectSingleNode(_C.A1.d);_C.H.R.M=p.selectSingleNode(_C.A1.f);_C.H.R.W=p.selectSingleNode(_C.A1.g);_C.H.R.Wt=p.selectSingleNode(_C.A2.l);_C.H.R.T=p.selectSingleNode(_C.A1.h);_C.H.R.d=p.selectSingleNode(_C.A2.b);_C.H.R.S=p.selectSingleNode(_C.A1.i);_C.I.S.M();_C.E.chx_icon.setAttribute(_C.A2.w,'_C.I.F.Mf');window.onresize=_C.I.S.M;document.oncontextmenu=_C.I.C;_C.I.W.C(1);document.attachEvent(_C.A2.q,_C.G.m);document.attachEvent(_C.A2.r,_C.G.m);document.attachEvent(_C.A2.s,_C.G.m);document.attachEvent(_C.A2.t,_C.G.m);document.attachEvent(_C.A2.u,_C.G.m);var t=_C.I.W.A.appendChild(_C.Sp.cloneNode(false));_C.H.R.W.setAttribute(_C.A1.n,_C.A1.o);_C.X.R(_C.A1.p,p,t);_C.X.R(_C.X.L(_C.A1.q),p,_C.E.CI);_C.E.CIE=getChild(_C.E.CI,_C.A1.r,_C.A1.s);},Bi:1,B:{},C:function(C){var O=C.match(/%.+?%/g);if(O&&O.length){_C.H.Bi++;if(_C.H.Bi>9)_C.H.Bi=1;for(var i=0,il=O.length;i<il;i++){_C.H.B[_C.H.Bi+i]=eval(O[i].slice(1,-1));C=C.replace(/%.+?%/,'_C.H.B['+(_C.H.Bi+i)+']');}C=C.replace(/_C.H.B\[(\d{1,})\]/g,"'_C.H.B[$1]'");}var c=C.match(/.+?\b/i);c=(c)?c[0]:'';var s=C.slice(c.length).match(/-.+?\b/i);s=(s)?s[0]:'';var a=C.replace(/\\'/g,'&#39;').replace(/\n/g,'<br/>').slice(c.length+1+s.length+(s!=''?1:0));a=(a.indexOf("'")>-1)?a.split(' '):["'"+a+"'"];var A=_C.X.Q('//xapps//xapp[@id="'+c+'"]');var B=_C.X.Q('//xapps_open/xapp[@id="'+c+'"]');if(B&&c==C){if($(c)&& $(c).parentNode.currentStyle.display==_C.A1.u)$(c).parentNode.style.display=_C.A1.w;if($(c)&& !$(c).getAttribute('_chrome'))$(c).fireEvent(_C.A2.s);return '102';}if(A&&!B)return _C.G.W.O(c,C);var ac=_C.X.Q('//xalias//*[@short="'+c+'"]');var as=(s&&ac)?ac.selectSingleNode('.//*[@switch="'+s.slice(1)+'"]'):'';if(!ac){var al=C.length==1?' or @alias="'+C+'"':'';as=_C.X.Q('//xalias//*[@name!="" and @name="'+c+'" or @alias="'+c+'"'+al+']');if(as)ac=as.parentNode;}var h=(ac)?ac.getAttribute('long'):null;h+=(as)?'.'+as.getAttribute(_C.A1.x):'';var P=a.join(',');var p=P.replace(/,,/g,'½');p=p.replace(/,/g,' ');p=p.match(/\w+|'.+?'/g);if(p!=null)P=p.join(',').replace(/½/g,',');var t=h+'('+((a)?P:'')+')';t=t.replace(/_C,H,B,(\d)/g,"'_C.H.B[$1]'");try{t=t.replace(/'_C.H.B\[(\d{1,})\]'/g,'_C.H.B[$1]');var R=eval(t);}catch(e){try{R=eval(C);if(typeof(R)==_C.A4.e)return R;}catch(e){R=_C.S.L('cmd_exec_object_undefined',c);}}return R;},U:function(){var Aq=_C.X.Q('//xaccount');if(!Aq)return;var a=Aq.xml.replace(/<xaccount>|<\/xaccount>/ig,'');a=a.replace(/>(\s{1,})</g,'><');var r=_C.X.Aq(_C.X.c('F03'));r.setAttribute('req:sId','user.account.settings');r.setAttribute(_C.A2.c,a.length);r.setAttribute('data',a);var Di=_C.X.Q('//xdfs//*[@sId="user.desktop"]/*',true);for(var i=0,il=Di.length;i<il;i++){var Gi=getChild(_C.E.chx_icon,_C.A5.n,Di[i].getAttribute(_C.A2.n));if(!Gi||(Di[i].getAttribute(_C.A3.v)==Gi.offsetTop&&Di[i].getAttribute(_C.A3.u)==Gi.offsetLeft))continue;if(Gi.offsetTop==0&&Gi.offsetLeft==0)continue;var r=_C.X.Aq(_C.X.c('F03'));var Fi=_C.I.F.fI(Di[i].getAttribute(_C.A2.n));var a=Fi.getAttribute('args').split(':');a[0]=Gi.offsetTop;a[1]=Gi.offsetLeft;r.setAttribute(_C.A3.p,Di[i].getAttribute(_C.A2.n));r.setAttribute('args',a.join(':'));}var r=_C.X.Aq(_C.X.c('L01'));r.setAttribute(_C.A3.n,'FF');_C.S.Q();_C.X.X();}},S:{Uq:function(i){return _C.X.Uq(i);},sha1:function(s){return s.sha1();},A:function(I){if(typeof(I)==_C.A4.a&&I.getAttribute('chx_rel_id'))I=I.getAttribute('chx_rel_id').slice(4);if(typeof(I)==_C.A4.a&&I.getAttribute('_stamp'))I=I.id;_C.H.C('msgbox -ab '+I);},V:function(w,v){if(!w)return _C.X.Q('//*[@for="sys_validate_rgx"]/*',true);var xR=_C.X.Q('//*[@for="sys_validate_rgx"]/*[@title="'+w+'"]');if(xR)Rx=new RegExp(xR.getAttribute('rgx'));return Rx.test(v);},X:{Q:function(q,m){return m?_C.G.xsl.selectNodes(q):_C.G.xsl.selectSingleNode(q);}},Dso:function(s){var ds=s.split(' ');var td=ds[0].split('-');var tt=ds[1].split(':');return new Date(td[0],(new Number(td[1])-1),td[2],(tt[0]||0),(tt[1]||0),(tt[2]||0));},D:function(t,d){var d,s;var d=(d)?_C.S.Dso(d):new Date();var dn=_C.S.L(_C.A3.j).split(' ');var mn=_C.S.L(_C.A3.k).split(' ');var df=_C.S.L(_C.A3.l);var fd=_C.S.L(_C.A3.m);switch (parseInt(t)){case 1:s=d.getFullYear()+'-'+_C.fx(d.getMonth()+1)+'-'+_C.fx(d.getDate());break;case 2:s=_C.fx(d.getHours())+':'+_C.fx(d.getMinutes())+':'+_C.fx(d.getSeconds());break;case 3:s=_C.fx(d.getHours())+':'+_C.fx(d.getMinutes());break;case 4:s=_C.S.D(1)+' '+_C.S.D(2);break;case 5:var dt=dn[(d.getDay()-1<0)?6:d.getDay()-1];s=dt+','+d.getDate()+' '+mn[d.getMonth()]+','+d.getFullYear();break;case 6:s=parseInt(d.valueOf()/1000);break;case 7:var dt=dn[(d.getDay()-1<0)?6:d.getDay()-1];s=dt+','+d.getDate()+' '+mn[d.getMonth()].slice(0,3)+','+d.getFullYear()+','+_C.S.D(3);break;case 8:return d;break;}return s;},O:{I:function(){/*console.log('Offline support is initiated!');*/}},U:{D:function(n){if(!n||n.slice(0,4)=='sys_')return;var s=_C.X.Q('//xaccount//settings/*[@name=\''+n+'\']');if(s)s.parentNode.removeChild(s);},S:function(n,v){if(!n)return _C.X.Q('//xaccount//settings/*',true);var s=_C.X.Q('//xaccount//settings/*[@name=\''+n+'\']');switch (n){case _C.A5.b: if(v)_C.I.T.T(_C.A5.j,v);break;case _C.A5.a: if(v){_C.I.T.T(_C.A5.k,v);_C.I.T.C();} break;case _C.A5.c: if(v)_C.I.T.T(_C.A5.l,v);break;case _C.A5.d: if(v)_C.I.T.P(v);break;case _C.A5.e: _C.X.d=(v=='1');break;case _C.A5.f: _C.I.R.sor=v;break;case _C.A5.g: _C.I.R.sod=v;break;case _C.A5.h: if(v)_C.X.Q('//_user').setAttribute('avatar',v);break;case _C.A5.m:if(v==s.getAttribute('value'))return;var r=_C.X.Aq(_C.X.c('U01'));r.setAttribute(_C.A3.n,'A2');r.setAttribute(_C.A3.p,_C.S.U.I(_C.A2.n));r.setAttribute('lngId',v);_C.H.C("msgbox -c '"+_C.H.C("sys -lng 'onlanguage_change'")+"' %_C.S.S%");break;}if(!s&&v){var s=_C.X.Q('//xaccount//settings/*');s=s.parentNode.appendChild(s.cloneNode(false));s.setAttribute(_C.A1.x,n);s.setAttribute(_C.A1.y,v);}if(!s)return false;if(v)return s.setAttribute(_C.A1.y,v);else return s.getAttribute(_C.A1.y);},I:function(n){if(!n)return _C.H.x2o(_C.X.Q('//_user'));var u=_C.X.Q('//_user/@'+n);return (u)?u.nodeValue:false;},sI:function(r){if(r){if(window['cli'])window['cli'].parseXml(r.selectNodes('.//*[@cli_parse]/*'));return r;}var D=_C.X.Aq(_C.X.c('U02'));D.setAttribute(_C.A3.n,'U3');_C.X.X(_C.S.U.sI);},F:{I:function(){var b=_C.X.Q('//xbuddy/*',1);for(var i=0;i<b.length;i++){if(b[i].getAttribute(_C.A2.o)=='2')b[i].setAttribute(_C.A2.o,((b[i].getAttribute('ux')=='u2')?'2':'3'));}},L:function(){return _C.X.Q('//xbuddy/*',1);},A:function(I,S,N,A){var b=_C.X.Q('//xbuddy');var f=_C.X.Q('//xbuddy/*[@id="'+I+'"]');f=(!f)?b.appendChild(_C.H.C('xml -cn _buddy')):f;if(S=='2')f.setAttribute('ux','u1');f.setAttribute(_C.A2.n,I);f.setAttribute(_C.A2.o,S);if(N)f.setAttribute(_C.A1.x,N);if(A)f.setAttribute(_C.A2.p,A);return f.cloneNode(false);},D:function(I){var f=_C.X.Q('//xbuddy/*[@id="'+I+'"]');if(f)return f.parentNode.removeChild(f);},G:function(){var I=arguments[0];_C.S.U.F.GrF=arguments[1];var u=_C.X.Q('//xbuddy/*');var r=_C.X.Aq(_C.X.c('U03'));if(I)r.setAttribute(_C.A3.p,I);for(var i=2;i<arguments.length;i++){if(u&&u.getAttribute(arguments[i]))continue;r.setAttribute(arguments[i],'');}_C.X.X(_C.S.U.F.Gr);},Gr:function(r){var d1=24*60*60*1000;var n=new Date();var n=new Date(n.getFullYear(),n.getMonth(),n.getDate());var ui=r.selectNodes('.//*[@id]');for(var i=0;i<ui.length;i++){var u=_C.X.Q('//xbuddy/*[@id="'+ui[i].getAttribute(_C.A2.n)+'"]');if(!u)continue;for(var a=0;a<ui[i].attributes.length;a++){if(ui[i].attributes[a].name==_C.A2.n||ui[i].attributes[a].name=='ux')continue;u.setAttribute(ui[i].attributes[a].name,ui[i].attributes[a].value);if(ui[i].attributes[a].name=='birthday'){if(ui[i].attributes[a].value){var dS=ui[i].attributes[a].value.split('-');var b=new Date(n.getFullYear(),(new Number(dS[1])-1),(new Number(dS[2])));var d=b.valueOf()- n.valueOf();if(n.valueOf()<= b.valueOf()&& d <= (7*d1)){var ds=gw_int.vars.weekdays[(b.getDay()!=0)?b.getDay()-1:6];if(d<(2*d1))ds=_C.S.L('tomorrow');if(d<(d1))ds=_C.S.L('today');ui[i].setAttribute('_nice_birthday',ds);ui[i].setAttribute('_age',n.getFullYear()-new Number(dS[0]));}}}}}if(typeof(_C.S.U.F.GrF)==_C.A4.b)_C.S.U.F.GrF();_C.S.U.F.GrF=false;}}},L:function(i){var x=_C.X.Q('//xlng//*[@id=\''+i+'\']/@str');if(!x)return;var s=x.nodeValue;for(var a=1,al=arguments.length;a<al;a++){s=s.replace(new RegExp('\\$prm'+a,'g'),arguments[a]);}if(s.indexOf('$prm')>-1)s=s.replace(/\$prm\d/ig,'');return s.replace(/'/g,"&#39;").replace(new RegExp('\\\\n','g'),'<br/>');},S:function(s){if(s&&s!='6')return;_C.H.U();document.location.reload();},l:function(){_C.H.U();document.location.reload();},E:{L:function(s,d){if(!_C.S.E.str)_C.S.E.str=_C.H.C("sys -lng 'error'");var e,n;var c="sys -lng 'err_"+s+"'";for(var a=1,al=arguments.length;a<al;a++){c+=" '"+arguments[a]+"'";}if(s==parseInt(s)){n=s;e=_C.H.C(c);}if(_C.X.d&&s!='699')_C.H.C("debug -e '"+s+"' '"+(e||d)+"'");return new Error(_C.S.E.str+' '+n+': '+e);}},Q:function(A){if(!A)return _C.X.q;if(A=='default'){_C.X.X(function(r){var f=r.selectNodes('//*[@rsp:envelope]');for(var i=0,il=f.length;i<il;i++){var id=f[i].getAttribute('rsp:envelope');var O=_C.I.F.fI(id);if(O)_C.I.F.U(O);}});}if(typeof(A)==_C.A4.b)return _C.X.X(A);var A=(A)?'application[@id="'+A+'"]':'application';if(!_C.G.W.c)return;var s=_C.G.W.c.selectNodes('//'+A+'//_app_data[@_sys_upd]');for(var i=0,il=s.length;i<il;i++){s[i].removeAttribute('_sys_upd');var d='';var n=s[i].parentNode.parentNode.getAttribute(_C.A2.n);var v='app.data.'+n;var D=_C.X.Aq(_C.X.c('F06'));D.setAttribute('req:sId',v);var S=s[i].selectNodes('./*');for(var j=0,jl=S.length;j<jl;j++)d+=S[j].xml;var ec=_C.X.Q('//xdfs//*[@sId="app.data.'+n.toLowerCase()+'"]',1);for(var k=0;k<ec.length;k++)ec[k].parentNode.removeChild(ec[k]);_C.I.F.C.N(102,_C.I.F.sI['user.appcfg'].getAttribute(_C.A2.n),'cfg_'+n.toUpperCase(),d,null,null,v);}},Ql:function(){return _C.X.q.documentElement.childNodes.length;},iA:function(I){return _C.X.Q('//xapps/xapp[@id="'+I+'"]');},Aai:function(iS){var S='';for(var i=0,il=(iS.length/2);i<il;i++){var I=iS[(i*2)];var p=iS[(i*2)+1];S+='.i48_app_'+I+' {background: url('+p+'icon.png)0px 0px no-repeat!important;}'+'.i24_app_'+I+' {background: url('+p+'icon.png)-48px 0px no-repeat!important;}'+'.i16_app_'+I+' {background: url('+p+'icon.png)-72px 0px no-repeat!important;}'+'.i48_mime_app_'+I+' {background: url('+p+'icon.png)0px -48px no-repeat!important;}'+'.i24_mime_app_'+I+' {background: url('+p+'icon.png)-48px -48px no-repeat!important;}'+'.i16_mime_app_'+I+' {background: url('+p+'icon.png)-72px -48px no-repeat!important;}';}var T=document.createElement('STYLE');T.setAttribute('type','text/css');if(_env.ie)T.styleSheet.cssText=S;else T.appendChild(document.createTextNode(S));_C.E.chx_gui.parentNode.appendChild(T);},Aa:function(I,T,P,C,i,S){if(_C.X.Q('//xapps/xapp[@id="'+I+'"]'))return _C.S.L('application_is_already_installed',I);var sm=_C.X.Q('//sys:settings//startmenu');var si=sm.appendChild(_C.X.Cn('i'));si.setAttribute('title',T);if(i.slice(0,1)=='/'){si.setAttribute('ud_icon',i);}si.setAttribute('icon',i||'app');si.setAttribute('action',I);var xa=_C.X.Q('//xapps');var ra=_C.X.Q('//reg_apps');var ia=_C.X.Q('//xapps/xapp[@sys:spId]').cloneNode(false);ia.setAttribute(_C.A2.n,I);ia.setAttribute('title',T);ia.setAttribute('path',P);ia.setAttribute('category',C);if(si.getAttribute('ud_icon')){ia.setAttribute('ud_icon',si.getAttribute('ud_icon'));_C.S.Aai([I,si.getAttribute('ud_icon')]);}ia.setAttribute('icon',i||'app');(S&&S!=null)?ia.setAttribute(_C.A3.w,S):ia.removeAttribute(_C.A3.w);xa.appendChild(ia.cloneNode(false));ra.appendChild(ia.cloneNode(false));},Da:function(I){var a=_C.X.Q('//reg_apps//xapp[@id="'+I+'"]');a.parentNode.removeChild(a);var a=_C.X.Q('//xapps//xapp[@id="'+I+'"]');a.parentNode.removeChild(a);var s=_C.X.Q('//sys:settings//*[@action="'+I+'"]',1);for(var i=0;i<s.length;i++)s[i].parentNode.removeChild(s[i]);},La:function(){return _C.X.Q('//reg_apps/xapp',true);},Dm:function(i){var q=(i==1)?'//@sys:location':'//@sys:domain';return _C.X.Q(q).nodeValue;}},A:{Sp:function(){return _C.Sp.cloneNode(false);},C: function(n){for(var i=0,il=_C.E.chx_bg.childNodes.length;i<il;i++){if(_C.E.chx_bg.childNodes[i].className!='hideMe')continue;_C.E.chx_bg.childNodes[i].parentNode.removeChild(_C.E.chx_bg.childNodes[i]);}var e=document.createElement(n.toUpperCase());e.className='hideMe';return _C.E.chx_bg.appendChild(e);},T:function(i,t){var p=_C.Sp.cloneNode(false);p.innerHTML='<gui:tab _itype="radio" unselectable="on"><b:s></b:s><b:m _id="'+i+'">'+t+'</b:m><b:e></b:e></gui:tab>';return p.firstChild;}},I:{P:{f:13,a:{},A:function(T,D,E,Cb){if(!E||E._is_anim)return;var x=_C.X.Uq(4);var f=parseInt(D/_C.I.P.f);switch (T){case 'fadeIn':if(E.currentStyle.display=='none')_C.I.P.A({opacity:1},D||600,E,Cb);else if(typeof(Cb)==_C.A4.b)return Cb();break;case 'fadeOut':if(E.currentStyle.display=='block')_C.I.P.A({opacity:0},D||600,E,Cb);else if(typeof(Cb)==_C.A4.b)return Cb();break;case 'bounce':var v=parseInt(E.currentStyle.top)-Math.max(parseInt(E.currentStyle.height),50);_C.I.P.a[x]={E:E,cb:Cb,v:v,j:0,J:D,S:900,I:function(x){var me=_C.I.P.a[x];me.j++;_C.I.P.A({top:'bounce:'+me.v+'px'},me.S,me.E,function(){if(me.j<me.J)me.I(x);else if(typeof(me.cb)==_C.A4.b)me.cb();});}};_C.I.P.a[x].I(x);break;case 'blink':_C.I.P.a[x]={E:E,cb:Cb,j:0,J:D,S:400,I:function(x){var me=_C.I.P.a[x];me.j++;_C.I.P.A({opacity:0},me.S,me.E,function(){_C.I.P.A({opacity:1},me.S,me.E,function(){if(me.j<me.J)me.I(x);else if(typeof(me.cb)==_C.A4.b)me.cb();});});}};_C.I.P.a[x].I(x);break;default:var t={};for(s in T){t[s]={};if(s=='backgroundPosition'){var X=(_env.ie)?E.currentStyle[s+'X']:E.currentStyle[s].split(' ')[0];var Y=(_env.ie)?E.currentStyle[s+'Y']:E.currentStyle[s].split(' ')[1];t[s].sx=new Number(X.slice(0,-2));t[s].sy=new Number(Y.slice(0,-2));var o=T[s].split(':');t[s].w=(o.length==3)?o[0]:'easeIn';t[s].ex=new Number(((o.length==3)?o[1]:o[0]).slice(0,-2));t[s].ey=new Number(((o.length==3)?o[2]:o[1]).slice(0,-2));t[s].ex=t[s].ex - t[s].sx;t[s].ey=t[s].ey - t[s].sy;}t[s].s=parseInt(E.currentStyle[s]);var v=T[s].toString();if(!t[s].w)t[s].w=(v.indexOf(':')>-1)?v.split(':')[0]:'easeIn';var e=(v.indexOf(':')>-1)?v.split(':')[1]:v;t[s].e=((e.slice(-2)=='px')?e.slice(0,-2):v)- t[s].s;if(s=='opacity'){t[s].d=t[s].e;t[s].s=(E.currentStyle[s]==1)?0:new Number(E.currentStyle[s]);t[s].e=(t[s].s==t[s].e)?1:t[s].e;t[s].e=Math.abs(t[s].e);if(E.currentStyle.display=='none'){E.style.opacity=t[s].s;}if(_env.ie){t[s].d=(E.currentStyle.display=='none')?1:-1;t[s].s=0;t[s].e=1;}if(_env.ie)E.style.filter='alpha(opacity='+(Math.max(((t[s].d==-1)?1:0),0)*100)+')';E.style.display='block';}}E._is_anim=true;_C.I.P.a[x]={E:E,cb:Cb,f:f,t:0,s:t,I:function(x){var me=_C.I.P.a[x];me.t++;if(me.s.backgroundPosition){var bx=Math.ceil(Math.tween[me.s.backgroundPosition.w](me.t,me.s.backgroundPosition.sx,me.s.backgroundPosition.ex,me.f));var by=Math.ceil(Math.tween[me.s.backgroundPosition.w](me.t,me.s.backgroundPosition.sy,me.s.backgroundPosition.ey,me.f));me.E.style.backgroundPosition=bx+'px '+by+'px';}if(me.s.opacity){var v=Math.tween.linear(me.t,me.s.opacity.s,me.s.opacity.e,me.f);v=(me.s.opacity.d >= 0)?v:1-v;if(_env.ie)me.E.style.filter='alpha(opacity='+(v*100)+')';else me.E.style.opacity=v;}if(me.s.top)me.E.style.top=Math.ceil(Math.tween[me.s.top.w](me.t,me.s.top.s,me.s.top.e,me.f))+'px';if(me.s.left)me.E.style.left=Math.ceil(Math.tween[me.s.left.w](me.t,me.s.left.s,me.s.left.e,me.f))+'px';if(me.s.height)me.E.style.height=Math.ceil(Math.tween[me.s.height.w](me.t,me.s.height.s,me.s.height.e,me.f))+'px';if(me.s.width)me.E.style.width=Math.ceil(Math.tween[me.s.width.w](me.t,me.s.width.s,me.s.width.e,me.f))+'px';if(me.t==me.f){E._is_anim=undefined;if(me.s.opacity){me.E.style.display=(v==0)?'none':'block';if(_env.ie)me.E.style.filter='';}clearInterval(_C.I.P.a[x].i);if(typeof(me.cb)==_C.A4.b)me.cb();_C.I.P.a[x]=undefined;}}};_C.I.P.a[x].i=setInterval("_C.I.P.a['"+x+"'].I('"+x+"')",_C.I.P.f);break;}}},S:{tb:function(){if(!_C.E.chx_taskbar||!_env.ie)return;var t=_C.E.chx_taskbar.childNodes;for(var i=0;i<t.length;i++){if(t[i].nodeType!=1||t[i].nodeName!='TABLE')continue;t[i].style.width=_C.I.S.w+_C.A2.i;}},M:function(){var dc=getChild(document.body,_C.A1.r,'chx_dsblr_copy');_C.E.chx_bg.childNodes[0].width=_C.I.S.w=_C.E.chx_bg.offsetWidth;_C.E.chx_bg.childNodes[0].height=_C.I.S.h=_C.E.chx_bg.offsetHeight;_C.E.chx_icon.style.height=_C.I.S.h+_C.A2.i;_C.I.S.tb();if(dc){dc.style.height=_C.I.S.h+_C.A2.i;dc.style.width=_C.I.S.w+_C.A2.i;}if(_C.E.gDock){var ab=getChild(_C.E.gDock,_C.A4.g,'appdock');ab.style.width=parseInt(ab.parentNode.offsetWidth)+_C.A2.i;}if(window['cli'])window['cli']._onbgchange();},ow:function(){return _C.I.S.w;},oh:function(){return _C.I.S.h;}},I:function(){_C.I.FS=_C.X.Q('//data').getAttribute('sys:fullscreen');_C.I.R.sor=_C.S.U.S(_C.A5.f);_C.I.R.sod=_C.S.U.S(_C.A5.g);_C.G.W.c=_C.X.L('<xapps_cache/>');_C.G.T.R=_C.X.Q('//xdfs');var s=_C.X.Uq();_C.X.Q('//xapps_open/xapp[@id="_C"]').setAttribute(_C.A1.t,s);document.body.setAttribute(_C.A1.t,s);_C.I.T.I();_C.I.F.I();_C.G.W.Pl('aload','msgbox','osbox','cpal','ipal','minifs','finder','welcome',function(){_C.X.d=_C.S.U.S(_C.A5.e)=='1';_C.I.W.C('1');_C.I.D(_C.H.C("user -s 'sys_gui_theme'"));_C.I.i(_C.H.C("user -s 'sys_gui_iconset'"));_C.I.T.P(_C.H.C("user -s 'sys_task_pos'"));_C.I.B(_C.H.C("user -s 'sys_gui_desktop_bg'"));var ws=_C.H.C("user -s 'welcome_onstartup'");if(!ws||ws!='0')setTimeout('_C.H.C("welcome");',1);_C.E.chx_taskbar.className=_C.E.chx_taskbar.className.replace(/ hideMe/ig,'');_fx($('login')).fadeOut(300,function(){$('login').parentNode.outerHTML='';});var s=_C.S.U.S(_C.A5.a);if(!s)_C.S.U.S(_C.A5.a,'1');else if(s=='0')_C.S.U.S(_C.A5.a,'0');var s=_C.S.U.S(_C.A5.b);if(!s)_C.S.U.S(_C.A5.b,'1');else if(s=='0')_C.S.U.S(_C.A5.b,'0');var s=_C.S.U.S(_C.A5.c);if(!s)_C.S.U.S(_C.A5.c,'1');else if(s=='0')_C.S.U.S(_C.A5.c,'0');/*_C.H.C("cli");_C.I.P.A('fadeIn',_C.E.notifybar);_C.H.C("textpad");_C.H.C("finder -os user.settings");_C.H.C("imgv -o 7c48508f-73ef-102c-bd52-9c149094354e");_C.H.C("gw_int");*/});},A:function(n){if(!n)return _C.X.Q('//*[@moption="sys_gui_avatar"]',true);if(typeof(n)==_C.A4.a){var f=_C.I.F.fI(n.getAttribute(_C.A5.n));n='/_user/'+f.getAttribute('uId')+'/'+f.getAttribute(_C.A2.n)+'.s.jpg';}var s=(n.slice(0,1)=='/')?n:'/gui/avatar/'+n;_C.S.U.S(_C.A5.h,s);if($(_C.A5.i))getChild(_C.A5.i,_C.A4.g,_C.A2.p).src=s;var rq=_C.X.Aq(_C.X.c('U01'));rq.setAttribute(_C.A3.n,'A2');rq.setAttribute(_C.A3.p,_C.S.U.I(_C.A2.n));rq.setAttribute(_C.A2.p,s);_C.S.Q(_C.I.Ar);},Ar:function(){},M:{f:function(i){if(!$(i))return;var dc=getChild(document.body,_C.A1.r,'chx_dsblr_copy');if(dc)dc.className='modal_screen modal_screen_off';if(_C.E.chx_sm.hasChildNodes())_C.I.T.S();_C.E.chx_taskbar.style.zIndex=25;var d=$(i).parentNode.appendChild(_C.E.chx_dsblr.cloneNode(true));d.setAttribute(_C.A1.r,'chx_dsblr_copy');d.className='modal_screen';d.style.width=_C.I.S.ow()+_C.A2.i;d.style.height=_C.I.S.oh()+_C.A2.i;d.style.zIndex=$(i).currentStyle.zIndex-1;if(!_env.ie)setTimeout('_C.E.CIE.focus();',10);if($(_C.A5.i)){var s=getChild(_C.E.chx_taskbar,_C.A4.g,_C.A5.j);s.removeAttribute(_C.A4.h);s.fireEvent(_C.A2.t);}},b:function(){_C.E.chx_taskbar.style.zIndex=950;var dc=getChild(document.body,_C.A1.r,'chx_dsblr_copy');if(dc)dc.parentNode.parentNode.removeChild(dc.parentNode);}},D:function(n,f,i){if(!n)return _C.X.Q('//*[@moption="sys_gui_theme"]',true);if(n==_C.I.Dn&&!f)return;if(!i){_C.I.Dn=n;_C.H.C("user -s 'sys_gui_theme' '"+n+"'");getChild(document,_C.A1.z,'HTML').className=_env.os+' '+_env.br+' '+n;}var u=(i)?i:'/sys/php/decoration.php?v='+_C.X.Uq()+'&theme='+n+'.css';if(_env.ie){if(!_C.E.chx_gui.onreadstatechange){_C.E.chx_gui.onreadystatechange=function(i){if(_C.E.chx_gui.readyState=='complete'){_C.I.Rd();setTimeout(function(){_C.I.Rd();},10);}};}_C.E.chx_gui.href=u;}else{_C.H.C("xml -l '"+u+"' %_C.I.Dr%");}},Di:function(u,c){if(u&&!c){var s=_C.I.DiS.replace(/url\(.+?(\w+.\w+)\)/gi,'url('+u+'/$1?v='+_C.X.Uq()+')');var T=document.body.appendChild(_C.Sp.cloneNode(false));T.innerHTML=s;_C.I.Dr(T.firstChild,true);}},Rd:function(){if(_C.I.FS)_C.G.W.O(_C.I.FS,false,true);else{_C.E.chx_taskbar.style.display =_C.E.chx_icon.style.display='block';}var a=getChildren(document.body,_C.A1.t);for(var i=0,il=a.length;i<il;i++)_C.G.L.I(a[i]);if(_C.E.quickbar)_C.I.T.C();if(_C.I.W.AW&&_C.I.W.AW.id=='cli')getChild(_C.I.W.AW,_C.A1.z,'INPUT').focus();var ab=getChild(_C.E.gDock,_C.A4.g,'appdock');ab.style.width=parseInt(ab.parentNode.offsetWidth)+_C.A2.i;},Dr:function(r,rp){var t='';var iun=new Array();var iu=r.xml.match(/url\(.+?\)/ig);for(var i=0;i<iu.length;i++){if(iun.indexOf(iu[i])>-1)continue;iun.push(iu[i]);t+='<img src="'+iu[i].slice(4,-1)+'"/>';}var s=document.body.appendChild(_C.Sp.cloneNode(false));s.className='hideMe';s.innerHTML=t;s.parentNode.removeChild(s);setTimeout(function(){var t=_C.E.chx_gui.parentNode;t.removeChild(_C.E.chx_gui);_C.I.Rd();_C.E.chx_gui=t.appendChild(r);if(!rp)_C.I.DiS=_C.E.chx_gui.outerHTML;_C.I.Rd();},10);},B:function(n,m,c,t,l){if(!n)return _C.X.Q('//*[@moption="sys_gui_desktop_bg"]',true);if(typeof(n)==_C.A4.a){var f=_C.I.F.fI(n.getAttribute(_C.A5.n));n='/_user/'+f.getAttribute('uId')+'/'+f.getAttribute(_C.A2.n)+'.'+f.getAttribute('args').split(':')[2];}if(n.indexOf(':')>-1&&arguments.length==1){var t=n.split(':')[3]||'50';var l=n.split(':')[4]||'50';var m=n.split(':')[1];var c=n.split(':')[2];n=n.split(':')[0];}c=c||'#FFF';t=t||'50';l=l||'50';switch(m){case 'center':var b='url('+n+')'+l+'% '+t+'% no-repeat';var s='/gui/images/_.gif';break;case 'tile':var b='url('+n+')'+l+'% '+t+'%';var s='/gui/images/_.gif';break;default:var b='';var s=n;}_C.E.chx_bg.style.background=b;_C.E.chx_bg.style.backgroundColor=c;_C.E.chx_bg.childNodes[0].src=s;_C.H.C("user -s 'sys_gui_desktop_bg' '"+n+":"+m+":"+c+":"+t+":"+l+"'");if(window['cli'])window['cli']._onbgchange();},i:function(n){if(!n)return _C.X.Q('//*[@moption="sys_gui_iconset"]',true);_C.E.chx_iconset.href='/gui/icon/'+n+'/index.css';_C.H.C("user -s 'sys_gui_iconset' '"+n+"'");},W:{C:function(i){if(_C.I.W.A)_C.I.W.A.style.display=_C.A1.u;_C.I.W.A=_C.E['chx_wa'+i];_C.I.W.A.style.display=_C.A1.w;}},Sd:function(){var x=_C.X.Q('//xapps_open/*',1);for(var i=0,il=x.length;i<il;i++){var a=x[i].getAttribute(_C.A2.n);if(!a||a=='_C')continue;var m=getChild(a,_C.A1.z,'GUI:MIN')|| getChild(a,_C.A1.z,'min');if(!m)continue;_C.H.C('win -m '+a);}},C:function(){var s=event.srcElement;var c=getParent(s,'_ctx');var tn=_C.X.Q('//*[@for="sys_icon"]//*[@_sys_temp_ctx_node]',1);for(var i=0,il=tn.length;i<il;i++){tn[i].parentNode.removeChild(tn[i]);}var sa=_C.X.Q('//*[@for="sys_icon"]//*[@sys:id="add_menu_holder"]');if(c){if(c.getAttribute(_C.A5.n)){var f=_C.I.F.fI(c.getAttribute(_C.A5.n));var Ct=_C.I.F.M(f.getAttribute('ftId'),'ctx');for(var i=0,il=Ct.childNodes.length;i<il;i++){if(Ct.childNodes[i].nodeType!=1)continue;var m=Ct.childNodes[i].cloneNode(true);m.setAttribute('_sys_temp_ctx_node',1);var t=_C.G.M.A2(m,sa);}}var a=getParent(c,_C.A1.t);if(a&&window[a.id]&&typeof(window[a.id][_C.A2.x])==_C.A4.b){window[a.id][_C.A2.x](c.getAttribute('_ctx'));}_C.G.M.C1(false,1);_C.G.M.S(c);}return false;},Co:function(){return _C.G.M.ctxt.origin;},R:{I:function(R){_C.G.M.C1(false,1);var r=getParent(R,_C.A4.s,_C.A2.j);if(!r||event.button==2)return;_C.I.R.dim=getDim(r);_C.I.R.O=getChild(r,'className','wincontent');_C.I.R.O=_C.I.R.O||getChild(r,'className','twincontent');var dO,xw,xh,mw,mh;if(_C.I.R.O){_C.I.R.rdim=getDim(_C.I.R.O);dO=getParent(r,_C.A4.i,'track');xw=(dO?parseInt(dO.offsetWidth):_C.I.S.ow())- parseInt(r.offsetLeft);xh=(dO?parseInt(dO.offsetHeight):_C.I.S.oh())- parseInt(r.offsetTop);mw=parseInt(_C.I.R.O.getAttribute('_min_width'))|| 300;mh=parseInt(_C.I.R.O.getAttribute('_min_height'))|| 300;}if(r.la){_C.I.R.O =_C.I.R.W=r;_C.I.R.rdim={t:event.clientY,l:event.clientX,h:0,w:0};}else if(_C.I.R.sor=='1'){_C.I.R.W=_C.I.R.O;_C.I.R.h=event.clientY - _C.I.R.rdim.h+event.offsetY;_C.I.R.w=event.clientX - _C.I.R.rdim.w+event.offsetX;}else{_C.I.R.W=_C.E.chx_ghost;_C.I.R.W.gbw=parseInt(_C.I.R.W.currentStyle.borderTopWidth);_C.I.R.W.style.width=(_C.I.R.dim.w-(_C.I.R.W.gbw*2))+_C.A2.i;_C.I.R.W.style.height=(_C.I.R.dim.h-(_C.I.R.W.gbw*2))+_C.A2.i;_C.I.R.W.style.top=(_C.I.R.dim.t-_C.I.R.W.gbw+(r.className=='twin'?3:0))+_C.A2.i;_C.I.R.W.style.left=(_C.I.R.dim.l-_C.I.R.W.gbw+(r.className=='twin'?3:0))+_C.A2.i;_C.I.R.W.setCapture();_C.I.R.h=event.clientY - _C.I.R.dim.h+event.offsetY;_C.I.R.w=event.clientX - _C.I.R.dim.w+event.offsetX;if(mw)mw=(mw+(_C.I.R.dim.w - _C.I.R.rdim.w));if(mh)mh=(mh+(_C.I.R.dim.h - _C.I.R.rdim.h));}_C.I.R.rdim.max_w=xw - event.offsetX;_C.I.R.rdim.max_h=xh - event.offsetY;_C.I.R.rdim.min_w=mw||300;_C.I.R.rdim.min_h=mh||300;_env.cancelEvent();document.attachEvent(_C.A2.v,_C.I.R.M);document.attachEvent(_C.A2.t,_C.I.R.R);},M:function(){if(!_C.I.R.O)return;_env.cancelEvent();if(_C.I.R.O.la&&_C.I.R.O.la.getAttribute('_lasso')){var t=_C.I.R.rdim.t;var l=_C.I.R.rdim.l;var h=event.clientY - _C.I.R.rdim.t;var w=event.clientX - _C.I.R.rdim.l;t=(h<0)?event.clientY:t;l=(w<0)?event.clientX:l;h=(h<0)?Math.abs(h):h;w=(w<0)?Math.abs(w):w;_C.E.chx_ghost.style.top=t+_C.A2.i;_C.E.chx_ghost.style.left=l+_C.A2.i;_C.E.chx_ghost.style.height=h+_C.A2.i;_C.E.chx_ghost.style.width=w+_C.A2.i;if(!_C.I.R.lr){_C.I.R.lr=getChildren(_C.I.R.O.la,'_ltype',_C.I.R.O.la.getAttribute('_lasso'));if(_C.I.R.lr.length)_C.I.R.lr[0].parentNode.active=new Array();_C.I.R.lri={};for(var i=0;i<_C.I.R.lr.length;i++){var rd=getDim(_C.I.R.lr[i]);_C.I.R.lri['e_'+i]={t:rd.t+(Math.abs(rd.h)/2),l:rd.l+(Math.abs(_C.I.R.lr[i].offsetWidth)/2)};}}_C.I.R.m(t,l,h,w);}else{_C.I.R.W.style.height=Math.min(_C.I.R.rdim.max_h,Math.max(_C.I.R.rdim.min_h,(event.clientY - _C.I.R.h)))+_C.A2.i;_C.I.R.W.style.width=Math.min(_C.I.R.rdim.max_w,Math.max(_C.I.R.rdim.min_w,(event.clientX - _C.I.R.w)))+_C.A2.i;if(_C.I.R.sor=='1')_C.G.L.I(_C.I.R.O.parentNode);}},R:function(){if(_C.E.chx_ghost.offsetTop>0&&_C.I.R.O!=_C.E.chx_ghost){_C.I.R.O.style.height=(_C.E.chx_ghost.offsetHeight - (_C.I.R.dim.h-_C.I.R.rdim.h)-(_C.I.R.W.gbw*2))+_C.A2.i;_C.I.R.O.style.width=(_C.E.chx_ghost.offsetWidth - (_C.I.R.dim.w-_C.I.R.rdim.w)-(_C.I.R.W.gbw*2))+_C.A2.i;}_env.cancelEvent();if(_C.I.R.O&&_C.I.R.O.parentNode)_C.G.L.I(_C.I.R.O.parentNode);var w=getParent(_C.I.R.O,_C.A4.s,_C.A2.j);if(w&&w.id&&window[w.id]&&window[w.id][_C.A2.y]){try{eval(window[w.id][_C.A2.y](_C.I.R.O.offsetHeight,_C.I.R.O.offsetWidth));}catch(e){};}_C.E.chx_ghost.style.top=-9999+_C.A2.i;_C.E.chx_ghost.releaseCapture();_C.I.R.O =_C.I.R.dim=null;document.detachEvent(_C.A2.t,_C.I.R.R);document.detachEvent(_C.A2.v,_C.I.R.M);},m:function(t,l,h,w){if(!_C.I.R.lr)return;for(var i=0,il=_C.I.R.lr.length;i<il;i++){var e1=_C.I.R.lri['e_'+i];var e2=_C.I.R.lr[i];if(e1.t>t&&e1.t<(t+h)&& e1.l>l&&e1.l<(l+w)){e2.className='chx_lasso_cptrd';e2.parentNode.active.push(e2);}else if(e2.parentNode.active.length&&e2.parentNode.active.indexOf(e2)>-1){e2.className='';e2.parentNode.active=e2.parentNode.active.subtract([e2]);}}if(t==0&&l==0&&h==0&&w==0){_C.I.R.lri =_C.I.R.lr=null;}}},Y:{I:function(D){_C.G.M.C1(false,1);var t=getParent(D,_C.A4.i,'track');var d=getParent(D,_C.A4.r,_C.A2.j);if(!d||event.button==2)return;var iW=d.getAttribute(_C.A4.g)!='twin'||_C.I.R.sod=='1';if(t&&iW&&d.getAttribute(_C.A2.g)!='xdfs'&&!d.getAttribute('_zonedrag')){_C.I.Y.trk=t;_C.I.Y.hndl=getParent(D,_C.A4.j,'handle');if(t.nodeName.toLowerCase().indexOf('vreg')>-1){_C.I.Y.tvb=getChild(t,_C.A1.z,'bs');_C.I.Y.tvb.hh=parseInt(_C.I.Y.hndl.offsetHeight/2);_C.I.Y.tvb.pb=parseInt(_C.I.Y.tvb.currentStyle.paddingBottom);_C.I.Y.tvb.mb=parseInt(_C.I.Y.tvb.currentStyle.marginBottom);}if(t.nodeName.toLowerCase().indexOf('hreg')>-1){_C.I.Y.thb=getChild(t,_C.A1.z,'bs');_C.I.Y.thb.hw=parseInt(_C.I.Y.hndl.offsetWidth/2);_C.I.Y.thb.pl=parseInt(_C.I.Y.thb.currentStyle.paddingLeft);}_C.I.Y.o=(_C.I.Y.hndl.getAttribute(_C.A4.m))?_C.I.Y.hndl:d;_C.I.Y.dim=getDim(t);_C.I.Y.hdim=getDim(_C.I.Y.hndl,_C.A4.r,_C.A2.j);if(_C.I.Y.hndl.className.indexOf('frm_dvdr')>-1)_C.G.L.I(getParent(t,_C.A1.t));if(_env.ie){_C.I.Y.o.unselectable =_C.I.Y.trk.unselectable =_C.I.Y.hndl.unselectable='on';}if(_C.I.Y.o.currentStyle.position!='absolute'){_C.I.Y.o.style.position='absolute';_C.I.Y.o.style.top=parseInt(_C.I.Y.hdim.t-(t.getAttribute(_C.A4.u)=='1'?_C.I.Y.hdim.h/2:0))+_C.A2.i;_C.I.Y.o.style.left=parseInt(_C.I.Y.hdim.l-(t.getAttribute(_C.A4.v)=='1'?_C.I.Y.hdim.w/2:0))+_C.A2.i;_C.I.Y.o.style.height=parseInt(_C.I.Y.hdim.h-parseInt(_C.I.Y.o.currentStyle.paddingTop)-parseInt(_C.I.Y.o.currentStyle.paddingBottom))+_C.A2.i;_C.I.Y.o.style.width=parseInt(_C.I.Y.hdim.w-parseInt(_C.I.Y.o.currentStyle.paddingRight)-parseInt(_C.I.Y.o.currentStyle.paddingLeft))+_C.A2.i;}var my=_C.I.Y.hndl.getAttribute('_min_max_y');var mx=_C.I.Y.hndl.getAttribute('_min_max_x');_C.I.Y.dim.min_y=(my)?my.split(',')[0]:0;_C.I.Y.dim.max_y=(my)?my.split(',')[1]:t.offsetHeight - (parseInt(t.currentStyle.borderTopWidth)|| 0)- (parseInt(t.currentStyle.borderBottomWidth)|| 0)- _C.I.Y.o.offsetHeight;_C.I.Y.dim.min_x=(mx)?mx.split(',')[0]:0;_C.I.Y.dim.max_x=(mx)?mx.split(',')[1]:t.offsetWidth - (parseInt(t.currentStyle.borderLeftWidth)|| 0)- (parseInt(t.currentStyle.borderRightWidth)|| 0)- _C.I.Y.o.offsetWidth;_C.I.Y.t=(event.offsetY<0||event.offsetY>_C.I.Y.hdim.t+_C.I.Y.hdim.h)?parseInt(_C.I.Y.hdim.h/2):event.offsetY+_C.I.Y.hdim.t+(_env.ie?parseInt(_C.I.Y.hndl.currentStyle.paddingTop):0);_C.I.Y.l=(event.offsetX<0||event.offsetX>_C.I.Y.hdim.l+_C.I.Y.hdim.w)?parseInt(_C.I.Y.hdim.w/2):event.offsetX+_C.I.Y.hdim.l+(_env.ie?parseInt(_C.I.Y.hndl.currentStyle.paddingLeft):0);if(_env.ie){if(_C.I.Y.o!=_C.I.Y.hndl){var q=getDim(_C.I.Y.hndl,_C.A4.r,_C.A2.j);_C.I.Y.t -= q.t;_C.I.Y.l -= q.l;}}_C.G.C(_C.I.Y.hndl,'down');}else{_C.I.Y.dim=getDim(d);_C.I.Y.tdim=(!t)?{t:2,l: 2}:getDim(d.parentNode);_C.I.Y.dim.min_y=(!t)?0:_C.I.Y.tdim.t+2;_C.I.Y.dim.max_y=(!t)?0:_C.I.Y.tdim.t+t.offsetHeight - (parseInt(t.currentStyle.borderTopWidth)|| 0)- (parseInt(t.currentStyle.borderBottomWidth)|| 0)- d.offsetHeight+2;_C.I.Y.dim.min_x=(!t)?0:_C.I.Y.tdim.l+2;_C.I.Y.dim.max_x=(!t)?0:_C.I.Y.tdim.l+t.offsetWidth - (parseInt(t.currentStyle.borderLeftWidth)|| 0)- (parseInt(t.currentStyle.borderRightWidth)|| 0)- d.offsetWidth+2;/*if(_C.I.R.lr&&_C.I.R.lr.indexOf(d)==-1)_C.I.R.m(0,0,0,0);*/_C.I.Y.O=d;_C.I.Y.W=(_C.I.R.sod=='1'&&d.getAttribute(_C.A2.g)!='xdfs'&&!d.getAttribute('_zonedrag'))?d:_C.E.chx_ghost;if(d.getAttribute(_C.A2.g)=='xdfs'||(d.getAttribute('_zonedrag')&& _C.I.R.sod=='1')|| _C.I.Y.O.getAttribute(_C.A3.e)){if(!_env.ie){d.style.MozUserSelect='none';d.style.WebkitUserSelect='none';}var w=getParent(d,_C.A1.t);var ic=_C.E.chx_ghost.appendChild(d.cloneNode(true));ic.style.position='static';_C.E.chx_ghost.className='xdfs_ghost';if(w&&w.id)_C.E.chx_ghost.setAttribute(_C.A2.n,w.id);_C.E.chx_ghost.className=(d.getAttribute(_C.A3.e)=='clone'||d.getAttribute(_C.A2.g)=='xdfs')?'chx_ghost clone_ghost':'chx_ghost self_ghost';}_C.E.chx_ghost.style.width=(d.offsetWidth-2)+_C.A2.i;_C.E.chx_ghost.style.height=(d.offsetHeight-2)+_C.A2.i;_C.E.chx_ghost.setCapture();_C.I.Y.t=event.clientY - _C.I.Y.dim.t;_C.I.Y.l=event.clientX - _C.I.Y.dim.l;}_env.cancelEvent();document.attachEvent(_C.A2.v,_C.I.Y.M);document.attachEvent(_C.A2.t,_C.I.Y.R);},M:function(){if(_C.I.Y.O&&!_C.I.Y.O.zI){var dmi,fr,fs=_C.I.Y.O.getAttribute(_C.A2.g)=='xdfs';var a=_C.I.Y.O.getAttribute(_C.A3.g);if(a||fs){var f=(a)?eval(a.replace(/\(\);/,'')):false;if(typeof(f)==_C.A4.b||fs){fr=(fs)?_C.I.Y.O.parentNode.active:f(_C.I.Y.O);if(typeof(fr)==_C.A4.a&&fr.length){for(var i=0;i<fr.length;i++){if(_C.I.Y.O==fr[i])continue;var ic=_C.E.chx_ghost.appendChild(fr[i].cloneNode(true));ic.style.top=(parseInt(fr[i].currentStyle.top)- parseInt(_C.I.Y.O.currentStyle.top))+_C.A2.i;ic.style.left=(parseInt(fr[i].currentStyle.left)- parseInt(_C.I.Y.O.currentStyle.left))+_C.A2.i;ic.style.position='absolute';ic.style.zIndex=fr[i].currentStyle.zIndex;fr[i].ic=ic;if(_C.I.Y.O.getAttribute(_C.A3.e)=='self')fr[i].style.display='none';}_C.E.chx_ghost.fr=fr;}dmi=fr==false;}if(dmi)return _C.I.Y.R();}_C.I.Y.O.zI=_C.I.Y.O.currentStyle.zIndex;if(_C.I.Y.O.getAttribute(_C.A3.e)=='self'||(_C.I.R.sod=='1'&&_C.I.Y.O.getAttribute('_zonedrag'))&& !_C.I.Y.O.getAttribute(_C.A3.e)){_C.I.Y.O.style.display='none';_C.E.chx_ghost.className='chx_ghost self_ghost';}if(_C.I.Y.O.getAttribute('_zonedrag')){_C.I.Y.O.style.zIndex=2199;var dz=getChildren(document.body,'_dropzone',_C.I.Y.O.getAttribute('_zonedrag'));for(var i=0,il=dz.length;i<il;i++){if(dz[i]==_C.I.Y.O)continue;var od=getDim(dz[i]);var s=_C.E.chx_diz.appendChild(_C.Dv.cloneNode(false));s.dz=dz[i];s.style.top=od.t+_C.A2.i;s.style.left=od.l+_C.A2.i;s.style.width=Math.abs(od.w)+_C.A2.i;s.style.height=Math.abs(od.h)+_C.A2.i;}_C.I.Y.dim.min_y =_C.I.Y.dim.max_y =_C.I.Y.dim.min_x =_C.I.Y.dim.max_x=0;}}if(_C.I.Y.trk){var h,p='';var m=_C.I.Y.hndl.getAttribute(_C.A3.a);var c=_C.I.Y.trk.getAttribute(_C.A3.b);if(_C.I.Y.trk.getAttribute(_C.A4.u)){var t=Math.min(Math.max((event.clientY - _C.I.Y.dim.t - _C.I.Y.t),_C.I.Y.dim.min_y),_C.I.Y.dim.max_y);_C.I.Y.o.style.top=t+_C.A2.i;if(_C.I.Y.tvb){h=_C.I.Y.trk.offsetHeight-_C.I.Y.tvb.pb-_C.I.Y.tvb.hh-t;_C.I.Y.tvb.style.top=(t-_C.I.Y.tvb.pb+_C.I.Y.tvb.hh)+_C.A2.i;_C.I.Y.tvb.style.height=(h-_C.I.Y.tvb.mb)+_C.A2.i;}p+=(t||'0');}if(_C.I.Y.trk.getAttribute(_C.A4.v)){var l=Math.min(Math.max((event.clientX - _C.I.Y.dim.l - _C.I.Y.l),_C.I.Y.dim.min_x),_C.I.Y.dim.max_x);_C.I.Y.o.style.left=l+_C.A2.i;if(_C.I.Y.thb){_C.I.Y.thb.style.width=(l-_C.I.Y.thb.pl+_C.I.Y.thb.hw)+_C.A2.i;}p+=','+(l||'0');}if(m)eval(m+'('+p+');');if(c)eval(c)(_C.I.Y.trk,(h?h:l)||0);}else if(_C.I.Y.O){var s=event.srcElement;if(_C.E.chx_diz.gd&&((s&&!s.dz)|| _C.E.chx_diz.gd!=s)){_C.E.chx_diz.gd.dz.className=_C.E.chx_diz.gd.dz.className.replace(/chx_dz_over/ig,'');_C.E.chx_diz.gd=null;}if((s&&s.dz)&& _C.E.chx_diz.gd!=s){s.dz.className=s.dz.className.replace(/chx_dz_over/ig,'')+' chx_dz_over';_C.E.chx_diz.gd=s;}var t=event.clientY - _C.I.Y.t;var l=event.clientX - _C.I.Y.l;_C.I.Y.W.style.top=((_C.I.Y.dim.max_y==0)?t:Math.min(Math.max(t,_C.I.Y.dim.min_y),_C.I.Y.dim.max_y))+_C.A2.i;_C.I.Y.W.style.left=((_C.I.Y.dim.max_x==0)?l:Math.min(Math.max(l,_C.I.Y.dim.min_x),_C.I.Y.dim.max_x))+_C.A2.i;if(window[_C.I.Y.W.id]&&window[_C.I.Y.W.id][_C.A3.a])window[_C.I.Y.W.id][_C.A3.a](t,l);}},R:function(){var dmi,fr,od;var o={y:_C.E.chx_ghost.offsetTop,x:_C.E.chx_ghost.offsetLeft};if(_C.I.Y.O&&_C.I.Y.O.getAttribute(_C.A3.e)=='self'||(_C.I.R.sod=='1'&&_C.I.Y.O.getAttribute('_zonedrag')))_C.I.Y.O.style.display='';if(_C.E.chx_ghost.fr&&_C.E.chx_ghost.fr.length){for(var i=0;i<_C.E.chx_ghost.fr.length;i++){_C.E.chx_ghost.fr[i].style.display='';}}if(_C.E.chx_diz.gd){od=_C.E.chx_diz.gd.dz;}else{var t=getChild(_C.E.chx_diz,_C.A1.z,_C.A2.m);if(t)od=t.dz;}if(od){var a=od.getAttribute(_C.A2.w);var f=(a)?eval(a.replace(/\(\);/,'')):null;var frl=new Array(_C.I.Y.O);if(_C.E.chx_ghost.fr)frl=_C.E.chx_ghost.fr.concat(frl);if(_C.E.chx_diz.gd){if(typeof(f)==_C.A4.b){fr=f(_C.E.chx_diz.gd.dz,frl,o);dmi=(fr==false);}_C.E.chx_diz.gd.dz.className=_C.E.chx_diz.gd.dz.className.replace(/chx_dz_over/ig,'');_C.E.chx_diz.gd=null;}else{if(typeof(f)==_C.A4.b){f(null,frl,o);dmi=true;}}}_C.E.chx_ghost.setAttribute(_C.A2.n,'chx_ghost');_C.E.chx_ghost.className='chx_ghost';if(_C.I.Y.O&&_C.I.Y.O.zI){_C.I.Y.O.style.zIndex=_C.I.Y.O.zI;_C.I.Y.O.zI=null;}if(!dmi&&_C.E.chx_ghost.offsetTop>0){if(typeof(frl)==_C.A4.a&&frl.length>1){for(var t=0;t<frl.length;t++){frl[t].style.top=((typeof(fr)==_C.A4.a&&typeof(fr.y)==_C.A4.e)?fr.y:(o.y-_C.I.Y.tdim.t-2+((frl[t].ic)?frl[t].ic.offsetTop:0)))+_C.A2.i;frl[t].style.left=((typeof(fr)==_C.A4.a&&typeof(fr.x)==_C.A4.e)?fr.x:(o.x-_C.I.Y.tdim.l-2+((frl[t].ic)?frl[t].ic.offsetLeft:0)))+_C.A2.i;}}else{_C.I.Y.O.style.top=((typeof(fr)==_C.A4.a&&typeof(fr.y)==_C.A4.e)?fr.y:(o.y-_C.I.Y.tdim.t-2))+_C.A2.i;_C.I.Y.O.style.left=((typeof(fr)==_C.A4.a&&typeof(fr.x)==_C.A4.e)?fr.x:(o.x-_C.I.Y.tdim.l-2))+_C.A2.i;}if(window[_C.I.Y.O.id]&&window[_C.I.Y.O.id][_C.A3.a])window[_C.I.Y.O.id][_C.A3.a](_C.E.chx_ghost.offsetTop,_C.E.chx_ghost.offsetLeft);}_C.E.chx_ghost.innerHTML =_C.E.chx_diz.innerHTML='';if(_C.I.Y.o){var l=_C.I.Y.o.getAttribute(_C.A4.m);switch (l){case 'left':case 'top':var e=getPrevious(_C.I.Y.o,_C.A4.m);var L=parseInt(e[l=='top'?'offsetTop':'offsetLeft']);e.style[l=='top'?'height':'width']=(parseInt(_C.I.Y.o.currentStyle[l])-1-L)+_C.A2.i;break;case 'bottom':case 'right':var e=getNext(_C.I.Y.o,_C.A4.m);var p=parseInt(_C.I.Y.o.currentStyle[l=='bottom'?'top':'left']);var h=parseInt(_C.I.Y.trk.currentStyle[l=='bottom'?'height':'width']);var L=parseInt(e[l=='bottom'?'offsetTop':'offsetLeft']);var W=parseInt(e[l=='bottom'?'offsetHeight':'offsetWidth']);e.style[l=='bottom'?'height':'width']=(h-p-(h-L-W)-_C.I.Y.hdim[l=='bottom'?'h':'w'])+_C.A2.i;break;}var cn=_C.I.Y.hndl.className.split(' ');_C.I.Y.hndl.className=_C.I.Y.hndl.className.slice(0,-1*(cn[cn.length-1].length+1));if(_C.I.Y.hndl.className.indexOf('frm_dvdr')>-1)_C.G.L.I(_C.I.Y.trk.parentNode);}_C.E.chx_ghost.style.top=-9999+_C.A2.i;_C.E.chx_ghost.releaseCapture();_C.E.chx_ghost.fr =_C.I.Y.o =_C.I.Y.hndl =_C.I.Y.trk =_C.I.Y.dim =_C.I.Y.tdim =_C.I.Y.thb =_C.I.Y.tvb =_C.I.Y.O=null;document.detachEvent(_C.A2.t,_C.I.Y.R);document.detachEvent(_C.A2.v,_C.I.Y.M);}},F:{i:1,B:{},sI:{a:[]},vI:function(i){return /^.{8}-.{4}-.{4}-.{4}-.{12}$/.test(i)},Mf:function(t,f,o){if(!t||!f)return;var ti=(typeof(t)==_C.A4.a)?t.getAttribute(_C.A5.n):t;var fi=(typeof(f)==_C.A4.a)?f[0].getAttribute(_C.A5.n):f;ti=(t==_C.E.chx_icon)?_C.E.chx_icon.getAttribute(_C.A5.o):ti;var xt=_C.I.F.fI(ti);var xf=_C.I.F.fI(fi);if(xf.getAttribute('sys:tmpfile')=='1'){var ic=getChild(f[0],'nodeName','i48');var t=_C.I.F.C.N(100,ti,xf.getAttribute('title'),xf.getAttribute('data'),null,null,null,o,ic.className.slice(4));return false;}/*if(xt.getAttribute(_C.A2.n)==xf.getAttribute('pId'))return false;*/if(xt.getAttribute('ftId')=='99'){var Td=_C.X.L(xt.getAttribute('data')).documentElement;return _C.I.F.Mf(_C.I.F.Si(Td.getAttribute(_C.A3.x)),fi);}var xs=xf.parentNode;var xsi=xs.getAttribute(_C.A2.n);var xti=xf.getAttribute('pId');if(ti==xsi&&t!=_C.E.chx_icon)return false;if((parseInt(xf.getAttribute('ftId'))<30||parseInt(xf.getAttribute('ftId'))==99||xf.getAttribute('sId'))&& ti!=xti){_C.H.C("msgbox -a '"+_C.H.C("sys -lng 'err_307.1' '"+xf.getAttribute('title')+"'")+"' null 'attention'");return false;}if(ti==fi){_C.H.C("msgbox -a '"+_C.H.C("sys -lng 'err_307.2' '"+xf.getAttribute('title')+"'")+"' null 'attention'");return false;}if(ti!=xsi){var c=Math.max(new Number(xs.getAttribute('hc'))-1,0);xs.setAttribute('hc',c);_C.I.F.P(xsi,'hc',c);var fe=getChild(document.body,_C.A5.n,fi);fe.parentNode.removeChild(fe);}xt.appendChild(xf);var c=new Number(xt.getAttribute('hc'))+1;xt.setAttribute('hc',c);_C.I.F.P(ti,'hc',c);_C.I.F.P(fi,'pId',ti);var o=(t==_C.E.chx_icon)?o:false;if(ti!=xsi)_C.I.F.U(xf,o);if(ti==_C.I.F.Si('user.trash')|| xti==_C.I.F.Si('user.trash'))_C.I.F.tT();},tT:function(){_C.I.F.P(_C.I.F.sI['user.trash'].getAttribute(_C.A2.n),'icon',((parseInt(_C.I.F.sI['user.trash'].getAttribute('hc'))>0||_C.I.F.sI['user.trash'].hasChildNodes())?'full_trash':'empty_trash'));_C.I.F.U(_C.I.F.sI['user.trash']);},I:function(){var s=_C.X.Q('//xdfs//*[@sId!=""]',1);for(var i=0,il=s.length;i<il;i++){_C.I.F.sI.a.push(s[i].getAttribute('sId'));}for(var i=0,il=_C.I.F.sI.a.length;i<il;i++){_C.I.F.sI[_C.I.F.sI.a[i]]=_C.X.Q('//xdfs//*[@sId="'+_C.I.F.sI.a[i]+'"]');}var D=_C.S.D(3);var s=_C.X.Q('//xapps//*[@sys:spId]',1);var iS=new Array();for(var i=0,il=s.length;i<il;i++){var p=_C.I.F.sI[s[i].getAttribute(_C.A3.w)];if(!p)continue;var pI=p.getAttribute(_C.A2.n);var d=_C.I.F.C.D(100,'temp',s[i].getAttribute('title'));var a=s[i].getAttribute(_C.A2.n);d.setAttribute('sys:target',a);var nF=_C.I.F.C.N(100,pI,s[i].getAttribute('title'),null,'temp');nF.setAttribute('data',d.xml);nF.setAttribute('sys:overlay','0');nF.setAttribute('sys:tmpfile','1');nF.setAttribute('modDate',D);if(s[i].getAttribute('icon'))nF.setAttribute('icon',s[i].getAttribute('icon'));if(s[i].getAttribute('ud_icon')){nF.setAttribute('icon','app_'+a);iS.push(a);iS.push(s[i].getAttribute('ud_icon'));}nF.removeAttribute(_C.A3.y);p.appendChild(nF);}_C.S.Aai(iS);var r=_C.X.Q('//xdfs//_dfs[@sId="user.root"]');_C.I.F.O(r);_C.H.R.D.setAttribute('match','//xdfs//_dfs[@sId="user.desktop"]');_C.X.R(_C.H.l,_C.G.xsl,_C.E.chx_icon);_C.H.R.D.removeAttribute('match');_C.I.F.tT();_C.E.chx_icon.setAttribute(_C.A5.o,_C.I.F.sI['user.desktop'].getAttribute(_C.A2.n));},O:function(x){var X=_C.X.Q('//xdfs//*[@pId="'+x.getAttribute(_C.A2.n)+'"]',true);for(var i=0,il=X.length;i<il;i++){var a=X[i].getAttribute('args');if(a){a=a.split(':');X[i].setAttribute(_C.A3.v,a[0]);X[i].setAttribute(_C.A3.u,a[1]);}if(X[i].getAttribute(_C.A3.t)==''){var tN=_C.X.Q('//xft_lng/*[@id="'+X[i].getAttribute('ftId')+'"]');X[i].setAttribute(_C.A3.t,(tN)?tN.getAttribute('str'):_C.H.C("sys -lng unknown"));}if(X[i].getAttribute(_C.A2.c)>0)X[i].setAttribute(_C.A3.z,parseInt(X[i].getAttribute(_C.A2.c)/1024));var tmp=x.appendChild(X[i]);_C.I.F.O(tmp);}},c:function(el){var s=el||event.srcElement;var f=getParent(s,_C.A2.g,'xdfs');if(!f)return;var i=f.getAttribute(_C.A5.n);var F=_C.I.F.fI(i);var t=F.getAttribute('ftId');var ow=_C.I.F.M(t,'ow');if(ow=='finder'||t==99){var a=getParent(f,_C.A1.t);ow=(a.nodeName=='BODY')?ow:a.id;}_C.I.F.L(i,ow);},M:function(i,a){a=a||'pfx';var M=_C.X.Q('//xmime//*[@ftId="'+i+'"]');var r=M.getAttribute(a);if(a=='ctx')return M;if(a=='pfx')r=(r!=null)?'.'+r:'';return r;},P:function(s){var x=_C.I.F.fI(s);if(!x)return;var xU=x.getAttribute(_C.A3.y)|| '';for(var i=1,il=arguments.length;i<il;i++){if(i%2==0)continue;_C.I.F.Pu(arguments[0],arguments[i],arguments[i+1]);x.setAttribute(arguments[i],arguments[i+1]);xU+=(xU=='')?'':',';xU+=arguments[i];}x.setAttribute(_C.A3.y,xU);_C.I.F.Q();},Pu:function(I,a,v){var H=getChildren(document.body,_C.A5.n,I);switch (a){case 'icon':for(var i=0,il=H.length;i<il;i++){if(H[i].nodeName.toLowerCase().indexOf('nav')>-1)continue;var j=getChildren(H[i],'className');j=(H[i].nodeName.toLowerCase().indexOf('i48')>-1||H[i].nodeName.toLowerCase().indexOf('i24')>-1)?j[0]:j[1];j.className=j.className.slice(0,4)+v;}if(I==_C.I.F.sI['user.trash'].getAttribute(_C.A2.n)){var Ti=_C.X.Q('//xdfs//*[@sId="user.desktop"]/*[@ftId=99]',1);for(var i=0,il=Ti.length;i<il;i++){var Td=_C.X.L(_C.X.H(Ti[i].getAttribute('data'))).documentElement;if(Td.getAttribute(_C.A3.x)!='user.trash')continue;var e=getChild(_C.E.chx_icon,_C.A5.n,Ti[i].getAttribute(_C.A2.n));var j=getChild(e,'className');j.className=j.className.slice(0,4)+v;}}break;case 'title':for(var i=0,il=H.length;i<il;i++){getChild(H[i],_C.A1.z,_C.A1.m).innerHTML=v;}break;}},DL:function(I){var I=(typeof(I)==_C.A4.a)?I.getAttribute(_C.A5.n):I;var F=_C.I.F.fI(I);if(F&&_C.I.F.M(F.getAttribute('ftId'),'dl')!='1')return _C.H.C("msgbox -a '"+_C.H.C("sys -lng 'err_309'")+"' null 'attention'");_C.E.chx_dl_pipe.src=(F)?'/sys/php/file.php?dlfId='+F.getAttribute(_C.A2.n):'/sys/php/file.php?dlfp='+I;},fI:function(I){if(I)return _C.X.Q('//xdfs//*[@id="'+I+'"]');},Si:function(s){if(!s)return _C.X.Q('//xdfs//*[@sId!=""]',true);var x=_C.X.Q('//xdfs//*[@sId="'+s+'"]');return (x)?x.getAttribute(_C.A2.n):_C.H.C("sys -e '308'");},Cp:function(){var f=_C.I.F.fI(_C.G.M.ctxt.origin.getAttribute(_C.A5.n));_C.Cb.fs={};_C.Cb.fs.d=1;_C.Cb.fs.a=[f];},Ct:function(){var I=_C.G.M.ctxt.origin.getAttribute(_C.A5.n);var F=_C.I.F.fI(I);if(F.getAttribute('uId')!=_C.S.U.I(_C.A2.n))return _C.H.C("msgbox -a '"+_C.H.C("sys -lng 'onaffect_file' '"+F.getAttribute('title')+"'")+"'");var f=_C.I.F.fI(I);_C.Cb.fs={};_C.Cb.fs.d=2;_C.Cb.fs.a=[f];},Ps:function(){if(!_C.Cb.fs)return;var o=_C.G.M.ctxt.origin;var a=getParent(o,_C.A1.t);var t=getChild(a,_C.A5.o);switch (_C.Cb.fs.d){case 1:_C.Cb.fs.a.foreach(function(f){var r=_C.X.Aq(_C.X.c('F04'));r.setAttribute(_C.A3.p,f.getAttribute(_C.A2.n));r.setAttribute(_C.A3.o,_C.Cb.fs.d+'|'+t.getAttribute(_C.A5.o)+'|'+ f.getAttribute('pId'));});break;case 2:_C.Cb.fs.a.foreach(function(f){var r=_C.X.Aq(_C.X.c('F03'));r.setAttribute(_C.A3.p,f.getAttribute(_C.A2.n));r.setAttribute(_C.A3.o,_C.Cb.fs.d+'|'+t.getAttribute(_C.A5.o)+'|'+ f.getAttribute(_C.A2.n));r.setAttribute('pId',t.getAttribute(_C.A5.o));});break;}_C.X.X(_C.I.F.Cc);_C.Cb.fs=null;},Cc:function(r){var ui=_C.S.U.I();var f=r.selectNodes('//_dfs');for(var i=0;i<f.length;f++){var rI=f[i].getAttribute('rsp:envelope')|| f[i].parentNode.getAttribute('rsp:id');if(!rI)continue;var e=rI.split('|');var P=_C.I.F.fI(e[1]);switch (e[0]){case '1':var F=P.appendChild(f[i].cloneNode(false));var I='_new_'+_C.I.F.i++;F.setAttribute(_C.A2.n,I);F.setAttribute('pId',e[1]);F.setAttribute('rId',ui.rId);F.setAttribute('uId',ui.id);var nf=_C.X.Aq(F.cloneNode(false));nf.setAttribute(_C.A2.n,'$UUID$');nf.setAttribute(_C.A3.n,'A1');nf.setAttribute(_C.A3.o,I);nf.setAttribute('data',_C.X.H(F.getAttribute('data')));_C.I.F.C.Cb.t=f[i].getAttribute('title');_C.I.F.C.Cb.e=I;_C.X.X(_C.I.F.C.Cb.A);break;case '2':var O=_C.I.F.fI(e[2]);var S=O.parentNode;var v=getChildren(document.body,_C.A5.o,S.getAttribute(_C.A2.n));for(var j=0,jl=v.length;j<jl;j++){if(v[j]==_C.E.chx_icon){var t=getChild(_C.E.chx_icon,_C.A5.n,e[2]);if(t)t.parentNode.removeChild(t);}}O.setAttribute('pId',e[1]);P.appendChild(O);_C.I.F.U(O);_C.I.F.U(S);break;}}},C:{N:function(T,P,n,D,cb,I,sI,ox,cn){var c=_C.I.F.i++;var o=ox||_C.G.M.ctxt;var ui=_C.S.U.I();if(!P){var a=getParent(o.origin,_C.A1.t);var v=getChild(a,_C.A5.o);P=v.getAttribute(_C.A5.o);if(P==_C.I.F.sI['user.desktop'].getAttribute(_C.A2.n)&& v!=_C.E.chx_icon){o.x=30;o.y=50;}}o =(ox)?ox:o;var I=I||'_new_'+c;var P=P||getChild(o.origin,_C.A5.o).getAttribute(_C.A5.o);var F=_C.X.Q('//swap_dfs//*[@id="_new_"]').cloneNode(false);var tN=_C.X.Q('//xft_lng/*[@id="'+T+'"]');var t=n||_C.S.L('new')+' '+_C.S.L(T);var x=_C.I.F.fI(P);var B=_C.I.F.C.D(T,I,t,D);B.removeAttribute(_C.A3.q);B.removeAttribute(_C.A3.r);B.removeAttribute(_C.A3.s);B=B.xml;if(sI)F.setAttribute('sId',sI);if(cn)F.setAttribute('icon',cn);F.setAttribute(_C.A2.n,I);F.setAttribute('pId',P);F.setAttribute('uId',ui.id);F.setAttribute('rId',ui.rId);F.setAttribute('ftId',T);F.setAttribute('acl','0');F.setAttribute('backup','0');F.setAttribute('title',t);F.setAttribute('hc','0');F.setAttribute(_C.A3.t,(tN)?tN.getAttribute('str'):_C.H.C("sys -lng unknown"));if(cb!='temp')F.setAttribute(_C.A3.y,'id:pId:uId:rId:size:icon:data');F.setAttribute('data',B);F.setAttribute(_C.A2.c,B.length);if(x.getAttribute('sId')=='user.desktop'){F.setAttribute('args',o.y+':'+o.x);F.setAttribute(_C.A3.u,o.x);F.setAttribute(_C.A3.v,o.y);}if(cb=='temp'){F.setAttribute(_C.A2.n,cb+'_'+c);return F;}x.appendChild(F);_C.I.F.P(I,'title',t);_C.I.F.C.Cb.t=t;_C.I.F.C.Cb.e=I;_C.I.F.C.Cb.c=cb;_C.X.X(_C.I.F.C.Cb.A);if(I.slice(0,5)=='_new_')return I;},D:function(T,I,n,D){var I=(I&&I.slice(0,4)=='_new'&&parseInt(I.slice(5))+1!=_C.I.F.i)?I+_C.I.F.i++:I||'';var M=_C.X.Q('//xmime//*[@ftId="'+T+'"]');var m=(!M||T<101)?'dfs':M.getAttribute('ow');var z=m+':data';var s=(D&&D.substr(1,z.length)==z)?D:'<'+m+':data xmlns:'+m+'="'+m+'.'+_C.A1.l+'.com" xmlns:sys="sys.'+_C.A1.l+'.com" sys:id="'+I+'" sys:ftId="'+T+'" sys:title="'+_C.X.E(n||'')+'">'+(D||'')+'</'+m+':data>';var t=_C.X.L(s).documentElement;return (t)?t:_C.H.C("sys -e 306");},Cb:{A:function(r){var n=r.selectSingleNode('//*[@rsp:envelope="'+_C.I.F.C.Cb.e+'"]');var F=_C.H.C("xml -q '//xdfs//*[@id=\""+_C.I.F.C.Cb.e+"\"]'");if(n&&F){var i=n.getAttribute('rsp:insertId');var c=new Number(F.parentNode.getAttribute('hc'))+1;F.setAttribute(_C.A2.n,i);F.setAttribute('modDate',n.getAttribute('rsp:creDate'));F.parentNode.setAttribute('hc',c);_C.I.F.P(F.parentNode.getAttribute(_C.A2.n),'hc',c);_C.I.F.U(F);}if(typeof(_C.I.F.C.Cb.c)==_C.A4.b)_C.I.F.C.Cb.c(_C.I.F.C.Cb.e,i,_C.I.F.C.Cb.t);_C.I.F.R(r);}}},Ls:function(S,A){var lf=_C.X.Q('//xdfs//*[@sId="'+S+'"]');if(!lf)return _C.H.C("sys -e '308'");return _C.I.F.L(lf.getAttribute(_C.A2.n),A);},L:function(I,A){if(typeof(I)==_C.A4.a&&I.getAttribute(_C.A5.n))return _C.I.F.L(I.getAttribute(_C.A5.n),A);var x=_C.I.F.fI(I);if(x&&x.getAttribute('ftId')>100&&x.getAttribute('data')){var X=_C.X.L(x.getAttribute('data')).documentElement;X.setAttribute(_C.A3.q,I);X.setAttribute(_C.A3.r,x.getAttribute('ftId'));X.setAttribute(_C.A3.s,x.getAttribute('title'));x.removeAttribute('data');_C.I.F.B[I]=X;if(!A)return _C.I.F.B[I];_C.G.W.B(A);return _C.H.C(A+" -o '"+I+"'");}if(_C.I.F.B[I]!=null){var X=_C.I.F.B[I];_C.I.F.B[I]=null;if(typeof(A)==_C.A4.b)A(_C.I.F.B[I]);else if(typeof(A)==_C.A4.c)return _C.H.C(A+"-p %"+_C.I.F.B[I]+"%");return X;}var C={A:A,f:function(R){if(!R)return;if(R.nodeName!=_C.A4.q){var t=R.selectNodes('//_dfs[@rsp:affectedRows]');for(var i=0;i<t.length;i++)t[i].parentNode.removeChild(t[i]);var e=R.selectNodes('//xcs:envelope');if(!e.length)return;var ec=e[0].selectSingleNode('./_dfs');var fx=R.selectNodes('//_dfs');if((fx.length>0&&fx[0].getAttribute('ftId')<99)|| (ec&&e[0].getAttribute('rsp:id')!=ec.getAttribute(_C.A2.n))|| (ec&&ec.getAttribute('ftId')<99)){var lf=_C.I.F.sI['user.lost_found'];for(var i=0,il=fx.length;i<il;i++){var fC=R.selectNodes('//_dfs[@pId="'+fx[i].getAttribute(_C.A2.n)+'"]');var tN=_C.X.Q('//xft_lng/*[@id="'+fx[i].getAttribute('ftId')+'"]');fx[i].setAttribute(_C.A3.t,(tN)?tN.getAttribute('str'):_C.H.C("sys -lng unknown"));fx[i].setAttribute('hc',fx[i].getAttribute('hc')|| fC.length);for(var j=0,jl=fC.length;j<jl;j++){fx[i].appendChild(fC[j].cloneNode(true));fC[j].parentNode.removeChild(fC[j]);}var fP=R.selectSingleNode('//_dfs[@id="'+fx[i].getAttribute('pId')+'"]');if(fP){fP.appendChild(fx[i].cloneNode(true));fx[i].parentNode.removeChild(fx[i]);}}var E=R.selectNodes('//xcs:envelope/_dfs');for(var i=0,il=E.length;i<il;i++){var P=_C.I.F.fI(E[i].getAttribute('pId'));if(P){if(!P.selectSingleNode('./_dfs[@id="'+E[i].getAttribute(_C.A2.n)+'"]')){P.appendChild(E[i].cloneNode(true));E[i].parentNode.removeChild(E[i]);}}else{lf.appendChild(E[i].cloneNode(true));E[i].parentNode.removeChild(E[i]);}}var lf=_C.X.Q('//xdfs//*[@id="'+_C.I.F.sI['user.lost_found']+'"]/*',1);for(var i=0,il=lf.length;i<il;i++){var P=_C.I.F.fI(lf[i].getAttribute('pId'));if(P){P.appendChild(lf[i].cloneNode(true));lf[i].parentNode.removeChild(lf[i]);}}var d={};var x=R.selectNodes('//xcs:envelope');for(var i=0,il=x.length;i<il;i++){var ei=x[i].getAttribute('rsp:id');var f=_C.I.F.fI(ei);if(!f||ei in d)continue;var t=f.getAttribute('ftId');var T=x[i].selectSingleNode('./_dfs[@id="'+ei+'"]');if(T){f=_C.X.L(T.getAttribute('data')).documentElement;f.setAttribute(_C.A3.r,t);f.setAttribute(_C.A3.q,T.getAttribute(_C.A2.n));f.setAttribute(_C.A3.s,T.getAttribute('title'));}d[ei]=1;_C.I.F.B[ei]=f;if(typeof(C.A)==_C.A4.b)C.A(_C.I.F.fI(ei));else{var A=_C.I.F.M(t,'ow');_C.G.W.B(A);_C.H.C(A+" -o '"+ei+"'");}}return;}if(typeof(C.A)==_C.A4.b)return C.A(R.selectSingleNode('.//_dfs'));}var xf=(R.nodeName==_C.A4.q)?R:R.selectSingleNode('//_dfs');if(!xf)return;var fT=xf.getAttribute('title');var fD=xf.getAttribute('data');var xT=xf.getAttribute('ftId');fD=(fD!='')?fD:_C.I.F.C.D(xT);var X=_C.X.L(fD).documentElement;var i=xf.getAttribute(_C.A2.n);if(!C.A){switch (xT){case '99':var s=X.getAttribute(_C.A3.x);var I=(s)?_C.H.C("fs -si '"+s+"'"):i;_C.I.F.L(I,xT);return;case '100':var c=X.getAttribute('sys:target');if(!c)return;var F=_C.I.F.fI(c);if(F){C.A=_C.I.F.M(F.getAttribute('ftId'),'ow');_C.G.W.B(C.A);return _C.H.C(C.A+" -o '"+c+"'");}var t=_C.H.C(c);if(!t)return;if(!_C.I.F.vI(c)&& t.indexOf('cli:error')>-1)return _C.H.C("msgbox -a '"+t.stripHTML()+"' 'System Message' 'attention'");_C.I.F.B[c]=null;return _C.I.F.L(c,xT);}}X.setAttribute(_C.A3.q,i);X.setAttribute(_C.A3.r,xT);X.setAttribute(_C.A3.s,fT);_C.I.F.B[i]=X;C.A=(C.A&&parseInt(C.A)!=C.A)?C.A:_C.I.F.M(xT,'ow');_C.G.W.B(C.A);_C.H.C(C.A+" -o '"+i+"'");if($(C.A))_C.H.C('win -r '+C.A);}};var xF=_C.I.F.fI(I);var xT=(xF)?parseInt(xF.getAttribute('ftId')):null;if(I.slice(0,5)=='_new_')return C.f(xF);if(xT&&xT<99&&xT!=22){var a=_C.I.F.M(xT,'ow');if(typeof(A)==_C.A4.b){if(xF.hasChildNodes())A(xF);}else if(A&&A!=a){var fD=xF.getAttribute('data');fD=(fD!='')?fD:_C.I.F.C.D(xT,I).xml;var X=_C.X.L(fD).documentElement;X.setAttribute(_C.A3.q,I);X.setAttribute(_C.A3.r,xT);X.setAttribute(_C.A3.s,xF.getAttribute('title'));_C.I.F.B[I]=X;_C.G.W.B(C.A);return _C.H.C(A+" -o '"+I+"'");}}if((xF&&(xT==99||xT==100)&& xF.getAttribute('data'))|| window[I])return C.f(xF);if(xF&&xT<99&&(xF.getAttribute('hc')=='0'||xF.childNodes.length==xF.getAttribute('hc')))return _C.H.C(((A==parseInt(A))?'finder':A)+" -o '"+I+"'");if(arguments[1]==100){var Rq=_C.X.Aq(_C.X.c('F05'));Rq.setAttribute(_C.A3.p,I);Rq.setAttribute(_C.A3.o,I);}var q=(xT&&xT<99)?'F05':'F04';var Rq=_C.X.Aq(_C.X.c(q));Rq.setAttribute(_C.A3.p,I);Rq.setAttribute(_C.A3.o,I);_C.X.X(C.f);},S:function(x){x=(x.nodeType==9)?x.firstChild:x;if(x.getAttribute(_C.A3.y)=='_new_'){var P=_C.I.F.fI(x.getAttribute('pId'));if(!P)return _C.H.C("sys -e '308'");x.setAttribute(_C.A3.n,'A1');x.setAttribute(_C.A3.o,x.getAttribute(_C.A2.n));P.appendChild(x);_C.I.F.Q();}else{var i=x.getAttribute(_C.A3.q);var F=_C.I.F.fI(i);if(F&&F.getAttribute('uId')!=_C.S.U.I(_C.A2.n))return _C.H.C("msgbox -a '"+_C.H.C("sys -lng 'onaffect_file' '"+F.getAttribute('title')+"'")+"'");if(!F){F=_C.X.Q('//xdfs//*[@sys:nid="'+i+'"]');if(!F)return _C.H.C("sys -e '308' '("+i+")'");i=F.getAttribute(_C.A2.n);}x.removeAttribute(_C.A3.q);x.removeAttribute(_C.A3.r);x.removeAttribute(_C.A3.s);if(F.getAttribute('sId')=='user.account.settings'){var s=_C.X.Q('//xaccount');s.replaceChild(x.cloneNode(true),s.firstChild);}F.setAttribute(_C.A3.z,parseInt(x.xml.length/1024));var s=x.xml;s=s.replace(/\t/g,'%09');s=s.replace(/\n|\r/g,'%0A');_C.I.F.P(i,_C.A2.c,s.length,'data',s);_C.X.X(_C.I.F.R);}},R:function(x){var n=x.selectNodes('//*[@rsp:insertId]');for(var i=0,il=n.length;i<il;i++){var e=n[i].getAttribute('rsp:envelope');var I=n[i].getAttribute('rsp:insertId');var F=_C.I.F.fI(e);var H=getChildren(document.body,_C.A5.n,e);for(var j=0,jl=H.length;j<jl;j++){H[j].setAttribute(_C.A5.n,I);}if(!F)continue;F.setAttribute('sys:nid',e);F.setAttribute(_C.A2.n,I);}},Rn:function(i,t){var id=(typeof(i)==_C.A4.a)?i.getAttribute(_C.A5.n):i;var F=_C.I.F.fI(id);if(!F)return;if(typeof(t)==_C.A4.b){_C.I.F.RnCb=t;t=false;}_C.I.F.RF=id;if(!t)_C.H.C("msgbox -p '"+_C.H.C("sys -lng 'onrename_file'")+"' %_C.I.F.Rnf% '"+F.getAttribute('title')+"'");else _C.I.F.Rnf(t);},Rnf:function(s){if(!_C.I.F.RF)return;var I=_C.I.F.RF;_C.I.F.P(I,'title',s);if(_C.I.F.RnCb){_C.I.F.RnCb(s);_C.I.F.RnCb=false;}_C.X.X(_C.I.F.R);_C.I.F.RF=null;},D:function(i){var id=(typeof(i)==_C.A4.a)?i.getAttribute(_C.A5.n):i;var F=_C.I.F.fI(id);if(!F)return;if(parseInt(F.getAttribute('ftId'))<30||parseInt(F.getAttribute('ftId'))==99||F.getAttribute('sId'))return _C.H.C("msgbox -a '"+_C.H.C("sys -lng 'err_307' '"+F.getAttribute('title')+"'")+"' null 'attention'");_C.I.F.DF=F;_C.H.C("msgbox -c '"+_C.H.C("sys -lng 'ondelete_file' '"+F.getAttribute('title')+"'")+"' %_C.I.F.Dl%");},Dl:function(i){if(i=='6'){var I=_C.I.F.DF.getAttribute(_C.A2.n);var args=_C.I.F.DF.getAttribute('args').split(':')|| [0,0,0];if(args.length >= 2)args[2]=_C.I.F.DF.getAttribute('pId');else args.push(_C.I.F.DF.getAttribute('pId'));_C.I.F.Mf(_C.I.F.Si('user.trash'),I);_C.I.F.DF=null;}},U:function(F,o){if(F.getAttribute('pId')==_C.I.F.Si('user.trash')){var v=getChildren(document.body,_C.A5.n,F.getAttribute(_C.A2.n));for(var j=0,jl=v.length;j<jl;j++){if(v[j].parentNode==_C.E.chx_icon){v[j].outerHTML='';continue;}var A=getParent(v[j],_C.A1.t);if(!A||!A.id)continue;if(typeof(window[A.id]['render'])==_C.A4.b)window[A.id]['render']();}}var v=getChildren(document.body,_C.A5.o,F.getAttribute('pId'));var v2=getChildren(document.body,_C.A5.o,F.getAttribute(_C.A2.n));v=v.concat(v2);for(var j=0,jl=v.length;j<jl;j++){if(v[j]==_C.E.chx_icon){if(F.getAttribute('sId')=='user.desktop')continue;var q=v[j].appendChild(_C.E.chx_icon.firstChild.cloneNode(true));q.setAttribute(_C.A5.n,F.getAttribute(_C.A2.n));var o=o||_C.G.M.ctxt;if(!o||F.getAttribute(_C.A3.v)){o={y:F.getAttribute(_C.A3.v),x:F.getAttribute(_C.A3.u)};}var Q=getChild(q,'className');if(F.getAttribute('ftId')=='100'){var s=Q.appendChild(Q.cloneNode(false));s.className=Q.className.slice(0,4)+'shortcut';}if(o){q.style.top=o.y+_C.A2.i;q.style.left=o.x+_C.A2.i;}getChild(q,_C.A1.z,_C.A1.m).innerHTML=F.getAttribute('title');Q.className=Q.className.slice(0,4)+((F.getAttribute('icon'))?F.getAttribute('icon'):_C.I.F.M(F.getAttribute('ftId'),'icon'));}else{var A=getParent(v[j],_C.A1.t);if(!A||!A.id)continue;if(typeof(window[A.id]['render'])==_C.A4.b)window[A.id]['render']();}}},Q:function(){var U=_C.X.Q('//xdfs//*[@sys:upd!=""]',true);for(var i=0,il=U.length;i<il;i++){if(U[i].getAttribute(_C.A3.y)=='_new_'&&U[i].getAttribute(_C.A2.n)){_C.X.Aq(U[i]);}else if(U[i].getAttribute(_C.A2.n).slice(0,5)=='_new_'){var r=_C.X.Aq(U[i]);var d=r.getAttribute(_C.A2.n);r.setAttribute(_C.A3.n,'A1');r.setAttribute(_C.A3.o,d);r.setAttribute(_C.A2.n,'$UUID$');}else{var r=_C.X.Aq(_C.X.c('F03'));var F=U[i].getAttribute(_C.A3.y).split(',');r.setAttribute(_C.A3.p,U[i].getAttribute(_C.A2.n));for(var u=0,ul=F.length;u<ul;u++){r.setAttribute(F[u],U[i].getAttribute(F[u]));if(U[i].getAttribute('ftId')>100&&F[u]=='data')U[i].removeAttribute('data');}}U[i].setAttribute(_C.A3.y,'');}}},T:{I:function(){var t=_C.G.xsl.selectSingleNode('//*[@name="task"]');t.setAttribute('match','//xaccount');var T=document.body.appendChild(_C.Sp.cloneNode(false));_C.X.R(_C.H.l,_C.G.xsl,T);t.removeAttribute('match');_C.E.chx_taskbar=$('chx_taskbar');_C.E.gDock=getChild('chx_taskbar','className','gDock');_C.I.S.tb();_C.E.chx_sm=getChild('chx_taskbar',_C.A1.z,'sm');getEl('chx_taskbar',_C.E);_C.I.T.t(1);_C.I.T.C();},Rs:function(){_C.I.T.Rq('startmenu','startapps','sm_list');},Ds:function(p){_C.I.T.D(p,'startmenu');},Ns:function(p,t,a,i){_C.I.T.Nq(p,t,a,i,'startmenu');},rq:function(I,J,x){x=x||'quickbar';var s=_C.X.Q('//'+x+'/*[@prio>='+I+']',1);for(var i=0;i<s.length;i++){s[i].setAttribute('prio',parseInt(s[i].getAttribute('prio'))+J);}},Nq:function(p,t,a,i,s){s=s||'quickbar';if(!p){p=1;_C.I.T.rq('0',p,s);var q=_C.X.Q('//'+s).appendChild(_C.X.Cn('i'));q.setAttribute('title',(_exec("sys -lng new")+' '+_exec("sys -lng 100")));q.setAttribute('icon','mime_blank');q.setAttribute('action','');q.setAttribute('prio',p);}else{var q=_C.X.Q('//'+s+'/*[@prio='+p+']');if(!q)return;if(q.getAttribute(t))q.setAttribute(t,a);}_C.I.T.Rq(s);return q;},Rq:function(s,x,r){s=s||'quickbar';x=x||'quickbar';r=r||'ql_list';x=(s=='startmenu')?'startapps':x;r=(s=='startmenu')?'sm_list':r;var t=_C.G.xsl.selectSingleNode('//*[@name="'+x+'"]');if(x=='startapps')_C.E[x]=getChild(_C.E.chx_taskbar,_C.A4.g,x);t.setAttribute('match','//xaccount//'+s);_C.X.R(_C.H.l,_C.G.xsl,_C.E[x]);t.removeAttribute('match');if(s=='startmenu'){var t=_C.G.xsl.selectSingleNode('//*[@name="startapps_48"]');_C.E['startapps_48']=getChild(_C.E.chx_taskbar,_C.A4.g,'startapps_48');t.setAttribute('match','//xaccount//startmenu');_C.X.R(_C.H.l,_C.G.xsl,_C.E['startapps_48']);t.removeAttribute('match');}if(window['tastar'])tastar[r].render();if(x=='startapps')_C.I.T.C();},R:function(p,t,cb,s){if(arguments.length>1){_C.I.T.Rcb=cb;_C.I.T.Rps=s;_C.I.T.Rpi=p||_C.I.Co().getAttribute('_prio');}else{t=p;p=_C.I.T.Rpi;s=_C.I.T.Rps;cb=_C.I.T.Rcb;}var x=_C.X.Q('//'+s+'/*[@prio="'+p+'"]');if(!t&&x){return _C.H.C("msgbox -p '"+_C.H.C("sys -lng 'onrename_file'")+"' %_C.I.T.R% '"+x.getAttribute('title')+"'");}if(typeof(_C.I.T.Rcb)==_C.A4.b)_C.I.T.Rcb(t);_C.I.T.Rcb=_C.I.T.Rpi=false;x.setAttribute('title',t);_C.I.T.Rq(s);},D:function(p,s){p=p||_C.I.Co().getAttribute('_prio');s=s||'quickbar';var x=_C.X.Q('//'+s+'/*[@prio="'+p+'"]');if(!p||!x)return;_C.I.T.rq(x.getAttribute('prio'),-1,s);x.parentNode.removeChild(x);(s=='quickbar')?_C.I.T.Rq():_C.I.T.Rs();},C:function(){_C.E.quickbar.style.display=_C.A1.w;_C.E.chx_quix.parentNode.style.display=(_C.E.quickbar.childNodes.length<4)?_C.A1.u:_C.E.quickbar.parentNode.currentStyle.display;},Q:function(){var s=event.srcElement;if(s.getAttribute(_C.A4.h)=='on'){_C.G.M.Sr();for(var i=0,il=_C.E.quickbar.childNodes.length;i<il;i++){if(_C.E.quickbar.childNodes[0].offsetTop==_C.E.quickbar.childNodes[i].offsetTop)continue;var q=_C.E.quickbar.childNodes[i];_C.G.M.Sa(getChild(q,'className').className.slice(4),q.getAttribute('title'),q.getAttribute(_C.A2.d));}if(_C.E.chx_sm.hasChildNodes()){_C.I.T.S();setTimeout(function(){_C.H.C('gui -sm');},1);}document.detachEvent('onclick',_C.G.M.C2);_C.G.M.S(s,true);}else{_C.G.M.C1(false,1);}},S:function(t){var s=event.srcElement;if(!_C.E.chx_sm.hasChildNodes()&& t!='0'){var S=_C.G.xsl.selectSingleNode('//*[@name="startmenu"]');S.setAttribute('match','//xaccount');_C.X.R(_C.H.l,_C.G.xsl,_C.E.chx_sm);S.removeAttribute('match');}else if(!_C.I.T.St){if(_C.G.M.ctxt&&_C.G.M.ctxt.origin){var O=getParent(_C.G.M.ctxt.origin,_C.A2.n,_C.A5.i);if(O){_C.G.M.ctxt =_C.G.M.ctxt.origin=false;return;}}_C.E.chx_sm.innerHTML='';getChildren(_C.E.chx_taskbar,_C.A4.g,_C.A5.j).foreach(function(s){s.removeAttribute(_C.A4.h);s.className='';});}if(t)_C.I.T.St=(t=='1');},P:function(l){if(!l)return _C.X.Q('//*[@moption="sys_gui_task_pos"]',true);_C.E.chx_taskbar.className='task_'+l;},t:function(I){var n=new Date();var t=getChild(_C.E.chx_taskbar,_C.A4.g,'tray_clock');t.innerText=_C.S.D(3);t.setAttribute('title',_C.S.D(5));getChild(_C.E.chx_taskbar,_C.A4.g,'tray_datetime').innerText=_C.S.D(7);setTimeout(_C.I.T.t,(I?(60-n.getSeconds())*1000:60000));},T:function(w,v){var W=getChildren(_C.E.chx_taskbar,_C.A4.g,w);for(var i=0,il=W.length;i<il;i++){var s=(W[i].parentNode.currentStyle.display==_C.A1.u)?'':_C.A1.u;if(v)s=(parseInt(v)==1)?'':_C.A1.u;W[i].parentNode.style.display=s;}},Ri:function(){if(event.keyCode!=13)return;var s=event.srcElement;if(s&&s.nodeName=='INPUT')_C.H.C(s.value);}}},N:{I:function(){},S:function(m){_C.X.L('/sys/xml/im_test/'+m+'.xml',_C.N.R);},R:function(r){_C.N.b();var c=r.selectNodes(".//message");for(var i=0,il=c.length;i<il;i++){var f=c[i].getAttribute('from').split('@')[0];var m=c[i].selectSingleNode('./body');console.log(f+' säger: '+m.text);}},N:function(){}},G:{Cr:function(q){var p=_C.X.Q(q,1);for(var i=0;i<p.length;i++){var a=p[i].getAttribute('action');var a1=(a.slice(0,6)=='win -o')?a.slice(7):a;p[i].setAttribute('action',a1);if(!_C.H.C("sys -ia "+a1))p[i].parentNode.removeChild(p[i]);}},I:function(){var a=_C.X.Q('//xaccount');if(a.firstChild.nodeType==3){var t=a.xml.replace(/<xaccount>|<\/xaccount>/ig,'');t=t.replace(/&lt;/ig,'<');t=t.replace(/&gt;/ig,'>');if(t!='<xaccount/>'){var tx=_C.X.L('<data xmlns:sys="sys.cloudo.com" xmlns:dfs="dfs.cloudo.com">'+t+'</data>');while (a.hasChildNodes())a.removeChild(a.firstChild);var b=a.appendChild(tx.documentElement.firstChild.cloneNode(true));}}var s=_C.X.Q("//startmenu/*",1);if(!s[0].getAttribute('prio')){for(var i=0,sl=s.length;i<sl;i++){s[i].removeAttribute('sys:opened');s[i].setAttribute('prio',i+1);}}var q=_C.X.Q("//quickbar/*",1);if(!q[0].getAttribute('prio')){for(var i=0,ql=q.length;i<ql;i++){q[i].setAttribute('prio',i+1);}}var r=_C.X.Q('//xapps');var a=_C.X.Q('//reg_apps');if(a&&a.childNodes){a.setAttribute('cli_parse','id:15,title:20,path');for(var i=0,il=a.childNodes.length;i<il;i++){r.appendChild(a.childNodes[i].cloneNode(true));}}document.attachEvent(((_env.ie||_env.sf)?'onkeydown':'onkeypress'),_C.G.K);_C.G.M.I();_C.S.U.F.I();_C.I.I();},i:{K:function(){switch (event.keyCode){case 9:if(!_C.E.CIE.S)return;var s=(event.shiftKey)?-1:1;_env.cancelEvent();var G=getParent(_C.E.CIE.S,_C.A4.g,'grid');G=G||getParent(_C.E.CIE.S,_C.A4.g,'list');var E=getChildren(G,'_editable','text');for(var i=0,il=E.length;i<il;i++){if(E[i]==_C.E.CIE.S)break;}if(i+s<E.length&&E[i+s])E[i+s].fireEvent(_C.A2.s);break;case 13:setTimeout('_C.E.CIE.blur();',1);break;}},F:function(){},B:function(){_C.E.CI.style.top='-100px';_C.E.CI.style.display=_C.A1.u;if(_C.E.CIE.S){var c=getParent(_C.E.CIE.S,_C.A3.b);var a=(c)?c.getAttribute(_C.A3.b):null;if(a&&_C.E.CIE.S.innerText!=_C.E.CIE.value){_C.E.CIE.S.innerText=_C.E.CIE.value;a=a.replace(/\(\);/,'');eval(a)(_C.E.CIE.S,_C.E.CIE.value);}}_C.E.CIE.S=null;},Ti:function(){var s=event.srcElement;if(s.nodeName!='INPUT')return;if(s.value!=''||s.value!=s.defaultValue)s.style.color='#000';else s.style.color='';var a=s.getAttribute(_C.A2.d);var k=s.getAttribute(_C.A3.f);if(event.keyCode==13&&a)_C.H.C(a);else if(k)_C.H.C(k);},S:function(){var sa=getChild(event.srcElement.parentNode,_C.A1.z,'sel_arr');sa.fireEvent('on'+event.type);}},S:function(){var e=getParent(event.srcElement,_C.A3.h);if(!e)return;var E=e.getAttribute(_C.A3.h).split(',');var w=getParent(e,_C.A1.t);for(var n=0,nl=E.length;n<nl;n++){var t=getChild(w,_C.A1.r,E[n]);if(!t)continue;t.scrollTop=e.scrollTop;t.scrollLeft=e.scrollLeft;}},T:{c:function(P){var X=(typeof(P)==_C.A4.c)?_C.X.Q(P):P;var R=getParent(X,_C.A1.z,'xtree')|| getParent(X,_C.A1.z,'xdfs');if(!R.getAttribute('_c')){R.setAttribute('_c',1);R.setAttribute(_C.A1.r,1);}var c=new Number(R.getAttribute('_c'))+1;var f=(typeof(P)==_C.A4.c)?_C.X.Q(P,1):X.selectNodes('.//*');for(var i=0,il=f.length;i<il;i++){if(f[i].nodeType!=1||f[i].getAttribute(_C.A1.r))continue;if(f[i].hasChildNodes())f[i].setAttribute('_folder',1);/*if(f[i].getAttribute(_C.A1.r))continue;*/while (X.selectSingleNode('//*[@_id="'+(c+1)+'"]'))c++;f[i].setAttribute(_C.A1.r,c++);}R.setAttribute('_c',c+1);},I:function(E,P){var r=_C.X.Q(P);_C.G.T.c(r);E.xslt=_C.S.X.Q('//*[@name="tree"]');E.xslt.setAttribute('match',P);E.setAttribute(_C.A4.p,P);if(r.getAttribute('_show_child_count'))r.setAttribute('__scc',1);if(r.hasChildNodes())_C.X.R(_C.H.l,_C.G.xsl,E);r.removeAttribute('__scc');var f=_C.X.Q(P+'/*',1);if(f.length==1){var p=getChild(E,_C.A1.z,'i16');if(p)p.outerHTML='';var b=getChild(E,_C.A1.z,'branch');b.style.paddingLeft='0px';_C.G.T.E(b);}E.xslt.removeAttribute('match');},A:function(E,N,P,L,rN){var r=_C.X.Q(P);if(!r||typeof(N)!=_C.A4.a||!N.nodeType)return;r.appendChild(N.cloneNode(true));_C.G.T.c(P);if(rN)return;var xp=E.getAttribute(_C.A4.p);var pX=_C.X.Q(xp);if(!E.getAttribute(_C.A4.o))E.setAttribute(_C.A4.o,pX.getAttribute(_C.A1.r));var pE=(E.getAttribute(_C.A4.o)==pX.getAttribute(_C.A1.r))?E:getChild(E.parentNode,_C.A4.o,pX.getAttribute(_C.A1.r));var tm=P.split('/');var pA=P.slice(0,-tm[tm.length-1].length-1);var Sp=_C.I.W.A.appendChild(_C.Sp.cloneNode(false));E.xslt.setAttribute('match',pA+'//*[@_id="'+pE.getAttribute(_C.A4.o)+'"]');_C.X.R(_C.H.l,_C.G.xsl,Sp);E.xslt.removeAttribute('match');while (Sp.hasChildNodes()){if(getChild(E,_C.A4.o,Sp.firstChild.getAttribute(_C.A4.o)))Sp.removeChild(Sp.firstChild);else{if(L)pE.insertBefore(Sp.firstChild,null);else pE.insertBefore(Sp.firstChild,pE.firstChild);}}Sp.parentNode.removeChild(Sp);},F:function(E,P,A){var x=_C.X.Q(P);if(!x)return x;var l=getChild(E,_C.A4.o,x.getAttribute(_C.A1.r));if(!l)return l;var e=getParent(l,_C.A4.p);/* tomorrowif(e.active){console.log(e.active);getChild(e.active,_C.A1.z,'tree').className='';e.active.removeAttribute(_C.A4.h);}getChild(l,_C.A1.z,'tree').className='down';e.active=l;e.active.setAttribute(_C.A4.h,'on');*/return true;},Rf:function(e){if(!e||typeof(e)!=_C.A4.a||!e.nodeType)return;var eb=e;e=getParent(e,_C.A4.o);if(!e){var a=getParent(eb,_C.A1.t);return _C.G.T.I(eb,'//'+a.id+'/xtree');}var B=getChild(e,_C.A1.z,'branch');B.innerHTML='';_C.G.T.E(B);if(B.hasChildNodes()){var i=getChild(e,_C.A1.z,'i16');i.setAttribute(_C.A2.g,'oleaf');i.className='i16_tree_minus';}},E:function(b){if(b.nodeName.toLowerCase().indexOf('branch')==-1)b=getChild(b,_C.A1.z,'branch');var X=getParent(b,_C.A1.z,'tree');var E=getParent(b,_C.A4.p);var A=getParent(E,_C.A1.t);var xP=E.getAttribute(_C.A4.p)+"//*[@_id='"+X.getAttribute(_C.A4.o)+"']";var xL=_C.X.Q(xP);if(!xL){xP=E.getAttribute(_C.A4.p)+"//*[@id='"+X.getAttribute(_C.A4.o)+"']";xL=_C.X.Q(xP);}if(xL&&(xL.getAttribute('cnt:cc')>0||xL.getAttribute('hc')>0)&& !xL.hasChildNodes()){var dI=(xL.nodeName==_C.A4.q)?xL.getAttribute(_C.A2.n):xL.getAttribute('sys:dfs');b.innerHTML=_C.A2.e+' '+_C.S.L('loading')+'...';/*if(A)_C.G.W.Sb(A.id,_C.S.L('loading'));b.style.display=_C.A1.u;eval(E.getAttribute(_C.A2.d))(xL);*/var oe=E.getAttribute(_C.A3.i);if(oe){oe=oe.replace(/\(\)/,'');eval(oe)(X);}else _C.G.T.dE.I(dI,xL,b,E,xP);return;}else _C.G.T.c(xL);var r=getParent(xL,_C.A1.z,'xtree');if(r&&r.getAttribute('_show_child_count'))r.setAttribute('__scc',1);_C.G.T.R.setAttribute('_show_files',E.getAttribute('_show_files')|| '0');E.xslt.setAttribute('match',xP);_C.X.R(_C.H.l,_C.G.xsl,b);E.xslt.removeAttribute('match');_C.G.T.R.removeAttribute('_show_files');if(r)r.removeAttribute('__scc');if(b.childNodes.length==0){b.style.display=_C.A1.u;var p=getChild(b.parentNode,_C.A1.z,'i16');if(p){p.className=_C.A2.f;p.removeAttribute(_C.A2.g);}}else{b.style.display=_C.A1.w;}},D:function(X){if(!X||typeof(X)!=_C.A4.a||!X.nodeType)return;var I=X.getAttribute(_C.A1.r);var S=getParent(X,_C.A1.t);var A=(S)?getChild(document.body,_C.A1.t,S.getAttribute(_C.A1.t)):false;var Ai=(A)?A.getAttribute(_C.A2.n):'finder';var tE=getChild(Ai,_C.A4.o,I);if(tE)tE.parentNode.removeChild(tE);var xP=X.parentNode;var x=xP.removeChild(X);if(!xP.selectSingleNode('.//*')){var tE=(Ai)?getChild(Ai,_C.A4.o,xP.getAttribute(_C.A1.r)):false;var ti=(tE)?getChild(tE,_C.A1.z,'i16'):false;if(ti)ti.className='i16_tree_blank';}return x;},dE:{I:function(I,X,E,pE,xP){var L={i:I,X:X,E:E,pE:pE,xP:xP,cb:function(r){var t;var f=r.selectNodes('//_dfs');t=r.selectSingleNode('//_dfs').parentNode;if(f.length==1&&f[0].getAttribute('data')&& f[0].getAttribute('ftId')>99){var d=f[0].getAttribute('data');var s=(d.slice(0,4)=='&lt;')?'<data xmlns:sys="sys.cloudo.com">'+_C.X.U(d)+'</data>':d;r=_C.X.L(s);var tc=r.selectSingleNode('//tree');if(tc)t=tc;}for(var i=0;i<t.childNodes.length;i++){if(t.childNodes[i].nodeType==3)continue;if(t.childNodes[i].getAttribute('sys:dfs'))t.childNodes[i].setAttribute('hc','1');L.X.appendChild(t.childNodes[i].cloneNode(true));}_C.G.T.c(L.X);var pA=getParent(L.pE,_C.A1.t);if(pA)_C.G.W.Sb(pA.id,'');_C.G.T.R.setAttribute('_show_files',L.pE.getAttribute('_show_files')|| '0');L.pE.xslt.setAttribute('match',L.xP);_C.X.R(_C.H.l,_C.G.xsl,L.E);L.pE.xslt.removeAttribute('match');_C.G.T.R.removeAttribute('_show_files');if(L.E.childNodes.length==0){var p=getChild(L.E.parentNode,_C.A1.z,'i16');p.className=_C.A2.f;p.removeAttribute(_C.A2.g);L.E.style.display=_C.A1.u;}else L.E.style.display=_C.A1.w;}};var r=_C.X.Aq(_C.X.c((X.nodeName==_C.A4.q)?'F05':'F04'));r.setAttribute(_C.A3.p,I);_C.X.X(L.cb);}}},L:{I:function(el){el=(typeof(el)==_C.A4.a&&el.getAttribute(_C.A1.t)&& _env.ie)?getParent(el,_C.A1.t):$(el);var wI;if(el.hasChildNodes()){wI=getParent(el,_C.A1.t);wI=(wI&&wI.getAttribute(_C.A2.n))?wI.getAttribute(_C.A2.n):null;}var tw=getChildren(el,_C.A4.r,'true');var tf=new Array();if(tw.length){for(var tI=0;tI<tw.length;tI++){tf=tf.concat(getChildren(tw[tI],_C.A4.m));}}var f=getChildren(el,_C.A4.m,'frame');for(var j=0,jl=f.length;j<jl;j++){var aH=new Array();var aW=new Array();f[j].dim=_C.G.L.D(f[j]);var l=getChildren(f[j],_C.A4.m);for(var i=0,il=l.length;i<il;i++){if(l[i].getAttribute(_C.A4.g)=='divider'){var Ps=getPrevious(l[i],_C.A4.m);var Ns=getNext(l[i],_C.A4.m);if((Ps&&Ps.currentStyle.display=='none')|| (Ns&&Ns.currentStyle.display=='none'))l[i].className=l[i].className.replace(/hideMe/ig,'')+' hideMe';else l[i].className=l[i].className.replace(/hideMe/ig,'');if(l[i].className.indexOf('frm_dvdr')==-1){l[i].className+=(l[i].getAttribute(_C.A4.m)=='top'||l[i].getAttribute(_C.A4.m)=='bottom')?'frm_dvdr_h':'frm_dvdr_v';}}l[i].style.position=(l[i].className=='twincontent')?'relative':'absolute';l[i].dim=_C.G.L.D(l[i]);if(l[i].className=='frm_dvdr_h'||l[i].className=='frm_dvdr_v'){if(l[i].getAttribute('_locked'))l[i].style.cursor='default';else{l[i].setAttribute('unselectable','on');l[i].setAttribute(_C.A4.j,'handle');l[i].setAttribute('_dragable',_C.A2.j);l[i].parentNode.setAttribute(_C.A4.i,'track');l[i].parentNode.setAttribute((l[i].className=='frm_dvdr_h'?_C.A4.u:_C.A4.v),'1');}}}var l=getChildren(f[j],_C.A4.m,'top');for(var i=0,il=l.length;i<il;i++){if(tf.indexOf(l[i])>-1)continue;if(l[i].parentNode!=f[j]||l[i].currentStyle.display==_C.A1.u)continue;l[i].dim.w=f[j].dim.w - f[j].dim.p.l - f[j].dim.p.r - l[i].dim.p.l - l[i].dim.p.r - l[i].dim.b.l - l[i].dim.b.r;var W=l[i].dim.w;var T=aH.sum()+f[j].dim.p.t;_C.G.L.E(l[i],T,null,W,null);aH.push(l[i].dim.h+l[i].dim.b.t+l[i].dim.b.b+l[i].dim.m.t+l[i].dim.m.b);}var lct=aH.sum();var bh=new Array();var l=getChildren(f[j],_C.A4.m,'bottom');for(var i=l.length-1;i>-1;i--){if(tf.indexOf(l[i])>-1)continue;if(l[i].parentNode!=f[j]||l[i].currentStyle.display==_C.A1.u)continue;l[i].dim.w=f[j].dim.w - f[j].dim.p.l - f[j].dim.p.r - l[i].dim.p.l - l[i].dim.p.r - l[i].dim.b.l - l[i].dim.b.r;l[i].dim.t=f[j].dim.h - l[i].dim.h - l[i].dim.b.t - l[i].dim.b.b - l[i].dim.m.t - l[i].dim.m.b;var W=l[i].dim.w;var T=l[i].dim.t - bh.sum()- f[j].dim.p.b;_C.G.L.E(l[i],T,null,W,null);bh.push(l[i].dim.h+l[i].dim.b.t+l[i].dim.b.b+l[i].dim.m.t+l[i].dim.m.b);aH.push(l[i].dim.h+l[i].dim.b.t+l[i].dim.b.b+l[i].dim.m.t+l[i].dim.m.b);}var l=getChildren(f[j],_C.A4.m,'left');for(var i=0,il=l.length;i<il;i++){if(tf.indexOf(l[i])>-1)continue;if(l[i].parentNode!=f[j]||l[i].currentStyle.display==_C.A1.u)continue;l[i].dim.h=f[j].dim.h - f[j].dim.p.t - f[j].dim.p.b - l[i].dim.p.t - l[i].dim.p.b - l[i].dim.b.t - l[i].dim.b.b;var H=l[i].dim.h;var L=aW.sum()+f[j].dim.p.l;_C.G.L.E(l[i],null,L,null,H);aW.push(l[i].dim.w+l[i].dim.b.l+l[i].dim.b.r+l[i].dim.m.l+l[i].dim.m.r);}var lcl=aW.sum();var rw=new Array();var l=getChildren(f[j],_C.A4.m,'right');for(var i=l.length-1;i>-1;i--){if(tf.indexOf(l[i])>-1)continue;if(l[i].parentNode!=f[j]||l[i].currentStyle.display==_C.A1.u)continue;l[i].dim.h=f[j].dim.h - f[j].dim.p.t - f[j].dim.p.b - l[i].dim.p.t - l[i].dim.p.b - l[i].dim.b.t - l[i].dim.b.b;l[i].dim.l=f[j].dim.w - l[i].dim.w - l[i].dim.b.l - l[i].dim.b.r - l[i].dim.m.l - l[i].dim.m.r;var H=l[i].dim.h;var L=l[i].dim.l - rw.sum()- f[j].dim.p.r;_C.G.L.E(l[i],null,L,null,H);rw.push(l[i].dim.w+l[i].dim.b.l+l[i].dim.b.r+l[i].dim.m.l+l[i].dim.m.r);aW.push(l[i].dim.w+l[i].dim.b.l+l[i].dim.b.r+l[i].dim.m.l+l[i].dim.m.r);}var lc=getChildren(f[j],_C.A4.m,'frame');for(var i=0,il=lc.length;i<il;i++){if(tf.indexOf(lc[i])>-1)continue;if(lc[i].parentNode.getAttribute(_C.A4.m)!='frame'){if(!lc[i].parentNode.dim)continue;var W=lc[i].parentNode.dim.w - lc[i].dim.b.l - lc[i].dim.b.r - lc[i].dim.p.l;var H=lc[i].parentNode.dim.h - lc[i].dim.b.t - lc[i].dim.b.b - lc[i].dim.p.b;_C.G.L.E(lc[i],null,null,W,H);continue;}if(lc[i].parentNode!=f[j]||lc[i].currentStyle.display==_C.A1.u)continue;var T=lct+f[j].dim.p.t;var L=lcl+f[j].dim.p.l;var H=f[j].dim.h - f[j].dim.p.t - f[j].dim.p.b - lc[i].dim.b.t - lc[i].dim.b.b - lc[i].dim.p.t - lc[i].dim.p.b - lc[i].dim.m.t - lc[i].dim.m.b - aH.sum();var W=f[j].dim.w - f[j].dim.p.l - f[j].dim.p.r - lc[i].dim.p.l - lc[i].dim.p.r - lc[i].dim.b.l - lc[i].dim.b.r - lc[i].dim.m.l - lc[i].dim.m.r - aW.sum();_C.G.L.E(lc[i],new Number(T),new Number(L),new Number(W),new Number(H),1);}}var g=getChildren(el,_C.A4.g,'grid');var l=getChildren(el,_C.A4.g,'list');l=l.concat(g);for(var i=0,il=l.length;i<il;i++){var c=getChildren(l[i].parentNode,_C.A1.z,'colcap');var r=getChildren(l[i].parentNode,_C.A1.z,'cell');var sb=(parseInt(c[0].currentStyle.borderRightWidth)|| 0)+(parseInt(c[0].currentStyle.borderLeftWidth)|| 0);for(var j=0,jl=r.length;j<jl;j++){if(!c[j])continue;var d=(j==0)?1:2;d=sb==0?sb:d;c[j].style.width=Math.max(r[j].offsetWidth-d,0)+_C.A2.i;}}if(_C.I.R.sor!=1&&typeof(el)==_C.A4.a&&el.getAttribute(_C.A2.n)!=wI&&!arguments[1]){if(wI&&window[wI]&&window[wI][_C.A2.y]){var c=getChild(el,_C.A4.m,'frame');if(el.className!='twinbodybrdr')window[wI][_C.A2.y](parseInt(c.offsetHeight),parseInt(c.offsetWidth));}}for(var tI=0;tI<tw.length;tI++){var twi=getChild(tw[tI],'className','twincontent');if(twi)_C.G.L.I(twi.parentNode);}},P:function(el,I){el=$(el);var f=(el.getAttribute(_C.A1.t))?el:getChild(el,'nodeType',1);var C=getParent(f.parentNode,_C.A4.m);C=C||getParent(f.parentNode,_C.A1.z,'BODY');if(!C)return _C.G.L.I(el);if(C.offsetHeight!=0)return setTimeout(function(){_C.G.L.P(el,I);},500);var th=getChild(_C.E.chx_taskbar,'className','taskbar').offsetHeight;var mt=(_C.E.chx_taskbar.offsetTop>100)?0:th;if(f.getAttribute(_C.A4.w)&& f.getAttribute(_C.A4.w).slice(-1)=='%')f.style.top=Math.max(mt,parseInt(((C.offsetHeight||(_C.I.S.h-th))-f.offsetHeight)*(parseInt(f.getAttribute(_C.A4.w))/100)))+_C.A2.i;if(f.getAttribute(_C.A4.x)&& f.getAttribute(_C.A4.x).slice(-1)=='%')f.style.left=Math.max(0,parseInt(((C.offsetWidth||_C.I.S.w)-f.offsetWidth)*(parseInt(f.getAttribute(_C.A4.x))/100)))+_C.A2.i;f.style.visibility='visible';var wI=el.getAttribute(_C.A2.n);if(!I&&wI&&window[wI]&&window[wI][_C.A2.y]){var c=getChild(el,_C.A4.m,'frame');window[wI][_C.A2.y](parseInt(c.offsetHeight),parseInt(c.offsetWidth));}},D:function(e){var d={b:{t:parseInt(e.currentStyle.borderTopWidth)|| 0,r:parseInt(e.currentStyle.borderRightWidth)|| 0,b:parseInt(e.currentStyle.borderBottomWidth)|| 0,l:parseInt(e.currentStyle.borderLeftWidth)|| 0},p:{t:parseInt(e.currentStyle.paddingTop)|| 0,r:parseInt(e.currentStyle.paddingRight)|| 0,b:parseInt(e.currentStyle.paddingBottom)|| 0,l:parseInt(e.currentStyle.paddingLeft)|| 0},m:{t:parseInt(e.currentStyle.marginTop)|| 0,r:parseInt(e.currentStyle.marginRight)|| 0,b:parseInt(e.currentStyle.marginBottom)|| 0,l:parseInt(e.currentStyle.marginLeft)|| 0}};d.h=e.offsetHeight - d.b.t - d.b.b;d.w=e.offsetWidth - d.b.r - d.b.l;return d;},E:function(e,t,l,w,h,v){if(t)e.style.top=Math.abs(t)+_C.A2.i;if(l)e.style.left=Math.abs(l)+_C.A2.i;if(h)e.style.height=Math.abs(h)+_C.A2.i;if(w)e.style.width=Math.abs(w)+_C.A2.i;if(e&&e.getAttribute(_C.A4.j)=='handle'&&e.parentNode.getAttribute(_C.A4.i)=='track'&&!e.getAttribute('_locked')){var m,d=40;var dw=(e.getAttribute(_C.A4.j)=='handle')?parseInt(e.offsetWidth):0;var dh=(e.getAttribute(_C.A4.j)=='handle')?parseInt(e.offsetHeight):0;switch (e.getAttribute(_C.A4.m)){case 'top':var n=getNext(e,_C.A4.m,'frame');m=d+','+(parseInt(n.offsetHeight)+parseInt(n.offsetTop)-d-dh);break;case 'bottom':var n=getNext(e,_C.A4.m);var p=getPrevious(e,'_laoyut','frame');if(p)m=(parseInt(p.offsetTop)+d)+','+(parseInt(n.offsetTop)+parseInt(n.offsetHeight)-d-dh);break;case 'left':var n=getNext(e,_C.A4.m,'frame');m=d+','+(parseInt(n.offsetWidth)+parseInt(n.offsetLeft)-d-dw);break;case 'right':var n=getNext(e,_C.A4.m);var p=getPrevious(e,_C.A4.m,'frame');m=(parseInt(p.offsetLeft)+d)+','+(parseInt(n.offsetLeft)+parseInt(n.offsetWidth)-d-dw);break;}if(m)e.setAttribute('_min_max_'+(e.className=='frm_dvdr_h'?'y':'x'),m);}var a=e.getAttribute(_C.A2.y);if(a&&!v){a=a.replace(/\(\)/,'');eval(a)(e,(t||parseInt(e.offsetTop)),(l||parseInt(e.offsetLeft)),(w||parseInt(e.offsetWidth)),(h||parseInt(e.offsetHeight)));}}},ieK:{'96':48,'97':49,'98':50,'99':51,'100':52,'101':53,'102':54,'103':55,'104':56,'105':57,'111':47,'106':42,'109':45,'107':43,'110':44},K:function(){var K=event.keyCode||event.charCode;if(K==8&&event.srcElement.nodeName.toLowerCase()=='html')_env.cancelEvent();if(_C.I.W.AW){var I=_C.I.W.AW.getAttribute(_C.A2.n);if(window[I]&&typeof(window[I]._onkey)==_C.A4.b){if(_env.ie&&(K in _C.G.ieK))K=_C.G.ieK[K];if(window[I]._onkey)window[I]._onkey(K);}}if(K==27)_C.G.W.FsT();if(event.keyCode==17||(event.ctrlKey&&event.shiftKey))return;var M=(event.altKey)?'ALT':((event.ctrlKey)?'CTRL':null);if(M){var S=String.fromCharCode(K).toUpperCase().replace(/'/i,"\'");var I={'CTRL+X':120,'CTRL+C':99,'CTRL+V':118,'CTRL+Z':122,'CTRL+A':97,37:1,38:1,39:1,40:1};/*I['CTRL+R']=114;I['CTRL+T']=116;*/if(K in I||!String.fromCharCode(K).match(/[a-z]/ig))return;if(!((M+'+'+S)in I))_env.cancelEvent();if(_C.I.W.AW){var s=_C.G.W.c.selectSingleNode("//application[@id='"+_C.I.W.AW.getAttribute(_C.A2.n)+"']//*[@hotkey='"+M+"+"+S+"']");var a=(s)?s.getAttribute('action'):null;if(a)_C.H.C(a);}else{var s=_C.X.Q("//*[@hotkey='"+M+"+"+S+"']");var t=s;if(!t)return;while (t.nodeName!='data'){if(t.nodeName=='menubar')return;t=t.parentNode;}var a=(s)?s.getAttribute('action'):null;if(a)_C.H.C(a);}}},C:function(e,s){var o=e.className;if(typeof(o)!=_C.A4.c)return;var n=o.replace(/\bover/ig,'');n=n.replace(/\bout/ig,'');n=n.replace(/\bdown/ig,'');n=n.replace(/\bup/ig,'');n=n.replace(/\bchx_lasso_cptrd/ig,'');n=n+' '+s;e.className=n.trim();},m:function(){var S=event.srcElement;var G=getScope(S,'gui');if(event.type=='mouseup'){if(S!=_C.E.chx_ghost)_C.I.R.m(0,0,0,0);if($(_C.A5.i)&& S&&S.parentNode!=$(_C.A5.i)){if(getParent(S,_C.A2.n,_C.A5.i)&& event.button==2||S.getAttribute(_C.A4.g)=='run')return;setTimeout(function(){if(G&&G.getAttribute(_C.A4.g)==_C.A5.j)return;var s=getChild(_C.E.chx_taskbar,_C.A4.g,_C.A5.j);s.removeAttribute(_C.A4.h);s.fireEvent(_C.A2.t);},1);}}if(event.type=='mousedown'&&event.button!=2&&S.nodeName!='INPUT'){if(_env.ie&&S.parentNode==_C.E.chx_bg)S=_C.E.chx_icon;if(S.getAttribute('_lasso')){_C.E.chx_ghost.setAttribute(_C.A4.s,'true');_C.E.chx_ghost.la=S;_C.I.R.I(_C.E.chx_ghost);}if((S.getAttribute(_C.A4.g)=='grid'||S.getAttribute(_C.A4.g)=='list')&& S.active&&!G){_C.G.C(S.active,'');S.active=null;}if(S.getAttribute('_editable')=='text'&&!event.ctrlKey){if(_C.E.CIE.S)_C.E.CIE.blur();var F=getParent(S,'_editable','frame');var R=getParent(F,_C.A1.z,'row');if(R)R.fireEvent(_C.A2.s);var p=getDim(F);var iT=getParent(R,_C.A4.g,'twin');_C.E.CI.style.display=_C.A1.w;_C.E.CI.style.top=((iT)?p.t+4:p.t)+_C.A2.i;_C.E.CI.style.left=((iT)?p.l+4:p.l)+_C.A2.i;/*_C.E.CI.style.width=((_env.ie)?p.w+(_C.E.CI.offsetWidth-_C.E.CIE.offsetWidth)+3:Math.abs(p.w+parseInt(_C.E.CI.currentStyle.width)-parseInt(_C.E.CIE.currentStyle.width))-1)+_C.A2.i;*/_C.E.CI.style.width=((_env.ie)?p.w+9:Math.abs(p.w+parseInt(_C.E.CI.currentStyle.width)-parseInt(_C.E.CIE.currentStyle.width))-1)+_C.A2.i;_C.E.CIE.value=S.innerText;_C.E.CIE.S=S;_C.G.M.C1(false,1);if(_env.ie){try{}catch (e){}}else setTimeout('_C.E.CIE.focus();',1);return;}if(S==_C.E.CIE)return;if(_C.E.CIE.S)_C.E.CIE.blur();if(G!=_C.E.chx_quix&&_C.E.chx_quix&&_C.E.chx_quix.getAttribute(_C.A4.h)=='on'){var t=function(){_C.E.chx_quix.removeAttribute(_C.A4.h);_C.E.chx_quix.fireEvent(_C.A2.t);_C.E.chx_quix.className='';};if(_env.ie)setTimeout(t,1);else t();}var T=getParent(S,_C.A4.i,'track');T=(T&&S.getAttribute(_C.A4.j)=='slide')?T:S;if((S!=T&&T.getAttribute(_C.A4.i)=='track')|| T.getAttribute(_C.A4.j)=='slide'){var p='';var tvb;var h=getChild(T,_C.A4.j,'handle');var d=getDim(h);var o=h.getAttribute(_C.A3.a);var c=T.getAttribute(_C.A3.b);if(T.getAttribute(_C.A4.u)){var t=Math.min(Math.max(event.offsetY - parseInt(d.h/2),0),T.offsetHeight)+parseInt(S.currentStyle.paddingTop);if(h.getAttribute(_C.A4.r))h.style.top=(t+S.offsetTop)+_C.A2.i;if(T.nodeName.toLowerCase().indexOf('vreg')>-1){tvb=getChild(T,_C.A1.z,'bs');var hh=parseInt(h.offsetHeight/2);var pb=parseInt(tvb.currentStyle.paddingBottom);var mb=parseInt(tvb.currentStyle.marginBottom);if(event.clientY>d.t)t+=tvb.offsetTop;var th=T.offsetHeight-pb-hh-t;tvb.style.top=(t-pb+hh)+_C.A2.i;tvb.style.height=(th-mb)+_C.A2.i;h.style.top=(t-pb+hh)+_C.A2.i;}p+=t;}if(T.getAttribute(_C.A4.v)){var l=Math.min(Math.max(event.offsetX - parseInt(d.w/2),0),T.offsetWidth)+parseInt(S.currentStyle.paddingLeft);if(h.getAttribute(_C.A4.r))h.style.left=l+_C.A2.i;if(T.nodeName.toLowerCase().indexOf('hreg')>-1){var thb=getChild(T,_C.A1.z,'bs');var hw=parseInt(h.offsetWidth/2);var pl=parseInt(thb.currentStyle.paddingLeft);thb.style.width=(l-pl+hw)+_C.A2.i;}p+=','+l;}if(h.getAttribute(_C.A4.r)){_env.cancelEvent();if(o)setTimeout('eval('+o+'('+p+'));',1);if(c)eval(c)(T,(tvb?(th-mb):(l-pl+hw))||0);h.fireEvent(_C.A2.s);return;}}if(!G||G.parentNode!=_C.E.chx_slct.firstChild){if(_C.E.chx_slct.childNodes.length)_C.E.chx_slct.childNodes[0].innnerHTML='';_C.E.chx_slct.style.left =_C.E.chx_slct.style.top='-9999px';_C.E.chx_slct.obj=null;}_C.G.W.B(S);var d=getParent(S,_C.A4.j,'handle');var r=getParent(S,_C.A4.j,'resize');if(d&&S.getAttribute(_C.A2.g)!='cleaf'&&S.getAttribute(_C.A2.g)!='oleaf')_C.I.Y.I(d);if(r)return _C.I.R.I(r);}if(!G)return _C.G.M.M(S);if(G.className.indexOf('dsbld')>-1)return;var L;if(G.nodeName.toLowerCase().indexOf('label')>-1&&event.button!=2){L=G;var F=G.getAttribute('_for');if(F){var W=getParent(G,_C.A1.t);var b=getChild(W,_C.A1.r,F);if(b.className.indexOf('dsbld')>-1){L.className='dsbld';return;}G=(b)?b:G;}}if(G.getAttribute(_C.A2.g)=='troot'&&G.getAttribute(_C.A4.g)=='ext_tool'){var Z=getNext(G,_C.A1.z,'tool_arr');}if(G.nodeName.toLowerCase().indexOf('tool_arr')>-1){var Z=getPrevious(G,_C.A2.g,'troot');}switch (event.type){case 'mouseover':if(G.nodeName.toLowerCase().indexOf('option')>-1&&G.parentNode.nodeName.toLowerCase().indexOf('select')>-1)return G.parentNode.fireEvent(_C.A2.q);if(G.getAttribute(_C.A4.g)=='ext_tool'&&Z&&Z.className.indexOf('down')>-1)return _C.G.C(G,'over');if(L)_C.G.C(L,'over');if(Z)_C.G.C(Z,'over');var U=(G.nodeName.toLowerCase().indexOf('row')>-1)?getParent(G,'active'):null;if((G.getAttribute(_C.A2.g)==_C.A4.d&&G.getAttribute(_C.A4.h))|| G.getAttribute(_C.A2.g)=='xdfs'||G.parentNode.active==G||(U&&U.active==G))return;if(G.getAttribute(_C.A2.g)=='mroot'&&(G.parentNode.active&&(G.nodeName.toLowerCase().split(':')[1]!='nav'||G.nodeName!='nav'))){if(G.nodeName.toLowerCase().split(':')[1]=='nav'||G.nodeName=='nav')return;_C.G.C(G.parentNode.active,'');_C.G.C(G,'down');G.parentNode.active=G;_C.G.M.S(G,true);return;}if(G.getAttribute(_C.A2.g)=='radio'&&G.parentNode.active==G){_C.G.C(G,'up');return;}if(G.nodeName.toLowerCase().indexOf('check')>-1||G.nodeName.toLowerCase().indexOf('radio')>-1){(G.getAttribute(_C.A4.h)=='on')?_C.G.C(G,'up'):_C.G.C(G,'over');return;}_C.G.C(G,'over');break;case 'mouseout':if(G.nodeName.toLowerCase().indexOf('option')>-1&&G.parentNode.nodeName.toLowerCase().indexOf('select')>-1)return G.parentNode.fireEvent(_C.A2.r);if(G.getAttribute(_C.A4.g)=='ext_tool'&&Z&&Z.className.indexOf('down')>-1)return _C.G.C(G,'over');if(L)_C.G.C(L,'');if(Z)_C.G.C(Z,'');if(G.nodeName.toLowerCase().indexOf('tool_arr')>-1&&G.className.indexOf('down')>-1)_C.G.C(Z,'over');var U=(G.nodeName.toLowerCase().indexOf('row')>-1)?getParent(G,'active'):null;if(((G.getAttribute(_C.A2.g)=='mroot'||G.getAttribute(_C.A2.g)=='column')&& G.parentNode.active==G)|| G.getAttribute(_C.A2.g)=='xdfs'||G.parentNode.active==G||(U&&U.active==G))return;if(G.getAttribute(_C.A2.g)==_C.A4.d&&G.getAttribute(_C.A4.h))return;if(G.getAttribute(_C.A2.g)=='radio'&&G.parentNode.active==G){_C.G.C(G,'down');return;}if(G.nodeName.toLowerCase().indexOf('check')>-1){(G.getAttribute(_C.A4.h)=='on')?_C.G.C(G,'down'):_C.G.C(G,'');return;}if(G.nodeName.toLowerCase().indexOf('radio')>-1&&G.getAttribute(_C.A4.h)=='on'){_C.G.C(G,'up');return;}_C.G.C(G,'');break;case 'mousedown':if(event.button==2)return;if(G.nodeName.toLowerCase().indexOf('option')>-1&&G.parentNode.nodeName.toLowerCase().indexOf('select')>-1)return G.parentNode.fireEvent(_C.A2.s);if(G.getAttribute(_C.A2.g)=='radio'&&G.nodeName.toLowerCase().indexOf('tab')>-1&&G.parentNode.active==G)return;if(G.nodeName.toLowerCase().split(':')[1]=='tree'||G.nodeName=='tree'){var t=getChild(G,_C.A1.z,'i16');var s=S.getAttribute(_C.A2.g);if(S==t&&s){var B=getChild(G.parentNode,_C.A1.z,'branch');B.style.display=(s=='oleaf')?_C.A1.u:_C.A1.w;t.className=(s=='oleaf')?'i16_tree_plus':'i16_tree_minus';t.setAttribute(_C.A2.g,((s=='oleaf')?'cleaf':'oleaf'));if(s=='cleaf'&&(!B.firstChild||B.firstChild.nodeType!=1)){_C.G.T.E(B);}return;}else{var r=getParent(G,'xslt');if(!r)break;if(r.active&&r.active!=G){r.active.removeAttribute(_C.A2.g);r.active.className='';}r.active=G;G.setAttribute(_C.A2.g,_C.A4.d);G.removeAttribute(_C.A4.h);var i=G.parentNode.getAttribute(_C.A4.o);var a=r.getAttribute(_C.A2.d);if(i&&a){var pE=getParent(G,_C.A4.p).getAttribute(_C.A4.p);var xO=_C.H.C("xml -q '"+pE+"//*[@_id=\""+i+"\"]'");a=a.replace(/\(\)/,'');var f=eval(a);if(typeof(f)==_C.A4.b)f(xO);}else if(G.getAttribute(_C.A2.d)){_C.H.C(G.getAttribute(_C.A2.d));}}}if(G.nodeName.toLowerCase().split(':')[1]=='nav'||G.nodeName=='nav'){var d=(_env.ie)?13:9;if(event.offsetX<G.offsetWidth-d){_C.H.R.M.removeAttribute('match');_C.G.M.C1(false,1);var c=G.parentNode.getAttribute(_C.A2.d);if(c)eval(c.replace(/\(\)/,''))(G);return;}else{_C.G.M.Sr();var A=getParent(G,_C.A1.t).id;var f=_C.H.C("xml -q '//xdfs//*[@id=\""+G.getAttribute(_C.A5.n)+"\"]'");for(var i=0,il=f.childNodes.length;i<il;i++){if(f.childNodes[i].getAttribute('ftId')>99)continue;var q=f.childNodes[i];var iI=q.getAttribute('icon')|| _C.I.F.M(q.getAttribute('ftId'),'icon');_C.G.M.Sa(iI,q.getAttribute('title'),A+' -o '+q.getAttribute(_C.A2.n));}G.setAttribute(_C.A4.h,'on');if(!_C.G.M.SM.hasChildNodes())return;_C.G.M.S(G,true);setTimeout(function(){document.attachEvent('onclick',_C.G.M.C2);},1);}}if((G.getAttribute(_C.A2.g)=='xdfs'||G.nodeName.toLowerCase().indexOf('row')>-1)){var U=(G.nodeName.toLowerCase().indexOf('row')>-1)?getParent(G,_C.A4.g,'list')|| getParent(G,_C.A4.g,'grid'):getParent(G,_C.A4.k,'xdfs_root');if(U&&U.getAttribute('_mselect')){if(U.active&&U.active.length&&event.button==2){return;}else{U.active=(!U.active||!U.active.length)?new Array():U.active;if(!event.ctrlKey){U.active.foreach(function(E){_C.G.C(E,'');});U.active=new Array();}if(U.active.indexOf(G)>-1){_C.G.C(G,'');U.active=U.active.subtract([G]);}else{var j=parseInt(U.getAttribute('_mselect'));if(j!=NaN&&U.active.length >= j)_C.G.C(U.active.pop(),'');_C.G.C(G,'down');U.active.push(G);}}return;}else{if(U.active&&U.active.length)return;if(U.active)_C.G.C(U.active,'');_C.G.C(G,'down');U.active=G;}}if(G.parentNode.active&&G.parentNode.active!=G&&!G.parentNode.active.length){_C.G.C(G.parentNode.active,'');if(G.parentNode.active.removeAttribute)G.parentNode.active.removeAttribute(_C.A4.h);}_C.G.C(G,'down');if(_C.E.chx_slct.obj&&G.parentNode==_C.E.chx_slct.childNodes[0]){var W=getParent(_C.E.chx_slct.obj,_C.A1.t);W.className='chxw_focus';if(window[W.id]&&window[W.id][_C.A3.c])window[W.id][_C.A3.c](event);return;}if(G.nodeName.toLowerCase().indexOf('select')>-1){while (_C.E.chx_slct.childNodes[0].firstChild)_C.E.chx_slct.childNodes[0].removeChild(_C.E.chx_slct.childNodes[0].firstChild);var Y=getDim(G);var o=G.childNodes;for(var i=0,il=o.length;i<il;i++){if(o[i].nodeName.toLowerCase().indexOf('option')==-1)continue;if(!G.len)G.len=o[i].offsetWidth - 8;o[i].setAttribute('__oid',i+1);o[i].style.width=G.len+_C.A2.i;var xO=o[i].cloneNode(true);xO.setAttribute('unselectable','on');xO.style.display=_C.A1.w;xO.style.width='auto';_C.E.chx_slct.childNodes[0].appendChild(xO);}_C.E.chx_slct.obj=G;_C.E.chx_slct.style.top=(Y.t+Y.h)+_C.A2.i;_C.E.chx_slct.style.left=Y.l+_C.A2.i;_C.E.chx_slct.firstChild.style.height='10px';var H=parseInt(_C.E.chx_slct.firstChild.scrollHeight);_C.E.chx_slct.firstChild.style.height=(H<120)?'auto':'120px';_C.E.chx_slct.firstChild.style.width=(Y.w - 4)+_C.A2.i;}if(G.getAttribute(_C.A2.g)==_C.A4.d||G.nodeName.toLowerCase().indexOf('check')>-1||G.nodeName.toLowerCase().indexOf('radio')>-1){if(G.nodeName.toLowerCase().indexOf('radio')>-1||G.getAttribute('_radio_id')){var W=getParent(G,_C.A1.t);var R=getChildren(W,'_radio_id',G.getAttribute('_radio_id'));if(R.length==1){if(G.getAttribute(_C.A4.h)){G.removeAttribute(_C.A4.h);G.checked=false;}else{G.setAttribute(_C.A4.h,'on');G.checked=true;_C.G.C(G,'down');}return;}else{for(var i=0,il=R.length;i<il;i++){if(R[i].className=='dsbld')continue;if(R[i]!=G)_C.G.C(R[i],'');R[i].removeAttribute(_C.A4.h);R[i].checked=false;}}}if(G.getAttribute(_C.A4.h)&& G.nodeName.toLowerCase().indexOf('radio')==-1){G.removeAttribute(_C.A4.h);G.checked=false;}else{G.setAttribute(_C.A4.h,'on');G.checked=true;}if(G.nodeName.toLowerCase().indexOf('check')>-1){G.className=(G.getAttribute(_C.A4.h)=='on')?'down_c':'down_uc';G.checked=(G.getAttribute(_C.A4.h)=='on');}if(G.nodeName.toLowerCase().indexOf('check')==-1)G.parentNode.active=G;return;}if(G.parentNode.active!=G){if(G.getAttribute(_C.A2.g)=='radio'||G.getAttribute(_C.A2.g)=='mroot'||G.getAttribute(_C.A2.g)=='column'){if(G.getAttribute(_C.A2.g)!='column')G.parentNode.active=G;if(G.getAttribute(_C.A2.g)=='mroot')_C.G.M.S(G);if(G.nodeName.toLowerCase().indexOf('tab')>-1){var T1=getParent(G,_C.A4.g,'tabbar');var T2=getParent(G,_C.A4.g,'tabcontrol');var T3=getChildren(T2,_C.A4.g,'tabpane');var T4=getSrcIndex(G);if(T3[T4]){for(var i=0,il=T3.length;i<il;i++){if(T3[i].style.display!=_C.A1.u){T3[T4].style.height=T3[i].currentStyle.height;T3[T4].style.width=T3[i].currentStyle.width;}T3[i].blur();T3[i].style.display=_C.A1.u;}T3[T4].style.display=_C.A1.w;if(!_env.ie)T3[T4].focus();}_C.G.L.I(T1.parentNode.parentNode);var a=T1.getAttribute(_C.A3.b);if(T1&&a)eval(a.replace(/\(\)/,''))(G);}}}else if(G.getAttribute(_C.A2.g)=='mroot'){G.parentNode.active=null;}if(G.parentNode.active==G){if(G.getAttribute(_C.A4.h)){G.removeAttribute(_C.A4.h);}else{G.setAttribute(_C.A4.h,'on');}}break;case 'mouseup':if(event.button==2)return;if(G.nodeName.toLowerCase().indexOf('option')>-1&&G.parentNode.nodeName.toLowerCase().indexOf('select')>-1)return G.parentNode.fireEvent(_C.A2.t);if(G.parentNode==_C.E.chx_slct.childNodes[0]){if(!_C.E.chx_slct.obj==null)return;var O=_C.E.chx_slct.obj.childNodes;for(var i=0,il=O.length;i<il;i++){if(O[i].nodeName.toLowerCase().indexOf('option')==-1)continue;O[i].removeAttribute('selected');O[i].style.display=(G.getAttribute('__oid')==O[i].getAttribute('__oid'))?_C.A1.w:_C.A1.u;}G.setAttribute('selected','1');_C.E.chx_slct.obj.valEl=G;_C.E.chx_slct.obj.value=G.getAttribute(_C.A1.y);var a=_C.E.chx_slct.obj.getAttribute(_C.A3.b);if(a)eval(a.replace(/\(\)|\(this\)/,'(_C.E.chx_slct.obj.valEl)'));_env.cancelEvent();getParent(_C.E.chx_slct.obj,_C.A1.t).fireEvent(_C.A2.s);return;}if(G.nodeName.toLowerCase().split(':')[1]=='tree'||G.nodeName=='tree'){return;}if(G.getAttribute(_C.A2.g)=='accordion'){var b=getNext(G,_C.A4.m,'frame');if(b){var i;var s=getChildren(G.parentNode,_C.A4.m,'frame');for(var a=0,al=s.length;a<al;a++){if(s[a].parentNode!=G.parentNode)continue;if(s[a]==b)i=a;s[a].style.display=_C.A1.u;}var s=getChildren(G.parentNode,_C.A2.g,'accordion');for(var a=0,al=s.length;a<al;a++){if(s[a].parentNode!=G.parentNode)continue;s[a].setAttribute(_C.A4.m,((i>=a)?'top':'bottom'));}b.style.display=_C.A1.w;_C.G.L.I(G.parentNode.parentNode);var B=(G&&G.getAttribute(_C.A3.b))?G.parentNode:null;B=(G.parentNode&&G.parentNode.getAttribute(_C.A3.b))?G.parentNode:B;if(B)eval(B.getAttribute(_C.A3.b).replace(/\(\)|\(this\)/,''))(G);}}if(G.getAttribute(_C.A2.g)=='xdfs'||G.nodeName.toLowerCase().indexOf('row')>-1)return;if(G.getAttribute(_C.A2.g)=='mroot'){if(G.parentNode.active!=G){_C.G.C(G,((G.nodeName.toLowerCase().split(':')[1]=='nav'||G.nodeName=='nav')?'over':'up'));_C.G.M.C1(false,1);}return;}if((G.getAttribute(_C.A2.g)!=_C.A4.d||!G.getAttribute(_C.A4.h))&& G.nodeName.toLowerCase().indexOf('check')==-1){if(G.getAttribute(_C.A4.h))_C.G.C(G,'up');else{(G.nodeName.toLowerCase().indexOf('button')>-1)?_C.G.C(G,'up'):_C.G.C(G,'over');G.parentNode.active=null;}}if(G.nodeName.toLowerCase().indexOf('check')>-1){(G.getAttribute(_C.A4.h)=='on')?_C.G.C(G,'up'):_C.G.C(G,'over');}var A=G.getAttribute(_C.A2.d);if(A)_C.H.C(A);break;case 'dblclick':_C.I.F.c();if(G.getAttribute(_C.A2.g)=='xdfs'){var A=G.getAttribute(_C.A2.d);if(A)_C.H.C(A);}break;}},M:{i:1,I:function(){_C.G.M.SM=_C.X.Q('//xmenus//*[@for="sys_swap_menu"]');_C.G.M.SMT=_C.X.Q('//xmenus//*[@title and @action]');_C.G.M.A(_C.X.Q('//xmenus'));},A:function(x){var S=_C.X.Q('//settings//*[@name and @value]',1);for(var s=0,sl=S.length;s<sl;s++){var n=S[s].getAttribute(_C.A1.x);var v=S[s].getAttribute(_C.A1.y);var O=x.selectNodes('.//*[@moption="'+n+'"]');for(var o=0,ol=O.length;o<ol;o++){if(O[o].getAttribute('mvalue')==v)O[o].setAttribute('mcheck','1');else O[o].removeAttribute('mcheck');}}if(x==null)return;var X=x.selectNodes('.//*');for(i=0;i<X.length;i++){X[i].setAttribute('__mid',_C.G.M.i++);}var P=_C.X.Q('//xmenus');if(x!=P)P.appendChild(x.cloneNode(true));},A2:function(n,r,a){n.setAttribute('__mid',_C.G.M.i++);var nc=n.selectNodes('.//*');for(var i=0,il=nc.length;i<il;i++){nc[i].setAttribute('__mid',_C.G.M.i++);}return (a)?r.appendChild(n):r.parentNode.insertBefore(n,r);},C1:function(M){if(!M||!M.nodeName){var o=_C.G.M.ctxt;if(o&&!arguments[1])return;if(o&&o.origin.getAttribute(_C.A2.g)=='mroot'){var O=_C.G.M.ctxt.origin;var b=(event&&getScope(event.srcElement,'gui')==O);O.className=(b)?'over':'';if(O.nodeName.toLowerCase().indexOf('tool_arr')>-1){var Z=getPrevious(O,_C.A2.g,'troot');if(Z)Z.className=(b)?'over':'';}if(O.parentNode)O.parentNode.active=false;O.origin=false;}_C.E.chx_ctxt.innerHTML=_C.A2.h;document.detachEvent(_C.A2.t,_C.G.M.C2);}else{M=(M==_C.E.chx_ctxt)?_C.E.chx_ctxt.firstChild:M;while (M.nextSibling)M.parentNode.removeChild(M.nextSibling);}_C.H.R.M.removeAttribute('match');},C2:function(){var S=event.srcElement;var G=getParent(S,_C.A4.l);if((S&&S.getAttribute(_C.A2.g)=='mroot')|| event.button==2||(G&&G.getAttribute('_submenu')=='1'))return;var t=function(){_C.G.M.C1(false,1);};if(_env.ie)setTimeout(t,1);else t();document.detachEvent('onclick',_C.G.M.C2);},Sa:function(i,t,a){var m=_C.G.M.SMT.cloneNode(false);m.setAttribute('icon',i);m.setAttribute('title',t);m.setAttribute('action',a);_C.G.M.A2(m,_C.G.M.SM,1);},Sr:function(){while (_C.G.M.SM.firstChild){_C.G.M.SM.removeChild(_C.G.M.SM.firstChild);}},S:function(ctxm){var p=_C.X.Q('//xmenus//*[@sId="fs_paste"]',true);for(var i=0,il=p.length;i<il;i++){p[i].setAttribute(_C.A2.o,(_C.Cb.fs?'':'disabled'));}var P={origin:ctxm};if(ctxm.getAttribute('_ctx')){P.q='//xmenus//*[@for=\''+ctxm.getAttribute('_ctx')+'\']';P.x=event.clientX;P.y=event.clientY;if(ctxm.nodeName.toLowerCase().indexOf('quix')>-1){var t=getChild(_C.E.chx_taskbar,'className','taskbar');P.y=(_C.E.chx_taskbar.offsetTop>100)?_C.E.chx_taskbar.offsetTop - t.offsetHeight+7:t.offsetHeight;P.x=getDim(_C.E.chx_quix).l;}else if(ctxm.getAttribute(_C.A2.g)=='mroot'){P.x=event.clientX - event.offsetX+event.srcElement.offsetWidth - (_env.ie?14:9);P.y=event.clientY - event.offsetY+event.srcElement.offsetHeight+(_env.ie?2:4);if(ctxm.nodeName.toLowerCase().indexOf('tool_arr')>-1 ||ctxm.nodeName=='tool_arr'){var Z=getPrevious(ctxm,_C.A2.g,'troot');P.x=getDim(ctxm).l - parseInt(Z.offsetWidth)+2;P.y -= 2;}}}else if(ctxm.getAttribute('_mroot')){P.q='//xmenus//*[@__mid=\''+ctxm.getAttribute('_mroot')+'\']';P.x=event.clientX - event.offsetX;P.y=event.clientY - event.offsetY+event.srcElement.offsetHeight;}if(ctxm.getAttribute('_ctx')=='null')return;_C.H.R.M.setAttribute('match',P.q);_C.X.R(_C.H.l,_C.G.xsl,_C.E.chx_ctxt);if(!_C.E.chx_ctxt.hasChildNodes())return;while (_C.E.chx_ctxt.firstChild.nodeType==3){_C.E.chx_ctxt.removeChild(_C.E.chx_ctxt.firstChild);}var my=(_C.I.S.h<(P.y+_C.E.chx_ctxt.lastChild.offsetHeight))?(P.y - _C.E.chx_ctxt.lastChild.offsetHeight):P.y;var mx=(_C.I.S.w<(P.x+_C.E.chx_ctxt.lastChild.offsetWidth))?(P.x - _C.E.chx_ctxt.lastChild.offsetWidth):P.x;_C.E.chx_ctxt.lastChild.style.top=my+_C.A2.i;_C.E.chx_ctxt.lastChild.style.left=mx+_C.A2.i;_C.G.M.ctxt=P;if(arguments[1]!=true)document.attachEvent('onclick',_C.G.M.C2);},Sm:function(G){var I=G.getAttribute('__mid');var pEl=getParent(G,_C.A4.g,'chx_menu');if(getChildren(_C.E.chx_ctxt,'__smid',I).length)return;var T=_C.E.chx_ctxt.appendChild(_C.Sp.cloneNode(false));var R=G.getAttribute('_child_refer');_C.H.R.M.setAttribute('match',(R)?'//xmenus//*[@for=\''+R+'\']':'//xmenus//*[@__mid=\''+I+'\']');_C.X.R(_C.H.l,_C.G.xsl,T);_C.H.R.M.removeAttribute('match');while (T.firstChild.nodeType==3){T.removeChild(T.firstChild);}var ow=getChildren(pEl,_C.A1.z,'TABLE')[0].offsetWidth - pEl.offsetWidth;var my=(pEl.offsetTop+G.offsetTop+2);my -= Math.max(my+_C.E.chx_ctxt.lastChild.firstChild.offsetHeight - _C.I.S.h,0);var mx1=(pEl.offsetLeft+G.offsetWidth);var mx2=(pEl.offsetLeft - _C.E.chx_ctxt.lastChild.firstChild.offsetWidth - ow);var mx=(_C.I.S.w<(pEl.offsetLeft+G.offsetWidth+_C.E.chx_ctxt.lastChild.firstChild.offsetWidth))?mx2:mx1;T.firstChild.style.top=my+_C.A2.i;T.firstChild.style.left=(mx+1)+_C.A2.i;},M:function(S){var G=getParent(S,_C.A4.l);if(!G||G.className.indexOf('dsbld')>-1)return;var gtype=G.getAttribute(_C.A4.l);switch (event.type){case 'mouseover':if(G.parentNode.active==G)return;if(G.parentNode.active){G.parentNode.active.className=gtype;G.parentNode.active=null;}G.className=gtype+'_over';var chx_menu=getParent(G,_C.A4.g,'chx_menu');if(chx_menu){_C.G.M.C1(chx_menu.parentNode);if(G.getAttribute('_submenu')|| G.getAttribute('_child_refer')){G.parentNode.active=G;_C.G.M.Sm(G);G.className=gtype+'_down';}}break;case 'mouseout':if(G.parentNode.active!=G)G.className=gtype;break;case 'mousedown':G.className=gtype+'_down';if(_env.ie)_C.G.M.a(G);break;case 'mouseup':if(G.getAttribute('_submenu')=='1')return;G.className=gtype+'_up';if(!_env.ie)_C.G.M.a(G);_env.cancelEvent();_C.G.M.C1(false,1);break;}},a:function(G){var I=G.getAttribute('__mid');var X=_C.X.Q('//xmenus//*[@__mid="'+I+'"]');var O=X.getAttribute('moption');var C=X.getAttribute('mcheck');if(O||C){var o=_C.X.Q('//xmenus//*[@moption=\''+O+'\' and @mcheck]');var L=_C.X.Q('//xmenus//*[@moption=\''+O+'\']',true);if(L.length==1)(C&&o)?o.removeAttribute('mcheck'):X.setAttribute('mcheck',1);else{if(o)o.removeAttribute('mcheck');X.setAttribute('mcheck',1);}}var A=X.getAttribute('action');if(X&&A)_C.H.C(A);}},zindex:{i:200,w:200,a:950},W:{ot:function(i){return ($(i))?$(i).offsetTop:0;},ol:function(i){return ($(i))?$(i).offsetLeft:0;},ow:function(i){if(!$(i))return;var w=getChild(i,'className','wincontent');return (w)?parseInt(w.currentStyle.width):null;},oh:function(i){if(!$(i))return;var w=getChild(i,'className','wincontent');return (w)?parseInt(w.currentStyle.height):null;},dm:function(i){if(!$(i))return;i=$(i);var d={t:_C.G.W.ot(i),l:_C.G.W.ol(i),h:_C.G.W.oh(i),w:_C.G.W.ow(i)};return d;},Tw:function(i,I,nI,T){var pW=getParent(I,_C.A1.t);if(typeof(I)!=_C.A4.a||!pW||getChild(I,_C.A1.r,i))return;var pI=pW.getAttribute(_C.A2.n);var pi=pI+'_'+i;var q='//tinywin[@id="'+pi+'"]';var wX=_C.G.W.c.selectSingleNode(q);if(!wX)return;var oT=wX.getAttribute('title');if(T)wX.setAttribute('title',T);I.setAttribute(_C.A4.i,'track');I.setAttribute(_C.A4.v,'1');I.setAttribute(_C.A4.u,'1');var t=_C.I.W.A.appendChild(_C.Sp.cloneNode(false));_C.H.R.Wt.setAttribute('match',q);_C.X.R(wX,_C.G.xsl,t);_C.H.R.Wt.removeAttribute('match');while (t.hasChildNodes())I.appendChild(t.childNodes[0]);t.parentNode.removeChild(t);wX.setAttribute('title',oT);var rE=getChild(I,_C.A1.r,pi);if(!rE)return;rE.setAttribute(_C.A1.r,nI||i);var t=((rE.getAttribute(_C.A4.w).slice(-1)=='%')?Math.max(0,parseInt(((I.offsetHeight||_C.I.S.h)-rE.offsetHeight)*(parseInt(rE.getAttribute(_C.A4.w))/100))):rE.getAttribute(_C.A4.w));var l=((rE.getAttribute(_C.A4.x).slice(-1)=='%')?Math.max(0,parseInt(((I.offsetWidth||_C.I.S.w)-rE.offsetWidth)*(parseInt(rE.getAttribute(_C.A4.x))/100))):rE.getAttribute(_C.A4.x));if(rE.getAttribute(_C.A4.y))l=(rE.getAttribute(_C.A4.y).slice(-1)=='%')?Math.max(0,parseInt(((I.offsetWidth||_C.I.S.h)-rE.offsetWidth)*(parseInt(rE.getAttribute(_C.A4.y))/100))):I.offsetWidth - rE.offsetWidth - parseInt(rE.getAttribute(_C.A4.y))- 2;if(rE.getAttribute(_C.A4.z))t=(rE.getAttribute(_C.A4.z).slice(-1)=='%')?Math.max(0,parseInt(((I.offsetHeight||_C.I.S.h)-rE.offsetHeight)*(parseInt(rE.getAttribute(_C.A4.z))/100))):I.offsetHeight - rE.offsetHeight - parseInt(rE.getAttribute(_C.A4.z))- 2;if(!rE.style.top)rE.style.top=t+_C.A2.i;if(!rE.style.left)rE.style.left=l+_C.A2.i;rE.style.visibility='visible';if(!rE.parentNode.zI)rE.parentNode.zI=3;rE.style.zIndex=rE.parentNode.zI++;if(!window[pI].el)window[pI].el={};window[pI].el[nI||i]=rE;window[pI].el[nI||i].el=getEl(rE);_C.G.W.B(rE.childNodes[0]);_C.G.L.I(I,1);return rE;},B:function(S){var cw=getParent(S,_C.A4.g,'twin');if(cw){var sw=getChildren(cw.parentNode,_C.A4.g,'twin');for(var i=0,il=sw.length;i<il;i++){if(sw[i].getAttribute('_blurable')&& cw.getAttribute('_blurable'))sw[i].className='twin twin_blur'+(sw[i].className.indexOf('mnmzd')>-1?' mnmzd':'');if(sw[i].currentStyle.zIndex <= cw.currentStyle.zIndex)continue;sw[i].style.zIndex=parseInt(sw[i].currentStyle.zIndex)-1;}cw.className='twin'+(cw.className.indexOf('mnmzd')>-1?' mnmzd':'');;cw.style.zIndex=cw.parentNode.zI;if(cw.getAttribute('_blurable'))cw.parentNode.active_win=cw;}var w=getParent(S,_C.A4.k,'wa');var M=getParent(S,_C.A4.l,'chx_mitem');if(!w&&!M){if(_C.I.W.AW&&_C.I.W.AW.getAttribute('_chrome')!=_C.A2.k){_C.I.W.AW.className='chxw_blur';_C.I.W.AW=null;}document.body.className='chxd_focus';return;}document.body.className='chxd_blur';var W=getParent(S,_C.A1.t);if(W&&W.nodeName=='BODY')W=null;if(W&&W.getAttribute('_aotop')&& W.getAttribute('_chrome')!=_C.A2.k){W.className='chxw_focus';}if(W&&W!=_C.I.W.AW){var D=getParent(W,_C.A4.g,'sys_drag_area');if(D&&D.getAttribute(_C.A1.r)!='chx_icon'){if(_C.I.W.AW&&_C.I.W.AW.getAttribute('_chrome')!=_C.A2.k){_C.I.W.AW.className='chxw_blur';if(window[_C.I.W.AW.id]&&window[_C.I.W.AW.id][_C.A3.c])window[_C.I.W.AW.id][_C.A3.c]();}if(W.getAttribute('_chrome')!=_C.A2.k){W.className='chxw_focus';if(window[W.id]&&window[W.id][_C.A3.d]){_env.cancelEvent();window[W.id][_C.A3.d](event);}}}var C=getChildren(D,_C.A1.t);for(var j=0,jl=C.length;j<jl;j++){if(C[j].currentStyle.zIndex <= W.currentStyle.zIndex||(C[j].nextSibling&&C[j].nextSibling.getAttribute(_C.A1.r)=='chx_dsblr_copy'))continue;C[j].style.zIndex=C[j].currentStyle.zIndex - 1;}var z=(D.getAttribute(_C.A1.r)=='chx_icon')?_C.G.zindex.i:_C.G.zindex.w;if(!getChild(document.body,_C.A1.r,'chx_dsblr_copy'))W.style.zIndex=z+C.length+1;if(D.getAttribute(_C.A1.r)!='chx_icon'&&W.getAttribute(_C.A2.n)!='abt'&&W.getAttribute(_C.A2.n).slice(-7)!='_loader')_C.I.W.AW=W;}if(W&&S!=W){var A=getChild(_C.E.chx_taskbar,_C.A4.g,'appbar1');var T=getChildren(A,'chx_rel_id','tsk_'+W.id);if(T.length){if(T[0].parentNode.active)T[0].parentNode.active.className='';if(getParent(T[0],_C.A1.z,'TABLE')!=_C.E.gDock)T[0].className='down';if(getParent(T[0],_C.A1.z,'TABLE')!=_C.E.gDock)T[0].parentNode.active=T[0];}}},O:function(A,C,Fs){if($(A)|| (typeof(A)==_C.A4.c&&_C.X.Q('//xapps_open//*[@id="'+A+'"]')))return ($(A))?$(A).focus():false;if(typeof(A)==_C.A4.c){var a=_C.X.Q('//xapps//*[@id="'+A+'"]');if(!a)return _C.S.E.L(300,A);}var sa=_C.X.Q('//xaccount//startmenu//*[@action="'+A+'"]');if(sa)_C.I.T.rq(sa.getAttribute('prio')|| 1,-1,'startmenu');var O=_C.X.Q('//xapps_open');O.appendChild(a.cloneNode(false));if(_C.I.W.AW&&_C.I.W.AW.getAttribute('_chrome')!=_C.A2.k&&!_C.I.W.AW.getAttribute('_aotop'))_C.I.W.AW.className='chxw_blur';if(a.getAttribute('appbar')!=_C.A2.k){_C.H.R.T.setAttribute('match','//xapps//*[@id=\''+A+'\']');var B=getChild(_C.E.chx_taskbar,_C.A4.g,'appbar1');if(B.firstChild.nodeType==3)B.innerHTML='';var t=_C.I.W.A.appendChild(_C.Sp.cloneNode(false));_C.X.R(_C.H.l,_C.G.xsl,t);var T=B.appendChild(t.firstChild);_C.I.W.A.removeChild(t);_C.H.R.T.removeAttribute('match');_C.H.R.d.setAttribute('match','//xapps//*[@id=\''+A+'\']');var B=getChild(_C.E.chx_taskbar,_C.A4.g,'appdock');if(B.firstChild.nodeType==3)B.innerHTML='';var t=_C.I.W.A.appendChild(_C.Sp.cloneNode(false));_C.X.R(_C.H.l,_C.G.xsl,t);var T=B.appendChild(t.firstChild);_C.I.W.A.removeChild(t);_C.H.R.d.removeAttribute('match');if(_C.E.gDock.currentStyle.display=='none'){if(T.parentNode.active)T.parentNode.active.className='';T.className='down';T.parentNode.active=T;}}var p=a.getAttribute('path');var L=function(a){var A=_C.G.W.Pa(a);var I=A.getAttribute(_C.A2.n);if(I=='finder'&&_C.E.chx_sm.hasChildNodes())setTimeout(_C.I.T.S,1);if(window[I+_C.A2.a]){_C.H.C(I+_C.A2.a+' -u 100');setTimeout(function(){_C.G.W.C(I+_C.A2.a);},100);var Cl=getChild(I+_C.A2.a,_C.A1.z,'close');Cl.fireEvent(_C.A2.s);Cl.fireEvent(_C.A2.t);}var t=_C.I.W.A.appendChild(_C.Sp.cloneNode(false));_C.H.R.W.setAttribute('match','//application');_C.X.R(A,_C.G.xsl,t,null,C);if(t.firstChild.getAttribute(_C.A2.n)!='abt')_C.I.W.AW=t.firstChild;if(Fs)_C.G.W.Mx(I,true);var b=getChildren(t,_C.A4.g,'file');for(var i=0,il=b.length;i<il;i++){var iE=getChildren(b[i],_C.A1.z,'INPUT');if(b[i].nodeName.toLowerCase().indexOf('button')==-1)continue;b[i].i1=iE[0];b[i].i2=iE[1];b[i].iD=(_env.ie)?-30:((_env.sf)?-50:70);b[i].onmousemove=function(){var e=(typeof(e)==_C.A4.f)?window.event:event;if(typeof(e.pageY)==_C.A4.f&& typeof(e.clientX)==_C.A4.e&&document.documentElement){e.pageX=e.clientX+document.documentElement.scrollLeft;e.pageY=e.clientY+document.documentElement.scrollTop;}var ox=oy=0;var el=this;if(el.offsetParent){ox=el.offsetLeft;oy=el.offsetTop;while (el=el.offsetParent){ox+=el.offsetLeft;oy+=el.offsetTop;}}var x=e.pageX - ox;var y=e.pageY - oy;var w=this.i1.offsetWidth;var h=this.i1.offsetHeight;this.i1.style.top=(y-(h/2))+_C.A2.i;this.i1.style.left=(x-(w+this.iD))+_C.A2.i;};}_C.H.R.W.removeAttribute('match');_C.G.L.I(I);_C.G.L.P(I,true);};var ac=_C.G.W.c.selectSingleNode('//application[@id="'+A+'" and @_cache_expire!="0"]');if(ac!=null){var ca=_C.X.L('<data/>');ca.documentElement.appendChild(ac.cloneNode(true));L(ca);}else if(p){var li;var al=_C.G.W.c.selectSingleNode('//application[@id="aload"]');if(al){li=A+'_loader';var lc=_C.X.L(al.xml.replace(/aload/g,li));var t=_C.I.W.A.appendChild(_C.Sp.cloneNode(false));_C.H.R.W.setAttribute('match','//application');_C.X.R(lc,_C.G.xsl,t);_C.H.R.W.removeAttribute('match');window[li].public.update(5);window[li].public.load(a.getAttribute('title'),a.getAttribute('icon'));_C.G.L.I(li);_C.G.L.P(li);}var r=_C.X.Aq(_C.X.c('A01'));r.setAttribute('req:sId','app.data.'+A);r.setAttribute('req:app',a.getAttribute('path'));_C.X.X(L,li);}else L(_C.X.L(a.getAttribute('src')));},Pa:function(a){var rA=a.selectNodes('//_dfs');for(var k=0,kl=rA.length;k<kl;k++){if(!rA[k].getAttribute('rsp:affectedRows'))continue;rA[k].parentNode.removeChild(rA[k]);}var nA=a.selectNodes('.//application');for(var j=0,jl=nA.length;j<jl;j++){var A=nA[j];var t=A.selectNodes('.//tinywin');for(var i=0;i<t.length;i++){t[i].setAttribute(_C.A2.n,A.getAttribute(_C.A2.n)+'_'+t[i].getAttribute(_C.A2.n));}var d;if(A.nextSibling!=null&&A.nextSibling.nodeType==4){var As=A.nextSibling.text;As=As.replace(/&amp;lt;/ig,'&#60;');As=As.replace(/&amp;gt;/ig,'&#62;');As=_C.X.L('<data xmlns:sys="sys.cloudo.com">'+As+'</data>').documentElement;d=As.selectSingleNode('.//_dfs[@sId="app.data.'+A.getAttribute(_C.A2.n)+'"]');}var x=A.selectSingleNode('./xdb');if(!x)x=A.appendChild(_C.X.Cn('xdb'));if(!x.getAttribute('xmlns:sys'))x.setAttribute('xmlns:sys','sys.cloudo.com');if(!x.getAttribute('xmlns:cfg'))x.setAttribute('xmlns:cfg','cfg.cloudo.com');var t=x.appendChild(_C.X.Cn('_app_data'));if(d){var ad=_C.X.L(d.getAttribute('data')).documentElement;A.parentNode.replaceChild(d.cloneNode(true),A.nextSibling);t.setAttribute(_C.A2.n,d.getAttribute(_C.A2.n));var X=ad.selectNodes('./*');for(var i=0,il=X.length;i<il;i++){t.appendChild(X[i].cloneNode(true));}}if(_C.G.W.c)_C.X.Pa(A);}return (nA.length==1)?A:nA;},P:function(A){var S=_C.X.Uq();var I=A.getAttribute(_C.A2.n);A.setAttribute(_C.A1.t,S);var o=_C.X.Q('//xapps_open/*[@id="'+I+'"]');if(o!=null)o.setAttribute(_C.A1.t,S);if(_C.E.chx_taskbar){var B=getChild(_C.E.chx_taskbar,_C.A4.g,'appbar1');var C=getChild(B,'chx_rel_id','tsk_'+I);if(C)C.lastChild.innerHTML=A.getAttribute('title');var x=A.selectNodes('//application/*');var D=_C.X.Q('//xdb');var R=_C.X.Q('//xrpc');for(var i=0,il=x.length;i<il;i++){if(x[i].nodeName=='content')continue;x[i].setAttribute(_C.A1.t,S);if(x[i].nodeName=='xmenu'||x[i].nodeName=='menubar'){_C.G.M.A(x[i]);}else if(x[i].nodeName=='toolbar'){var ct=x[i].selectNodes('./*[@icon]');for(var p=0,pl=ct.length;p<pl;p++){if(ct[p].hasChildNodes()){ct[p].setAttribute('_stamp',S);if(!ct[p].getAttribute('refer')){ct[p].setAttribute('for',I+'_tool_'+(p+1));ct[p].setAttribute('refer',I+'_tool_'+(p+1));}_C.G.M.A(ct[p]);}}}else{for(var j=0;j<x[i].childNodes.length;j++){if(x[i].childNodes[j].nodeType!=1)continue;switch (x[i].childNodes[j].nodeName){case 'xwin':var r=_C.X.Q('//xapps');var Dg=x[i].childNodes[j].selectNodes('.//dialog');var pl=new Array();for(var k=0;k<Dg.length;k++){var xD=_C.X.Cn('xapp');xD.setAttribute('_dlg_stamp',S);xD.setAttribute('appbar','false');for(h=0;h<Dg[k].attributes.length;h++){xD.setAttribute(Dg[k].attributes[h].name,Dg[k].attributes[h].value);}pl.push(Dg[k].getAttribute(_C.A2.n));r.appendChild(xD);}x[i].childNodes[j].parentNode.removeChild(x[i].childNodes[j]);if(_env.ie)j--;/*PRELOAD DIALOGS?_C.G.W.Pl(pl);*/break;case 'xsl:stylesheet':if(_env.ie||_env.ff){var s=x[i].childNodes[j].xml.replace(/<xsl:template/g,'<xsl:template xmlns:sys="sys.'+_C.A1.l+'.com" sys:stamp="'+S+'"');var g=_C.X.L(s);while (x[i].childNodes[j].hasChildNodes())x[i].childNodes[j].removeChild(x[i].childNodes[j].firstChild);while (g.firstChild.hasChildNodes())_C.G.xsl.documentElement.appendChild(g.firstChild.firstChild);}else{for(var n=0,nl=x[i].childNodes[j].childNodes.length;n<nl;n++){var Tm=x[i].childNodes[j].childNodes[n];if(Tm.nodeType!=1||_C.G.xsl.documentElement.selectSingleNode('.//xsl:template[@name="'+Tm.getAttribute('name')+'"]'))continue;var Z=_C.G.xsl.documentElement.insertBefore(Tm.cloneNode(true),_C.G.xsl.documentElement.firstChild);/*Z.setAttribute('xmlns:sys','sys.'+_C.A1.l+'.com');Z.setAttribute('sys:stamp',S);*/}x[i].childNodes[j].parentNode.removeChild(x[i].childNodes[j]);}break;case 'arpc':var rp=x[i].childNodes[j].cloneNode(true);rp=rp.xml.replace(/xmlns\:(.+?)="(.+?).cloudo.com"/g,'xmlns:$1="$1.cloudo.com"');rp=rp.replace(/xmlns=".+?" /ig,'');var P=_C.X.L('<data>'+rp+'</data>').selectNodes('//data/*/*');for(var t=0,tl=P.length;t<tl;t++){P[t].setAttribute(_C.A1.t,S);R.appendChild(P[t].cloneNode(true));}break;case 'xtree':_C.G.T.c(x[i].childNodes[j]);var Z=D.appendChild(_C.X.Cn(I));Z.setAttribute(_C.A1.t,S);Z.appendChild(x[i].childNodes[j].cloneNode(true));break;}}var X=_C.X.Q('//'+x[i].nodeName);if(!X)continue;X.appendChild(x[i].cloneNode(true));}}setTimeout("if($('"+I+"'))$('"+I+"').setAttribute(_C.A1.t,'"+S+"');",1);}},p:function(x){var s=x.getAttribute(_C.A1.t);var t=_C.X.Q('//*[@_dlg_stamp="'+s+'" or @_stamp="'+s+'"]',true);for(var a=0,al=t.length;a<al;a++)t[a].parentNode.removeChild(t[a]);var t=_C.G.xsl.selectNodes('//*[@sys:stamp="'+s+'"]');for(var a=0,al=t.length;a<al;a++)t[a].parentNode.removeChild(t[a]);},C:function(x,cc){if(_C.I.FS&&_C.I.FS.getAttribute(_C.A2.n)==x)_C.G.W.FsT();_C.G.M.C1(false,1);if(_C.I.W.AW&&_C.I.W.AW.id==x)_C.I.W.AW=false;var X=_C.X.Q('//xapps//*[@id=\''+x+'\']');if(X&&X.getAttribute('_dev_tmp'))X.parentNode.removeChild(X);else if(typeof(x)==_C.A4.a&&x.className=='twin'){var c=getChild(x,_C.A1.z,'twcls');if(!c)return;var a=x.getAttribute(_C.A2.z);var W=getParent(c,_C.A1.t);window[W.id].el[x.getAttribute(_C.A1.r)]=null;x.parentNode.removeChild(x);if(a)eval(a);return;}var S=(event)?event.srcElement:false;if(S&&S.nodeName.toLowerCase().indexOf('twcls')>-1){var x=getParent(S,_C.A4.r);var a=x.getAttribute(_C.A2.z);var W=getParent(x,_C.A1.t);window[W.id].el[x.getAttribute(_C.A1.r)]=null;x.parentNode.removeChild(x);if(a)eval(a);return;}if(S&&S.nodeName=='TD'){if(!x)x=_C.G.M.ctxt.origin;if(x&&typeof(x)==_C.A4.a&&x.getAttribute('chx_rel_id')){x=x.getAttribute('chx_rel_id').slice(4);}}var I=(typeof(x)==_C.A4.a)?x.id:x;if(window[I]&&typeof(window[I][_C.A2.z])==_C.A4.b){if(window[I][_C.A2.z]())return;}var W=(x)?$(x):getParent(S,_C.A4.r,_C.A2.j);if(W&&W.nextSibling&&W.nextSibling.getAttribute(_C.A1.r)=='chx_dsblr_copy')_C.E.chx_taskbar.style.zIndex=950;if(!W)return;_C.G.W.p(W);_C.S.Q(x);var a=getChild(_C.E.chx_taskbar,_C.A4.g,'appbar1');var A=getChild(a,'chx_rel_id','tsk_'+W.id);if(A)a.removeChild(A);if(!a.hasChildNodes())a.innerHTML=_C.A2.h;var a=getChild(_C.E.chx_taskbar,_C.A4.g,'appdock');var A=getChild(a,'chx_rel_id','dck_'+W.id);if(A)a.removeChild(A);if(!a.hasChildNodes())a.innerHTML=_C.A2.h;if(cc)_C.G.W.Cc(W.id);_C.I.W.A.removeChild(W.parentNode);eval(x+'= false;');},Pl:function(){var cb;for(var i=0,il=arguments.length;i<il;i++){var A=arguments[i];if(typeof(A)==_C.A4.b){cb=A;continue;}var a=_C.X.Q('//xapps//*[@id="'+A+'"]');var ca=_C.G.W.c.selectSingleNode('//application[@id="'+A+'"]');if(!a||ca)continue;/*_C.X.Aq(_C.X.c('F04')).setAttribute('req:sId','app.data.'+A);*/var r=_C.X.Aq(_C.X.c('A01'));r.setAttribute('req:sId','app.data.'+A);r.setAttribute('req:app',a.getAttribute('path'));}if(!_C.X.q.childNodes[0].childNodes.length)return;_C.X.X(function(r){_C.G.W.Pa(r);if(cb)cb();});},Rt:function(i,h,w){var f=getChild(i,'className','wincontent');if(!window[i]||!f)return;f.style.width=w+_C.A2.i;f.style.height=h+_C.A2.i;_C.G.L.I(i);if(window[i]&&window[i][_C.A2.y])window[i][_C.A2.y](new Number(h),new Number(w));},Mt:function(i,t,l){if(!$(i))return;$(i).style.top=t+_C.A2.i;$(i).style.left=l+_C.A2.i;_C.G.L.I(i);if(window[i]&&window[i][_C.A3.a])window[i][_C.A3.a](new Number(t),new Number(l));},Sa:function(I,X){var s=_C.G.W.c.selectSingleNode('//application[@id="'+I+'"]//_app_data');if(!s)return;s.setAttribute('_sys_upd',1);var b=s.selectSingleNode('./_bulk_data');b=(b)?b:s.appendChild(_C.X.Cn('_bulk_data'));if(X&&X.xml){while (b.hasChildNodes())b.removeChild(b.firstChild);return b.appendChild(X.cloneNode(true));}else return s.selectSingleNode('./_bulk_data/*');},Ga:function(I,n,v,m){if(!v){var a=new Array();var s=_C.G.W.c.selectNodes('//application[@id="'+I+'"]//_app_data/*[@name="'+n+'"]');for(var i=s.length;i>0;i--){a.push(s[i-1].getAttribute(_C.A1.y));}return a;}else{if(!m){var t=_C.G.W.c.selectSingleNode('//application[@id="'+I+'"]//_app_data/*[@name="'+n+'"]');t.setAttribute(_C.A1.y,v)}else if(v.trim()!=''){m=(m==parseInt(m))?m:1;m=Math.min(m,32);var t=_C.G.W.c.selectSingleNode('//application[@id="'+I+'"]//_app_data');var x=_C.X.Cn('i');x.setAttribute(_C.A1.x,n);x.setAttribute(_C.A1.y,v);t.appendChild(x.cloneNode(false));while (t.childNodes.length>m-1)t.removeChild(t.firstChild);t.setAttribute('_sys_upd',1);}}},Ca:function(I,n){var n=(n)?'[@name="'+n+'"]':'';var s=_C.G.W.c.selectNodes('//application[@id="'+I+'"]//_app_data/*'+n);for(var i=0,il=s.length;i<il;i++){s[i].parentNode.removeChild(s[i]);}},Mn:function(x){if(event.button==2)return;var S=event.srcElement;if(S.nodeName.toLowerCase().indexOf('twmin')>-1||S.nodeName.toLowerCase().indexOf('twmax')>-1){var T=getParent(S,_C.A1.z,'TABLE');var wc=getChild(T,_C.A4.m,'frame');var wr=getChild(T,_C.A4.j,'resize');var s=wc.className.indexOf('hideMe')==-1;T.style.width=s?T.offsetWidth+_C.A2.i:'auto';T.parentNode.className=s?'twin mnmzd':'twin';if(wr)wr.className=s?wr.className+' hideMe':wr.className.replace(/ hideMe/ig,'');wc.className=s?wc.className+' hideMe':wc.className.replace(/ hideMe/ig,'');wc.style.position='relative';S.className='hideMe';var S2=(S.nodeName.toLowerCase().indexOf('twmin')>-1)?'twmax':'twmin';getChild(S.parentNode,_C.A1.z,S2).className='';return;}if(S.nodeName=='TD'){if(!x)x=_C.G.M.ctxt.origin;if(x&&typeof(x)==_C.A4.a&&x.getAttribute('chx_rel_id')){x=x.getAttribute('chx_rel_id').slice(4);}}var W=(x)?$(x):getParent(S,_C.A4.r,_C.A2.j);var Bm=getChild(W,_C.A4.n,'wmin');if(!Bm)return;if(!S&&!W)return;if(window[W.id]&&window[W.id][_C.A2.y])window[W.id][_C.A2.y](0,0);W.parentNode.style.display=_C.A1.u;},Mx:function(x,fs){if(event.button==2)return;var S=event.srcElement;if(S.nodeName=='TD'){if(!x)x=_C.G.M.ctxt.origin;if(x&&typeof(x)==_C.A4.a&&x.getAttribute('chx_rel_id')){x=x.getAttribute('chx_rel_id').slice(4);}}var S;var W=(x)?$(x):getParent(S,_C.A4.r,_C.A2.j);x=W.id;var F=getChild(W,_C.A4.m,'frame');var Bm=getChild(W,_C.A4.n,'wmax');if(!Bm)return;var Br=getChild(W,_C.A4.n,'wrst');var tt=_C.E.chx_taskbar.offsetTop;var th=0;var t=_C.E.chx_taskbar.childNodes;for(var i=0;i<t.length;i++){if(t[i].nodeType!=1||t[i].nodeName!='TABLE'||t[i].currentStyle.display=='none')continue;th=parseInt(t[i].offsetHeight);break;}if(W.getAttribute(_C.A4.t)){W.style.left=W.D.l+_C.A2.i;W.style.top=W.D.t+_C.A2.i;F.style.width=W.D.Fw+_C.A2.i;F.style.height=W.D.Fh+_C.A2.i;S=_C.A1.u;W.setAttribute(_C.A4.r,_C.A2.j);W.setAttribute(_C.A4.s,_C.A2.j);W.removeAttribute(_C.A4.t);}else{if(fs){var FS={t:0,l:0,w:0,h:0};var Wb=getChild(W,'className','winbody');var Wd=getDim(Wb);var Fd=getDim(F);Wb.style.position='absolute';Wb.style.top=(-W.offsetTop)+_C.A2.i;Wb.style.left=(-W.offsetLeft-1)+_C.A2.i;F.D={Fw:F.offsetWidth,Fh:F.offsetHeight};F.style.width=(_C.I.S.w-2)+_C.A2.i;F.style.height=(_C.I.S.h-Fd.t+Wd.t)+_C.A2.i;_C.I.FS=W;}else{W.D=getDim(W);W.D.Fw=F.offsetWidth;W.D.Fh=F.offsetHeight;S=_C.A1.w;W.style.left=0+_C.A2.i;W.style.top=((tt==0)?th:0)+_C.A2.i;F.style.width=(_C.I.S.w - (W.offsetWidth - W.D.Fw))+_C.A2.i;F.style.height=(_C.I.S.h - th - (W.offsetHeight - W.D.Fh))+_C.A2.i;W.setAttribute(_C.A4.r,_C.A2.k);W.setAttribute(_C.A4.s,_C.A2.k);W.setAttribute(_C.A4.t,_C.A2.j);}}Br.style.display=S;Bm.style.display=(S==_C.A1.w)?_C.A1.u:_C.A1.w;if(window[x]&&window[x][_C.A3.a])window[x][_C.A3.a](W.offsetTop,W.offsetLeft);_C.G.L.I(x);if(window[x]&&window[x][_C.A2.y]){try{eval(window[x][_C.A2.y](F.offsetHeight,F.offsetWidth,(W.getAttribute(_C.A4.t)?1:null)));}catch(e){};}},R:function(x){if(event.button==2)return;var S=event.srcElement;if(S.nodeName=='TD'){if(!x)x=_C.G.M.ctxt.origin;if(x&&typeof(x)==_C.A4.a&&x.getAttribute('chx_rel_id')){x=x.getAttribute('chx_rel_id').slice(4);}}var W=(x)?$(x):getParent(S,_C.A4.r,_C.A2.j);if(!W)return;W.parentNode.style.display='';if(W.getAttribute(_C.A4.t)==_C.A2.j)_C.G.W.Mx(W.id);_C.G.W.B(W);/*_C.G.L.I(W);*/},Cb:function(x,s,i){var c=getChild(x,_C.A4.g,'wincap');if(!c)return;/*_C.H.C("sys -e 301");*/var t=getChild(_C.E.chx_taskbar,'chx_rel_id','tsk_'+x);if(t)getChild(t,_C.A1.z,_C.A1.m).innerHTML=s||x;c.innerHTML=s||x;if(i)_C.G.W.I(x,i);},Sb:function(x,s){var w=getChild(x,_C.A4.g,'winstat');if(!w)return;/*_C.H.C("sys -e 302");*/w.innerHTML=s||'';},I:function(x,s){var i=getChild(x,_C.A4.g,'winicon');if(!i)return;/*_C.H.C("sys -e 303");*/i.className='i16_'+(s||'computer');i.style.display=(!s)?_C.A1.u:_C.A1.v;},Cc:function(w){var a=_C.G.W.c.selectSingleNode('//application[@id="'+w+'"]');if(!w||!a)return _C.H.C("sys -e '308' '("+w+")'");a.parentNode.removeChild(a);},Fs:function(i){if(i)_C.G.W.O(i,false,true);},FsT:function(){var d;if(!getChild(_C.I.W.AW,_C.A4.n,'wmax'))return;if(!_C.I.FS&&_C.I.W.AW){d='none';_C.G.W.Mx(_C.I.W.AW,true);}else if(_C.I.FS){var Wb=getChild(_C.I.FS,'className','winbody');var F=getChild(_C.I.FS,_C.A4.m,'frame');Wb.style.position='relative';Wb.style.top='';Wb.style.left='';F.style.width=F.D.Fw+_C.A2.i;F.style.height=F.D.Fh+_C.A2.i;_C.G.L.I(_C.I.FS);_C.I.FS=false;}_C.E.chx_taskbar.style.display =_C.E.chx_icon.style.display=d||'block';},Sc:function(i){var a=_C.G.W.c.selectSingleNode('//application[@id="'+i+'"]');if(!a){var A=_C.H.C("xml -q '//xapps//xapp[@id=\""+i+"\"]'");if(A){_C.H.C("xml -l '"+A.getAttribute('path')+"' %_C.G.W.ScA%");return _C.S.L('loading')+" '"+i+"'...";}return _C.S.E.L(315,i);}_C.G.W.ScA(a);},ScA:function(r){var a=(r.nodeType==9)?r.selectSingleNode('.//application'):r;var i=a.getAttribute(_C.A2.n);if(!a||!a.selectSingleNode('.//*[@action="win -sc '+i+'"]'))return _C.H.C("msgbox -a '"+_C.S.L('err_315',i)+"'");_C.G.W.ScD=_C.I.F.C.D(105,'yif_sc_'+i,a.getAttribute('title'),a.xml);_C.H.C("yif -o %_C.G.W.ScD%");}}},X:{d:false,p:'/sys/php/xcs.php',Q:function(w,m,a){if(a){var i=document.getElementById(a);if(i)w='//*[@_stamp="'+i.getAttribute(_C.A1.t)+'"]/.'+w;} return (m&&m!='0')?_C.H.l.selectNodes(w):_C.H.l.selectSingleNode(w);},c:function(i){return _C.X.Q('//xrpc//*[@sys:rpc="'+i+'"]').cloneNode(false);},Cn:function(n){return _env.ie?_C.X.q.createNode(1,n,''):_C.X.q.createElement(n);},F:function(){_C.X.q=_C.X.L('<req:data xmlns:req="req.'+_C.A1.l+'.com" xmlns:sys="sys.'+_C.A1.l+'.com"/>');},Uq:function (l){var l=l||16;var a='abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ-1234567890';var s=a.charAt((Math.random()*50));var d=new Date().valueOf();var k=Math.random().toString().slice(2);for(var r=0;r<l;r++)s+=a.charAt((Math.random()*256)%a.length);return s.slice(0,l);},G:function(R){if(_C.X.u!=null&&!R||R.selectSingleNode('//error'))return _C.X.L(_C.X.u,_C.X.G);_C.X.u=null;_C.H.l=R;_C.X.t=_C.H.l.selectSingleNode('//@sys:token').nodeValue;if(_C.X.o)_C.X.o(R);},I:function(l,o){if(_env.ie)_C.X.P();_C.X.xslDoc=new Array();_C.X.F();_C.X.u=l;_C.X.o=o;_C.X.G();},E:function(s){s=s.replace(/\r/g,'');s=s.replace(/\n/g,'%0A');s=s.replace(/\t/g,'%09');s=s.replace(/&/g,'%26');s=s.replace(/</g,'%3C');s=s.replace(/\\/g,'%5C');return s.replace(/>/g,'%3E');},U:function(s){s=s.replace(/%0A/g,'\n');s=s.replace(/%09/g,'\t');s=s.replace(/%26/g,'&');s=s.replace(/%3C/g,'<');s=s.replace(/%5C/g,'\\');return s.replace(/%3E/g,'>');},L:function(S,C){var C=(typeof(C)==_C.A4.c)?eval(C):C;var T=_C.X.H(S,1);if(S.slice(0,7)=='http://'||S.slice(0,8)=='https://'){var Q=_C.X.Aq(_C.X.c('I01'));Q.setAttribute('req:url',S);return _C.X.X(C);}else if(T.indexOf('<')>-1||S.indexOf('<')>-1){S=T;if(window.ActiveXObject){var D=new ActiveXObject(_C.X.otype['DomDocument']);if(D.loadXML(S))return (C)?C(D):D;}else if(window.DOMParser){var D=new DOMParser().parseFromString(S,'text/xml');if(D.firstChild.nodeName!='parsererror')return (C)?C(D):D;}return _C.X.C(false,S);}else{var X={s:S,c:(typeof(C)==_C.A4.b)?C:null,a:(typeof(C)!=_C.A4.f),h:_env.ax?new ActiveXObject(_C.X.otype['XmlHttp']):new XMLHttpRequest()};var g=(S.indexOf('?')>-1)?'&':'?';X.h.open('GET',S+g +_C.X.Uq(),X.a);X.h.send('');if(X.a){if(X.h.readyState==4){var rsp=(X.h.responseXML&&X.h.responseXML.xml)?X.h.responseXML:X.h.responseText;X.d=_C.X.C(rsp,X.s);if(X.c)X.c(X.d);return X;}else{X.h.onreadystatechange=function(){if(X.h.readyState!=4)return;var rsp=(X.h.responseXML&&X.h.responseXML.xml)?X.h.responseXML:X.h.responseText;X.d=_C.X.C(rsp,X.s);if(_C.A1.p==X.s)_C.G.W.c=X.d;if(X.c)X.c(X.d);};return X;}}else{var rsp=(X.h.responseXML&&X.h.responseXML.xml)?X.h.responseXML:X.h.responseText;return _C.X.C(rsp,X.s);}}},C:function(o,s){if(typeof(o)!=_C.A4.a){var t=s.split('.');var e='<br/><style type="text/css">'+o+'</style>';var b=_C.Sp.cloneNode(false);b.innerHTML=e;return b.lastChild;}var s=s||'';if(!_env.ie&&o==null||o.xml&&o.xml.indexOf('<parsererror')==0)o=false;return (typeof(o)==_C.A4.a&&o.xml!='')?o:_C.S.E.L(590);},P:function(){_C.X.otype=new Array();var t=['DomDocument','XmlHttp'];var b=['Microsoft','MSXML','MSXML2','MSXML3'];for(var n=0,nl=t.length;n<nl;n++){for(var p=0,pl=b.length;p<pl;p++){try{new ActiveXObject(b[p]+'.'+t[0]);_C.X.otype[t[n]]=b[p]+'.'+t[n];}catch (e){}}}},S:function(s,c){if(_C.X.xslDoc[s])return _C.X.xslDoc[s];else{var cb=c||true;_C.X.xslDoc[s]=_C.X.L(s+'.xsl',cb);return _C.X.xslDoc[s];}},H:function(s,r){if(!r)s=s.replace(/<\?xml.+?\?>/i,'');s=s.replace(/&quot;/g,'"');s=s.replace(/&amp;/ig,'&');s=s.replace(/&lt;/ig,'<');return s.replace(/&gt;/ig,'>');},T:function(E,C1,C2){return _C.X.R(_C.H.l,_C.G.xsl,E,C1,C2);},Tx:function(X,E,C1){return _C.X.R(X,_C.G.xsl,E,C1);},Ca:function(I){return _C.G.W.c.documentElement.selectSingleNode('//application[@id="'+I+'"]');},Pa:function(Ar){var n=new Date().valueOf().toString().slice(0,-3);for(var i=0;i<_C.G.W.c.documentElement.childNodes.length;i++){if(window[_C.G.W.c.documentElement.childNodes[i].getAttribute(_C.A2.n)])continue;var ce=parseInt(_C.G.W.c.documentElement.childNodes[i].getAttribute('_cache_entry'));var cx=parseInt(_C.G.W.c.documentElement.childNodes[i].getAttribute('_cache_expire'));if(n>(ce+cx)|| _C.G.W.c.documentElement.childNodes[i].getAttribute('_cache_expire')=='0'){_C.G.W.c.documentElement.removeChild(_C.G.W.c.documentElement.childNodes[i]);}}if(!_C.G.W.c.selectSingleNode('//application[@id="'+Ar.getAttribute(_C.A2.n)+'"]')){var c=Ar.cloneNode(true);var e=parseInt(Ar.getAttribute('_cache_expire'))|| _C.H.c.E;if(Ar.getAttribute('_cache_expire')=='999')e=_C.H.c.N;if(Ar.getAttribute('_cache_expire')!='0')c.setAttribute('_cache_expire',e*60);c.setAttribute('_cache_entry',n);c.removeAttribute(_C.A1.t);_C.G.W.c.documentElement.appendChild(c);}},R:function(X,S,E,C1,C2){if(typeof(X)==_C.A4.c)var X=_C.X.L(X,true);if(typeof(S)==_C.A4.c)var S=_C.X.S(S);if(!X.d&&X.documentElement||X.xml)X={d:X};if(!S.d&&S.documentElement)S={d:S};if(!X.d||!S.d){return setTimeout(function(){_C.X.R(X,S,E,C1,C2);},1000);}_C.X.R.recentXML=X.d;var Ar=(X.d.nodeName=='application')?X.d:null;Ar=(!Ar&&X.d.documentElement&&X.d.documentElement.nodeName=='application')?X.d.documentElement:Ar;if(Ar){var A=_C.X.Q('//xapps_open/*',1).length;var Z=(Ar.getAttribute('_aotop'))?_C.G.zindex.a+A:_C.G.zindex.w+A;if(getChild(document.body,_C.A1.r,'chx_dsblr_copy'))Z=_C.G.zindex.w;Ar.setAttribute('zIndex',Z);_C.G.W.P(Ar);var M=Ar.getAttribute(_C.A1.t);var L=_C.X.Q('//xlng');if(L)Ar.appendChild(L.cloneNode(true));}E=$(E);if(E){if(_env.ax){var F=X.d.transformNode(S.d.documentElement);if(typeof(E)==_C.A4.b)E(_C.X.H(F));else E.innerHTML=_C.X.H(F);}else{var P=new XSLTProcessor();P.importStylesheet(S.d);var F=_C.X.H(P.transformToFragment(X.d,document).xml.trim());if(typeof(E)==_C.A4.b)E(F);else{var R=E.ownerDocument.createRange();R.setStartBefore(E);E.innerHTML='';E.appendChild(R.createContextualFragment(F));if(_env.sf||_env.ch){if(E.firstChild&&E.firstChild.id=='login'){var s=getChild(E,_C.A1.z,'STYLE');var T=document.createElement('STYLE');T.setAttribute('type','text/css');T.appendChild(document.createTextNode(s.innerHTML));_C.E.chx_gui.parentNode.appendChild(T);}var s=getChildren(E,_C.A1.z,'SCRIPT');for(var i=0,il=s.length;i<il;i++){var c=s[i].innerText.replace(/\n/g,'\n').replace(/\t\/\/.*\n/g,'\t\n');var scr=document.createElement('script');scr.type='text/javascript';scr.defer=true;scr.innerText=c;s[i].parentNode.replaceChild(scr,s[i]);}}}}if(E.firstChild&&E.firstChild.getAttribute){var dL=E.firstChild.getAttribute('_def_lng')|| 'en';if(E.firstChild.getAttribute('_stamp')&& _C.S.U.I('lngId')!=dL){var l=getChildren(E,'_lng_id');for(var i=0,il=l.length;i<il;i++){l[i].innerHTML=_C.S.L(l[i].getAttribute('_lng_id'))|| _C.A2.h;}}}var o=getChildren(E,_C.A3.h);for(var i=0;i<o.length;i++)if(!o[i].onscroll)o[i].onscroll=_C.G.S;var o=(E.getAttribute('_otype')=='list'||E.getAttribute('_otype')=='grid')?E:false;if(o){var v=0;var r=getChildren(o,_C.A1.z,'row');if(r.length){var c=getChildren(r[0],_C.A1.z,'cell');for(var n=0,nl=c.length;n<nl;n++)v+=parseInt(c[n].currentStyle.width);for(var n=0,nl=r.length;n<nl;n++)r[n].style.width=(v+8)+_C.A2.i;}}if(E.getAttribute(_C.A4.g)=='list'||E.getAttribute(_C.A4.g)=='grid'&&E.active){var Se=(E.active.length)?E.active:[E.active];var Tm=new Array();Se.foreach(function(El){var Rw=getChild(E,_C.A1.r,El.getAttribute(_C.A1.r))|| getChild(E,_C.A5.n,El.getAttribute(_C.A5.n));if(Rw){Rw.className=E.active.className;Tm.push(Rw);}});if(Tm.length==1)Tm=Tm[0];E.active=Tm;}if(M){var T=getChildren(E,_C.A4.g,'tabbar');for(var t=0,tl=T.length;t<tl;t++){var K=getChildren(T[t],_C.A2.g,'radio')[0];if(K)setTimeout(function(){K.fireEvent(_C.A2.s);},1);}}}if(C1&&typeof(C1)==_C.A4.b)return C1(_C.X.R.recentXML);if(C2)_C.H.C(C2);X=S=null;},aq:function(P){return _C.X.Aq(_C.X.c(P));},Aq:function(P){if(typeof(P)!=_C.A4.a)return;var P=P.cloneNode(false);P.removeAttribute(_C.A1.t);var A=P.getAttribute('sys:selby');if(A){for(var a=1,al=arguments.length;a<al;a++)A=A.replace(new RegExp('\\$prm'+(a),'g'),arguments[a]);P.setAttribute('sys:selby',A);}if(_C.X.t)P.setAttribute('sys:token',_C.X.t);return _C.X.q.documentElement.appendChild(P);},Pq:function(){if(!_env.sf)return;var q=_C.X.q.selectNodes('//*');for(var x=0,xl=q.length;x<xl;x++){for(var a=0;a<q[x].attributes.length;a++){var v=q[x].attributes.item(a).value;v=v.replace(/"/ig,'&quot;');v=v.replace(/</ig,'&lt;');v=v.replace(/>/ig,'&gt;');q[x].attributes.item(a).value=v;}}},e:function(X){var c,d,t;if(typeof(X)==_C.A4.a){if(X.xml)X={d:X};c=X.d.documentElement.childNodes[0].getAttribute('code');d=X.d.documentElement.childNodes[0].getAttribute('description');t=X.d.documentElement.childNodes[0].text;_C.X.recentError=c+'::'+d+'::'+t;}else{_C.X.recentError=X.replace(/>/g,'>\n');}if(_C.X.d)return _C.S.E.L(c||591);if(typeof(X.c)==_C.A4.b)X.c(X.d);return new Error(c,d);},X:function(){if(!_C.X.q.documentElement.childNodes.length)return (typeof(arguments[0])==_C.A4.b)?arguments[0]():_C.S.E.L(592);var X={i:5,l:arguments[1],s:_C.X.p,c:(typeof(arguments[0])==_C.A4.b)?arguments[0]:null,a:(typeof(arguments[0])==_C.A4.b||typeof(arguments[0])==_C.A4.d),h:(_env.ax?new ActiveXObject(_C.X.otype['XmlHttp']):new XMLHttpRequest())};_C.X.Pq();X.h.open('POST',_C.X.p,X.a);X.h.send(_C.X.q);_C.X.F();if(X.a){X.h.onreadystatechange=function(){if(X.l){var i=parseInt((X.h.readyState/6)*40);X.i=(X.i<i)?i:X.i+2;_C.H.C(X.l+" -u "+X.i);}if(X.h.readyState!=4)return;try{X.d=_C.X.C(X.h.responseXML,X.s);if(X.h.responseXML!=X.d)throw X.d;}catch (e){if(X.c)X.c();return (_C.X.d)?_C.S.E.L(590,X.h.responseText):null;}if(!X.d)return _C.X.e(X.h.responseText);else if(X.d.hasChildNodes()&& X.d.documentElement.firstChild&&X.d.documentElement.firstChild.nodeName=='error'){return _C.X.e(X);}if(X.c)X.c(X.d);};return X;}try{X.d=_C.X.C(X.h.responseXML,X.s);if(X.h.responseXML!=X.d)throw X.d;}catch (e){if(X.c)X.c();return (_C.X.d)?_C.S.E.L(590,X.h.responseText):null;}if(!X.d)return _C.X.e(X.h.responseText);else if(X.d.hasChildNodes()&& X.d.documentElement.firstChild&&X.d.documentElement.firstChild.nodeName=='error'){return _C.X.e(X);}else return X.d;}}};var _exec=_C.H.C;var _fx=function(s){return new _fx.fn.init(s);};_fx.fn=_fx.prototype={init: function(s){this.e=$(s);return this;},css: function(p,v){this.e.style[p]=v;return this;},animate:function(o,d,c){_C.I.P.A(o,d,this.e,c);return this;},fadeIn: function(d,c){_C.I.P.A('fadeIn',d,this.e,c);return this;},fadeOut:function(d,c){_C.I.P.A('fadeOut',d,this.e,c);return this;},blink: function(t,c){_C.I.P.A('blink',t,this.e,c);return this;},bounce: function(t,c){_C.I.P.A('bounce',t,this.e,c);return this;},hide: function(){this.css('display','none');this.css('opacity','0');return this;},show: function(){this.css('display','block');this.css('opacity','1');return this;},addClass:function(n){this.removeClass(n);this.e.className=this.e.className+' '+n;return this;},removeClass:function(n){this.e.className=this.e.className.replace(new RegExp('\\b'+n,'g'),'');return this;}};_fx.fn.init.prototype=_fx.fn;window.onload=_C.H.L;window.onunload=_C.H.U;