
/*------------------------------*/
function __c(f,e){var b=this;var a=$(e);var d=$(f);var c="right";this.V=function(g){b.v(g.target,a);g.stopPropagation()};this.v=function(t,i,j,q,k){if(typeof i=="string"&&i[0]!="."&&i[0]!="#"){i="#"+i}if(typeof k!="undefined"){c=k}var g=$(i).first();if(g.length>0){a=g}if(a==null){return}a.css({display:""});if(typeof t!="undefined"){d=$(t)}var r=$(d).offset().left;var n=$(d).offset().top+$(d).height();var s=0;var m=0;var h=parseInt(a.attr("max_height"));var l=parseInt(a.attr("max_width"));if(h>0){q=h}var p=a.attr("auto_width")=="true";s=a.width();if(typeof j=="number"){if(s>0&&s<j){a.width(j);p=false}}if(l>0&&s>l){a.width(l);p=false}if(p){a.css("width","auto")}if(typeof q=="number"){m=a.height();if(m>q){a.height(q)}a.css({"overflow-y":"auto","overflow-x":"hidden"})}else{a.css("height","auto")}if(a.scrollLeft()>0){a.width(a.width()+17)}s=a.width();m=a.height();var o={w:$(window).width()+$(window).scrollLeft(),h:$(window).height()+$(window).scrollTop()};if(c=="left"){r+=$(d).width()-s;if(r<0){r=10}}else{if(r+s>=o.w){r-=(r+s-o.w)+4}}if(n+m>=(o.h)){n-=(n+m-o.h)+20}a.css({top:n,left:r});$(document).bind("click.dropdown",function(u){b.T()})};this.T=function(){if(a!=null){a.css("display","none");$(document).unbind("click.dropdown")}}}__c.C=null;__c._yZ=function(a){var b=$(a.button);b.bind(a._vD,function(c){if(__c.C!=null){__c.C.T()}else{__c.C=new __c()}__c.C.v($(this),a.menu,a.minWidth,a.maxHeight,a.dir);c.stopPropagation()})};__c._j=function(a,f,c,b,e,d){if(__c.C!=null){__c.C.T()}else{__c.C=new __c()}__c.C.v(f,c,b,e,d);a.stopPropagation()};__c.__d=function(a,d,b,e){if(__c.C!=null){__c.C.T()}else{__c.C=new __c()}var c="#"+b;$(c).data("resID",typeof e=="object"?(e.id==""?new Date().getTime():e.id):e);if($(c).data("showed")!=true){$(c).css("z-index","99999").find("a").attr("href","javascript:void(0)").bind("click",function(){var f=$("#"+$(c).data("resID")).val();$("#"+$(c).data("resID")).val($(this).html());if(f!=$(this).html()){$("#"+$(c).data("resID")).change()}});$(c).data("showed",true)}__c.C.v(d,b,80,200,"left");$.Event(a).stopPropagation()};__c._ms=function(a,e,b,f,c){if(__c.C!=null){__c.C.T()}else{__c.C=new __c()}var d="#"+b;$(d).data("textID",typeof f=="object"?(f.id==""?new Date().getTime():f.id):f);$(d).data("valID",typeof c=="object"?(c.id==""?new Date().getTime():c.id):c);if($(d).data("showed")!=true){$(d).css("z-index","99999").find("a").attr("href","javascript:void(0)").bind("click",function(){$("#"+$(d).data("textID")).focus();$("#"+$(d).data("textID")).val($(this).attr("text"));$("#"+$(d).data("valID")).val($(this).attr("value"))});$(d).data("showed",true)}__c.C.v(e,b,80,200,"left");$.Event(a).stopPropagation()};__c.__e=function(a,c,d){if(__c.C!=null){__c.C.T()}else{__c.C=new __c()}$("#_a24_").css("z-index","9999").data("resID",typeof d=="object"?(d.id==""?new Date().getTime():d.id):d);var b="#_a24_";if($(b).data("showed")!=true){$("#_a25_").click(function(){var e=$("#_a24_").find("iframe:first").contents().find("#_jd").val();$("#"+$(b).data("resID")).focus();$("#"+$(b).data("resID")).val(e)});$(b).data("showed",true)}__c.C.v(c,"_a24_",200,400,"left");$.Event(a).stopPropagation()};__c._wB=function(a,d,b){var c="#"+a;$(c).data("textID",typeof d=="object"?(d.id==""?new Date().getTime():d.id):d);$(c).data("valID",typeof b=="object"?(b.id==""?new Date().getTime():b.id):b);if($(c).data("showed")!=true){$("#"+a).css("z-index","99999").find("a").attr("href","javascript:void(0)").bind("click",function(){$("#"+$(c).data("textID")).focus();$("#"+$(c).data("textID")).val($(this).attr("text"));$("#"+$(c).data("valID")).val($(this).attr("value"))})}$(c).data("showed",true)};
/*------------------------------*/

/* cookie operator *(c) 2007-2008 UssCorp * http://www.jcapt.com * compressed version */
function _wH(b){if(document.cookie.length>0){var a=document.cookie.indexOf(b+"=");if(a!= -1){a=a+b.length+1;_dU=document.cookie.indexOf(";",a);if(_dU== -1)_dU=document.cookie.length;return unescape(document.cookie.substring(a,_dU))}}return ""}function __o(d,e,c,g,h){var a=new Date();a.setDate(a.getDate()+c);var b=d+"="+escape(e)+((c==null)?"":";expires="+a.toGMTString());if(typeof g!='undefined')b+=" ;path="+g;if(typeof h!='undefined')b+=" ;domain="+h;document.cookie=b}
/*------------------------------*/

 /* (c) 2008 UssCorp. *http://www.jcapt.com *compressed version */
;function __P(){var j=12,k=16,l=10,m=6,n=false,o=null,p=300;var q=function(){return $("<div class='_gH' id='_gH' style='visibility:hidden'>").appendTo($(document.body))};this.T=function(a,b,c){if(a=="")return;if(o==null)o=q();if(typeof b!="undefined")o.css('width',b+"px");if(typeof c!="undefined"&&c!="")o.css('background-color',c);o.html(a);n=true;o.css('visibility','visible');if(o.width()>p)o.width(p);return false};this.V=function(e){if(n){if(o==null)o=q();o.css("visibility","visible");var a=false,b=e.pageX,c=e.pageY;var d=$(window).width(),f=$(window).height(),g=d-(e.pageX-$(window).scrollLeft())-j,h=f-(e.pageY-$(window).scrollTop())-k,i=(j<0)?j*(-1): -1000;if(g<o.outerWidth()){o.css('left',b-o.outerWidth())+'px';a=true}else if(b<i)o.css('left',"5px");else{o.css('left',b+j-l+"px");}if(h<o.outerHeight()){o.css('top',c-o.outerHeight()-k+"px");a=true}else{o.css('top',c+k+m+"px");}}};this.aa=function(){if(o==null)o=q();n=false;o.css({visibility:'hidden',left:'-10000px',backgroundColor:'',width:''})};}__P.t=new __P();__P.__O=function(a,b){__P.t.T(a,b)};__P.__Q=function(){__P.t.aa()};__P.v=function(e){__P.t.V(e)};$(document).bind('mousemove',__P.v);
/*------------------------------*/
/*  
 * (c) 2007-2008 UssCorp  
 * compressed version
 */function _dx(){this._A=0;this._J=1;this._bK=10;this._dg=null;this._bq=function(a){};this.Direction="down";var l=null;this._ca=true;var m=this;this._j=function(){if(this._A<1)this._A=1;if(this._J>this._A||this._J<1)return;var a=1;var b=Math.floor(this._bK/2);if(this._A>this._bK&&this._J-b>0)a=(this._A-this._J)<(b+1)?this._A-this._bK+1:this._J-b;a=Math.floor(a);var c=xGetElementById(this._dg);if(c==null)return;c.innerHTML="";var d=c.appendChild(document.createElement("ul"));d.className="_aS";if(this._A<2){xDisplay(c,"none");return}xDisplay(c,"");xShow(c);var e=null;if(this._J>1){e=d.appendChild(document.createElement("li"));var f=e.appendChild(document.createElement("a"));f.href="javascript:void(0)";f.onclick=function(){m._bq(1);m._J=1;m._j()};f.innerHTML="&laquo; "+(m._ca?" First":"");e=d.appendChild(document.createElement("li"));var g=e.appendChild(document.createElement("a"));g.href="javascript:void(0)";g.onclick=function(){m._bq(m._J-1);m._J-=1;m._j()};g.innerHTML="&lsaquo;"+(m._ca?" Back":"")}for(var i=0;i<this._bK&&a+i<=this._A;i++){e=d.appendChild(document.createElement("li"));var h=e.appendChild(document.createElement("a"));h.href="javascript:void(0)";h.value=a+i;h.onclick=function(){m._bq(this.value);m._J=this.value;m._j()};h.innerHTML=a+i;if((a+i)==this._J)e.className="empty"}if(this._J<this._A){e=d.appendChild(document.createElement("li"));var j=e.appendChild(document.createElement("a"));j.href="javascript:void(0)";j.onclick=function(){m._bq(m._J+1);m._J+=1;m._j()};j.innerHTML="&rsaquo;"+(m._ca?" Next":"");e=d.appendChild(document.createElement("li"));var k=e.appendChild(document.createElement("a"));k.href="javascript:void(0)";k.onclick=function(){m._bq(m._A);m._J=m._A;m._j()};k.innerHTML="&raquo;"+(m._ca?" Last":"")};};var n=function(e){var a=e?e:window.event;var b=e?a.target:a.srcElement;if(e)a.stopPropagation();else a.cancelBubble=true;var c=xGetElementById(m._dg);l.innerHTML="";_nK=l.appendChild(document.createElement("span"));for(var i=1;i<=m._A;i++){var d=_nK.appendChild(document.createElement("a"));d.innerHTML=i;d.href="javascript:void(0)";d.value=i;if(i==m._J)d.className="current";d.onclick=function(){m._bq(this.value);m._J=this.value;m._j()};};xWidth(l,xWidth(c));if(xHeight(l)>300)xHeight(l,300);xShow(l);var y=xPageY(c);var x=xPageX(c);if(m.Direction!="down")y-=xHeight(l);else y+=xHeight(c);if(y<0)y=10;if(y+xHeight(l)>=xClientHeight())y=xClientHeight()-xHeight(l)-20;if(x+xWidth(l)>=xClientWidth()){x=xClientWidth()-xWidth(l)-20}xMoveTo(l,x,y);document.onclick=o};var o=function(){xHide(l);document.onclick=null};};
/*------------------------------*/

/* (c) 2010 UssCorp  *http://www.jcapt.com * compressed version */
function _e(){var c=null,d=null,g="/dat/dialog/images/",f=null,b=null,a=this;var e=function(){c=$("<div id='_bb' class='_bb'></div>").appendTo($(document.body));d=$("<div id='_fV' class='_fV'></div>").appendTo($(document.body));var j="<div class='top'><table cellpadding='0' cellspacing='0' border='0'><tbody> <tr><td valign='middle' ></td><td valign='middle' align='left' class='_gV'></td></tr></tbody></table></div>";c.append($(j));f=$("<img vspace=4px hspace=4px />");b=$("<span></span>");c.find("td:first").append(f);c.find("td:last").append(b);var i=$("<div class='bottom'></div>").appendTo(c);var h=$("<a href='javascript:void(0)'>Close</a>").appendTo(i);h.bind("click",a.T)};this.V=function(k,m,j,i,l){m="<p>"+m+"</p>";if(c==null){e(i,l)}c.width(i);if(typeof l!="undefined"){c.children(".top").height(l)}if(k=="ok"){f.attr("src",g+"success.gif");b.html(m)}else{if(k=="error"){f.attr("src",g+"error.gif");b.html(m)}else{if(k=="loading"){f.attr("src",g+"loading.gif");b.html(m)}}}if(j==true){c.children(".bottom").show()}else{c.children(".bottom").hide()}d.show();d.width($(document).width()).height($(document).height());d.css({top:0,left:0});c.show();c.goCenter()};this.T=function(){if(c!=null){c.hide();d.hide()}}}_e.v=new _e();_e._j=function(c,e,b,a,d){_e.v.V(c,e,b,a,d)};_e._X=function(){_e.v.T()};function _nU(){var b=null,d=0,h="/dat/dialog/images/",f=this;var e=function(){if(d==1){return}b=$("<div class='_x'></div>").appendTo($(document.body));var k="<table cellpadding='0' cellspacing='0'><tr><td id='tl'></td><td id='tc' colspan='2'></td><td id='tr'></td></tr>";k+="<tr><td id='cl'></td><td id='cc1'><img id='_gm' /></td><td id='cc'><div id='_hf'></td><td id='cr'></td></tr>";k+="<tr><td id='bl'></td><td id='bc' colspan='2'></td><td id='br'></td></tr></table><div>";b.html(k);d=1};var i=function(k){var l=h+"blank.gif";if(k=="ok"){l=h+"success.gif"}else{if(k=="error"){l=h+"error.gif"}else{if(k=="loading"){l=h+"loading_s.gif"}}}return l};var a=function(k,l){e();$("#_gm").attr("src",i(k));$("#_hf").html(l)};var j=function(k,l,o,n,m){a(k,l);b.show();if(typeof o=="undefined"){o=0}if(typeof n=="undefined"){n=0}b.css({left:n,top:o});if(typeof m!="undefined"){setTimeout(f._X,m)}};var c=function(k,m,p,n){a(k,m);b.show();var l=p;if(typeof l=="undefined"){l=0}var o=($(window).width()-b.width())/2;b.css({left:o,top:l});if(typeof n!="undefined"){setTimeout(f._X,n)}};var g=function(k,o,s,m,p){a(k,o);b.show();var l=s,n=m;if(typeof l=="undefined"){l=0}if(typeof n=="undefined"){n=0}var q=$(window).width()-b.width()-n;b.css({left:q,top:l});if(typeof p!="undefined"){setTimeout(f._X,p)}};this._X=function(){if(b){b.hide()}};this._CN=function(l,k){j("loading","loading ...",l,k)};this._BR=function(k){c("loading","loading ...",k)};this._cQ=function(l,k){g("loading","loading ...",l,k)};this._zm=function(n,m,l,k){if(n==""){n="execution not success"}j("error",n,m,l,k)};this._As=function(m,l,k){if(m==""){m="execution not success"}c("error",m,l,k)};this._H=function(n,m,k,l){if(n==""){n="execution not success"}g("error",n,m,k,l)};this._yo=function(n,m,l,k){if(n==""){n="execution success"}j("ok",n,m,l,k)};this._yk=function(m,l,k){if(m==""){m="execution success"}c("ok",m,l,k)};this._an=function(n,m,k,l){if(n==""){n="execution success"}g("ok",n,m,k,l)};this._Aj=function(n,m,l,k){j("none",n,m,l,k)};this._zA=function(m,l,k){c("none",m,l,k)};this._fE=function(n,m,k,l){g("none",n,m,k,l)}}var _C=new _nU();
/*------------------------------*/

/* advancedAjax 1.2 -  (c) 2008 UssCorp - http://www.jcapt.com
 * Inherited from:  {advancedAjax 1.1.2  (c) Lukasz Lach - www:  http://advajax.anakin.us/index-en.htm - http://creativecommons.org/licenses/LGPL/2.1/ }*/
function __F(){var d={};var f={},g={},h=true,j="text/xml",k=null,l=true,m=true,n="_uniqid",o=false,p="",q=false,r=false;var t=false,u=false,w=false,x=false,y=null,z=50,A=null;d.__A={};d.username=null;d.password=null;d.url=window.location.href;d.method="GET";d.responseText=null;d.responseXML=null;d.status=null;d.statusText=null;d.timeout=0;d._bn=0;d._bf=1000;d._gB=null;d._Q=null;d.__C="";d._n="";d._mQ=false;d._nL=null;d._fQ=null;d._fn=null;d.onReadyStateChange=null;d._fU=null;d._ps=null;d._nu=null;d._hq=null;d.onProgress=null;d.__G=null;d._en=null;d.onError=null;d.__B=null;d._kd=null;d._lF=null;d._hX=null;d._nn=null;d._dT=false;var B=function(){if(typeof XMLHttpRequest!="undefined")return new XMLHttpRequest();var a=["Microsoft.XMLHttp"];for(var i=0;i<a.length;i++){try{var b=new ActiveXObject(a[i]);return b;}catch(e){}}U("_en");return null;};var C=null;var D=null;var E=navigator.userAgent.indexOf('Opera')== -1;var F=function(){if(typeof d.onProgress=="function"&&typeof y.getResponseHeader=="function"){var a=y.getResponseHeader("Content-length");if(a!=null&&a!=''){var b=y.responseText.length;if(b!=C){U("onProgress",d,b,a);C=y.responseText.length;}}}if(E)return;E=true;var c=function(){F();D=window.setTimeout(c,z);};c();};var G=false;var H=function(){if(y!=null){y=null;}if((y=B())==null){return null;}if(typeof y.overrideMimeType!="undefined")y.overrideMimeType(j);y.onreadystatechange=function(){if(d==null||y==null)return;U("onReadyStateChange",d,y.readyState);F();switch(y.readyState){case 1:I();break;case 2:J();break;case 3:K();break;case 4:L();break;}};t=u=w=x=false;};var I=function(){if(t)return;if(!N&&A!=null){if(typeof __F.aa[A]=="undefined")__F.aa[A]=0;__F.aa[A]++;if(typeof d._hX=="function"&&__F.aa[A]==1)d._hX(d);}U("_fU",d);t=true;};var J=function(){if(u)return;U("_ps",d);u=true;};var K=function(){if(w)return;U("_nu",d);w=true;if(!E)F();};var L=function(){if(x||q)return;if(E){window.clearInterval(D);E=false;}o=true;var a=null;var s="";with(y){if(!r){s=responseText;if(d._mQ){s=s.replace("<json>","");s=s.replace("</json>","");d._nL=eval('('+s+')');}d.responseText=s;if(!d._dT){if(y.getResponseHeader("Content-Type").indexOf('text/xml')!= -1&&window.ActiveXObject&&responseXML.xml==''){a=new ActiveXObject("Microsoft.XMLDOM");a.async="false";try{a.loadXML(d.responseText);}catch(e){alert(e);}d.responseXML=a;}else d.responseXML=responseXML;}}else{var b=null;if(responseXML!=null){b=responseXML.getElementsByTagName(d._n+"Result")[0];if(b==null)b=responseXML.getElementsByTagName(d._n+"Response")[0];}if(b!=null){if(window.ActiveXObject){d.responseText=b.text;a=new ActiveXObject("Microsoft.XMLDOM");a.async="false";a.loadXML(d.responseText);}else{d.responseText=b.textContent;if(!d._dT){try{var c=new DOMParser();a=c.parseFromString(d.responseText,"text/xml");c=null;}catch(e){a=null;}}}d.responseXML=a;}else d.responseXML=null;}if(typeof status!="undefined")d.status=status;if(typeof statusText!="undefined")d.statusText=statusText;}U("_hq",d);x=true;if(d.status==200)U("__G",d);else U("onError",d);delete y['onreadystatechange'];y=null;d.ad=null;if(l)Q(true);M();U("_fn",d);};var M=function(){if(A!=null){__F.aa[A]--;if(__F.aa[A]==0)U("_nn",d);}};var N=false,O=0;var P=function(){if(d==null||y==null||x)return;q=true;y.abort();U("__B",d);N=true;if(O!=d._bn){H();if(d._bf>0){U("_kd",d,O+1);var a=new Date().getTime();while(new Date().getTime()-a<d._bf);}O++;U("_lF",d,O);if(r)d.ah();else d.ae();}else{delete y["onreadystatechange"];d.ad=null;y=null;if(l)Q(true);M();U("_fn",d);}};d.ae=function(){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");}catch(ex){}r=false;H();if(y==null)return false;q=false;if(!G){U("_fQ",d);G=true;}if(d.method=="GET"&&m)d.__A[encodeURIComponent(n)]=new Date().getTime().toString().substr(5)+Math.floor(Math.random()*100).toString();if(!N){for(var a in d.__A){if(p.length>0)p+="&";if(typeof d.__A[a]!="object")p+=encodeURIComponent(a)+"="+encodeURIComponent(d.__A[a]);else{for(var i=0;i<d.__A[a].length;i++)p+=encodeURIComponent(a)+"="+encodeURIComponent(d.__A[a][i])+"&";p=p.slice(0,-1);}}for(var a in f){var b=typeof[]._mw=='function';if(p.length>0)p+="&";p+=encodeURIComponent(a)+"=";if(b)p+=encodeURIComponent(f[a]._mw());else p+=encodeURIComponent(f[a]);}if(d.method=="GET"&&p.length>0)d.url+=(d.url.indexOf("?")!= -1?"&":"?")+p;}if(l)Q(false);try{y.open(d.method,d.url,h,d.username||'',d.password||'');}catch(e){U("_en",d,e);return;}if(d.timeout>0)setTimeout(P,d.timeout);if(typeof y.setRequestHeader!="undefined")for(var a in g)y.setRequestHeader(encodeURIComponent(a),encodeURIComponent(g[a]));if(d.method=="POST"&&typeof y.setRequestHeader!="undefined"){y.setRequestHeader("Content-type","application/x-www-form-urlencoded");y.send(p);}else if(d.method=="GET")y.send('');};d.ah=function(){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");}catch(ex){}r=true;H();if(y==null)return false;q=false;if(!G){U("_fQ",d);G=true;}if(!N){var b="";b="<?xml version=\"1.0\" encoding=\"utf-8\"?>";b+="<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">";b+="<soap:Body>";b+="<"+d._n+" xmlns=\""+d.__C+"\">";for(var a in d.__A){if(d.__A[a]==null)continue;if(typeof d.__A[a]!="object"){b+="<"+a+">";b+=V(d.__A[a]);b+="</"+a+">";}else{for(var i=0;i<d.__A[a].length;i++){b+="<"+a+">";b+=V(d.__A[a][i]);b+="</"+a+">";}}}b+="</"+d._n+">";b+="</soap:Body>";b+="</soap:Envelope>";d.ad=b;}try{y.open("POST",d.url,h,d.username||'',d.password||'');}catch(e){U("_en",d,e);return;}if(d.timeout>0)setTimeout(P,d.timeout);if(typeof y.setRequestHeader!="undefined"){y.setRequestHeader("Content-Type","text/xml");y.setRequestHeader("SOAPAction",d.__C+d._n);}y.send(d.ad);};d.ab=function(c){if(typeof c.form=="object"&&c.form!=null){k=c.form;R();}for(a in c){if(typeof d[a]=="undefined"&&a!="__A"&&a!="headers")d.__A[a]=c[a];else{if(a!="__A"&&a!="headers")d[a]=c[a];else if(a=="__A"){for(b in c[a])d.__A[b]=c[a][b];}else{g[b]=c[a][b];}}}d.method=d.method.toUpperCase();};var Q=function(b){if(typeof k!="object"||k==null)return;with(k)for(var a=0;a<elements.length;a++)if(!b){if(elements[a]["disabled"])elements[a]["_disabled"]=true;else elements[a]["disabled"]="disabled";}else if(typeof elements[a]["_disabled"]=="undefined")elements[a].removeAttribute("disabled");};var R=function(){with(k){d.method=getAttribute("method").toUpperCase();d.url=getAttribute("action");for(var a=0;a<elements.length;a++){var e=elements[a];if(e.disabled)continue;switch(e.type){case "text":case "password":case "hidden":case "textarea":S(e.name,e.value);break;case "select-one":if(e.selectedIndex>=0)S(e.name,e.options[e.selectedIndex].value);break;case "select-multiple":for(var b=0;b<e.options.length;b++)if(e.options[b].selected)S(e.name,e.options[b].value);break;case "checkbox":case "radio":if(e.checked)S(e.name,e.value);break;}}}};var S=function(a,b){if(typeof d.__A[a]=="undefined")d.__A[a]=b;else if(typeof d.__A[a]!="object")d.__A[a]=[d.__A[a],b];else d.__A[a][d.__A[a].length]=b;};var T=function(a){delete d.__A[a];};var U=function(b){var a=[];for(var i=1;i<arguments.length;i++)a.push(arguments[i]);if(typeof d[b]=="function")d[b].apply(null,a);if(b=="_en")U("_fn",d);};var V=function(v){if(typeof v!='string')return v;var s=v.replace("<","&lt;","g");s=s.replace(">","&gt;","g");return s;};if(typeof __F.ac!="undefined")d.ab(__F.ac);return d;};__F.get=function(a){return __F.ag("GET",a);};__F.post=function(a){return __F.ag("POST",a);};__F.head=function(a){return __F.ag("HEAD",a);};__F.submit=function(b,c){if(typeof c=="undefined"||c==null)return-1;if(typeof b!="object"||b==null)return-2;var a=new __F();c["form"]=b;a.ab(c);return a.ae();};__F.assign=function(a,b){if(typeof b=="undefined"||b==null)return-1;if(typeof a!="object"||a==null)return-2;if(typeof a["onsubmit"]=="function")a["_onsubmit"]=a["onsubmit"];a["advajax_args"]=b;a["onsubmit"]=function(){if(typeof this["_onsubmit"]!="undefined"&&this["_onsubmit"]()==false)return false;if(__F.submit(this,this["advajax_args"])==false)return true;return false;};return true;};__F.download=function(b,c,d,e){if(typeof b=="string")b=document.getElementById(b);if(!b)return-1;__F.get({url:c,__G:function(a){b.innerHTML=a.responseText;if(typeof(d)=='function')d(b,e);}});};__F.scan=function(){var a=document.getElementsByTagName("a");for(var i=0;i<a.length;){if(a[i].getAttribute("rel")=="advancedajax"&&a[i].getAttribute("href")!==null){var b=a[i].getAttribute("href");var c=document.createElement("div");c.innerHTML=a[i].innerHTML;c.className=a[i].className;var d=a[i].parentNode;d.insertBefore(c,a[i]);d.removeChild(a[i]);__F.download(c,b);}else i++;}};__F.ag=function(b,c){if(typeof c=="undefined"||c==null)return-1;var a=new __F();a.method=b;a.ab(c);return a.ae();};__F.ac={};__F._iD=function(b){__F.ac={};for(a in b)__F.ac[a]=b[a];};__F.__E=function(b){if(typeof b=="undefined"||b==null)return-1;var a=new __F();a.ab(b);return a.ah();};__F.aa={};
/*------------------------------*/

/*XSL operator *(c) 2007-2008 UssGroup * http://www.jcapt.com * Dev by thanhpt(thanhpt@gmail.com) * compressed version*/
function _ba(f,g,h,j){var a="";try{if(document.implementation&&document.implementation.createDocument){if(typeof h!='undefined'&&h!=""){var n=g.createElement("FFName");n.appendChild(g.createTextNode(h));g.documentElement.appendChild(n)}if(typeof j!='undefined')g.documentElement.setAttribute("IsBackEnd","true");var b=new XSLTProcessor();b.importStylesheet(f);a=b.transformToFragment(g,document);if(typeof h!='undefined'&&h!=""){var c=xFirstChild(a);if(c!=null){var d=c.getElementsByTagName("span");for(var i=0;i<d.length;i++)if(d[i].getAttribute("name")==h){d[i].innerHTML=d[i].textContent}}}}else if(window.ActiveXObject){a=document.createElement("div");a.innerHTML=g.transformNode(f);}}catch(e){}return a}function _M(c,d,f,g){try{if(d==null)return;var b=hex_md5(c);if(typeof _u._w["xslcache"]=='undefined')_u._w["xslcache"]=new Array();if(_u._w["xslcache"][b]!=null){var o=_ba(_u._w["xslcache"][b],d,g);if(typeof f=='function')f(o);return}__F.get({url:c,timeout:20000,_mj:0,_bf:2000,__G:function(a){_u._w["xslcache"][b]=a.responseXML;var o=_ba(_u._w["xslcache"][b],d,g);delete a.responseXML;if(typeof f=='function'){f(o)}}})}catch(e){}}function _xe(b,c,d){__F.get({url:c,timeout:20000,_mj:2,_bf:2000,__G:function(a){_M(b,a.responseXML,d)},onError:function(a){alert("Error: "+a.statusText)}})}
/*------------------------------*/

/* xml operation * (C) 2007 UssCorp. *http://www.jcapt.com * dev by thanhpt (thanhpt@gmail.com) * compressed version */
;function _bF(c){var a=null;if(window.ActiveXObject){a=new ActiveXObject("Microsoft.XMLDOM");a.async="false";a.loadXML(c);}else{var b=new DOMParser();a=b.parseFromString(c,"text/xml");}return a;}function _vT(b){var a=null;if(window.ActiveXObject){a=new ActiveXObject("Microsoft.XMLDOM");a.async=false;a.load(b);}else if(document.implementation&&document.implementation.createDocument){a=document.implementation.createDocument("","",null);a.load(b);}else{alert('Your browser cannot handle this script');}return a;}var _ei=function(n){var s="";if(n.nodeType==1){s+="<"+n.nodeName;for(var i=0;i<n.attributes.length;i++)s+=" "+n.attributes[i].nodeName+"=\""+(n.attributes[i].nodeValue||"").toString()+"\"";if(n.firstChild){s+=">";for(var c=n.firstChild;c;c=c.nextSibling)s+=_ei(c);s+="</"+n.nodeName+">";}else s+="/>";}else if(n.nodeType==3)s+=n.nodeValue;else if(n.nodeType==4)s+="<![CDATA["+n.nodeValue+"]]>";return s;};function _eM(a){var s="";for(var c=a.firstChild;c;c=c.nextSibling)s+=_ei(c);return s;}function _qW(a){return _ei(a);}
/*------------------------------*/

/*A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
 * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
 * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
 * Distributed under the BSD License
 * See http://pajhome.org.uk/crypt/md5 for more info. * compressed version*/
;var _of=0;var _oY="";var _aN=8;function hex_md5(s){return ah(ac(ad(s),s.length*_aN))}function _yX(s){return ai(ac(ad(s),s.length*_aN))}function _vG(s){return aj(ac(ad(s),s.length*_aN))}function _Al(a,b){return ah(ag(a,b))}function _zT(a,b){return ai(ag(a,b))}function _zO(a,b){return aj(ag(a,b))}function al(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function ac(x,j){x[j>>5]|=0x80<<((j)%32);x[(((j+64)>>>9)<<4)+14]=j;var a=1732584193;var b= -271733879;var c= -1732584194;var d=271733878;for(var i=0;i<x.length;i+=16){var e=a;var f=b;var g=c;var h=d;a=V(a,b,c,d,x[i+0],7,-680876936);d=V(d,a,b,c,x[i+1],12,-389564586);c=V(c,d,a,b,x[i+2],17,606105819);b=V(b,c,d,a,x[i+3],22,-1044525330);a=V(a,b,c,d,x[i+4],7,-176418897);d=V(d,a,b,c,x[i+5],12,1200080426);c=V(c,d,a,b,x[i+6],17,-1473231341);b=V(b,c,d,a,x[i+7],22,-45705983);a=V(a,b,c,d,x[i+8],7,1770035416);d=V(d,a,b,c,x[i+9],12,-1958414417);c=V(c,d,a,b,x[i+10],17,-42063);b=V(b,c,d,a,x[i+11],22,-1990404162);a=V(a,b,c,d,x[i+12],7,1804603682);d=V(d,a,b,c,x[i+13],12,-40341101);c=V(c,d,a,b,x[i+14],17,-1502002290);b=V(b,c,d,a,x[i+15],22,1236535329);a=T(a,b,c,d,x[i+1],5,-165796510);d=T(d,a,b,c,x[i+6],9,-1069501632);c=T(c,d,a,b,x[i+11],14,643717713);b=T(b,c,d,a,x[i+0],20,-373897302);a=T(a,b,c,d,x[i+5],5,-701558691);d=T(d,a,b,c,x[i+10],9,38016083);c=T(c,d,a,b,x[i+15],14,-660478335);b=T(b,c,d,a,x[i+4],20,-405537848);a=T(a,b,c,d,x[i+9],5,568446438);d=T(d,a,b,c,x[i+14],9,-1019803690);c=T(c,d,a,b,x[i+3],14,-187363961);b=T(b,c,d,a,x[i+8],20,1163531501);a=T(a,b,c,d,x[i+13],5,-1444681467);d=T(d,a,b,c,x[i+2],9,-51403784);c=T(c,d,a,b,x[i+7],14,1735328473);b=T(b,c,d,a,x[i+12],20,-1926607734);a=v(a,b,c,d,x[i+5],4,-378558);d=v(d,a,b,c,x[i+8],11,-2022574463);c=v(c,d,a,b,x[i+11],16,1839030562);b=v(b,c,d,a,x[i+14],23,-35309556);a=v(a,b,c,d,x[i+1],4,-1530992060);d=v(d,a,b,c,x[i+4],11,1272893353);c=v(c,d,a,b,x[i+7],16,-155497632);b=v(b,c,d,a,x[i+10],23,-1094730640);a=v(a,b,c,d,x[i+13],4,681279174);d=v(d,a,b,c,x[i+0],11,-358537222);c=v(c,d,a,b,x[i+3],16,-722521979);b=v(b,c,d,a,x[i+6],23,76029189);a=v(a,b,c,d,x[i+9],4,-640364487);d=v(d,a,b,c,x[i+12],11,-421815835);c=v(c,d,a,b,x[i+15],16,530742520);b=v(b,c,d,a,x[i+2],23,-995338651);a=aa(a,b,c,d,x[i+0],6,-198630844);d=aa(d,a,b,c,x[i+7],10,1126891415);c=aa(c,d,a,b,x[i+14],15,-1416354905);b=aa(b,c,d,a,x[i+5],21,-57434055);a=aa(a,b,c,d,x[i+12],6,1700485571);d=aa(d,a,b,c,x[i+3],10,-1894986606);c=aa(c,d,a,b,x[i+10],15,-1051523);b=aa(b,c,d,a,x[i+1],21,-2054922799);a=aa(a,b,c,d,x[i+8],6,1873313359);d=aa(d,a,b,c,x[i+15],10,-30611744);c=aa(c,d,a,b,x[i+6],15,-1560198380);b=aa(b,c,d,a,x[i+13],21,1309151649);a=aa(a,b,c,d,x[i+4],6,-145523070);d=aa(d,a,b,c,x[i+11],10,-1120210379);c=aa(c,d,a,b,x[i+2],15,718787259);b=aa(b,c,d,a,x[i+9],21,-343485551);a=ab(a,e);b=ab(b,f);c=ab(c,g);d=ab(d,h)}return Array(a,b,c,d)}function ae(q,a,b,x,s,t){return ab(ak(ab(ab(a,q),ab(x,t)),s),b)}function V(a,b,c,d,x,s,t){return ae((b&c)|((~b)&d),a,b,x,s,t)}function T(a,b,c,d,x,s,t){return ae((b&d)|(c&(~d)),a,b,x,s,t)}function v(a,b,c,d,x,s,t){return ae(b^c^d,a,b,x,s,t)}function aa(a,b,c,d,x,s,t){return ae(c^(b|(~d)),a,b,x,s,t)}function ag(e,f){var a=ad(e);if(a.length>16)a=ac(a,e.length*_aN);var b=Array(16),c=Array(16);for(var i=0;i<16;i++){b[i]=a[i]^0x36363636;c[i]=a[i]^0x5C5C5C5C}var d=ac(b.concat(ad(f)),512+f.length*_aN);return ac(c.concat(d),512+128)}function ab(x,y){var a=(x&0xFFFF)+(y&0xFFFF);var b=(x>>16)+(y>>16)+(a>>16);return(b<<16)|(a&0xFFFF)}function ak(a,b){return(a<<b)|(a>>>(32-b))}function ad(c){var a=Array();var b=(1<<_aN)-1;for(var i=0;i<c.length*_aN;i+=_aN)a[i>>5]|=(c.charCodeAt(i/_aN)&b)<<(i%32);return a}function aj(c){var a="";var b=(1<<_aN)-1;for(var i=0;i<c.length*32;i+=_aN)a+=String.fromCharCode((c[i>>5]>>>(i%32))&b);return a}function ah(c){var a=_of?"0123456789ABCDEF":"0123456789abcdef";var b="";for(var i=0;i<c.length*4;i++){b+=a.charAt((c[i>>2]>>((i%4)*8+4))&0xF)+a.charAt((c[i>>2]>>((i%4)*8))&0xF)}return b}function ai(d){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var b="";for(var i=0;i<d.length*4;i+=3){var c=(((d[i>>2]>>8*(i%4))&0xFF)<<16)|(((d[i+1>>2]>>8*((i+1)%4))&0xFF)<<8)|((d[i+2>>2]>>8*((i+2)%4))&0xFF);for(var j=0;j<4;j++){if(i*8+j*6>d.length*32)b+=_oY;else b+=a.charAt((c>>6*(3-j))&0x3F)}}return b}
/*------------------------------*/

/*xpath operation * (C) 2007-2008 UssCorp. * http://www.jcapt.com * dev by: thanhpt (thanhpt@gmail.com)  * compressed version*/
;function _S(d,e){var a=navigator.userAgent.toLowerCase().indexOf("msie")!= -1;var b="";var c="";if(a){b=d.selectNodes(e);if(b!=null&&b[0]!=null)c=b[0].text;}else{b=d.evaluate(e,d,null,XPathResult.STRING_TYPE,null);c=b.stringValue;}return c;}function _Cl(g,h){var a=navigator.userAgent.toLowerCase().indexOf("msie")!= -1;var b="";var d="";var e=new Array();if(a){b=g.selectNodes(h);if(b!=null)for(var i=0;i<b.length;i++)e.push(b[0].text);}else{b=g.evaluate(h,g,null,XPathResult.UNORDERED_NODE_ITERATOR_TYPE,null);var c;while(c=b.iterateNext()){e.push(c.firstChild.nodeValue);}}return e;}function _qS(e,f){if(document.all)return e.selectNodes(f);var a=e.evaluate(f,e,null,XPathResult.UNORDERED_NODE_ITERATOR_TYPE,null);if(a==null)return null;var b=new Array();var c;while(c=a.iterateNext()){b.push(c);}return b;}function _cC(b,c){if(document.all){return b.selectSingleNode(c);}var a=b.evaluate(c,b,null,XPathResult.UNORDERED_NODE_ITERATOR_TYPE,null);if(a==null)return null;return a.iterateNext();}function _zf(b,c,d){if(document.all)return b.selectSingleNode(d);var a=b.evaluate(d,c,null,XPathResult.UNORDERED_NODE_ITERATOR_TYPE,null);if(a==null)return null;return a.iterateNext();}function _xB(d,e){if(document.all)return d.selectNodes(e).length;var a=d.evaluate(e,d,null,XPathResult.UNORDERED_NODE_ITERATOR_TYPE,null);if(a==null)return 0;var b=0;while(c=a.iterateNext()){b++;}return b;}
/*------------------------------*/
;function t(d){var a,i,b,c;a="";b=d.length;for(i=0;i<b;i++){c=d.charCodeAt(i);if((c>=0x0001)&&(c<=0x007F)){a+=d.charAt(i)}else if(c>0x07FF){a+=String.fromCharCode(0xE0|((c>>12)&0x0F));a+=String.fromCharCode(0x80|((c>>6)&0x3F));a+=String.fromCharCode(0x80|((c>>0)&0x3F))}else{a+=String.fromCharCode(0xC0|((c>>6)&0x1F));a+=String.fromCharCode(0x80|((c>>0)&0x3F))}}return a}function v(f){var a,i,b,c;var d,e;a="";b=f.length;i=0;while(i<b){c=f.charCodeAt(i++);switch(c>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:a+=f.charAt(i-1);break;case 12:case 13:d=f.charCodeAt(i++);a+=String.fromCharCode(((c&0x1F)<<6)|(d&0x3F));break;case 14:d=f.charCodeAt(i++);e=f.charCodeAt(i++);a+=String.fromCharCode(((c&0x0F)<<12)|((d&0x3F)<<6)|((e&0x3F)<<0));break}}return a}function _aZ(g){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";g=t(g);var b,i,c;var d,e,f;c=g.length;i=0;b="";while(i<c){d=g.charCodeAt(i++)&0xff;if(i==c){b+=a.charAt(d>>2);b+=a.charAt((d&0x3)<<4);b+="==";break}e=g.charCodeAt(i++);if(i==c){b+=a.charAt(d>>2);b+=a.charAt(((d&0x3)<<4)|((e&0xF0)>>4));b+=a.charAt((e&0xF)<<2);b+="=";break}f=g.charCodeAt(i++);b+=a.charAt(d>>2);b+=a.charAt(((d&0x3)<<4)|((e&0xF0)>>4));b+=a.charAt(((e&0xF)<<2)|((f&0xC0)>>6));b+=a.charAt(f&0x3F)}return b}function _aG(h){var a=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);var b,c,d,e;var i,f,g;f=h.length;i=0;g="";while(i<f){do{b=a[h.charCodeAt(i++)&0xff]}while(i<f&&b== -1);if(b== -1)break;do{c=a[h.charCodeAt(i++)&0xff]}while(i<f&&c== -1);if(c== -1)break;g+=String.fromCharCode((b<<2)|((c&0x30)>>4));do{d=h.charCodeAt(i++)&0xff;if(d==61)return g;d=a[d]}while(i<f&&d== -1);if(d== -1)break;g+=String.fromCharCode(((c&0XF)<<4)|((d&0x3C)>>2));do{e=h.charCodeAt(i++)&0xff;if(e==61)return g;e=a[e]}while(i<f&&e== -1);if(e== -1)break;g+=String.fromCharCode(((d&0x03)<<6)|e)}return g}
/*------------------------------*/

/* fgmenu. Copyright (c) 2009 Filament Group
    Dual licensed under the MIT and GPL licenses.Enhancemented by thanhpt (thanhpt@gmail.com, http://www.jcapt.com) */
;var _cH=[];$.fn.menu=function(c){var a=this;var b=c;var m=new Menu(a,b);_cH.push(m);$(this).mousedown(function(){if(!m._cE){m._oT();};}).click(function(){if(m._cE==false){m._gC();}else{m._dG();};return false;});};function Menu(g,h){var f=this;var g=$(g);this._cE=false;this._ju=false;var h=jQuery.extend(true,{content:null,width:180,maxHeight:180,positionOpts:{posX:'left',posY:'bottom',offsetX:0,offsetY:0,directionH:'right',directionV:'down',detectH:true,detectV:true,linkToFront:false},showSpeed:200,callerOnState:'ui-state-active',loadingState:'ui-state-loading',linkHover:'ui-state-hover',linkHoverSecondary:'li-hover',crossSpeed:200,crumbDefaultText:'Choose an option:',backLink:true,backLinkText:'Back',flyOut:false,flyOutOnState:'ui-state-default',nextMenuLink:'ui-icon-triangle-1-e',topLinkText:'All',nextCrumbLink:'ui-icon-carat-1-e',useItemIcon:false,prefix:''},h);var j=$('<div class="fg-menu-_K ui-widget ui-widget-content ui-corner-all">'+h.content+'</div>');if(h.prefix!='')j.attr('id',h.prefix);var k=function(){$.each(_cH,function(i){if(_cH[i]._cE){_cH[i]._dG();};});};this._dG=function(){g.removeClass(h.loadingState).removeClass('fg-menu-open').removeClass(h.callerOnState);j.find('li').removeClass(h.linkHoverSecondary).find('a').removeClass(h.linkHover);if(h.flyOutOnState){j.find('li a').removeClass(h.flyOutOnState);};if(h.callerOnState){g.removeClass(h.callerOnState);};if(j.is('.fg-menu-_aM')){f._gL();};if(j.is('.fg-menu-_aC')){f._pl();};j.parent().hide();f._cE=false;$(document).unbind('click',k);$(document).unbind('keydown');};this._oT=function(){g.addClass(h.loadingState);};this._gC=function(){k();if(!f._ju){f.create();}if($.browser.msie&&$.browser.version<7)f._nj(j,g,h);g.addClass('fg-menu-open').addClass(h.callerOnState);j.parent().show().click(function(){f._dG();return false;});j.hide().slideDown(h.showSpeed).find('.fg-menu:eq(0)');f._cE=true;g.removeClass(h.loadingState);$(document).click(k);$(document).keydown(function(d){var e;if(d.which!=""){e=d.which;}else if(d.charCode!=""){e=d.charCode;}else if(d.keyCode!=""){e=d.keyCode;}var a=($(d.target).parents('div').is('.fg-menu-_aC'))?'_aC':'_aM';switch(e){case 37:if(a=='_aC'){$(d.target).trigger('mouseout');if($('.'+h.flyOutOnState).size()>0){$('.'+h.flyOutOnState).trigger('mouseover');};};if(a=='_aM'){$(d.target).trigger('mouseout');if($('.fg-menu-footer').find('a').size()>0){$('.fg-menu-footer').find('a').trigger('click');};if($('.fg-menu-header').find('a').size()>0){$('.fg-menu-current-_m').prev().find('a').trigger('click');};if($('.fg-menu-current').prev().is('.fg-menu-_aA')){$('.fg-menu-current').prev().trigger('mouseover');};};return false;break;case 38:if($(d.target).is('.'+h.linkHover)){var b=$(d.target).parent().prev().find('a:eq(0)');if(b.size()>0){$(d.target).trigger('mouseout');b.trigger('mouseover');};}else{j.find('a:eq(0)').trigger('mouseover');}return false;break;case 39:if($(d.target).is('.fg-menu-_aA')){if(a=='_aC'){$(d.target).next().find('a:eq(0)').trigger('mouseover');}else if(a=='_aM'){$(d.target).trigger('click');setTimeout(function(){$(d.target).next().find('a:eq(0)').trigger('mouseover');},h.crossSpeed);};};return false;break;case 40:if($(d.target).is('.'+h.linkHover)){var c=$(d.target).parent().next().find('a:eq(0)');if(c.size()>0){$(d.target).trigger('mouseout');c.trigger('mouseover');};}else{j.find('a:eq(0)').trigger('mouseover');}return false;break;case 27:k();break;case 13:if($(d.target).is('.fg-menu-_aA')&&a=='_aM'){$(d.target).trigger('click');setTimeout(function(){$(d.target).next().find('a:eq(0)').trigger('mouseover');},h.crossSpeed);};break;};});};this.create=function(){j.css({width:h.width}).appendTo('body').find('ul:first').not('.fg-menu-_g').addClass('fg-menu');j.find('ul, li a').addClass('ui-corner-all');j.find('ul').attr('role','menu').eq(0).attr('aria-activedescendant','active-menuitem').attr('aria-labelledby',g.attr('id'));j.find('li').attr('role','menuitem');j.find('li:has(ul)').attr('aria-haspopup','true').find('ul').attr('aria-expanded','false');j.find('a').attr('tabindex','-1');if(j.find('ul').size()>1){if(h.flyOut){f._aC(j,h);}else{f._ks(j,h);}}else{j.find('a').click(function(){f._cN(this);return false;});};if(h.linkHover){var b=j.find('.fg-menu li a');b.hover(function(){var a=$(this);$('.'+h.linkHover).removeClass(h.linkHover).blur().parent().removeAttr('id');$(this).addClass(h.linkHover).focus().parent().attr('id','active-menuitem');},function(){$(this).removeClass(h.linkHover).blur().parent().removeAttr('id');});};if(h.linkHoverSecondary){j.find('.fg-menu li').hover(function(){$(this).siblings('li').removeClass(h.linkHoverSecondary);if(h.flyOutOnState){$(this).siblings('li').find('a').removeClass(h.flyOutOnState);}$(this).addClass(h.linkHoverSecondary);},function(){$(this).removeClass(h.linkHoverSecondary);});};f._nA(j,g,h);f._ju=true;};this._cN=function(b){f._dG();var a=($(b).attr('target')=='_blank');if(a)window.open($(b).attr('href'));else location.href=$(b).attr('href');};};Menu.prototype._aC=function(g,h){var f=this;this._pl=function(){var a=g.find('ul ul');a.removeClass('ui-widget-content').hide();};g.addClass('fg-menu-_aC').find('li:has(ul)').each(function(){var b=g.width();var c,d;var e=$(this).find('ul');e.css({left:b,width:b}).hide();$(this).find('a:eq(0)').addClass(h.useItemIcon?'fg-menu-_aA fg-menu-icon':'fg-menu-_aA').html((h.useItemIcon?'<span class="item-icon"></span>':'')+'<span>'+$(this).find('a:eq(0)').text()+'</span><span class="ui-icon '+h.nextMenuLink+'"></span>').hover(function(){clearTimeout(d);var a=$(this).next();if(!_eI(a,$(this).offset().top)){a.css({top:'auto',bottom:0});};if(!_eg(a,$(this).offset().left+100)){a.css({left:'auto',right:b,'z-index':999});};c=setTimeout(function(){a.addClass('ui-widget-content').show(h.showSpeed).attr('aria-expanded','true');},300);},function(){clearTimeout(c);var a=$(this).next();d=setTimeout(function(){a.removeClass('ui-widget-content').hide(h.showSpeed).attr('aria-expanded','false');},400);});$(this).find('ul a').hover(function(){clearTimeout(d);if($(this).parents('ul').prev().is('a.fg-menu-_aA')){$(this).parents('ul').prev().addClass(h.flyOutOnState);}},function(){d=setTimeout(function(){e.hide(h.showSpeed);g.find(h.flyOutOnState).removeClass(h.flyOutOnState);},500);});});if(h.useItemIcon)g.find('a').not('.fg-menu-_aA').addClass('fg-menu-icon').each(function(){$(this).html('<span class="item-icon"></span><span>'+$(this).text()+'<span>');});g.find('a').click(function(){f._cN(this);return false;});};Menu.prototype._ks=function(x,y){var m=this;var n=x.find('.fg-menu');var o=$('<ul class="fg-menu-_g ui-widget-header ui-corner-all ui-helper-clearfix"></ul>');var p=$('<li class="fg-menu-_g-text">'+y.crumbDefaultText+'</li>');var q=(y.backLink)?y.backLinkText:y.topLinkText;var r=(y.backLink)?'fg-menu-prev-list':'fg-menu-all-lists';var s=(y.backLink)?'ui-state-default ui-corner-all':'';var t=(y.backLink)?'<span class="ui-icon ui-icon-triangle-1-w"></span>':'';var u=$('<li class="'+r+'"><a href="#" class="'+s+'">'+t+q+'</a></li>');x.addClass('fg-menu-_aM');if(y.backLink){o.addClass('fg-menu-footer').appendTo(x).hide();}else{o.addClass('fg-menu-header').prependTo(x);};o.append(p);var v=function(a){if(a.height()>y.maxHeight){a.addClass('fg-menu-scroll')};a.css({height:y.maxHeight});};var w=function(a){a.removeClass('fg-menu-scroll').removeClass('fg-menu-current').height('auto');};this._gL=function(){$('.fg-menu-current').removeClass('fg-menu-current');n.animate({left:0},y.crossSpeed,function(){$(this).find('ul').each(function(){$(this).hide();w($(this));});n.addClass('fg-menu-current');});$('.fg-menu-all-lists').find('span').remove();o.empty().append(p);$('.fg-menu-footer').empty().hide();v(n);};n.addClass('fg-menu-content fg-menu-current ui-widget-content ui-helper-clearfix').css({width:x.width()}).find('ul').css({width:x.width(),left:x.width()}).addClass('ui-widget-content').hide();v(n);n.find('a').each(function(){if($(this).next().is('ul')){$(this).addClass(y.useItemIcon?'fg-menu-_aA fg-menu-icon':'fg-menu-_aA').each(function(){$(this).html((y.useItemIcon?'<span class="item-icon"></span>':'')+'<span>'+$(this).text()+'</span><span class="ui-icon '+y.nextMenuLink+'"></span>');}).click(function(){var e=$(this).next();var f=$(this).parents('ul:eq(0)');var g=(f.is('.fg-menu-content'))?0:parseFloat(n.css('left'));var h=Math.round(g-parseFloat(x.width()));var i=$('.fg-menu-footer');w(f);v(e);n.animate({left:h},y.crossSpeed);e.show().addClass('fg-menu-current').attr('aria-expanded','true');var j=function(d){var b=d;var c=$('.fg-menu-current');var a=c.parents('ul:eq(0)');c.hide().attr('aria-expanded','false');w(c);v(a);a.addClass('fg-menu-current').attr('aria-expanded','true');if(a.hasClass('fg-menu-content')){b.remove();i.hide();};};if(y.backLink){if(i.find('a').size()==0){i.show();$('<a href="#"><span class="ui-icon ui-icon-triangle-1-w"></span> <span>Back</span></a>').appendTo(i).click(function(){var b=$(this);var a=parseFloat(n.css('left'))+x.width();n.animate({left:a},y.crossSpeed,function(){j(b);});return false;});}}else{if(o.find('li').size()==1){o.empty().append(u);u.find('a').click(function(){m._gL();return false;});}$('.fg-menu-current-_m').removeClass('fg-menu-current-_m');var k=$(this).find('span:eq(0)').text();var l=$('<li class="fg-menu-current-_m"><a href="javascript://" class="fg-menu-_m">'+k+'</a></li>');l.appendTo(o).find('a').click(function(){if($(this).parent().is('.fg-menu-current-_m')){m._cN(this);}else{var a= -($('.fg-menu-current').parents('ul').size()-1)*180;n.animate({left:a},y.crossSpeed,function(){j();});$(this).parent().addClass('fg-menu-current-_m').find('span').remove();$(this).parent().nextAll().remove();};return false;});l.prev().append(' <span class="ui-icon '+y.nextCrumbLink+'"></span>');};return false;});}else{if(y.useItemIcon){$(this).addClass('fg-menu-icon').html('<span class="item-icon"></span><span>'+$(this).text()+'</span>');}$(this).click(function(){m._cN(this);return false;});};});};Menu.prototype._nj=function(e,f,g){var a=e;var b=f;var c={refX:b.offset().left,refY:b.offset().top,_dv:b.outerWidth(),_cW:b.outerHeight()};var d=a.parent();if(d.is('.positionHelper'))d.css({position:'absolute',left:c.refX+g.positionOpts.offsetY,top:c.refY+g.positionOpts.offsetY,width:c._dv,height:c._cW});};Menu.prototype._nA=function(h,i,d){var a=h;var b=i;var c={refX:b.offset().left,refY:b.offset().top,_dv:b.outerWidth(),_cW:b.outerHeight()};var d=d;var e,f;var g=$('<div class="positionHelper"></div>');g.css({position:'absolute',left:c.refX+d.positionOpts.offsetX,top:c.refY+d.positionOpts.offsetY,width:c._dv,height:c._cW});a.wrap(g);switch(d.positionOpts.posX){case 'left':e=0;break;case 'center':e=c._dv/2;break;case 'right':e=c._dv;break;};switch(d.positionOpts.posY){case 'top':f=0;break;case 'center':f=c._cW/2;break;case 'bottom':f=c._cW;break;};e+=d.positionOpts.offsetX;f+=d.positionOpts.offsetY;if(d.positionOpts.directionV=='up'){a.css({top:'auto',bottom:f});if(d.positionOpts.detectV&& !_eI(a)){a.css({bottom:'auto',top:f});}}else{a.css({bottom:'auto',top:f});if(d.positionOpts.detectV&& !_eI(a)){a.css({top:'auto',bottom:f});}};if(d.positionOpts.directionH=='left'){a.css({left:'auto',right:e});if(d.positionOpts.detectH&& !_eg(a)){a.css({right:'auto',left:e});}}else{a.css({right:'auto',left:e});if(d.positionOpts.detectH&& !_eg(a)){a.css({left:'auto',right:e});}};if((!$.browser.msie||($.browser.msie&&$.browser.version>6))&&d.posFixed)a.css({position:'fixed'});if(d.positionOpts.linkToFront){b.clone().addClass('linkClone').css({position:'absolute',top:0,right:'auto',bottom:'auto',left:0,width:b.width(),height:b.height()}).insertAfter(a);};};function _Ck(a,b){return b-a;};jQuery.fn._zs=function(){return $(this).width()+parseInt($(this).css('paddingRight'))+parseInt($(this).css('paddingLeft'))+parseInt($(this).css('borderRightWidth'))+parseInt($(this).css('borderLeftWidth'));};jQuery.fn._ui=function(){return $(this).height()+parseInt($(this).css('paddingTop'))+parseInt($(this).css('paddingBottom'))+parseInt($(this).css('borderTopWidth'))+parseInt($(this).css('borderBottomWidth'));};function _gR(){return self.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;};function _if(){return self.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft;};function _mE(){var a=document.documentElement;return self.innerHeight||(a&&a.clientHeight)||document.body.clientHeight;};function _po(){var a=document.documentElement;return self.innerWidth||(a&&a.clientWidth)||document.body.clientWidth;};function _eg(b,c){var a=parseInt(c)||$(b).offset().left;return(a+$(b).width()<=_po()+_if()&&a-_if()>=0);};function _eI(b,c){var a=parseInt(c)||$(b).offset().top;return(a+$(b).height()<=_mE()+_gR()&&a-_gR()>=0);};Number.prototype._lH=String.prototype._lH=function(g){g=jQuery.extend({scope:'body',reverse:false},g);var b=(this=='')?0:parseFloat(this);var c;var d=function(){var a=document.documentElement;return self.innerWidth||(a&&a.clientWidth)||document.body.clientWidth;};if(g.scope=='body'&&$.browser.msie&&(parseFloat($('body').css('font-size'))/d()).toFixed(1)>0.0){var e=function(){return(parseFloat($('body').css('font-size'))/d()).toFixed(3)*16;};c=e();}else{c=parseFloat(jQuery(g.scope).css("font-size"));};var f=(g.reverse==true)?(b*c).toFixed(2)+'px':(b/c).toFixed(2)+'em';return f;};
/*------------------------------*/

/* common lib * (c) 2007-2008 UssCorp * http://www.jcapt.com *by thanhpt (thanhpt@gmail.com)  * compressed version */
function _dB(c){var a=document.getElementsByName(c);var d="";for(var b=0;b<a.length;b++){if(a[b].type=="checkbox"&&a[b].checked){d+=(d==""?"":",")+a[b].value}}return d}function _lr(b){var a=document.getElementsByName(b);for(var c=0;c<a.length;c++){if(a[c].type=="radio"&&a[c].checked){return a[c].value}}return ""}function _lC(d,f){var a=document.getElementsByName(d);var b=document.getElementsByName(f);var g="";var e=new RegExp("^[1-9][0-9]*$");for(var c=0;c<a.length;c++){if(a[c].type=="checkbox"&&a[c].checked){if(!b[c].value.match(e)){alert(lang1300);b[c].value="";b[c].focus();return null}else{g+=(g==""?"":",")+b[c].value}}}return g}function _fC(b){if(typeof b._ab=="undefined"){b._ab=b.width}if(typeof b._bv=="undefined"){b._bv=b.height}var c=b._bh/b._ab;var a=b._aE/b._bv;if(c>1&&a>1){if(b._bv>b._ab){b.height=b._aE;b.width=Math.floor(b._bv*a)}else{b.width=b._bh;b.height=Math.floor(b._bv*c)}}else{if(c<a){b.height=Math.floor(b._bv*c);b.width=b._bh}else{b.width=Math.floor(b._ab*a);b.height=b._aE}}if(b.style.visibility=="hidden"){b.style.visibility="visible"}b=null}function _qU(b,e,c){var d=e/b.width;var a=c/b.height;if(d<a){b.height=Math.floor(b.height*d);b.width=e}else{b.width=Math.floor(b.width*a);b.height=c}}function _eF(e,a,j){_G=e.getElementsByTagName("img");var c=new Object();if(_G&&_G.length>0){for(var g=0;g<_G.length;g++){var b=0,l=0;var k=false;var f="";var h=_G[g].getAttribute("uss_class");var d=_G[g].getAttribute("uss_selector");f=_G[g].getAttribute("default_selector");if(!d&&f){_G[g].setAttribute("uss_selector",f.replace(a,j))}if(h){if(typeof c[h]=="undefined"){if(h.indexOf(".")== -1){h="."+h}if(d){d="#"+d+" "+h;k=xGetCssRule(d)}if(k==false){if(typeof j!="undefined"){d="#"+_G[g].getAttribute("uss_selector")+" "+h;k=xGetCssRule(d)}if(k==false){d="."+f+" "+h;k=xGetCssRule(d)}}if(k){c[h]=k}}k=c[h];if(k){_G[g]._aE=parseInt(k.style.height,10);_G[g]._bh=parseInt(k.style.width,10)}if(_G[g].complete){_fC(_G[g])}else{_G[g].onload=function(){_fC(this)}}}}}}function _pE(a){if(!window.opera&& !document.mimeType&&document.all&&document.getElementById){parent.document.getElementById(a).style.height=this.document.body.offsetHeight+"px"}else{if(navigator.userAgent.indexOf("Safari")!= -1){parent.document.getElementById(a).style.height=this.document.body.offsetHeight+"px"}else{if(document.getElementById){parent.document.getElementById(a).style.height=this.document.body.scrollHeight+"px"}}}}function _kK(a,c,b){return window.location.protocol+"//"+a+"/"+c+"/fpages/"+b+"/"}function _kt(a,c,b){return window.location.protocol+"//"+a+"/"+c+"/bpages/"+b+"/"}function _pv(a,c,b){return window.location.protocol+"//"+a+"/"+c+"/opages/"+b+"/"}function __H(b,d,c){var a=window.location.protocol+"//"+b+"/"+d+"/services/"+c+".srv";return a.replace("//service","/service")}function _qf(a,b){return window.location.protocol+"//"+a+"/"+b+"/"}function _r(b){var a="";if(b=="center"){a="<table width='100%' height='100%' style='background-color:#ffffff'><tr><td";a+=" valign='middle' align='center'>";a+="<img src='/dat/commons/images/loadingball_64.gif' style='top:50%' />";a+="</td></tr></table>"}else{a="<img src='/dat/commons/images/loading.gif' />"}return a}function _iQ(b){var a="";if(b=="center"){a="<table width='100%' height='100%' style='background-color:#ffffff'><tr><td";a+=" valign='middle' align='center'>";a+="<img src='/dat/commons/images/reload.gif' /> reload";a+="</td></tr></table>"}else{a="<img src='/dat/commons/images/reload.gif' /> reload"}return a}function _kv(){return "Tải dữ liệu không thành công"}function _u(){}_u.Global=[];_u._w=[];function onUnload(){var a=function(b){if(typeof b.constructor=="undefined"||b.constructor.toString().indexOf("Array")== -1){b=null}else{for(var c in b){a(b[c])}}};a(_u._w);a(_u.Global);if(typeof __f!="undefined"&&typeof __f._cB=="function"){__f._cB()}_bj(document.body)}function _q(a){a.responseText=null;a.responseXML=null;a._Q=null;a=null}function _qN(c,a){var b="../../js/";if(typeof a!="undefined"){b=a}if(c.indexOf(".js")== -1){c+=".js"}if(_u._w["includedjs"]==null){_u._w["includedjs"]=new Array()}if(_u._w["includedjs"][c]!=true){document.write(unescape("%3Cscript src='"+b+c+"' type='text/javascript'%3E%3C/script%3E"));_u._w["includedjs"][c]=true}}function _pp(b){if(_u._w["includedcss"]==null){_u._w["includedcss"]=new Array()}if(_u._w["includedcss"][b]!=true){var a=document.getElementsByTagName("head")[0];if(a==null){a=document.body}var c=document.createElement("link");c.setAttribute("type","text/css");c.setAttribute("rel","stylesheet");c.setAttribute("href",b);a.appendChild(c);_u._w["includedcss"][b]=true}}function _lD(c){var a=c.getElementsByTagName("a");for(var b=0;b<a.length;b++){a[b].setAttribute("href","javascript:void(0)");a[b].onmouseover=null;a[b].onmouseout=null;a[b].onclick=null}}function _bj(d){if(d==null){return}var c=d.attributes,b,a,e;if(c){a=c.length;for(b=0;b<a;b+=1){e=c[b].name;if(typeof d[e]==="function"){d[e]=null}}}c=d.childNodes;if(c){a=c.length;for(b=0;b<a;b+=1){_bj(d.childNodes[b])}}}function _bd(b){var d,c,a,e;if(b!=null&&b.hasChildNodes()){while(b.childNodes.length>=1){_bj(b.firstChild);b.removeChild(b.firstChild)}}}if(!document.all&&HTMLElement){HTMLElement.prototype.__defineGetter__("innerText",function(){return this.textContent});HTMLElement.prototype.__defineSetter__("innerText",function(a){this.textContent=a})}function _nd(){var c=arguments[0];var b="";for(var a=0;a<arguments.length-1;a++){if(typeof arguments[a+1]=="string"){b=arguments[a+1].toLowerCase()}else{b=arguments[a+1]}c=c.replace("{"+a+"}",b)}return c}function _eq(b){var a="[\\?&]"+b+"=([^&#]*)";var e=new RegExp(a);var d=window.location.href;var c=e.exec(d);if(c==null){return ""}else{return c[1]}}function _rc(b){var a="[/\\|,<>:?*%]";return b.match(new RegExp(a))}function __K(a){a.className="_a12_ uss_textfield_focus"}function __L(a){a.className="_a12_"}function _a46_(a){$(a).addClass("uss_textfield_focus")}function _a45_(a){$(a).removeClass("uss_textfield_focus")}function __b(a){a.className="_a9_ _jm"}function __a(a){a.className="_a9_"}function _fJ(a){a.className="_bu _jA"}function _ep(a){a.className="_bu"}function _gJ(){var e="1234567890";var b=e.length;var a,d,c;a="";for(c=0;c<13;c++){d=Math.floor(Math.random()*16%b);a=a+d}return a}function _kC(b,a){__F.__E({url:__H(window.location.host,sv_c,"public"),_n:"wsf_h",__G:function(c){if(c.responseText=="true"){b.apply()}else{a.call(null,b)}}})}function _gI(c){var l=[];l.push(/<\?[\s\S]*?\?>/g);l.push(/<%[\s\S]*?%>/g);l.push(/(]+>[\s|\S]*?<\/asp:[^\>]+>)|(]+\/>)/gi);l.push(/<\s*script[^>]*?>.*?<\s*\/script\s*>/gi);l.push(/<\s*script[^>]*?\/\s*>/gi);for(var f=0;f<l.length;f++){c=c.replace(l[f],"")}var k="on[a-z]+";var d="<\\w+?[^>]*?"+k+"\\s*?=[^>]*?>";var a=new RegExp(d,"i");var j,h,e,g,b;while((j=a.exec(c))!=null){h=j[0].toString();g="("+k+"\\s*?=\\s*?([\"'])[^\"']*?\\2)|("+k+"\\s*?=\\s*?\\w+)";b=new RegExp(g,"i");if(b.test(h)){e=h.replace(b,"");c=c.replace(h,e)}}d="<\\w+?[^>]*?style\\s*=\\s*[^>]*?expression[^>]*?>";a=new RegExp(d,"i");while((j=a.exec(c))!=null){h=j[0].toString();e=h.replace(/expression\([^\)]*\)/,"");c=c.replace(h,e)}d="<\\s*style[^>]*>[^<]+expression[^>]*?>";a=new RegExp(d,"i");while((j=a.exec(c))!=null){h=j[0].toString();e=h.replace(/expression\([^\)]*\)/,"");c=c.replace(h,e)}return c}if(!window._d){_d={}}_d.log=_d.log||function(){};_d._iL=_d._iL||function(){};_d.error=_d.error||function(){};_d._cP=_d._cP||function(){};if(!Array.prototype.indexOf){Array.prototype.indexOf=function(b){for(var a=0;a<this.length;a++){if(this[a]==b){return a}}return-1}}String.prototype.trim=function(){return this.replace(/^\s\s*/,"").replace(/\s\s*$/,"")};String.prototype.format=function(){var c=this;var b="";for(var a=0;a<arguments.length;a++){if(typeof arguments[a+1]=="string"){b=arguments[a+1].toLowerCase()}else{b=arguments[a+1]}c=c.replace("{"+a+"}",b)}return c};String.prototype._pA=function(){return this.replace(/[<>&"]/g,function(a){return{"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;"}[a]||a})};String.prototype._rn=function(){return s.replace(/&lt;|&gt;|&amp;|&quot;/g,function(a){return{"&lt;":"<","&gt;":">","&amp;":"&","&quot;":'"'}[a]||a})};String.prototype._nE=function(){return this.replace(/<([^>]+)>/g,"&lt;$1&gt;")};String.prototype._sP=function(){return s.replace(/&lt;|&gt;/g,function(a){return{"&lt;":"<","&gt;":">"}[a]||a})};String.prototype._qJ=function(b){var a=new RegExp("["+b+"]","g");return this.replace(a,function(d){return{"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;","'":"&apos"}[d]||d})};String.prototype._rd=function(e){var b={"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;","'":"&apos"};var a="";for(var c=0;c<e.length;c++){a+=(a==""?"":"|")+b[e.charAt(c)]}var d=new RegExp(a,"g");return s.replace(d,function(f){return{"&lt;":"<","&gt;":">","&amp;":"&","&quot;":'"',"&apos":"'"}[f]||f})};
/*------------------------------*/
function _hg(){this.length=0;this.items=new Array();for(var a=0;a<arguments.length;a+=2){if(typeof(arguments[a+1])!="undefined"){this.items[arguments[a]]=arguments[a+1];this.length++}}this.removeItem=function(b){var c;if(typeof(this.items[b])!="undefined"){this.length--;var c=this.items[b];delete this.items[b]}return c};this.getItem=function(b){return this.items[b]};this.setItem=function(b,d){var c;if(typeof(d)!="undefined"){if(typeof(this.items[b])=="undefined"){this.length++}else{c=this.items[b]}this.items[b]=d}return c};this._Va=function(b){return typeof(this.items[b])!="undefined"};this.clear=function(){for(var b in this.items){delete this.items[b]}this.length=0}};
/*------------------------------*/

/* a part of xlib 4.17 * Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL  * compressed version */
xLibrary={version:'4.17',_mp:'GNU LGPL',url:'http://cross-browser.com/'};function xTable(g,j,k,l,m,n,o,p,q,r,s){var i,ot,d=null,_ak,_bP,root,fr,_bz,fc,_bE,tc;var e,t,tr,a,_eH,f=null;ot=xGetElementById(g);if(!ot|| !document.createElement|| !document.appendChild|| !ot.deleteCaption|| !ot.deleteTHead){return null;}_ak=xWidth(ot.rows[1].cells[0]);_bP=xHeight(ot.rows[0]);root=document.createElement('div');root.className=j;fr=document.createElement('div');fr.className=l;_bz=document.createElement('div');_bz.className=m;fr.appendChild(_bz);root.appendChild(fr);fc=document.createElement('div');fc.className=o;_bE=document.createElement('div');_bE.className=p;fc.appendChild(_bE);root.appendChild(fc);tc=document.createElement('div');tc.className=r;root.appendChild(tc);if(ot.caption){d=document.createElement('div');d.className=k;d.appendChild(ot.caption.firstChild);root.appendChild(d);ot.deleteCaption();}a=ot.rows[0].cells;_eH=a.length;for(i=1;i<_eH;++i){e=document.createElement('div');e.className=n;t=document.createElement('table');t.className=s;tr=t.insertRow(0);tr.appendChild(a[1]);e.appendChild(t);_bz.appendChild(e);}if(ot.tHead){ot.deleteTHead();}a=ot.rows;_eH=a.length;for(i=0;i<_eH;++i){e=document.createElement('div');e.className=q;t=document.createElement('table');t.className=s;tr=t.insertRow(0);tr.appendChild(a[i].cells[0]);e.appendChild(t);_bE.appendChild(e);}ot=ot.parentNode.replaceChild(root,ot);tc.appendChild(ot);resize();root.style.visibility='visible';xAddEventListener(tc,'scroll',onScroll,false);xAddEventListener(window,'resize',onResize,false);function onScroll(){xLeft(_bz,-tc.scrollLeft);xTop(_bE,-tc.scrollTop);}function onResize(){if(!f){f=setTimeout(function(){resize();f=null;},500);}}function resize(){var b=0,c=0,w,h;if(d){c=xHeight(d);xMoveTo(d,0,0);xWidth(d,xWidth(root));}xMoveTo(fr,_ak,c);xResizeTo(fr,xWidth(root)-_ak,_bP);xMoveTo(_bz,0,0);xResizeTo(_bz,xWidth(ot),_bP);xMoveTo(fc,0,c+_bP);xResizeTo(fc,_ak,xHeight(root)-c);xMoveTo(_bE,0,0);xResizeTo(_bE,_ak,xHeight(ot));xMoveTo(tc,_ak,c+_bP);xWidth(tc,xWidth(root)-_ak-1);xHeight(tc,xHeight(root)-c-_bP-1);a=ot.rows[0].cells;e=xFirstChild(_bz,'div');for(i=0;i<a.length;++i){xMoveTo(e,b,0);w=xWidth(e,xWidth(a[i]));h=xHeight(e,_bP);b+=w;xResizeTo(xFirstChild(e,'table'),w,h);e=xNextSib(e,'div');}b=0;a=ot.rows;e=xFirstChild(_bE,'div');for(i=0;i<a.length;++i){xMoveTo(e,0,b);w=xWidth(e,_ak);h=xHeight(e,xHeight(a[i]));b+=h;xResizeTo(xFirstChild(e,'table'),w,h);e=xNextSib(e,'div');}onScroll();}}function xTableCursor(c,d,f){xTableIterate(c,function(a,b){if(!b){a.onmouseover=_mc;a.onmouseout=_oV;}});function _mc(e){xAddClass(this,f);var a=this.parentNode;for(var i=0;i<a.cells.length;++i){if(this!=a.cells[i])xAddClass(a.cells[i],d);}}function _oV(e){xRemoveClass(this,f);var a=this.parentNode;for(var i=0;i<a.cells.length;++i){xRemoveClass(a.cells[i],d);}}this.unload=function(){xTableIterate(c,function(o){o.onmouseover=o.onmouseout=null;});};}function xTableHeaderFixed(s,u,v,w,x){var n=[];function _eb(e){e=e||window.event;var r=e.type=='resize'?true:false;for(var i=0;i<n.length;++i){scroll(n[i],r);}}function scroll(t,m){if(!t){return;}var a=xGetElementById(s);var b=xGetElementById(t._mm);var c=t.tHead;var st,sl,d=xPageY(c);st=xScrollTop();sl=xScrollLeft();var e=xHeight(t);var f=xWidth(t);var g=xPageY(t);var h=xPageX(t);var j=xHeight(b);if(m){xWidth(b,f+2*w);var k=xGetElementsByTagName('th',t);var l=xGetElementsByTagName('th',b);for(var i=0;i<k.length;++i){xWidth(l[i],xWidth(k[i])+x);}}xLeft(b,h-sl);if(st<=d||st>g+e-j){if(b.style.visibility!='hidden'){b.style.visibility='hidden';a.style.visibility='hidden';}}else{if(b.style.visibility!='visible'){b.style.visibility='visible';a.style.visibility='visible';}}}function _f4_(){var i,_eR,h,t,_dr;if(null==(_dr=xGetElementById(s))){_dr=document.createElement('div');_dr.id=s;document.body.appendChild(_dr);}for(i=0;i<n.length;++i){_eR=n[i];h=_eR.tHead;if(h){t=document.createElement('table');t.className=u;t.appendChild(h.cloneNode(true));t.id=_eR._mm='xtfh'+i;_dr.appendChild(t);}else{n[i]=null;}}_dr.style.visibility='hidden';}this.unload=function(){for(var i=0;i<n.length;++i){n[i]=null;}};var i,j,_co;if(arguments.length>5){i=5;_co=arguments;}else{i=0;_co=xGetElementsByTagName('table');}for(j=0;i<_co.length;++i,++j){n[j]=xGetElementById(_co[i]);}_f4_();_eb({type:'resize'});xAddEventListener(window,'scroll',_eb,false);xAddEventListener(window,'resize',_eb,false);}function xTriStateImage(c,d,e,f){var img;if(typeof Image!='undefined'&&document.getElementById){img=document.getElementById(c);if(img){var b=img.src;var i=new Image();i.src=d;i=new Image();i.src=e;img.onmouseover=function(){this.src=d;};img.onmouseout=function(){this.src=b;};img.onmousedown=function(){this.src=e;};img.onmouseup=function(){this.src=d;if(f){f();}};}}this.onunload=function(){if(!window.opera&&img){img.onmouseover=img.onmouseout=img.onmousedown=null;img=null;}};}function xWinClass(g,i,w,h,x,y,j,k,l,m,n,o){var b=this;var e='',c=',',d='left=',f='top=';this.n=name;if(document.layers){d='screenX=';f='screenY=';}this.f=(w?'width='+w+c:e)+(h?'height='+h+c:e)+(x>=0?d+x+c:e)+(y>=0?f+y+c:e)+'location='+j+',menubar='+k+',resizable='+l+',scrollbars='+m+',status='+n+',toolbar='+o;this._aW=function(){return this.w&& !this.w.closed;};this.close=function(){if(this._aW())this.w.close();};this.focus=function(){if(this._aW())this.w.focus();};this.load=function(a){if(this._aW())this.w.location.href=a;else this.w=window.open(a,this.n,this.f);this.focus();return false;};function onClick(){return b.load(this.href);}xGetElementsByClassName(g,document,'*',_mh);function _mh(e){e.onclick=onClick;}}function xWindow(f,w,h,x,y,g,i,j,k,l,m){var e='',c=',',b='left=',d='top=';this.n=f;if(document.layers){b='screenX=';d='screenY=';}this.f=(w?'width='+w+c:e)+(h?'height='+h+c:e)+(x>=0?b+x+c:e)+(y>=0?d+y+c:e)+'location='+g+',menubar='+i+',resizable='+j+',scrollbars='+k+',status='+l+',toolbar='+m;this._aW=function(){return this.w&& !this.w.closed;};this.close=function(){if(this._aW())this.w.close();};this.focus=function(){if(this._aW())this.w.focus();};this.load=function(a){if(this._aW())this.w.location.href=a;else this.w=window.open(a,this.n,this.f);this.focus();return false;};}function xAddClass(e,c){if((e=xGetElementById(e))!=null){var s='';if(e.className.length&&e.className.charAt(e.className.length-1)!=' '){s=' ';}if(!xHasClass(e,c)){e.className+=s+c;return true;}}return false;}function xAppendChild(a,b){if(a.appendChild)return a.appendChild(b);else return null;}function xBackground(e,c,i){if(!(e=xGetElementById(e)))return '';var a='';if(e.style){if(xStr(c)){e.style.backgroundColor=c;}if(xStr(i)){e.style.backgroundImage=(i!='')?'url('+i+')':null;}a=e.style.backgroundColor;}return a;}function xCamelize(b){var i,c,a=b.split('-');var s=a[0];for(i=1;i<a.length;++i){c=a[i].charAt(0);s+=a[i].replace(c,c.toUpperCase());}return s;}function xCapitalize(b){var i,c,wd,s='',a=true;for(i=0;i<b.length;++i){c=b.charAt(i);wd=_lQ(c);if(wd){a=true;}if(a&& !wd){c=c.toUpperCase();a=false;}s+=c;}return s;function _lQ(c){return c==' '||c=='\n'||c=='\t';}}function xCardinalPosition(e,i,j,k){if(!(e=xGetElementById(e)))return;if(typeof(i)!='string'){window.status='xCardinalPosition error: cp='+i+', id='+e.id;return;}var x=xLeft(e),y=xTop(e),w=xWidth(e),h=xHeight(e);var pw,ph,p=e.offsetParent;if(p==document||p.nodeName.toLowerCase()=='html'){pw=xClientWidth();ph=xClientHeight();}else{pw=xWidth(p);ph=xHeight(p);}var a=xScrollLeft(p),b=xScrollTop(p);var c=a+pw,d=b+ph;var f=a+Math.floor((pw-w)/2),g=b+Math.floor((ph-h)/2);if(!j)j=0;else{if(k)j= -j;a+=j;b+=j;c-=j;d-=j;}switch(i.toLowerCase()){case 'n':x=f;if(k)y=b-h;else y=b;break;case 'ne':if(k){x=c;y=b-h;}else{x=c-w;y=b;}break;case 'e':y=g;if(k)x=c;else x=c-w;break;case 'se':if(k){x=c;y=d;}else{x=c-w;y=d-h}break;case 's':x=f;if(k)y=b-h;else y=d-h;break;case 'sw':if(k){x=a-w;y=d;}else{x=a;y=d-h;}break;case 'w':y=g;if(k)x=a-w;else x=a;break;case 'nw':if(k){x=a-w;y=b-h;}else{x=a;y=b;}break;case 'cen':x=f;y=g;break;case 'cenh':x=f;break;case 'cenv':y=g;break;}var o=new Object();o.x=x;o.y=y;return o;}function xClientHeight(){var v=0,d=document,w=window;if((!d.compatMode||d.compatMode=='CSS1Compat')&& !w.opera&&d.documentElement&&d.documentElement.clientHeight){v=d.documentElement.clientHeight;}else if(d.body&&d.body.clientHeight){v=d.body.clientHeight;}else if(xDef(w.innerWidth,w.innerHeight,d.width)){v=w.innerHeight;if(d.width>w.innerWidth)v-=16;}return v;}function xClientWidth(){var v=0,d=document,w=window;if((!d.compatMode||d.compatMode=='CSS1Compat')&& !w.opera&&d.documentElement&&d.documentElement.clientWidth){v=d.documentElement.clientWidth;}else if(d.body&&d.body.clientWidth){v=d.body.clientWidth;}else if(xDef(w.innerWidth,w.innerHeight,d.height)){v=w.innerWidth;if(d.height>w.innerHeight)v-=16;}return v;}function xClip(e,t,r,b,l){if(!(e=xGetElementById(e)))return;if(e.style){if(xNum(l))e.style.clip='rect('+t+'px '+r+'px '+b+'px '+l+'px)';else e.style.clip='rect(0 '+parseInt(e.style.width)+'px '+parseInt(e.style.height)+'px 0)';}}function xColEqualizer(){var i,j,h=[];for(i=1,j=0;i<arguments.length;i+=2,++j){h[j]=xHeight(arguments[i]);}h.sort(d);for(i=0;i<arguments.length;i+=2){xHeight(arguments[i],h[0]);}return h[0];function d(a,b){return b-a;}}function xColor(e,s){if(!(e=xGetElementById(e)))return '';var c='';if(e.style&&xDef(e.style.color)){if(xStr(s))e.style.color=s;c=e.style.color;}return c;}function xCreateElement(a){if(document.createElement)return document.createElement(a);else return null;}function xDef(){for(var i=0;i<arguments.length;++i){if(typeof(arguments[i])=='undefined')return false;}return true;}function xDeg(a){return a*(180/Math.PI);}function xDeleteCookie(a,b){if(xGetCookie(a)){document.cookie=a+"="+"; path="+((!b)?"/":b)+"; expires="+new Date(0).toGMTString();}}function xDisplay(e,s){if((e=xGetElementById(e))&&e.style&&xDef(e.style.display)){if(xStr(s)){try{e.style.display=s;}catch(ex){e.style.display='';}}return e.style.display;}return null;}function xDocSize(){var b=document.body,e=document.documentElement;var a=0,c=0,d=0,f=0,g=0,h=0,i=0,j=0;if(e){a=e.scrollWidth;c=e.offsetWidth;g=e.scrollHeight;h=e.offsetHeight;}if(b){d=b.scrollWidth;f=b.offsetWidth;i=b.scrollHeight;j=b.offsetHeight;}return{w:Math.max(a,c,d,f),h:Math.max(g,h,i,j)};}function xEach(c,f,s){var l=c.length;for(var i=(s||0);i<l;i++){f(c[i],i,l);}};function xEachUntilReturn(c,f,s){var r,l=c.length;for(var i=(s||0);i<l;i++){r=f(c[i],i,l);if(r!==undefined)break;}return r;};function xFindAfterByClassName(b,c){var a=new RegExp('\\b'+c+'\\b','i');return xWalkToLast(b,function(n){if(n.className.search(a)!= -1)return n;});}function xFindBeforeByClassName(b,c){var a=new RegExp('\\b'+c+'\\b','i');return xWalkToFirst(b,function(n){if(n.className.search(a)!= -1)return n;});}function xFirstChild(e,t){e=xGetElementById(e);var c=e?e.firstChild:null;while(c){if(c.nodeType==1&&(!t||c.nodeName.toLowerCase()==t.toLowerCase())){break;}c=c.nextSibling;}return c;}function xGetCSSRules(a){return a.rules?a.rules:a.cssRules;}function xGetComputedStyle(e,p,i){if(!(e=xGetElementById(e)))return null;var s,v='undefined',a=document.defaultView;if(a&&a.getComputedStyle){s=a.getComputedStyle(e,'');if(s)v=s.getPropertyValue(p);}else if(e.currentStyle){v=e.currentStyle[xCamelize(p)];}else return null;return i?(parseInt(v)||0):v;}function xGetCookie(e){var a=null,b=e+"=";if(document.cookie.length>0){var c=document.cookie.indexOf(b);if(c!= -1){c+=b.length;var d=document.cookie.indexOf(";",c);if(d== -1)d=document.cookie.length;a=unescape(document.cookie.substring(c,d));}}return a;}function xGetEleAtPoint(x,y){var a=null,z,b=0;var i,c=xGetElementsByTagName('*');for(i=0;i<c.length;++i){if(xHasPoint(c[i],x,y)){z=parseInt(c[i].style.zIndex);z=z||0;if(z>=b){b=z;a=c[i];}}}return a;}function xGetElementById(e){if(typeof(e)=='string'){if(document.getElementById)e=document.getElementById(e);else if(document.all)e=document.all[e];else e=null;}return e;}function xGetElementsByAttribute(d,e,f,g){var a,list,b=new Array(),c=new RegExp(f,'i');list=xGetElementsByTagName(d);for(var i=0;i<list.length;++i){a=list[i].getAttribute(e);if(!a){a=list[i][e];}if(typeof(a)=='string'&&a.search(c)!= -1){b[b.length]=list[i];if(g)g(list[i]);}}return b;}function xGetElementsByClassName(c,p,t,f){var r=new Array();var a=new RegExp("(^|\\s)"+c+"(\\s|$)");var e=xGetElementsByTagName(t,p);for(var i=0;i<e.length;++i){if(a.test(e[i].className)){r[r.length]=e[i];if(f)f(e[i]);}}return r;}function xGetElementsByTagName(t,p){var a=null;t=t||'*';p=p||document;if(typeof p.getElementsByTagName!='undefined'){a=p.getElementsByTagName(t);if(t=='*'&&(!a|| !a.length))a=p.all;}else{if(t=='*')a=p.all;else if(p.all&&p.all.tags)a=p.all.tags(t);}return a||new Array();}function xGetStyleSheetFromLink(a){return a.styleSheet?a.styleSheet:a.sheet;}function xGetURLArguments(){var a=location.href.indexOf('?');var b=new Array();if(a!= -1){var c=location.href.substring(a+1,location.href.length).split('&');for(var i=0;i<c.length;i++){_eQ=c[i].split('=');b[i]=_eQ[1];b[_eQ[0]]=_eQ[1];}}return b;}function xHasClass(e,c){e=xGetElementById(e);if(!e||e.className=='')return false;var a=new RegExp("(^|\\s)"+c+"(\\s|$)");return a.test(e.className);}function xHasPoint(e,x,y,t,r,b,l){if(!xNum(t)){t=r=b=l=0;}else if(!xNum(r)){r=b=l=t;}else if(!xNum(b)){l=r;b=t;}var a=xPageX(e),c=xPageY(e);return(x>=a+l&&x<=a+xWidth(e)-r&&y>=c+t&&y<=c+xHeight(e)-b);}function xHasStyleSelector(b){if(!xHasStyleSheets())return undefined;function _ng(a){return a.selectorText.indexOf(b)>=0;}return xTraverseDocumentStyleSheets(_ng);}function xHasStyleSheets(){return document.styleSheets?true:false;}function xHeight(e,h){if(!(e=xGetElementById(e)))return 0;if(xNum(h)){if(h<0)h=0;else h=Math.round(h);}else h= -1;var a=xDef(e.style);if(e==document||e.tagName.toLowerCase()=='html'||e.tagName.toLowerCase()=='body'){h=xClientHeight();}else if(a&&xDef(e.offsetHeight)&&xStr(e.style.height)){if(h>=0){var b=0,c=0,d=0,f=0;if(document.compatMode=='CSS1Compat'){var g=xGetComputedStyle;b=g(e,'padding-top',1);if(b!==null){c=g(e,'padding-bottom',1);d=g(e,'border-top-width',1);f=g(e,'border-bottom-width',1);}else if(xDef(e.offsetHeight,e.style.height)){e.style.height=h+'px';b=e.offsetHeight-h;}}h-=(b+c+d+f);if(isNaN(h)||h<0)return;else e.style.height=h+'px';}h=e.offsetHeight;}else if(a&&xDef(e.style.pixelHeight)){if(h>=0)e.style.pixelHeight=h;h=e.style.pixelHeight;}return h;}function xHex(n,a,b){var p='',n=Math.ceil(n);if(b)p=b;n=n.toString(16);for(var i=0;i<a-n.length;++i){p+='0';}return p+n;}function xHide(e){return xVisibility(e,0);}function xImgAsyncWait(b,c,d,e,f,g){var i,a=g||document.images;for(i=0;i<a.length;++i){a[i].onload=_ov;a[i].onerror=_kO;a[i].onabort=_ou;}xIAW._gp=b;xIAW._ji=c;xIAW._hJ=d;xIAW._ht=g;xIAW();function _ov(){this._oG=true;}function _kO(){if(e&& !this._gk){this.src=e;}this._gk=true;}function _ou(){if(f&& !this._hB){this.src=f;}this._hB=true;}}function xIAW(){var b=arguments.callee;if(!b){return;}var i,d=b._ht?b._ht:document.images;var c=0,e=0,a=0,n=d.length;for(i=0;i<n;++i){if(d[i]._gk){++e;}else if(d[i]._hB){++a;}else if(d[i].complete||d[i]._oG){++c;}}if(b._gp){b._gp(n,c,e,a);}if(c+e+a==n){if((e||a)&&b._hJ){b._hJ(n,c,e,a);}else if(b._ji){b._ji();}}else setTimeout('xIAW()',250);}function xImgRollSetup(p,s,x){var _bX,id;for(var i=3;i<arguments.length;++i){id=arguments[i];if(_bX=xGetElementById(id)){_bX.xIOU=p+id+x;_bX.xIOO=new Image();_bX.xIOO.src=p+id+s+x;_bX.onmouseout=_nw;_bX.onmouseover=_om;}}function _nw(e){if(this.xIOU){this.src=this.xIOU;}}function _om(e){if(this.xIOO&&this.xIOO.complete){this.src=this.xIOO.src;}}}function xInnerHtml(e,h){if(!(e=xGetElementById(e))|| !xStr(e.innerHTML))return null;var s=e.innerHTML;if(xStr(h)){e.innerHTML=h;}return s;}function xInsertRule(a,b,c,d){if(!(a=xGetElementById(a)))return false;if(a.insertRule){a.insertRule(b+"{"+c+"}",(d>=0?d:a.cssRules.length));}else if(a.addRule){a.addRule(b,c,d);}else return false;return true;}function xIntersection(j,k,o){var _fh,_fg,iw,ih,a=true;var b=xPageX(j);var c=b+xWidth(j);var d=xPageY(j);var e=d+xHeight(j);var f=xPageX(k);var g=f+xWidth(k);var h=xPageY(k);var i=h+xHeight(k);if(b<=f){_fh=f;if(c<f)a=false;else iw=Math.min(c,g)-f;}else{_fh=b;if(g<b)a=false;else iw=Math.min(c,g)-b;}if(e>=i){_fg=i;if(d>i)a=false;else ih=i-Math.max(d,h);}else{_fg=e;if(h>e)a=false;else ih=e-Math.max(d,h);}if(a&&typeof(o)=='object'){o.x=_fh;o.y=_fg-ih;o.w=iw;o.h=ih;}return a;}function xLeft(e,b){if(!(e=xGetElementById(e)))return 0;var a=xDef(e.style);if(a&&xStr(e.style.left)){if(xNum(b))e.style.left=b+'px';else{b=parseInt(e.style.left);if(isNaN(b))b=xGetComputedStyle(e,'left',1);if(isNaN(b))b=0;}}else if(a&&xDef(e.style.pixelLeft)){if(xNum(b))e.style.pixelLeft=b;else b=e.style.pixelLeft;}return b;}function xLinearScale(a,c,d,e,f){var m=(f-e)/(d-c);var b=e-(c*m);return m*a+b;}function xLoadScript(a){if(document.createElement&&document.getElementsByTagName){var s=document.createElement('script');var h=document.getElementsByTagName('head');if(s&&h.length){s.src=a;h[0].appendChild(s);}}}function xMoveTo(e,x,y){xLeft(e,x);xTop(e,y);}function xNextSib(e,t){e=xGetElementById(e);var s=e?e.nextSibling:null;while(s){if(s.nodeType==1&&(!t||s.nodeName.toLowerCase()==t.toLowerCase())){break;}s=s.nextSibling;}return s;}function xNum(){for(var i=0;i<arguments.length;++i){if(isNaN(arguments[i])||typeof(arguments[i])!='number')return false;}return true;}function xOffsetLeft(e){if(!(e=xGetElementById(e)))return 0;if(xDef(e.offsetLeft))return e.offsetLeft;else return 0;}function xOffsetTop(e){if(!(e=xGetElementById(e)))return 0;if(xDef(e.offsetTop))return e.offsetTop;else return 0;}function xOpacity(e,o){var a=xDef(o);if(!(e=xGetElementById(e)))return 2;if(xStr(e.style.opacity)){if(a)e.style.opacity=o+'';else o=parseFloat(e.style.opacity);}else if(xStr(e.style.filter)){if(a)e.style.filter='alpha(opacity='+(100*o)+')';else if(e.filters&&e.filters.alpha){o=e.filters.alpha.opacity/100;}}else if(xStr(e.style.MozOpacity)){if(a)e.style.MozOpacity=o+'';else o=parseFloat(e.style.MozOpacity);}else if(xStr(e.style._iX)){if(a)e.style._iX=o+'';else o=parseFloat(e.style._iX);}return isNaN(o)?1:o;}function xPad(s,a,c,b){if(typeof s!='string')s=s+'';if(b){for(var i=s.length;i<a;++i)s=c+s;}else{for(var i=s.length;i<a;++i)s+=c;}return s;}function xPageX(e,b){var x=0;var a=b||false;e=xGetElementById(e);while(e){if(xDef(e.offsetLeft))x+=e.offsetLeft-(a?e.scrollLeft:0);e=xDef(e.offsetParent)?e.offsetParent:null;}return x;}function xPageY(e,b){var y=0;var a=b||false;e=xGetElementById(e);while(e){if(xDef(e.offsetTop))y+=e.offsetTop-(a?e.scrollTop:0);e=xDef(e.offsetParent)?e.offsetParent:null;}return y;}function xParent(e,a){if(!(e=xGetElementById(e)))return null;var p=null;if(!a&&xDef(e.offsetParent))p=e.offsetParent;else if(xDef(e.parentNode))p=e.parentNode;else if(xDef(e.parentElement))p=e.parentElement;return p;}function xParentNode(a,n){while(a&&n--){a=a.parentNode;}return a;}function xParseColor(c){var o={};if(xStr(c)){if(c.indexOf('rgb')!= -1){var a=c.match(/(\d*)\s*,\s*(\d*)\s*,\s*(\d*)/);o.r=parseInt(a[1])||0;o.g=parseInt(a[2])||0;o.b=parseInt(a[3])||0;o.n=(o.r<<16)|(o.g<<8)|o.b;}else{pn(parseInt(c.substr(1),16));}}else{pn(c);}o.s=xHex(o.n,6,'#');return o;function pn(n){o.n=n||0;o.r=(o.n&0xFF0000)>>16;o.g=(o.n&0xFF00)>>8;o.b=o.n&0xFF;}}function xPrevSib(e,t){e=xGetElementById(e);var s=e?e.previousSibling:null;while(s){if(s.nodeType==1&&(!t||s.nodeName.toLowerCase()==t.toLowerCase())){break;}s=s.previousSibling;}return s;}function xRad(a){return a*(Math.PI/180);}function xRemoveClass(e,c){if(!(e=xGetElementById(e)))return false;e.className=e.className.replace(new RegExp("(^|\\s)"+c+"(\\s|$)",'g'),function(a,b,c){return(b==' '&&c==' ')?' ':'';});return true;}function xResizeTo(e,w,h){xWidth(e,w);xHeight(e,h);}function xRgbToHex(r,g,b){return xHex((r<<16)|(g<<8)|b,6,'#');}function xScrollLeft(e,b){var a=0;if(!xDef(e)||b||e==document||e.tagName.toLowerCase()=='html'||e.tagName.toLowerCase()=='body'){var w=window;if(b&&e)w=e;if(w.document.documentElement&&w.document.documentElement.scrollLeft)a=w.document.documentElement.scrollLeft;else if(w.document.body&&xDef(w.document.body.scrollLeft))a=w.document.body.scrollLeft;}else{e=xGetElementById(e);if(e&&xNum(e.scrollLeft))a=e.scrollLeft;}return a;}function xScrollTop(e,b){var a=0;if(!xDef(e)||b||e==document||e.tagName.toLowerCase()=='html'||e.tagName.toLowerCase()=='body'){var w=window;if(b&&e)w=e;if(w.document.documentElement&&w.document.documentElement.scrollTop)a=w.document.documentElement.scrollTop;else if(w.document.body&&xDef(w.document.body.scrollTop))a=w.document.body.scrollTop;}else{e=xGetElementById(e);if(e&&xNum(e.scrollTop))a=e.scrollTop;}return a;}function xSetCookie(a,b,c,d){document.cookie=a+"="+escape(b)+((!c)?"":("; expires="+c.toGMTString()))+"; path="+((!d)?"/":d);}function xShow(e){return xVisibility(e,1);}function xSmartLoad(c,d){var a=false;var s;for(var i=0;i<xSmartLoad.list.length;i++){if(xSmartLoad.list[i].url==d){a=true;s=xSmartLoad.list[i]._v;break;}}if(document.createElement&&document.getElementsByTagName&& !a){s=document.createElement(c);var h=document.getElementsByTagName('head');if(s&&h.length){switch(c.toUpperCase()){case 'SCRIPT':s.src=d;break;case 'LINK':s.rel='stylesheet';s.type='text/css';s.href=d;break;default:s=null;break;}h[0].appendChild(s);xSmartLoad.list[xSmartLoad.list.length]={url:d,_v:s};}}return b}xSmartLoad.list=[];function xSmartLoad2(a,b,d,f,g){var u,i,j,s,h,loaded,c=0,e=a.toLowerCase();if(document.createElement&&document.getElementsByTagName){h=document.getElementsByTagName('head');if(h.length&&h[0].appendChild){for(i=1;i<arguments.length;++i){loaded=false;u=arguments[i];for(j=0;j<xSmartLoad2.list.length;j++){if(xSmartLoad2.list[j]==u){loaded=true;break;}}if(!loaded){s=document.createElement(e);if(s){switch(e){case 'script':s.type='text/javascript';s.src=u;break;case 'link':s.rel='stylesheet';s.type='text/css';s.href=u;break;default:continue;}h[0].appendChild(s);xSmartLoad2.list[xSmartLoad2.list.length]=u;++c;}}}}}return c;}xSmartLoad2.list=[];function xSmartLoadScript(a){xSmartLoad('script',a);}function xStr(s){for(var i=0;i<arguments.length;++i){if(typeof(arguments[i])!='string')return false;}return true;}function xStrEndsWith(s,a){if(!xStr(s,a))return false;var l=s.length;var r=l-a.length;if(r>0)return s.substring(r,l)==a;return s==a;}function xStrReplaceEnd(s,a){if(!xStr(s,a))return s;var l=s.length;var r=l-a.length;if(r>0)return s.substring(0,r)+a;return a;}function xStrStartsWith(s,a){if(!xStr(s,a))return false;var l=s.length;var r=a.length;if(r>l)return false;if(r<l)return s.substring(0,r)==a;return s==a;}function xStyle(b,c){var i,e;for(i=2;i<arguments.length;++i){e=xGetElementById(arguments[i]);if(e.style){try{e.style[b]=c;}catch(_zY){e.style[b]='';}}}}function xTableCellVisibility(a,b,c,d){b=xGetElementById(b);if(b&&c<b.rows.length&&d<b.rows[c].cells.length){b.rows[c].cells[d].style.visibility=a?'visible':'hidden';}}function xTableColDisplay(b,c,d){var r;c=xGetElementById(c);if(c&&d<c.rows[0].cells.length){for(r=0;r<c.rows.length;++r){c.rows[r].cells[d].style.display=b?'':'none';}}}function xTableIterate(b,d,e){var r,c;b=xGetElementById(b);if(!b|| !d){return;}for(r=0;r<b.rows.length;++r){if(false==d(b.rows[r],true,r,c,e)){return;}for(c=0;c<b.rows[r].cells.length;++c){if(false==d(b.rows[r].cells[c],false,r,c,e)){return;}}}}function xTableRowDisplay(a,b,c){b=xGetElementById(b);if(b&&c<b.rows.length){b.rows[c].style.display=a?'':'none';}}function xTableSync(g,h,i,j){var b=xGetElementById(g);var d=xGetElementById(h);i='on'+i.toLowerCase();b[i]=d[i]=function(e){e=e||window.event;var t=e.target||e.srcElement;while(t&&t.nodeName.toLowerCase()!='td'){t=t.parentNode;}if(t){var r=t.parentNode.sectionRowIndex,c=t.cellIndex;var a=xGetElementById(this.id==g?h:g);j(t,a.rows[r].cells[c]);}};b=d=null;}function xTimes(n,f,s){s=s||0;n=n+s;for(var i=s;i<n;i++)f(i);};function xToggleClass(e,c){if(!(e=xGetElementById(e)))return null;if(!xRemoveClass(e,c)&& !xAddClass(e,c))return false;return true;}function xTop(e,b){if(!(e=xGetElementById(e)))return 0;var a=xDef(e.style);if(a&&xStr(e.style.top)){if(xNum(b))e.style.top=b+'px';else{b=parseInt(e.style.top);if(isNaN(b))b=xGetComputedStyle(e,'top',1);if(isNaN(b))b=0;}}else if(a&&xDef(e.style.pixelTop)){if(xNum(b))e.style.pixelTop=b;else b=e.style.pixelTop;}return b;}function xTraverseDocumentStyleSheets(c){var a=document.styleSheets;if(!a)return undefined;for(i=0;i<a.length;i++){var b=a[i];if(!b)continue;if(xTraverseStyleSheet(b,c))return true;}return false;}function xTraverseStyleSheet(d,e){if(!d)return false;var a=xGetCSSRules(d);if(!a)return undefined;var result;for(var j=0;j<a.length;j++){var c=a[j];if(c.selectorText){result=e(c);if(result)return true;}if(c.type&&c.type==3&&c.styleSheet)xTraverseStyleSheet(c.styleSheet,e);}if(d.imports){for(var j=0;j<d.imports.length;j++){if(xTraverseStyleSheet(d.imports[j],e))return true;}}return false;}function xTrim(s){return s.replace(/^\s+|\s+$/g,'');}function xVisibility(e,a){if(!(e=xGetElementById(e)))return null;if(e.style&&xDef(e.style.visibility)){if(xDef(a))e.style.visibility=a?'visible':'hidden';return e.style.visibility;}return null;}function xWalkToFirst(a,b,c,d){var r=null;while(a){if(a.nodeType==1&&a!=c){r=b(a,d);if(r)return r;}var n=a;while(n=n.previousSibling){if(n!=c){r=xWalkTreeRev(n,b,c,d);if(r)return r;}}a=a.parentNode;}return r;}function xWalkToLast(a,b,c,d){var r=null;if(a){r=xWalkTree2(a,b,c,d);if(r)return r;while(a){var n=a;while(n=n.nextSibling){if(n!=c){r=xWalkTree2(n,b,c,d);if(r)return r;}}a=a.parentNode;}}return r;}function xWalkTree(n,f){f(n);for(var c=n.firstChild;c;c=c.nextSibling){if(c.nodeType==1)xWalkTree(c,f);}}function xWalkTree2(a,b,d,e){var r=null;if(a){if(a.nodeType==1&&a!=d){r=b(a,e);if(r)return r;}for(var c=a.firstChild;c;c=c.nextSibling){if(c!=d)r=xWalkTree2(c,b,d,e);if(r)return r;}}return r;}function xWalkTree3(n,f,d,l,b){if(typeof l=='undefined')l=0;if(typeof b=='undefined')b=0;var v=f(n,l,b,d);if(!v)return 0;if(v==1){for(var c=n.firstChild;c;c=c.nextSibling){if(c.nodeType==1){if(!l)++b;if(!xWalkTree3(c,f,d,l+1,b))return 0;}}}return 1;}function xWalkTreeRev(a,b,d,e){var r=null;if(a){if(a.nodeType==1&&a!=d){r=b(a,e);if(r)return r;}for(var c=a.lastChild;c;c=c.previousSibling){if(c!=d)r=xWalkTreeRev(c,b,d,e);if(r)return r;}}return r;}function xWalkUL(b,d,f,c){var r,cu,a=xFirstChild(b);if(!c){c=0;}while(a){cu=xFirstChild(a,'ul');r=f(b,a,cu,d,c);if(cu){if(!r|| !xWalkUL(cu,d,f,c+1)){return 0;};}a=xNextSib(a);}return 1;}function xWidth(e,w){if(!(e=xGetElementById(e)))return 0;if(xNum(w)){if(w<0)w=0;else w=Math.round(w);}else w= -1;var a=xDef(e.style);if(e==document||e.tagName.toLowerCase()=='html'||e.tagName.toLowerCase()=='body'){w=xClientWidth();}else if(a&&xDef(e.offsetWidth)&&xStr(e.style.width)){if(w>=0){var b=0,c=0,d=0,f=0;if(document.compatMode=='CSS1Compat'){var g=xGetComputedStyle;b=g(e,'padding-left',1);if(b!==null){c=g(e,'padding-right',1);d=g(e,'border-left-width',1);f=g(e,'border-right-width',1);}else if(xDef(e.offsetWidth,e.style.width)){e.style.width=w+'px';b=e.offsetWidth-w;}}w-=(b+c+d+f);if(isNaN(w)||w<0)return;else e.style.width=w+'px';}w=e.offsetWidth;}else if(a&&xDef(e.style.pixelWidth)){if(w>=0)e.style.pixelWidth=w;w=e.style.pixelWidth;}return w;}var xChildWindow=null;function xWinOpen(b){var a="left=0,top=0,width=600,height=500,location=0,menubar=0,"+"resizable=1,scrollbars=1,status=0,toolbar=0";if(xChildWindow&& !xChildWindow.closed){xChildWindow.location.href=b;}else{xChildWindow=window.open(b,"myWinName",a);}xChildWindow.focus();return false;}function xZIndex(e,a){if(!(e=xGetElementById(e)))return 0;if(e.style&&xDef(e.style.zIndex)){if(xNum(a))e.style.zIndex=a;a=parseInt(e.style.zIndex);}return a;}
/*------------------------------*/

/*  x_add_on 1.1 * (c) 2007-2008 UssCorp * http://www.jcapt.com * compressed version*/
;function __M(e,h){if(!(e=xGetElementById(e))|| !xStr(e.innerText))return '';var s=document.all?e.innerText:e.textContent;if(xStr(h)){if(document.all)e.innerText=h;else if(e.firstChild)e.firstChild.nodeValue=h;else e.textContent=h;}return s;}function xMoveToCenter(e){xShow(e);xMoveTo(e,xScrollLeft()+(xClientWidth()-e.offsetWidth)/2,xScrollTop()+(xClientHeight()-e.offsetHeight)/2);}function xShowFullScreen(e){var a=xDocSize();xMoveTo(e,0,0);xResizeTo(e,a.w,a.h);xShow(e);}function xGetElementsByName(c,d){var a=null;if(document.all){var b=document.getElementsByTagName(d);a=new Array();for(var i=0;i<b.length;i++){if(b[i].getAttribute("name")==c){a.push(b[i]);}}}else a=document.getElementsByName(c);return a;}function xGetCssRuleInStyleSheet(c,d){if(!c)return false;var a=0;try{a=(c.cssRules)?c.cssRules.length-1:c.rules.length-1;}catch(e){}var b=false;do{try{if(c.cssRules)b=c.cssRules[a];else b=c.rules[a];}catch(e){}if(b){if(typeof b.selectorText!='undefined'&&b.selectorText.toLowerCase()==d){if(typeof b.parentStyleSheet!='undefined')b.parentStyleSheet._eo=a;else{window.parentStyleSheet=c;window._eo=a;}return b;}}a--;}while(a> -1)return false;};function xGetCssRule(b,c){b=b.toLowerCase();if(typeof c!='undefined')return xGetCssRuleInStyleSheet(xGetStyleSheetByHref(c),b);var a=false;for(var i=0;i<document.styleSheets.length;i++){a=xGetCssRuleInStyleSheet(document.styleSheets[i],b);if(a)return a;}return false;}function xGetFirstCssRuleIndex(g,h){g=g.toLowerCase();var a=g.length;var b=xGetStyleSheetByHref(h);if(b){var b=document.styleSheets[i];var d=(b.cssRules)?b.cssRules.length-1:b.rules.length-1;var f=false;do{try{if(b.cssRules)f=b.cssRules[d];else f=b.rules[d];}catch(e){}if(f){if(typeof f.selectorText!='undefined'&&f.selectorText.toLowerCase().substring(0,a)==g){return d;}}d--;}while(d> -1)}return 0;}function xGetStyleSheetByHref(a){for(var i=0;i<document.styleSheets.length;i++)if(document.styleSheets[i].href!=null&&document.styleSheets[i].href.indexOf(a)!= -1){return document.styleSheets[i];}return false;}
/*------------------------------*/

/*
 * a part of xlib 4.17
 * Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL  
 * compressed version
 */
;function xEvent(_bw){var e=_bw||window.event;if(!e)return;this.type=e.type;this.target=e.target||e.srcElement;this.relatedTarget=e.relatedTarget;/*@cc_on if(e.type=='mouseover')this.relatedTarget=e.fromElement;else if(e.type=='mouseout')this.relatedTarget=e.toElement;@*/if(xDef(e.pageX)){this.pageX=e.pageX;this.pageY=e.pageY;}else if(xDef(e.clientX)){this.pageX=e.clientX+xScrollLeft();this.pageY=e.clientY+xScrollTop();}if(xDef(e.offsetX)){this.offsetX=e.offsetX;this.offsetY=e.offsetY;}else if(xDef(e.layerX)){this.offsetX=e.layerX;this.offsetY=e.layerY;}else{this.offsetX=this.pageX-xPageX(this.target);this.offsetY=this.pageY-xPageY(this.target);}this.keyCode=e.keyCode||e.which||0;this.shiftKey=e.shiftKey;this.ctrlKey=e.ctrlKey;this.altKey=e.altKey;if(typeof e.type=='string'){if(e.type.indexOf('click')!= -1){this.button=0;}else if(e.type.indexOf('mouse')!= -1){this.button=e.button;/*@cc_on if(e.button&1)this.button=0;else if(e.button&4)this.button=1;else if(e.button&2)this.button=2;@*/}}}xLibrary={version:'4.17',_mp:'GNU LGPL',url:'http://cross-browser.com/'};function xAddEventListener(e,eT,eL,_eU){if(!(e=xGetElementById(e)))return;eT=eT.toLowerCase();if(e.addEventListener)e.addEventListener(eT,eL,_eU||false);else if(e.attachEvent)e.attachEvent('on'+eT,eL);else{var o=e['on'+eT];e['on'+eT]=typeof o=='function'?function(v){o(v);eL(v);}:eL;}}function xPreventDefault(e){if(e&&e.preventDefault)e.preventDefault();else if(window.event)window.event.returnValue=false;}function xRemoveEventListener(e,eT,eL,_eU){if(!(e=xGetElementById(e)))return;eT=eT.toLowerCase();if(e.removeEventListener)e.removeEventListener(eT,eL,_eU||false);else if(e.detachEvent)e.detachEvent('on'+eT,eL);else e['on'+eT]=null;}function xStopPropagation(_bw){if(_bw&&_bw.stopPropagation)_bw.stopPropagation();else if(window.event)window.event.cancelBubble=true;}
/*------------------------------*/

/* (c) 2007 UssCorp  *http://www.jcapt.com * compressed version */
;function _p(E){_p.T=[];_p.V=[];var f=null,g=null,j=null,k=null,m=null,o=null,p=null,q="",r=this,s=null;this._bU={_dH:'',_kA:0,_kz:false,Template:'template1',BasePath:'/dat/',_pd:101};if(typeof E=='string'){this._bU=$.extend(this._bU,{_dH:E});}else if(typeof E=='object'){this._bU=$.extend(this._bU,E);}var t=function(a){return $(a).length>0;};var u=function(){return navigator.userAgent.toLowerCase().indexOf("firefox")!= -1;};var v=function(){$(this).addClass("close _fr _ly");};var x=function(){$(this).addClass("close _fr");};var y=function(b){var a=b.attributes,i,l,n;if(a){l=a.length;for(i=0;i<l;i+=1){n=a[i].name;if(typeof b[n]==='function'){b[n]=null;}}}a=b.childNodes;if(a){l=a.length;for(i=0;i<l;i+=1){y(b.childNodes[i]);}}};var z=function(b){var a,i,l,n;if(b!=null&&b.hasChildNodes()){while(b.childNodes.length>=1){b.removeChild(b.firstChild);}}};this._X=function(){try{o.css("display","none");f.css("display","none");}catch(e){}_p.V=$.grep(_p.V,function(a){return a!=r;});};this.Close=function(){this._X();};this.aa=function(){m.click();};var A=function(c,d,w,h,e){s=e;f.width(w);j.html(d);m.unbind('click');m.click(function(a){if(typeof s=="function")s.apply(null);r.Close();});var b=(typeof c=='object'?c.id:c);$("#"+b+"_close").click(function(){if(typeof s=="function")s.apply(null);r.Close();});$("#"+b+"_ok").click(function(){if(typeof r._hd=='function'){r._X();r._hd.apply(null);}});B(c);};var B=function(d){var a=null;var b=(typeof d=='object'?d.id:d);if(q==b&&typeof d!='object')return;if(typeof q!='undefined'&&q!="")_p.T[q]=g.children(':first');if(typeof d=='undefined')return;if(typeof d=='object'){if(d.tagName==undefined||(d.tagName!=null&&d.tagName.toLowerCase()!="div")){a=$("<div></div>").append($(d));if(d.id!="")a.attr("id",d.id);}else a=$(d);}else{a=_p.T[b];if(a==null||typeof a=='undefined')a=$("#"+b);}var c=a.attr("style");if(typeof c!='undefined'&&c!="")a.attr("style",c.replace(/display:[ ]*?none[;]?/,""));g.empty();a.appendTo(g);q=b;k=a;};var C=function(){if(r._bU._kz)return D();f.css("display","");f.goCenter();k.css("display","");var w=f.width()-2*parseInt(k.css("margin-left"))-2*parseInt(k.css("padding-left"));if(w>0)k.width(w);_p.V.push(r);};var D=function(){o.css({top:'0',left:'0',display:''});o.css({width:Math.max($(document.body).width(),$(window).width()),height:Math.max($(document.body).height(),$(window).height())});f.css("display","");k.css("display","");var w=f.width()-2*parseInt(k.css("margin-left"))-2*parseInt(k.css("padding-left"));if(w>0)k.width(w);var a=k.find("div[name='uss_scrollable']");if(a.length>0){var b=parseInt(a.attr("max_height"));if(a.height()>b)a.height(b);}f.goCenter();_p.V.push(r);};this._up=function(a,b,w,h,c){A(a,b,w,h,c);C();};this._j=function(a,b,w,h){if(arguments.length>0)A(a,b,w,0,window.undefined);C();};this._gN=function(a,b,w,h,c){if(arguments.length>0)A(a,b,w,h,c);D();};this._c=function(a,b,w,h){if(arguments.length>0)A(a,b,w,h,window.undefined);D();};this._uW=function(a){q="";if(k==null)k=$("<div></div>");k.empty();k.html(a);};this._BJ=function(a){if(_p.T[a]!=null){g.empty();g.append(_p.T[a]);q=a;}};this._mB=function(a,b,w,h,c){A(a,b,w,h);};this._gh=function(b,c){var a=_p.T[b];if(a!=null){a.html(c);}else{a=$("<div></div>").attr("id",b).html(c);_p.T[b]=a;}};f=$(this._bU._dH+"dlg_frame");if(f.length==0){f=$("<div></div>").addClass("dialog").attr("id",this._bU._dH+"dlg_frame").css({display:'none',outline:'0'}).appendTo($(document.body));f.draggable({iframeFix:true,scroll:false,handle:'.header',cancel:'.dialog-_K'});f.css("position","absolute");g=$("<div class='dialog-_K'></div>").appendTo(f);p=$("<div></div>").addClass("header").insertBefore(g);m=$("<div></div>").addClass("close").addClass("_fr").appendTo(p);m.mouseover(function(a){v();});m.mouseout(function(a){x();});j=$("<span></span>").addClass("_kP").appendTo(p);}o=$(this._bU._dH+"_ef");if(o.length==0){o=$("<div></div>").addClass("_ef").attr("id",this._bU._dH+"_ef").css("display","none").appendTo($(document.body));}f.css({'z-index':this._bU._pd+this._bU._kA,top:0,left:0});$(document).bind('keydown.uss_dialog',function(a){if(_p.V.length==0)return;if(a.keyCode&&a.keyCode===$.ui.keyCode.ESCAPE){_p.V.pop().aa();a.preventDefault();a.stopImmediatePropagation();}});$(window).bind('unload',function(){$(document).unbind('uss_dialog');_p.T=null;_p.V=null;});}
/*------------------------------*/
;function _gC(c,d){var b=xGetElementById("_aI");b.innerHTML=_r();b.style.width=b.style.height="auto";__c._j(c,d,b);var a=0;__F.__E({url:__H(sv_a,sv_c,"member"),__C:sv_b,_n:"ws_R",__A:{},timeout:10000,_bn:0,_bf:1000,__G:function(e){_M("../translate/?f=cat_menu",e.responseXML,function(f){delete e.responseXML;_cS(f,"_aI")})}})}function _qw(b,c){var a=xGetElementById("_aI");a.innerHTML=_r();a.style.width=a.style.height="auto";__c._j(b,c,a);__F.__E({url:__H(sv_a,sv_c,"member"),__C:sv_b,_n:"ws_S",__A:{sp_m:"news"},timeout:10000,_bn:0,_bf:1000,__G:function(d){d.responseXML.documentElement.setAttribute("RootInc","true");_M("../translate/?f=cat_menu",d.responseXML,function(e){delete d.responseXML;_cS(e,"_aI")})}})}function _tx(f,c,e,h){var b=xGetElementById(h);b.innerHTML="";b.appendChild(f);var g=parseInt(b.getAttribute("max_width"),10);var d=parseInt(b.getAttribute("max_height"),10);__c._j(c,e,b);var a=xWidth(b);if(xHeight(b)>d){xHeight(b,d);xWidth(b,a+17)}}function _jj(d,e,c){var b=xGetElementById("_aI");b.innerHTML=_r();b.style.width=b.style.height="auto";__c._j(d,e,b);var a=0;__F.__E({url:__H(sv_a,sv_c,"member"),__C:sv_b,_n:"ws_S",__A:{sp_m:c},timeout:10000,_bn:0,_bf:1000,__G:function(f){_M("../translate/?f=cat_menu",f.responseXML,function(g){f.responseXML=null;_cS(g,"_aI")})}})}function _re(a,b){_jj(a,b,"_fz?p=list")}function _qp(a,b){_jj(a,b,"_fz?p=detail")}function _cS(d,f){var b=xGetElementById(f);b.innerHTML="";b.appendChild(d);var e=parseInt(b.getAttribute("max_width"),10);var c=parseInt(b.getAttribute("max_height"),10);var a=xWidth(b);if(xHeight(b)>c){xHeight(b,c);xWidth(b,a+17)}d=null}function _nW(c,d){var b=xGetElementById("_aI");b.innerHTML=_r();b.style.width=b.style.height="auto";__c._j(c,d,b);var a=0;__F.__E({url:__H(sv_a,sv_c,"member"),__C:sv_b,_n:"ws_T",__A:{sp_i:0,sp_l:0,sp_m:"_fz?p=detail_subject"},timeout:10000,_bn:0,_bf:1000,__G:function(e){_lL(e)}})}function _lL(b){if(b.responseText[0]=="\n"){var a=xGetElementById("_aI");a.innerHTML=b.responseText}else{_M("../translate/?f=v_menu_list_sub",b.responseXML,function(c){b.responseXML=null;_cS(c,"_aI")})}}function _ql(c,d){var b=xGetElementById("_aI");b.innerHTML=_r();b.style.width=b.style.height="auto";__c._j(c,d,b);var a=0;__F.__E({url:__H(sv_a,sv_c,"member"),__C:sv_b,_n:"ws_T",__A:{sp_i:0,sp_l:0,sp_m:"chuyende"},timeout:10000,_bn:0,_bf:1000,__G:function(e){_iR(e)}})}function _iR(b){if(b.responseText[0]=="\n"){var a=xGetElementById("_aI");a.innerHTML=b.responseText}else{_M("../translate/?f=v_menu_list_sub",b.responseXML,function(c){_q(b);_cS(c,"_aI")})}}function _sN(c,d){var b=xGetElementById("_aI");b.innerHTML=_r();b.style.width=b.style.height="auto";__c._j(c,d,b);var a=0;__F.__E({url:__H(sv_a,sv_c,"member"),__C:sv_b,_n:"ws_U",__A:{},timeout:10000,_bn:0,_bf:1000,__G:function(e){_iR(e)}})}function __t(){var a=xGetElementById("_ao_");if(a.value==lang927){a.value=""}a.className="_a12_ uss_textfield_focus fl"}function __p(){_bJ=xGetElementById("_ao_");if(_bJ.value==""){_bJ.value=lang927}_bJ.className="_a12_ fl"}function __u(a){var b=new xEvent(a);if(b.keyCode==13){__v()}}function __v(){_bJ=xGetElementById("_ao_");window.location="../find/?q="+encodeURIComponent(_bJ.value)}function _kf(){var a=xGetElementsByName("Title_select","td");var b="<span class='_sF'>$1</span>";for(var c=0;c<a.length;c++){var d=xInnerHtml(a[c]);d=d.replace(new RegExp("("+decodeURIComponent(_eq("q"))+")","gi"),b);xInnerHtml(a[c],d)}}function _nG(d,e,b){var a=xGetElementById("_tw");__c._j(d,e,a);var c=xGetElementById("_li");_bd(c);c.innerHTML=_r("center");_mI()}function _xs(c,d,b){var a=xGetElementById("v_menu2");__c._j(c,d,a)}function _jG(){__F.__E({url:__H(sv_a,sv_c,"member"),__C:sv_b,_n:"ws_dy",__A:{},timeout:10000,_bn:0,_bf:1000,onError:function(){var a=new _aU();a._l("execusion failure")},__G:_la})}function _mI(){__F.__E({url:__H(sv_a,sv_c,"member"),__C:sv_b,_n:"ws_dy",__A:{},timeout:10000,_bn:0,_bf:1000,onError:function(){var a=new _aU();a._l("execusion failure")},__G:_kM})}function _la(a){_M("../translate/?f=cust_page_tpls_mgr",a.responseXML,function(b){_q(a);b.id="cust_page_tpls_dlg";_s._c(b,lang1664,400)})}function _kM(a){_M("../translate/?f=cust_page_tpls",a.responseXML,function(c){_q(a);var b=xGetElementById("_li");_bd(b);b.innerHTML="";b.appendChild(c)})}function _pm(){var a=_dB("_su");if(a!=""){__F.__E({url:__H(sv_a,sv_c,"member"),__C:sv_b,_n:"ws_dz",__A:{sp_bn:a},timeout:10000,_bn:0,_bf:1000,onError:function(){var c=new _aU();c._l("execusion failure")},__G:_jG})}}function _tC(){window.location.reload()}function _qA(b,c){var a=xGetElementById("_oD");__c._j(b,c,a)};
/*------------------------------*/
function _oJ(){var b=this.id.replace(/[^\d]/g,"");var c=document.getElementById("a"+b);var a=document.getElementById("q"+b);if(a!=null){a=xFirstChild(a)}if(a!=null&&a.className.indexOf("_a21_")!= -1){a.className=a.className.replace("_a21_","_cg");c.style.display="block"}else{a.className=a.className.replace("_cg","_a21_");c.style.display="none"}}function _xq(){var a=document.getElementsByTagName("DIV");for(var b=0;b<a.length;b++){if(a[b].className=="_a20_"){a[b].onclick=_oJ}}}function _lg(){var d="uss_q";var c="uss_a";var b="uss_img";var a=true;var g=this;this._Ag=function(h){d=h};this._yO=function(h){c=h};this._Ae=function(h){b=h};this._jF=function(h){a=h};this.Init=function(){var h=xGetElementsByName(d,"div");var k=xGetElementsByName(c,"div");for(var j=0;j<h.length;j++){h[j].onclick=f;if(j==0){xDisplay(k[j],"")}else{xDisplay(k[j],"none")}}};var f=function(){var h=this.id.replace(/[^\d]/g,"");var j=document.getElementById(c+h);var i=document.getElementById(d+h);if(i!=null){i=xFirstChild(i)}if(i!=null&&(i.className.indexOf("_a21_")!= -1||i.className.indexOf("question_narrow")!= -1)){i.className=i.className.replace("_a21_","_cg");j.style.display="block"}else{i.className=i.className.replace("_cg","_a21_");j.style.display="none"}e(j)};var e=function(m){if(!a){return}var h=xGetElementsByName(c,"div");var k=xGetElementsByName(d,"div");var l=null;for(var j=0;j<h.length;j++){if(h[j]!=m){h[j].style.display="none";l=xFirstChild(k[j]);l.className=l.className.replace("_cg","_a21_")}}}};
/*------------------------------*/
function _z(b){var a;this.div=null;this.dir="top";this.prefix="";this.ai="_a1_";this.T="tabberlive";this.ak="tabbertab";this.aj="tabbertabdefault";this.V="tabbernav";this.aa="_dj";this.ae="_mr";this.ah="_cd";this._ci=["code"];this._fP=false;this._hW=true;this._gb=true;this._xJ="<tabberid>nav<tabnumberone>";for(a in b){this[a]=b[a]}if(typeof this.prefix=="undefined"){this.prefix=""}this.T=this.dir+"_"+this.T+this.prefix;this.V=this.dir+"_"+this.V+this.prefix;this.al=new RegExp("\\b"+this.ai+"\\b","gi");this.am=new RegExp("\\b"+this.T+"\\b","gi");this.ab=new RegExp("\\b"+this.ak+"\\b","gi");this.ad=new RegExp("\\b"+this.aj+"\\b","gi");this.ac=new RegExp("\\b"+this.aa+"\\b","gi");this.ag=new RegExp("\\b"+this.ae+"\\b","gi");this.tabs=new Array();this._hy=0;if(this.div){switch(this.dir){case "top":this._lZ(this.div);break;case "left":this._fS(this.div,true);break;case "right":this._fS(this.div,false);break}this.div=null}this.onClick=null}_z.prototype._lZ=function(f){var j,d,b,l,g=0;var m,a,k,c,h;if(!document.getElementsByTagName){return false}if(f.id){this.id=f.id}this.tabs.length=0;j=f.childNodes;for(d=0;d<j.length;d++){if(j[d].className&&j[d].className.match(this.ab)){l=new Object();l.div=j[d];this.tabs[this.tabs.length]=l;if(j[d].className.match(this.ad)){g=this.tabs.length-1}}}m=document.createElement("div");m.className=this.V;for(d=0;d<this.tabs.length;d++){l=this.tabs[d];l.v=l.div.title;l.C=l.div.getAttribute("titleclass");l._ic=l.div.getAttribute("tooltip");if(this._hW){l.div.title=""}if(!l.v){for(b=0;b<this._ci.length;b++){h=l.div.getElementsByTagName(this._ci[b])[0];if(h){l.v=h.innerHTML;if(this._fP){l.v.replace(/<br>/gi," ");l.v=l.v.replace(/<[^>]+>/g,"")}break}}}if(!l.v){l.v=d+1}a=document.createElement("div");l.li=a;k=document.createElement("a");k.appendChild(document.createTextNode(l.v));k.href="javascript:void(null);";if(l.C){k.className=l.C}k.onclick=this._hb;k.innerHTML=l.v;if(l._ic!=null){k.title=l._ic}k._a1_=this;k._jh=d;if(this._gb){k.id="nav_"+l.div.id}l.nav=k;a.appendChild(k);m.appendChild(a)}f.insertBefore(m,f.firstChild);f.className=this.T;this._fA(g);if(typeof this.onLoad=="function"){this.onLoad({_a1_:this})}return this};_z.prototype._fS=function(l,c){var o,h,b,q,m=0;var s,a,p,f,n;if(!document.getElementsByTagName){return false}var g=document.createElement("table");var j=document.createElement("tbody");var r=document.createElement("tr");var d=document.createElement("td");var k=document.createElement("td");g.setAttribute("border","0");g.setAttribute("cellSpacing","0");g.setAttribute("cellPadding","0");g.setAttribute("width","100%");if(c){k.setAttribute("width","100%");d.setAttribute("Align","right")}else{d.setAttribute("width","100%");k.setAttribute("Align","left")}d.setAttribute("vAlign","top");k.setAttribute("vAlign","top");r.appendChild(d);r.appendChild(k);j.appendChild(r);g.appendChild(j);if(c){k.innerHTML=l.innerHTML;o=k.childNodes}else{d.innerHTML=l.innerHTML;o=d.childNodes}l.innerHTML="";l.appendChild(g);l.className=this.T;this.tabs.length=0;for(h=0;h<o.length;h++){if(o[h].className&&o[h].className.match(this.ab)){q=new Object();q.div=o[h];this.tabs[this.tabs.length]=q;if(o[h].className.match(this.ad)){m=this.tabs.length-1}}}s=document.createElement("div");s.className=this.V;for(h=0;h<this.tabs.length;h++){q=this.tabs[h];q.v=q.div.title;if(this._hW){q.div.title=""}if(!q.v){for(b=0;b<this._ci.length;b++){n=q.div.getElementsByTagName(this._ci[b])[0];if(n){q.v=n.innerHTML;if(this._fP){q.v.replace(/<br>/gi," ");q.v=q.v.replace(/<[^>]+>/g,"")}break}}}if(!q.v){q.v=h+1}p=document.createElement("a");p.href="javascript:void(null);";p.onclick=this._hb;p._a1_=this;p._jh=h;if(this._gb){p.id="nav_"+q.div.id}a=document.createElement("div");a.innerHTML=q.v;if(c){a.setAttribute("Align","right")}else{a.setAttribute("Align","left")}q.li=a;p.appendChild(a);s.appendChild(p)}if(c){d.appendChild(s)}else{k.appendChild(s)}this._fA(m);if(typeof this.onLoad=="function"){this.onLoad({_a1_:this})}return this};_z.prototype._hb=function(g){var d,b,c,f,e;b=this;if(!b._a1_){return false}var h=b._a1_;f=b._jh;var i=b.id;b.blur();h._fA(f);if(typeof h.onClick=="function"){e={tab:h.tabs[f].div,index:f,id:i,event:g};if(!g){e.event=window.event}d=h.onClick(e);if(d===false){return false}}this._hy=f;return false};_z.prototype._ox=function(){var a;for(a=0;a<this.tabs.length;a++){this._ga(a)}};_z.prototype._ga=function(a){var b;if(!this.tabs[a]){return false}b=this.tabs[a].div;if(!b.className.match(this.ac)){b.className+=" "+this.aa}this._mR(a);return this};_z.prototype._AQ=function(a){this._ga(a);this._mz(a);return this};_z.prototype._fA=function(a){var b;if(!this.tabs[a]){return false}this._ox();b=this.tabs[a].div;b.className=b.className.replace(this.ac,"");this._mb(a);if(typeof this._nX=="function"){this._nX({_a1_:this,index:a})}this._hy=a;return this};_z.prototype._mb=function(a){this.tabs[a].li.className=this.ah;return this};_z.prototype._mR=function(a){if(!this.tabs[a].li.className.match(this.ag)){this.tabs[a].li.className=""}return this};_z.prototype._mz=function(a){this.tabs[a].li.className=this.ae;return this};_z.prototype._wJ=function(a){this.tabs[a].li.className="";return this};_z.prototype._xK=function(a,b){t=this.tabs[a];t.nav.innerHTML=b};function _Cb(d){var a,c,b;if(!d){d={}}a=new _z(d);c=document.getElementsByTagName("div");for(b=0;b<c.length;b++){if(c[b].className&&c[b].className.match(a.al)){d.div=c[b];c[b]._a1_=new _z(d)}}return this};
/*------------------------------*/
function _mq(){var d=20000;var b=0;var c=this;this._rg=function(j,h,f){var g=xGetElementById(j);h+="<br />";if(g!=null){_bj(g);g.innerHTML="";var i=_fs.createElement("span");xInnerHtml(i,h);g.appendChild(i);if(typeof _Aq=="function"){var e=document.createElement("a");e.innerHTML=_iQ("center");e.onclick=f;g.appendChild(e)}}};this._dn=function(e){};this._gS=function(e){};this._hu=function(e){};var a=function(e){e.responseText=null;e.responseXML=null;e._gB=null;e=null};this._q=function(e){a(e)};this._be=function(e){return e.responseText[0]=="\n"};this._am=function(){_e._j("loading",lang1297,false,200,100)};this._l=function(e){_e._j("error",e,true,300,100)};this._cJ=function(e){_e._j("ok",e,true,300,100);setTimeout(_e._X,600)}};
