/*********** jquery.selectbox.js **************/
/*
 * $ selectbox plugin
 *
 * Copyright (c) 2007 Sadri Sahraoui (brainfault.com)
 * Licensed under the GPL license and MIT:
 *   http://www.opensource.org/licenses/GPL-license.php
 *   http://www.opensource.org/licenses/mit-license.php
 *
 * The code is inspired from Autocomplete plugin (http://www.dyve.net/$/?autocomplete)
 *
 * Revision: $Id$
 * Version: 0.5
 * 
 * Changelog :
 *  Version 0.5 
 *  - separate css style for current selected element and hover element which solve the highlight issue 
 *  Version 0.4
 *  - Fix width when the select is in a hidden div   @Pawel Maziarz
 *  - Add a unique id for generated li to avoid conflict with other selects and empty values @Pawel Maziarz
 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$.1b.1c({A:2(b){c a.L(2(){M $.N(a,b)})}});d(!1d.O){3 O={1e:2(1f){}}}$.N=2(B,b){3 4=b||{};4.C=4.C||"A";4.D=4.D||"A-1g";4.f=4.f||"1h";4.l=4.1i||"P";3 t=B.h;3 i=-1;3 E=1j;3 q=0;3 $m=$(B);3 $5=Q(4);3 $6=R(4);$m.F().S($6).S($5);T();$6.n(2(e){$(a).g().n().U();e.G()});$(\'1k\').n(2(e){u()});$6.g().n(2(){d(!E){$5.1l()}}).U(2(e){d($5.1m(\':V\')){E=W;$5.1n();e.G()}}).1o(2(8){1p(8.1q){v 1r:8.H();I(-1);w;v 1s:8.H();I(1);w;v 13:8.H();$(\'7.\'+4.f).1t(\'n\');w;v 1u:u();w}}).1v(2(e){d($5.X(\':V\')&&q>0){}Y{e.G()}});2 u(){q=0;$5.F()}2 T(){$5.Z(10($6.g().9(\'h\'))).F();3 x=$6.g().1w(\'x\');$5.x(x)}2 Q(b){3 5=r.s("1x");$5=$(5);$5.9(\'h\',t+\'1y\');$5.j(b.D);c $5}2 R(b){3 6=r.s("6");3 $6=$(6);$6.9("h",t+"1z");$6.9("1A","y");$6.j(b.C);$6.9("1B","1C");$6.9("11","11");$6.9("1D",$m.9("1E"));3 k=r.s("1F");3 $k=$(k);$k.9("h",t+"1G");$k.j(\'1H\');$k.Z($6);c $k}2 I(12){3 o=$("7",$5);d(!o)c;i+=12;d(i<0){i=0}Y d(i>=o.14()){i=o.14()-1}o.J(4.f);$(o[i]).j(4.f)}2 15(){3 7=$("7."+4.l,$5).16(0);3 K=(\'\'+7.h).1I(\'17\');3 18=K[K.1J-1];$m.p(18);$6.g().p($(7).y());c W}2 1K(){c $m.p()}2 1L(){c $6.g().p()}2 10(19){3 1M=M 1N();3 z=r.s(\'z\');$m.g(\'1O\').L(2(){3 7=r.s(\'7\');7.1P(\'h\',19+\'17\'+$(a).p());7.1Q=$(a).y();7.1R=$(a).9(\'1S\');d($(a).X(\':P\')){$6.g().p($(a).y());$(7).j(4.l)}z.1T(7);$(7).1U(2(8){q=1;$(8.1a,$5).j(4.f)}).1V(2(8){q=-1;$(8.1a,$5).J(4.f)}).n(2(8){3 1W=$(\'7.\'+4.f,$5).16(0);$(\'7.\'+4.l).J(4.l);$(a).j(4.l);15();u()})});c z}};',62,121,'||function|var|opt|container|input|li|event|attr|this|options|return|if||hoverClass|children|id|active|addClass|cSpan|currentClass|select|click|lis|val|hasfocus|document|createElement|elm_id|hideMe|case|break|width|text|ul|selectbox|selectobj|inputClass|containerClass|inFocus|hide|stopPropagation|preventDefault|moveSelect|removeClass|ar|each|new|SelectBox|console|selected|setupContainer|setupInput|before|init|focus|visible|true|is|else|append|getSelectOptions|readonly|step||size|setCurrent|get|_|el|parentid|target|fn|extend|window|log|msg|wrapper|current|selectedClass|false|body|toggle|not|show|keydown|switch|keyCode|38|40|trigger|27|blur|css|div|_container|_input|type|autocomplete|off|tabIndex|tabindex|span|_wrapping|wrapping|split|length|getCurrentSelected|getCurrentValue|select_options|Array|option|setAttribute|innerHTML|className|class|appendChild|mouseover|mouseout|fl'.split('|'),0,{}))

