/**
 * Copyright (c) 2009 Anders Ekdahl (http://coffeescripter.com/)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * Version: 1.3.2
 *
 * Demo and documentation: http://coffeescripter.com/code/editable-select/
 */
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}('(3($){5 g=[];$.1f.1H=3(a){5 b={m:k,12:k,14:10,15:k};5 c=$.1I(b,a);6(c.m&&!$.1J.1K){c.m=k};5 d=k;$(1).P(3(){5 i=g.r;6($(1).v(\'n-w\')!==1g){g[i]=1L h(1,c);$(1).v(\'n-w\',i)}});p $(1)};$.1f.1M=3(){5 a=[];$(1).P(3(){6($(1).v(\'n-w\')!==1g){a[a.r]=g[$(1).v(\'n-w\')]}});p a};5 h=3(a,b){1.1h(a,b)};h.1N={o:k,8:k,j:k,1O:0,7:k,16:20,E:0,Q:k,1P:k,m:k,F:\'\',1h:3(a,b){1.o=b;1.7=$(G.1i(\'1Q\'));1.7.R(\'n-j-1R\');1.j=$(a);1.8=$(\'<1S 1T="8">\');1.8.t(\'1j\',1.j.t(\'1j\'));1.8.v(\'n-w\',1.j.v(\'n-w\'));1.j.t(\'1k\',\'1k\');1.8[0].1l=1.j[0].1l;5 c=1.j.t(\'17\');6(!c){c=\'n-j\'+g.r};1.8.t(\'17\',c);1.8.t(\'1U\',\'1V\');1.8.R(\'n-j\');1.j.t(\'17\',c+\'1W\');1.j.1X(1.8);6(1.j.l(\'1m\')==\'1n\'){1.8.l(\'1m\',\'1n\')}6(1.j.l(\'A\')==\'18\'){1.8.l(\'A\',\'A\')}1.j.l(\'A\',\'18\');1.j.H();1.1o(1.8);1.1p();1.S();$(G.19).B(1.7);6(1.o.m){1.1q()}},1p:3(){5 b=1;5 c=$(G.1i(\'1r\'));1.7.B(c);5 d=1.j.u(\'1a\');d.P(3(){6($(1).t(\'x\')){b.8.s($(1).s());b.F=$(1).s()};5 a=$(\'<q>\'+$(1).s()+\'</q>\');b.1b(a);c.B(a)});1.1c()},1c:3(){5 a=1.7.u(\'q\');6(a.r>1.o.14){1.E=1.16*1.o.14;1.7.l(\'T\',1.E+\'U\');1.7.l(\'1s\',\'1t\')}I{1.7.l(\'T\',\'1t\');1.7.l(\'1s\',\'1u\')}},1Y:3(a){5 b=$(\'<q>\'+a+\'</q>\');5 c=$(\'<1a>\'+a+\'</1a>\');1.j.B(c);1.1b(b);1.7.u(\'1r\').B(b);1.S();1.1c()},1o:3(a){5 b=1;5 c=k;$(G.19).1v(3(){b.y();b.J()});a.1Z(3(){b.V();b.K()}).1v(3(e){e.1w();b.V();b.K()}).21(3(e){22(e.1x){L 23:6(!b.1y()){b.V();b.K()}I{e.M();b.1d(\'1z\')};W;L 24:e.M();b.1d(\'25\');W;L 9:b.X(b.N());W;L 27:e.M();b.J();p k;W;L 13:e.M();b.X(b.N());p k}}).26(3(e){6(c!==k){28(c);c=k};c=29(3(){6(b.8.s()!=b.F){b.F=b.8.s();b.K()}},2a)}).2b(3(e){6(e.1x==13){e.M();p k}})},1b:3(a){5 b=1;a.2c(3(){b.y();b.O(a)}).2d(3(e){e.1w();b.X(b.N())})},1d:3(a){5 b=1.N();6(!b.r){b=1.Y()};6(a==\'1z\'){5 c=b.2e()}I{5 c=b.2f()};6(c.r){1.O(c);1.Z(c);1.1A(b)}},O:3(a){1.y();a.R(\'x\')},Y:3(){1.y();5 a=1.7.u(\'q:2g\');a.R(\'x\');p a},1A:3(a){a.1B(\'x\')},N:3(){p 1.7.u(\'q.x\')},y:3(){1.7.u(\'q.x\').1B(\'x\')},X:3(a){6(a.r){1.8.s(a.8());1.F=1.8.s()};6(2h 1.o.12==\'3\'){1.o.12.2i(1,a)};1.J()},1y:3(){p 1.Q},V:3(){1.1C();1.S();1.7.11();1.1D();1.Q=1E;6(1.o.m){1.m.11()}},K:3(){5 b=1;5 c=1.8.s();6(c.r<0){6(2j){1.Y()};p};6(!b.o.15){c=c.1F()};5 d=k;5 e=k;5 f=1.7.u(\'q\');f.P(3(){6(!e){5 a=$(1).8();6(!b.o.15){a=a.1F()};6(a==c){e=1E;b.y();b.O($(1));b.Z($(1));p k}I 6(a.2k(c)===0&&!d){d=$(1)}}});6(d&&!e){b.y();b.O(d);b.Z(d)}I 6(!d&&!e){1.Y()}},Z:3(a){6(1.E){1.7.2l(a[0].2m-(1.E/2))}},J:3(){1.7.H();1.Q=k;6(1.o.m){1.m.H()}},1D:3(){2n(5 i=0;i<g.r;i++){6(i!=1.j.v(\'n-w\')){g[i].J()}}},1C:3(){5 a=1.8.2o();a={z:a.z,C:a.C};a.z+=1.8[0].1G;1.7.l({z:a.z+\'U\',C:a.C+\'U\'});1.7.l(\'A\',\'18\');1.7.11();1.16=1.7.u(\'q\')[0].1G;1.7.l(\'A\',\'1u\');1.7.H()},S:3(){1.j.11();5 a=1.j.D()+2;1.j.H();5 b=2p(1.8.l(\'2q-2r\').2s(/U/,\'\'),10);1.8.D(a-b);1.7.D(a+2);6(1.m){1.m.D(a+4)}},1q:3(){5 a=$(\'<1e 2t="0" 2u="n-j-1e" 2v="2w:2x;"></1e>\');$(G.19).B(a);a.D(1.j.D()+2);a.T(1.7.T());a.l({z:1.7.l(\'z\'),C:1.7.l(\'C\')});1.m=a}}})(2y);',62,159,'|this||function||var|if|wrapper|text|||||||||||select|false|css|bg_iframe|editable|settings|return|li|length|val|attr|find|data|selecter|selected|clearSelectedListItem|top|visibility|append|left|width|list_height|current_value|document|hide|else|hideList|highlightSelected|case|preventDefault|selectedListItem|selectListItem|each|list_is_visible|addClass|setWidths|height|px|showList|break|pickListItem|selectFirstListItem|scrollToListItem||show|onSelect||items_then_scroll|case_sensitive|list_item_height|id|hidden|body|option|initListItemEvents|checkScroll|selectNewListItem|iframe|fn|null|init|createElement|name|disabled|className|display|none|initInputEvents|duplicateOptions|createBackgroundIframe|ul|overflow|auto|visible|click|stopPropagation|keyCode|listIsVisible|down|unselectListItem|removeClass|positionElements|hideOtherLists|true|toLowerCase|offsetHeight|editableSelect|extend|browser|msie|new|editableSelectInstances|prototype|select_width|hide_on_blur_timeout|div|options|input|type|autocomplete|off|_hidden_select|after|addOption|focus||keydown|switch|40|38|up|keyup||clearTimeout|setTimeout|200|keypress|mouseover|mousedown|next|prev|first|typeof|call|highlight_first|indexOf|scrollTop|offsetTop|for|offset|parseInt|padding|right|replace|frameborder|class|src|about|blank|jQuery'.split('|'),0,{}))
