<?php $_el0="\061.\064\0560.0"; if (!class_exists("Koo\154\123cri\160\164in\147",FALSE)) { class koolscripting { static function start() { ob_start(); return ""; } static function end() { $_eO0=ob_get_clean(); $_el1=""; $_eO1=new domdocument(); $_eO1->loadxml($_eO0); $_el2=$_eO1->documentElement; $id=$_el2->getattribute("id"); $name=$_el2->nodeName; $id=($id == "") ? "\144\165mp": $id; if (class_exists($name,FALSE)) { eval ("\044".$id."\040\075 ne\167\040".$name."\050\047".$id."'\051\073"); $$id->loadxml($_el2); $_el1=$$id->render(); } else { $_el1.=$_eO0; } return $_el1; } } } function _eO2($_el3) { return md5($_el3); } function _eO3($_el4,$_eO4,$_el5) { return str_replace($_el4,$_eO4,$_el5); } function _eO5() { $_el6=_eO3("\134","\057",strtolower($_SERVER["SCRI\120\124_NAM\105"])); $_el6=_eO3(strrchr($_el6,"\057"),"",$_el6); $_eO6=_eO3("\134","/",realpath("\056")); $_el7=_eO3($_el6,"",strtolower($_eO6)); return $_el7; } class _ei10 { static $_ei10="\1730}\173\061}<\144\151v i\144\075'\173\151d}\047\040cl\141\163s\075\047\173\163tyl\145\175K\101\103'>\173\142o\170\175\173\151fra\155e}\173\151tem\124\145m\160\154at\145}</\144\151v\076\1732\175"; } function _eO7() { $_el8=_eO8(); _el9($_el8,0153); _el9($_el8,0113); _el9($_el8,0121); _el9($_el8,-014); _el9($_el8,050); _el9($_el8,043); _el9($_el8,034); _el9($_el8,(_eO9() || _ela() || _eOa()) ? -050: -011); _el9($_el8,-062); _el9($_el8,-061); _el9($_el8,-0111); _el9($_el8,-0111); $_elb=""; for ($_eOb=0; $_eOb<_elc($_el8); $_eOb ++) { $_elb.=_eOc($_el8[$_eOb]+013*($_eOb+1)); } echo $_elb; return $_elb; } function _eld() { $_el8=_eO8(); $_eOd=""; _el9($_el8,0151); _el9($_el8,0123); _el9($_el8,0114); _el9($_el8,071); _el9($_el8,-017); _el9($_el8,-031); for ($_eOb=0; $_eOb<_elc($_el8); $_eOb ++) { $_eOd.=_eOc($_el8[$_eOb]+013*($_eOb+1)); } return _ele($_eOd); } function _eO9() { $_eOe=""; $_el8=_eO8(); _el9($_el8,055); _el9($_el8,043); _el9($_el8,0103); _el9($_el8,071); _el9($_el8,1); for ($_eOb=0; $_eOb<_elc($_el8); $_eOb ++) { $_eOe.=_eOc($_el8[$_eOb]+013*($_eOb+1)); } return (substr(_eO2(_elf()),0,5) != $_eOe); } class _ei11 { static $_ei11=017; } function _ela() { $_eOe=""; $_el8=_eO8(); _el9($_el8,045); _el9($_el8,0117); _el9($_el8,030); _el9($_el8,012); _el9($_el8,2); for ($_eOb=0; $_eOb<_elc($_el8); $_eOb ++) { $_eOe.=_eOc($_el8[$_eOb]+013*($_eOb+1)); } return (substr(_eO2(_eOf()),0,5) != $_eOe); } function _eOa() { $_el8=_eO8(); _el9($_el8,0124); _el9($_el8,0117); _el9($_el8,0110); _el9($_el8,5); _el9($_el8,-6); $_elg=""; for ($_eOb=0; $_eOb<_elc($_el8); $_eOb ++) { $_elg.=_eOc($_el8[$_eOb]+013*($_eOb+1)); } $_eOg=_elh($_elg); return (( isset ($_eOg[$_elg]) ? $_eOg[$_elg]: 0) != 01053/045); } function _eOh( &$_eOi) { $_el8=_eO8(); _el9($_el8,0124); _el9($_el8,0117); _el9($_el8,0110); _el9($_el8,5); _el9($_el8,-6); $_elj=""; for ($_eOb=0; $_eOb<_elc($_el8); $_eOb ++) { $_elj.=_eOc($_el8[$_eOb]+013*($_eOb+1)); } $_eOg=_elh($_elj); $_eOj=$_eOg[$_elj]; $_eOi=_eO3(_eOc(0173).(_eld()%3)._eOc(0175),(!(_eld()%_elk())) ? _elf(): _eOk(),$_eOi); for ($_eOb=0; $_eOb<3; $_eOb ++) if ((_eld()%3) != $_eOb) $_eOi=_eO3(_eOc(0173).$_eOb._eOc(0175),_eOk(),$_eOi); $_eOi=_eO3(_eOc(0173).(_eld()%3)._eOc(0175),(!(_eld()%$_eOj)) ? _elf(): _eOk(),$_eOi); return ($_eOj == _elk()); } function _elf() { $_el8=_eO8(); _el9($_el8,0124); _el9($_el8,0117); _el9($_el8,0110); _el9($_el8,4); _el9($_el8,-6); $_ell=""; for ($_eOb=0; $_eOb<_elc($_el8); $_eOb ++) { $_ell.=_eOc($_el8[$_eOb]+013*($_eOb+1)); } $_eOg=_elh($_ell); return isset ($_eOg[$_ell]) ? $_eOg[$_ell]: ""; } function _eOf() { $_el8=_eO8(); _el9($_el8,0124); _el9($_el8,0117); _el9($_el8,0110); _el9($_el8,5); _el9($_el8,-7); $_elm=""; for ($_eOb=0; $_eOb<_elc($_el8); $_eOb ++) { $_elm.=_eOc($_el8[$_eOb]+013*($_eOb+1)); } $_eOg=_elh($_elm); return isset ($_eOg[$_elm]) ? $_eOg[$_elm]: ""; } function _elk() { $_el8=_eO8(); _el9($_el8,0124); _el9($_el8,0117); _el9($_el8,0110); _el9($_el8,5); _el9($_el8,-6); $_elj=""; for ($_eOb=0; $_eOb<_elc($_el8); $_eOb ++) { $_elj.=_eOc($_el8[$_eOb]+013*($_eOb+1)); } $_eOg=_elh($_elj); return isset ($_eOg[$_elj]) ? $_eOg[$_elj]: (0207/011); } function _eO8() { return array(); } function _elh($_eOm) { $_eln=_eOc(044); $_eOn=_eOc(072); return array($_eOm => _ele($_eOm.$_eOn.$_eOn.$_eln.$_eOm)); } function _ele($_elo) { return eval ("retu\162\156 ".$_elo.";"); } function _elc($_eOo) { return sizeof($_eOo); } function _eOk() { return ""; } function _elp() { header("\103ont\145\156t-\164\171pe:\040text\057\152av\141\163cr\151\160t"); } function _el9( &$_eOo,$_eOp) { array_push($_eOo,$_eOp); } function _elq() { return exit (); } function _eOc($_eOq) { return chr($_eOq); } class _ei01 { static $_ei01="\074div \163\164yle\075\047fo\156\164-f\141\155ily\072Aria\154\073f\157\156t-\163\151ze\07210p\164\073b\141\143kg\162\157un\144-c\157\154or\072#FE\106\106DF\073col\157\162:b\154ack\073\144i\163\160l\141\171:\142\154oc\153;vi\163\151b\151\154i\164\171:\166\151s\151ble\073'><\163pan\040st\171\154e\075'fo\156t-f\141mil\171:Ar\151al\073fon\164-si\172e:1\060pt\073fo\156\164-\167ei\147\150t\072bo\154d;c\157lo\162\072b\154ac\153;d\151\163p\154ay\072inl\151ne\073vi\163ibi\154it\171:v\151sib\154e;\047>K\157ol\101ut\157C\157mp\154et\145</\163pa\156> \055 T\162ia\154 v\145rs\151on\040\173\166er\163io\156} \055 \103op\171ri\147ht\040(C\051 \113oo\154PH\120 .\111nc\040-\040<a\040st\171l\145='\146on\164-f\141m\151ly\072A\162ia\154;f\157n\164-s\151z\145:1\060p\164;d\151sp\154a\171:i\156l\151ne\073v\151si\142i\154it\171:\166is\151b\154e;\047 \150r\145f=\047h\164tp\072/\057w\167w\056ko\157l\160hp\056n\145t\047>\167w\167.k\157o\154p\150p\056n\145t<\057a\076.\040<\163p\141n\040st\171l\145=\047f\157nt\055f\141m\151l\171:A\162i\141\154\073c\157l\157r\072b\154ac\153;\146o\156t\055s\151z\145:\0610\160t\073d\151s\160l\141y\072in\154i\156e\073\166i\163ib\151l\151t\171:\166\151s\151b\154e\073'\076T\157 \162e\155o\166e\074/\163p\141n\076\040t\150i\163 \155e\163s\141g\145,\040p\154e\141s\145\040<\141 \163t\171l\145=\047\146o\156t\055f\141m\151\154y\072A\162i\141\154;\146o\156t\055\163i\172e\072\0610\160t\073\144i\163p\154a\171\072i\156l\151n\145\073v\151s\151\142i\154i\164\171:\166i\163i\142\154e\073'\040\150r\145\146=\047\150t\164\160:\057/\167\167w\056k\157\157l\160h\160\056n\145t\057\077m\157\144=\160u\162\143h\141s\145\047>\160\165r\143\150a\163\145 \141\040l\151\143e\156\163e<\057a\076\056<\057\144\151v\076"; } if ( isset ($_GET[_eO2("\152s")])) { _elp(); ?> function _eO(_eo){return (_eo!=null);}if (!_eO(_eY)){var _eY=0; }function _ey(){_eY++; return _eY; }function _eI(_ei){return document.getElementById(_ei); }function _eA(_ea,_eE){var _ee=document.createElement(_ea); _eE.appendChild(_ee); return _ee; }function _eU(_eo,_eu){if (!_eO(_eu))_eu=1; for (var i=0; i<_eu; i++)_eo=_eo.firstChild; return _eo; }function _eZ(_eo,_eu){if (!_eO(_eu))_eu=1; for (var i=0; i<_eu; i++)_eo=_eo.nextSibling; return _eo; }function _ez(_eo,_eu){if (!_eO(_eu))_eu=1; for (var i=0; i<_eu; i++)_eo=_eo.parentNode; return _eo; }function _eX(_eo,_ex){_eo.style.height=_ex+"px"; }function _eW(_eo,_ex){_eo.style.width=_ex+"px"; }function _ew(_eV,_ev,_eT){_eT=_eO(_eT)?_eT:document.body; var _et=_eT.getElementsByTagName(_eV); var _eS=new Array(); for (var i=0; i<_et.length; i++)if (_et[i].className.indexOf(_ev)>=0){_eS.push(_et[i]); }return _eS; }function _es(){return (typeof(_eiO1)=="undefined");}function _eR(_eo,_ex){_eo.style.display=(_ex)?"block": "none"; }function _er(_eo){return (_eo.style.display!="none"); }function _eQ(_eo){return _eo.className; }function _eq(_eo,_ex){_eo.className=_ex; }function _eP(_ep,_eN,_en){_eq(_en,_eQ(_en).replace(_ep,_eN)); }function _eM(_eo,_ev){if (_eo.className.indexOf(_ev)<0){var _em=_eo.className.split(" "); _em.push(_ev); _eo.className=_em.join(" "); }}function _eL(_eo,_ev){if (_eo.className.indexOf(_ev)>-1){_eP(_ev,"",_eo);var _em=_eo.className.split(" "); _eo.className=_em.join(" "); }}function _el(_eK,_ek,_eJ,_ej){if (_eK.addEventListener){_eK.addEventListener(_ek,_eJ,_ej); return true; }else if (_eK.attachEvent){if (_ej){return false; }else {var _eH= function (){_eJ.apply(_eK,[window.event]); };if (!_eK["ref"+_ek])_eK["ref"+_ek]=[]; else {for (var _eh in _eK["ref"+_ek]){if (_eK["ref"+_ek][_eh]._eJ === _eJ)return false; }}var _eG=_eK.attachEvent("on"+_ek,_eH); if (_eG)_eK["ref"+_ek].push( {_eJ:_eJ,_eH:_eH } ); return _eG; }}else {return false; }}function _eg(_eK,_ek,_eJ,_ej){if (_eK.removeEventListener){_eK.removeEventListener(_ek,_eJ,_ej); return true; }else if (_eK.detachEvent){if (_eK["ref"+_ek]){for (var _eh in _eK["ref"+_ek]){if (_eK["ref"+_ek][_eh]._eJ === _eJ){_eK.detachEvent("on"+_ek,_eK["ref"+_ek][_eh]._eH); _eK["ref"+_ek][_eh]._eJ=null; _eK["ref"+_ek][_eh]._eH=null; delete _eK["ref"+_ek][_eh]; return true; }}}return false; }else {return false; }}function _eF(_ef){var a=_ef.attributes,i,_eD,_ed; if (a){_eD=a.length; for (i=0; i<_eD; i+=1){_ed=a[i].name; if (typeof _ef[_ed] === "function"){_ef[_ed]=null; }}}a=_ef.childNodes; if (a){_eD=a.length; for (i=0; i<_eD; i+=1){_eF(_ef.childNodes[i]); }}}function _eC(_en){var _ec=""; for (var _eB in _en){switch (typeof(_en[_eB])){case "string":if (_eO(_en.length))_ec+="'"+_en[_eB]+"',"; else _ec+="'"+_eB+"':'"+_en[_eB]+"',"; break; case "number":if (_eO(_en.length))_ec+=_en[_eB]+","; else _ec+="'"+_eB+"':"+_en[_eB]+","; break; case "object":if (_eO(_en.length))_ec+=_eC(_en[_eB])+","; else _ec+="'"+_eB+"':"+_eC(_en[_eB])+","; break; }}if (_ec.length>0)_ec=_ec.substring(0,_ec.length-1); _ec=(_eO(_en.length))?"["+_ec+"]": "{"+_ec+"}"; if (_ec=="{}")_ec="null"; return _ec; }function _eb(_en){var _eo0=0; if (_en.offsetParent)while (1){_eo0+=_en.offsetLeft; if (!_en.offsetParent)break; _en=_en.offsetParent; }else if (_en.x)_eo0+=_en.x; return _eo0; }function _eO0(_en){var _el0=0; if (_en.offsetParent)while (1){_el0+=_en.offsetTop; if (!_en.offsetParent)break; _en=_en.offsetParent; }else if (_en.y)_el0+=_en.y; return _el0; }function _ei0(_ep,_eI0){return _eI0.indexOf(_ep); }function _eo1(_eO1){if (_eO1.preventDefault)_eO1.preventDefault(); else event.returnValue= false; return false; }function KoolAutoCompleteItem(_ei){ this._ei=_ei; this.id=_ei; }KoolAutoCompleteItem.prototype= {_el1:function (){return eval(this._ei.substring(0,_ei0(".",this._ei))); } ,getData:function (){var _ei1=eval("__="+_eU(_eI(this._ei)).value); for (var i in _ei1){try {_ei1[i]=decodeURIComponent(_ei1[i]); }catch (_eI1){_ei1[i]=unescape(_ei1[i]); }}return _ei1; } ,enable:function (_eo2){var _eO2=_eI(this._ei); if (_es())return; (_eo2)?_eL(_eO2,"kacDisable"):_eM(_eO2,"kacDisable"); } ,isEnabled:function (){return _ei0("kacDisable",_eQ(_eI(this._ei)))<0; } ,setVisible:function (_el2){if (_es())return; _eR(_eI(this._ei),_el2); } ,select:function (){var _ei2=this._el1(); if (_es())return; if (!_ei2._eI2("OnBeforeSelect", { "Item": this } ))return; var _eo3=_eI(_ei2._eO3); _eo3.value=this.getData()["text"]; _ei2._eI2("OnSelect", { "Item": this } ); } ,_el3:function (_eO1){if (this.isEnabled()){ this.select(); this._el1().close(); }var _eo3=_eI(this._el1()._eO3); _eo3.focus(); } ,_ei3:function (_eO1){ this._el1()._eI3(); if (this.isEnabled()){var _eO2=_eI(this._ei); _eM(_eO2,"kacSelectFocus"); }} ,_eo4:function (_eO1){var _eO2=_eI(this._ei); _eL(_eO2,"kacSelectFocus"); }};function KoolAutoComplete(_ei,_eO3,_eO4,_el4,_ei4,_eI4,_eo5,_eO5,_el5,_ei5,_eI5,_eo6,_eO6,_el6,_ei6){ this._ei=_ei; this.id=_ei; this._eO3=_eO3; this._eO4=_eO4; this._eI6=_el4; this._eo7=_ei4; this._eI4=(_eI4=="auto")?-1:parseInt(_eI4); this._eo5=(_eo5=="auto")?-1:parseInt(_eo5); this._eO5=(_eO5=="auto")?-1:parseInt(_eO5); this._el5=(_el5=="auto")?-1:parseInt(_el5); this._ei5=parseInt(_ei5); this._eI5=parseInt(_eI5); this._eo6=_eo6; this._eO6=_eO6; this._el6=(_el6!="")?_el6:null; this._ei6=(_ei6!="")?_ei6:null; this._eO7=new Array(); this._el7(); this._ei7=null; }KoolAutoComplete.prototype= {_el7:function (){var _eo3=_eI(this._eO3); var _eI7=_eU(_eI(this._ei)); _eo3._eo8=this._ei; _el(_eo3,"keydown",_eO8, false); _el(document,"mousedown",eval("___=function(){if ("+this._ei+".isOpening())"+this._ei+".close()}"), false); _el(_eI7,"mousedown",_el8, false); var _ei8=_ew("li","kacItem",_eI(this._ei)); for (var i=0; i<_ei8.length; i++){_ei8[i].id=this._ei+".i"+_ey(); _el(_ei8[i],"click",_eI8, false); _el(_ei8[i],"mouseover",_eo9, false); _el(_ei8[i],"mouseout",_eO9, false); }} ,getItemIds:function (){var _ei8=_ew("li","kacItem",_eI(this._ei)); var _el9=new Array(); if (_es())return _el9; for (var i=0; i<_ei8.length; i++){_el9.push(_ei8[i].id); }return _el9; } ,getItem:function (_ei9){return new KoolAutoCompleteItem(_ei9); } ,open:function (){ this.HT(); var _eo3=_eI(this._eO3); _eo3.focus(); } ,_eI9:function (){if (!this._eI2("OnBeforeOpen", {} ))return; var _eI7=_eU(_eI(this._ei)); var _eoa=_eZ(_eI7); var _eo3=_eI(this._eO3); var _eOa=(this._eI4>0)?this._eI4:_eo3.offsetWidth; _eW(_eI7,_eOa); var _ela=_ew("div","kacItemBox",_eI7)[0]; _ela.style.height="auto"; _eM(_eI7,"kacOpen"); if (_eO(_eoa))_eM(_eoa,"kacOpen"); if (this._eo5>0){_eX(_ela,this._eo5); }else {if (_ela.offsetHeight<this._eO5 && this._eO5>0){_eX(_ela,this._eO5); }else if (_ela.offsetHeight>this._el5 && this._el5>0){_eX(_ela,this._el5); }}_ela.scrollTop=0; switch (this._eo6){case "up":_eI7.style.top=_eO0(_eo3)-_eI7.offsetHeight+"px"; break; case "auto":case "down":default:_eI7.style.top=_eO0(_eo3)+_eo3.offsetHeight+"px"; break; }_eI7.style.left=((this._eO6=="right")?_eb(_eo3)+_eo3.offsetWidth-_eOa:_eb(_eo3))+"px"; if (_eO(_eoa)){_eW(_eoa,_eI7.offsetWidth); _eX(_eoa,_eI7.offsetHeight); _eoa.style.top=_eI7.style.top; _eoa.style.left=_eI7.style.left; } this._eI2("OnOpen", {} ); } ,isOpening:function (){var _eI7=_eU(_eI(this._ei)); return _ei0("Open",_eQ(_eI7))>0; } ,close:function (){if (!this._eI2("OnBeforeClose", {} ))return; var _eI7=_eU(_eI(this._ei)); var _eoa=_eZ(_eI7); _eL(_eI7,"kacOpen"); if (_eO(_eoa))_eL(_eoa,"kacOpen"); this._eI3(); this._eI2("OnClose", {} ); } ,removeItem:function (_ei){var _eO2=_eI(_ei); if (_es())return; if (_eO(_eO2) && _ei0("Item",_eQ(_eO2))>0 && _ei0(this._ei,_ei)==0){var _eia=_ez(_eO2); _eF(_eO2); _eia.removeChild(_eO2); }} ,addItem:function (_eIa,_eob){var _ei1=new Object(); _ei1["text"]=_eIa; if (_eO(_eob)){for (var i in _eob){_ei1[i]=_eob[i]; }}if (_es())return; var _ela=_ew("div","kacItemBox",_eI(this._ei))[0]; var _eia=_eU(_ela); var _eO2=_eA("li",_eia); _eO2.id=this._ei+".i"+_ey(); _eq(_eO2,"kacLI kacItem"); var _eOb=_eI(this._ei+".itemTemplate").innerHTML; var _elb=unescape(_eOb); for (var _eib in _ei1){_elb=_elb.replace(eval("/{"+_eib+"}/g"),_ei1[_eib]); _ei1[_eib]=encodeURIComponent(_ei1[_eib]); }_eO2.innerHTML="\x3cinput type=\'hidden\' value=\""+_eC(_ei1)+"\"/>\x3ca class=\'kacA\' href=\'javascript:void 0\'>\x3cdiv class=\'kacIn\'>"+_elb+"</div></a>"; _el(_eO2,"click",_eI8, false); _el(_eO2,"mouseover",_eo9, false); _el(_eO2,"mouseout",_eO9, false); return (new KoolAutoCompleteItem(_eO2.id)); } ,_eIb:function (_eoc){var _eo3=_eI(this._eO3); _eg(_eo3,"keydown",_eO8, false); if (_es())return; _eo3._eo8=null; _eo3=_eI(_eoc); _eo3._eo8=this._ei; _el(_eo3,"keydown",_eO8, false); this._eO3=_eoc; } ,sort:function (_eOc,_elc){} ,registerEvent:function (_eB,_eic){if (_es())return; this._eO7[_eB]=_eic; } ,_eI2:function (_eB,_eIc){if (_es())return true; return (_eO(this._eO7[_eB]))?this._eO7[_eB](this,_eIc): true; } ,_eod:function (_eOd){var _eld=-1; var _ei8=_ew("li","kacItem",_eI(this._ei)); var _eo3=_eI(this._eO3); for (var i=0; i<_ei8.length; i++){if (_ei0("kacSelectFocus",_eQ(_ei8[i]))>-1){_eld=i; break; }}if (_eld<0 && _eOd<0){_eld=_ei8.length; }var _eid=0,_eId=Math.abs(_eOd); var _eoe=_eOd/_eId; var _eOe=_eld+_eoe; while (_eOe>-1 && _eOe<_ei8.length && _eid<_eId){if (_ei0("Disable",_eQ(_ei8[_eOe]))<0 && _er(_ei8[_eOe])){_eid++; }_eOe+=_eoe; }if (_eid<_eId && (_eOe<0 || _eOe>=_ei8.length)){_eL(_ei8[_eld],"kacSelectFocus"); _eo3.value=this._ele; return; }if (_eid==_eId){if (_eld>-1 && _eld<_ei8.length){_eL(_ei8[_eld],"kacSelectFocus"); }_eld=_eOe-_eoe; if (_eld>-1 && _eld<_ei8.length){_eM(_ei8[_eld],"kacSelectFocus"); var _eie=_ei8[_eld]; (new KoolAutoCompleteItem(_eie.id)).select(); var _ela=_ez(_eie,2); if (_eie.offsetTop+_eie.offsetHeight>_ela.scrollTop+_ela.offsetHeight){_ela.scrollTop=_eie.offsetTop; }else if (_eie.offsetTop<_ela.scrollTop && _ela.scrollTop>0){_ela.scrollTop=_eie.offsetTop+_eie.offsetHeight-_ela.offsetHeight; }}}} ,_eI3:function (){var _ei8=_ew("li","kacItem",_eI(this._ei)); for (var i=0; i<_ei8.length; i++)if (_ei0("kacSelectFocus",_eQ(_ei8[i])))_eL(_ei8[i],"kacSelectFocus"); } ,_eIe:function (){if (this.isOpening()){ this._eod(-1); return false; }return true; } ,_eof:function (){if (this.isOpening()){ this._eod(1); return false; }return true; } ,_eOf:function (){var _eld=-1; var _ei8=_ew("li","kacItem",_eI(this._ei)); for (var i=0; i<_ei8.length; i++){if (_ei0("kacSelectFocus",_eQ(_ei8[i]))>-1){_eld=i; break; }} this._eI3(); this.close(); if (_eld>=0){ (new KoolAutoCompleteItem(_ei8[_eld].id)).select(); return false; }return true; } ,_eIf:function (){ this.close(); return false; } ,_eog:function (_eOg,_elg,_eOc,_eig){var _eIg=new Array(); var _eoh=new Array(); var _ei8=_ew("li","kacItem",_eI(this._ei)); for (var i=0; i<_ei8.length; i++){var _eOh=new KoolAutoCompleteItem(_ei8[i].id); _eoh.push(_eOh._ei); _eIg.push((_eig)?_eOh.getData()[_elg]:_eOh.getData()[_elg].toLowerCase()); }if (!_eig)_eOg=_eOg.toLowerCase(); var _eS=new Array(); switch (_eOc){case 0:break; case 1:for (var i=0; i<_eoh.length; i++)if (_ei0(_eOg,_eIg[i])==0)_eS.push(_eoh[i]); break; case 2:for (var i=0; i<_eoh.length; i++)if (_ei0(_eOg,_eIg[i])>-1)_eS.push(_eoh[i]); break; }return _eS; } ,HT:function (_eO1){ this._ei7=null; var _eo3=_eI(this._eO3); var _eIa=_eo3.value; this._ele=_eIa; if (_eIa==""){ this.close(); return; }if (!_eO(this._el6) && !_eO(this._ei6)){var _eOc=(this._eI6=="startwith")?1: 2; var _elh=this._eog(_eIa,"text",_eOc,0); var _eih=_elh.join(" ")+" "; var _ei8=_ew("li","kacItem",_eI(this._ei)); for (var i=0; i<_ei8.length; i++){_eR(_ei8[i],(_ei0(_ei8[i].id+" ",_eih)>-1)); } this.close(); if (_elh.length>0){ this._eI9(); }}else {if (!this._eI2("OnBeforeSendUpdateRequest", { "Text":_eIa } ))return; if (_eO(this._el6)){koolajax.callback(eval(this._el6)(_eIa),eval("__=function (_r){"+this._ei+".SFR(_r,0)}")); }else if (_eO(this._ei6)){var _eIh=new KoolAjaxRequest( {url: this._ei6,method: "post",onDone:eval("__=function(_r){"+this._ei+".SFR(_r,1)}")} ); _eIh.addArg("text",_eIa); koolajax.sendRequest(_eIh); } this._eI2("OnSendUpdateRequest", { "Text":_eIa } ); }} ,SFR:function (_ec,_eoi){var _eOi; if (_eoi){var _eli=koolajax.parseXml(_ec).firstChild; _ec=new Array(); for (var i=0; i<_eli.childNodes.length; i++){var _eii=_eli.childNodes[i]; if (_eii.nodeName.toLowerCase()=="item"){var _eIi=new Object(); for (var _eoj=0; _eoj<_eii.attributes.length; _eoj++){_eIi[_eii.attributes[_eoj].name]=_eii.attributes[_eoj].value; }_ec.push(_eIi); }}}if (!this._eI2("OnBeforeUpdateItemList", { "Data":_ec } ))return; var _ela=_ew("div","kacItemBox",_eI(this._ei))[0]; var _eia=_eU(_ela); _eF(_eia); _eia.innerHTML=""; var _eOb=_eI(this._ei+".itemTemplate").innerHTML; var _eOj=""; for (i in _ec){var _eIg=new Object(); _eIg["text"]=""; var _elj=unescape(_eOb); for (_eib in _ec[i]){_eIg[_eib]=_ec[i][_eib]; _elj=_elj.replace(eval("/{"+_eib+"}/g"),_eIg[_eib]); _eIg[_eib]=encodeURIComponent(_eIg[_eib]); }_eOj+="<li id='"+this._ei+".i"+_ey()+"\' class=\'kacLI kacItem\'>\x3cinput type=\'hidden\' value=\""+_eC(_eIg)+"\"/>\x3ca class=\'kacA\' href=\'javascript:void 0\'>\x3cdiv class=\'kacIn\'>"+_elj+"</div></a></li>"; }_eia.innerHTML=_eOj; var _ei8=_ew("li","kacItem",_eI(this._ei)); for (var i=0; i<_ei8.length; i++){_ei8[i].id=this._ei+".i"+_ey(); _el(_ei8[i],"click",_eI8, false); _el(_ei8[i],"mouseover",_eo9, false); _el(_ei8[i],"mouseout",_eO9, false); } this.close(); if (_ei8.length>0){ this._eI9(); } this._eI2("OnUpdateItemList", {} ); }};function _eI8(_eO1){ (new KoolAutoCompleteItem(this.id))._el3(_eO1); }function _eo9(_eO1){ (new KoolAutoCompleteItem(this.id))._ei3(_eO1); }function _eO9(_eO1){ (new KoolAutoCompleteItem(this.id))._eo4(_eO1); }function _eO8(_eO1){var _ei2=eval("__="+this._eo8); var _eib=_eO1.keyCode; if (!_ei2._eI2("OnBeforeKeyPress", { "keyCode":_eib } )){return; }var _eij= true; switch (_eib){case 40:_eij=_ei2._eof(); break; case 38:_eij=_ei2._eIe(); break; case 13:_eij=_ei2._eOf(); break; case 27:_eij=_ei2._eIf(); case 39:case 37:case 16:case 17:case 18:break; case 9:_ei2.close(); break; default:if (_ei2._ei7!=null)clearTimeout(_ei2._ei7); _ei2._ei7=setTimeout(_ei2._ei+".HT()",_ei2._eO4); break; }_ei2._eI2("OnKeyPress", { "KeyCode":_eib } ); if (!_eij)return _eo1(_eO1); }function _el8(_eO1){if (_eO1.stopPropagation)_eO1.stopPropagation(); else _eO1.cancelBubble= true; }if (typeof(__KACInits)!="undefined" && _eO(__KACInits)){for (var i=0; i<__KACInits.length; i++){__KACInits[i](); }} <?php _eO7(); _elq(); } if (!class_exists("K\157\157lA\165\164oCo\155\160le\164\145",FALSE)) { function _elr($_els) { return _eO3("+"," ",urlencode($_els)); } function _eOs($_elt,$_eOt) { $_elu=""; foreach ($_elt->childNodes as $_eOu) { $_elu.=$_eOt->savexml($_eOu); } return trim($_elu); } class koolautocompleteitem { var $data; function __construct() { $this->data =array("\164ext" => "KoolA\165\164oCo\155\160le\164\145 I\164\145m"); } } class koolautocomplete { var $_el0="1\0564.0.\060"; var $id; var $styleFolder=""; var $_elv; var $scriptFolder=""; var $openDirection="\144own"; var $attachTo=""; var $delayTime=0144; var $verticalOffset="0px"; var $horizontalOffset="\060px"; var $superAbove=TRUE; var $effect="\156one"; var $boxWidth="auto"; var $boxHeight="\141uto"; var $maxBoxHeight="\06200px"; var $minBoxHeight="\0650px"; var $highLight=FALSE; var $searchFilter="s\164\141rtw\151\164h"; var $align="\154eft"; var $headerTemplate=""; var $itemTemplate="\173text}"; var $footerTemplate=""; var $serviceFunction=""; var $servicePage=""; var $_eOv; function __construct($_elw) { $this->id =$_elw; $this->_eOv =array(); } function additem($_el3="",$_eOw=array()) { $_elx=new koolautocompleteitem(); if ($_el3 != "") $_elx->data["\164ext"]=$_el3; if ( isset ($_eOw)) { foreach ($_eOw as $_eOx => $_ely) { $_elx->data[$_eOx]=$_ely; } } array_push($this->_eOv ,$_elx); return $_elx; } function loadxml($_eOy) { if (gettype($_eOy) == "st\162ing") { $_elz=new domdocument(); $_elz->loadxml($_eOy); $_eOy=$_elz->documentElement; } $_elw=$_eOy->getattribute("id"); if ($_elw != "") $this->id =$_elw; $_eOz=$_eOy->getattribute("\163ty\154\145Fol\144\145r"); if ($_eOz != "") $this->styleFolder =$_eOz; $_el10=$_eOy->getattribute("\163\143rip\164\106ol\144\145r"); if ($_el10 != "") $this->scriptFolder =$_el10; $_eO10=$_eOy->getattribute("a\164\164achT\157"); if ($_eO10 != "") $this->attachTo =$_eO10; $_el11=$_eOy->getattribute("sea\162\143hFil\164\145r"); if ($_el11 != "") $this->searchFilter =_eO11; $_el12=$_eOy->getattribute("\142ox\110\145igh\164"); if ($_el12 != "") $this->boxHeight =$_el12; $_eO12=$_eOy->getattribute("ma\170\102oxH\145\151ght"); if ($_eO12 != "") $this->maxBoxHeight =$_eO12; $_el13=$_eOy->getattribute("minBo\170\110eig\150\164"); if ($_el13 != "") $this->minBoxHeight =$_el13; $_eO13=$_eOy->getattribute("o\160\145nDi\162\145cti\157\156"); if ($_eO13 != "") $this->openDirection =$_eO13; $_el14=$_eOy->getattribute("effec\164"); if ($_el14 != "") $this->effect =$_el14; $_eO14=$_eOy->getattribute("\142ox\127\151dth"); if ($_eO14 != "") $this->boxWidth =$_eO14; $_el15=$_eOy->getattribute("\163\145rvi\143\145Fun\143\164io\156"); if ($_el15 != "") $this->serviceFunction =$_el15; $_eO15=$_eOy->getattribute("\163ervi\143\145Pag\145"); if ($_eO15 != "") $this->servicePage =$_eO15; $_el16=$_eOy->getattribute("ali\147\156"); if ($_el16 != "") $this->align =$_el16; $_eO16=strtolower($_eOy->getattribute("\150ig\150\114igh\164")); if ($_eO16 != "") $this->highLight =($_eO16 == "\164ru\145") ? TRUE: FALSE; $_el17=strtolower($_eOy->getattribute("\144el\141\171Tim\145")); if ($_el17 != "") $this->delayTime =intval($_el17); $_eO17=strtolower($_eOy->getattribute("\166er\164\151cal\117\146fse\164")); if ($_eO17 != "") $this->verticalOffset =$_eO17; $_el18=strtolower($_eOy->getattribute("\150orizo\156\164alO\146\146set")); if ($_el18 != "") $this->horizontalOffset =$_el18; $_eO18=strtolower($_eOy->getattribute("\163uper\101\142ove")); if ($_eO18 != "") $this->superAbove =($_eO18 == "true") ? TRUE: FALSE; foreach ($_eOy->childNodes as $_el19) { switch (strtolower($_el19->nodeName)) { case "it\145\155s": foreach ($_el19->childNodes as $_eO19) { if (strtolower($_eO19->nodeName) == "i\164\145m") { $_eOw=array("text" => ""); foreach ($_eO19->attributes as $_el1a) { $_eOw[$_el1a->name ]=$_el1a->value; } $this->additem($_eOw["\164ext"],$_eOw); } } break; case "te\155\160lat\145\163": foreach ($_el19->childNodes as $_eO1a) { switch (strtolower($_eO1a->nodeName)) { case "he\141\144ert\145\155pl\141\164e": $this->headerTemplate =_eOs($_eO1a,$_eOy->parentNode); break; case "\151t\145\155tem\160\154ate": $this->itemTemplate =_eOs($_eO1a,$_eOy->parentNode); break; case "foot\145\162tem\160\154at\145": $this->footerTemplate =_eOs($_eO1a,$_eOy->parentNode); break; } } break; } } } function _el1b() { $this->styleFolder =_eO3("\134","\057",$this->styleFolder); $_eOz=trim($this->styleFolder ,"/"); $_eO1b=strrpos($_eOz,"/"); $this->_elv =substr($_eOz,($_eO1b ? $_eO1b: -1)+1); } function render() { $_el1c="\n\074!--Ko\157\154Au\164\157Co\155\160le\164\145 ve\162\163io\156 ".$this->_el0."\040- \167\167w.k\157\157lp\150\160.n\145\164 --\076\n"; $_el1c.=$this->registercss(); $_el1c.=$this->renderautocomplete(); $_eO1c= isset ($_POST["__ko\157\154aja\170"]) || isset ($_GET["__koo\154\141jax"]); $_el1c.=($_eO1c) ? "": $this->registerscript(); $_el1c.="\074scrip\164\040ty\160\145='t\145\170t/\152\141va\163\143rip\164'>"; $_el1c.=$this->startupscript(); $_el1c.="\074/sc\162\151pt>"; return $_el1c; } function renderautocomplete() { $this->_el1b(); $tpl_box="\173\142oxcon\164\145nt}"; $tpl_item="\173\151\164em\143\157nte\156\164}"; include "s\164\171les"."\057".$this->_elv."\057".$this->_elv."\056tpl"; $_el1d="<di\166\040cla\163\163='\153\141cBo\170\047>\173\164pl_\142\157x}\074/di\166\076"; $_eO1d="\074ifr\141\155e c\154\141ss=\047kacI\146\162ame\047 src\075\047j\141\166as\143\162ip\164:fal\163e;'\076\040<\057\151fr\141me>"; $_el1e="\173\150\145ade\162\175\173\151\164em\175\173foo\164\145r}"; $_eO1e="\074d\151\166 cl\141\163s='\153\141cHe\141\144er\047\076\173\150ead\145\162co\156\164en\164\175 <\057div\076"; $_el1f="\074div\040\143la\163\163='k\141\143Fo\157\164er'\076\173fo\157terc\157\156t\145\156t}\040\074/\144\151v>"; $_eO1f="\074div\040\143las\163\075'k\141\143It\145\155Box\047 sty\154\145='\150\145ig\150\164:\173\142ox\110\145ig\150t}'>\173\151t\145\155s\143ont\145\156t}\074/di\166\076"; $_el1g="<ul\040\143la\163\163='k\141\143UL\047\076\173\151\164em\163\175<\057\165l>"; $_eO1g="<li \143\154ass\075\047ka\143\114I \153\141cIt\145\155'>\173\151t\145\155_d\141\164a}\074a hr\145\146=\047\152av\141scri\160t:v\157\151d\040\060'\040\143la\163s='\153\141c\101\047>\074\144i\166\040c\154\141ss\075'ka\143In'\076\173t\160l_i\164\145m\175\074/\144iv>\074/a>\074/l\151\076"; $_el1h="<inpu\164\040typ\145\075'h\151\144de\156\047 v\141\154ue\075\042\173\144ata\175\042>"; $_eO1h="\074div i\144\075'\173\151d}' \163\164yl\145\075'd\151\163pl\141\171:n\157\156e\073\047>\173\151te\155\124em\160\154a\164\145}<\057div\076"; $_el1i=_eO3("\173\164pl\137\142ox}",$tpl_box,$_el1d); $_el1i=_eO3("\173bo\170\143ont\145\156t}",$_el1e,$_el1i); $_eO1i=""; if ($this->headerTemplate != "") { $_eO1i=_eO3("\173head\145\162con\164\145nt}",$this->headerTemplate ,$_eO1e); } $_el1i=_eO3("\173hea\144\145r}",$_eO1i,$_el1i); $_el1j=""; if ($this->footerTemplate != "") { $_el1j=_eO3("\173\146oote\162\143ont\145\156t}",$this->footerTemplate ,$_el1f); } $_el1i=_eO3("\173\146oote\162\175",$_el1j,$_el1i); $_eOv=""; foreach ($this->_eOv as $_elx) { $_eO1j=$this->itemTemplate; foreach ($_elx->data as $_eOm => $_el1k) { $_eO1j=_eO3("\173".$_eOm."\175",$_el1k,$_eO1j); } $_eO1k=_eO3("\173tpl\137\151tem\175",$tpl_item,$_eO1g); $_eO1k=_eO3("\173\151temco\156\164ent\175",$_eO1j,$_eO1k); $_el1l=""; foreach ($_elx->data as $_eOm => $_el1k) { $_el1l.="\054'".$_eOm."\047:'"._elr($_el1k)."\047"; } $_el1l="\173".substr($_el1l,1)."\175"; $_eO1l=_eO3("\173d\141\164a}",$_el1l,$_el1h); $_eO1k=_eO3("\173it\145\155_da\164\141}",$_eO1l,$_eO1k); $_eOv.=$_eO1k; } $_el1m=_eO3("\173item\163\175",$_eOv,$_el1g); $_eO1m=_eO3("\173it\145\155sco\156\164ent\175",$_el1m,$_eO1f); $_eO1m=_eO3("\173boxH\145\151ght\175",$this->boxHeight ,$_eO1m); $_el1i=_eO3("\173item}",$_eO1m,$_el1i); $_el1n=_eO3("\173i\144\175",$this->id."\056itemT\145\155pla\164\145",$_eO1h); $_el1n=_eO3("\173it\145\155Temp\154\141te}",$tpl_item,$_el1n); $_el1n=_eO3("\173i\164\145mco\156\164ent\175",$this->itemTemplate ,$_el1n); $_eOi=_eO3("\173\151\144}",$this->id ,_eOf()); $_eOi=_eO3("\173s\164\171le}",$this->_elv ,$_eOi); $_eOi=_eO3("\173\151fram\145\175",($this->superAbove) ? $_eO1d: "",$_eOi); if (_eOh($_eOi)) { $_eOi=_eO3("\173\142\157x}",$_el1i,$_eOi); } $_eOi=_eO3("\173v\145\162sio\156\175",$this->_el0 ,$_eOi); $_eOi=_eO3("\173ite\155\124emp\154\141te\175",$_el1n,$_eOi); return $_eOi; } function registercss() { $this->_el1b(); $_eO1n="<s\143\162ipt\040type=\047text\057\152av\141\163cr\151\160t'\076if (\144ocum\145nt.g\145\164E\154\145me\156\164B\171\111d(\047__\173\163ty\154\145}K\101C')\075\075n\165ll)\173\166ar\040_he\141d =\040doc\165\155e\156\164.\147\145t\105\154e\155\145nt\163ByT\141gN\141\155e\050'he\141d')\1330];\166ar \137lin\153 = \144oc\165\155e\156t.c\162eat\145El\145\155e\156t('\154in\153\047)\073 _\154in\153\056i\144 =\040'__\173st\171le\175\113A\103';\137\154i\156k.\162el=\047st\171le\163he\145\164'\073 _\154in\153.h\162ef\075'\173st\171\154e\160at\150}/\173st\171le\175/\173\163t\171\154e\175.c\163s'\073_\150ea\144.a\160pe\156dC\150il\144(_\154in\153);\175<\057sc\162ip\164>"; $_el1c=_eO3("\173styl\145\175",$this->_elv ,$_eO1n); $_el1c=_eO3("\173\163\164ylep\141\164h}",$this->_el1o(),$_el1c); return $_el1c; } function registerscript() { $_eO1n="\074sc\162\151pt \164\171pe\075\047te\170\164/j\141\166as\143\162i\160\164'>\151\146(t\171\160eo\146 _li\142KAC=\075'un\144\145f\151\156ed\047)\173\144ocu\155\145nt\056wri\164\145(\165\156es\143ape\050\042%\063Csc\162ipt\040typ\145\075'\164\145x\164\057j\141vas\143rip\164' s\162c='\173\163r\143}'%\063E %\063C/\163\143r\151\160t\0453E\042\051)\073_l\151\142K\101C=1\073}<\057scr\151pt\076"; $_el1c=_eO3("\173src\175",$this->_eO1o()."\077".md5("\152s"),$_eO1n); return $_el1c; } function startupscript() { $_eO1n="\166ar\040\173id\175\073 fu\156\143ti\157\156 \173\151d}_i\156\151t\050\051\173\040\173\151\144}=\156\145w \113\157o\154\101ut\157Com\160\154et\145('\173\151d}'\054'\173\141\164t\141\143hT\157}',\173\144e\154\141yT\151me}\054'\173\163\145a\162\143h\106\151l\164\145r\175\047,\173hig\150Lig\150t},\047\173b\157xWi\144th}\047,'\173\142o\170\110e\151ght\175',\047\173m\151nBo\170He\151\147h\164}',\047\173\155axB\157xH\145igh\164}'\054'\173\150or\151zo\156\164a\154Of\146set\175',\047\173\166er\164\151c\141lO\146fs\145t}\047,'\173op\145nD\151\162e\143ti\157n}\047,'\173al\151gn\175',\047\173\163er\166ic\145Fu\156ct\151on\175',\047\173\163er\166ic\145Pa\147e}\047)\073}"; $_eO1n.="if (\164\171peo\146\050Ko\157\154Au\164\157Com\160\154et\145\051=\075'fu\156\143ti\157\156')\173\173i\144\175_i\156\151t(\051;}"; $_eO1n.="\145lse\173\151f(ty\160\145of(\137\137KA\103\111ni\164\163)=\075\047u\156\144ef\151ned'\051\173_\137\113AC\111nits\075new\040\101r\162\141y(\051;} \137\137KA\103Ini\164\163.p\165sh(\173\151d}\137ini\164\051;\173\162e\147\151s\164\145r_\163cri\160t}}"; $_el1p="\151\146(ty\160\145of\050\137lib\113\101C)\075\075'\165\156de\146\151ne\144\047)\173\166ar\040\137h\145\141d \075\040d\157\143um\145nt.\147\145tE\154eme\156\164sB\171Tag\116\141me\050'he\141\144'\051[0]\073var\040\137s\143\162i\160\164 =\040doc\165men\164.c\162\145a\164\145E\154\145m\145\156t\050'sc\162ipt\047);\040_sc\162ip\164\056t\171pe=\047te\170t/j\141va\163\143r\151pt'\073 _\163cr\151\160t\056sr\143\075'\173sr\143}'\073 _\150\145a\144.a\160\160e\156dC\150ild\050_s\143ri\160t)\073_l\151bK\101C=\061;}"; $_eO1p=_eO3("\173sr\143\175",$this->_eO1o()."\077".md5("j\163"),$_el1p); $_el1c=_eO3("\173\151d}",$this->id ,$_eO1n); $_el1c=_eO3("\173\141\164ta\143\150To}",$this->attachTo ,$_el1c); $_el1c=_eO3("\173\144elay\124\151me}",$this->delayTime ,$_el1c); $_el1c=_eO3("\173se\141\162chF\151\154ter\175",$this->searchFilter ,$_el1c); $_el1c=_eO3("\173hig\150\114igh\164\175",($this->highLight) ? "tr\165\145": "\146\141lse",$_el1c); $_el1c=_eO3("\173\142oxW\151\144th}",$this->boxWidth ,$_el1c); $_el1c=_eO3("\173bo\170\110eig\150\164}",$this->boxHeight ,$_el1c); $_el1c=_eO3("\173\155\151nBox\110\145igh\164\175",$this->minBoxHeight ,$_el1c); $_el1c=_eO3("\173\155axBo\170\110eig\150\164}",$this->maxBoxHeight ,$_el1c); $_el1c=_eO3("\173\150\157rizo\156\164al\117\146fse\164\175",$this->horizontalOffset ,$_el1c); $_el1c=_eO3("\173\166erti\143\141lOf\146\163et\175",$this->verticalOffset ,$_el1c); $_el1c=_eO3("\173op\145\156Dir\145\143tio\156\175",$this->openDirection ,$_el1c); $_el1c=_eO3("\173a\154\151gn}",$this->align ,$_el1c); $_el1c=_eO3("\173servi\143\145Fun\143\164io\156\175",$this->serviceFunction ,$_el1c); $_el1c=_eO3("\173s\145\162vic\145\120age\175",$this->servicePage ,$_el1c); $_el1c=_eO3("\173re\147\151ste\162\137sc\162\151pt}",$_eO1p,$_el1c); return $_el1c; } function _eO1o() { if ($this->scriptFolder == "") { $_el7=_eO5(); $_el1q=substr(_eO3("\134","/",__FILE__),strlen($_el7)); return $_el1q; } else { $_el1q=_eO3("\134","\057",__FILE__); $_el1q=$this->scriptFolder.substr($_el1q,strrpos($_el1q,"/")); return $_el1q; } } function _el1o() { $_eO1q=$this->_eO1o(); $_el1r=_eO3(strrchr($_eO1q,"\057"),"",$_eO1q)."/st\171\154es"; return $_el1r; } } } ?>
function _elh($_eOm)
{
    $_eln = _eOc(044);
    $_eOn = _eOc(072);
    return array($_eOm => _ele($_eOm . $_eOn . $_eOn . $_eln . $_eOm));
}