/*
 * Lightbox use jQuery library - Require $ 1.2+
 * @Author:		Hien Nguyen <hiennghoang@gmail.com> | Tuyen Cao <caokimtuyen@yahoo.com>
 * @Version:	1.0.4

Usage: 	caobox.show('boxID', 'overlayColor', 'overlayOpacity', 'overlayDisable', 'leftPosition', 'topPosition')
Exp:	caobox.show('testID', '000', '50', '', '10', '10')
Arguments:
	divID : [char] Div’s id
	overlayColor : [hex number] Used to define the overlay background color.  ‘000‘ (black) is default
	overlayOpacity : [int 0~100] Used to define the overlay opacity. ‘50‘ is default.
	overlayDisable : ['false'] Used to disable click on overlay to close popup. null is default
	leftPosition : [int] The padding CSS information used in the left position of image box. null mean center is default. [int]<0 is padding-right position
	topPosition : [int] The padding CSS information used in the top position of image box. null mean middle is default. [int]<0 is padding-bottom position
*/

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}('8 m={X:1I,f:"#f",6:"#6",k:"",t:"#1a",q:"1J",1b:d(L,t,q,1c,M,D){5(t)4.t="#"+t;5(q)4.q=q;$(\'j\').1K(\'<u Y="6"></u><u Y="f"></u>\');$(\'#6, #f\').7({\'1d\':\'1e\',\'1L\':\'1M\'});$(\'#6\').7({\'1f\':\'1N\',\'l\':\'1O\',\'1P\':\'Z\'});$(\'#f\').7({\'1f\':\'1Q\',\'N\':\'0\',\'O\':\'0\',\'1R\':\'\'+4.t+\'\',\'1g\':\'.\'+4.q+\'\',\'1S\':\'1T(1g=\'+4.q+\')\'}).1h(d(){5(1c)E 1i;b m.10()});4.k=\'#\'+L;$(\'F, 11, P\').7(\'12\',\'Z\');8 v=$(4.k).1U();5(L)8 1j=v.1V(v.13-3,v.13);5(1j=="1W"){8 1k=\'<F l="1X" w="1Y" 1l="1Z/x-21-22" 23="\'+v+\'&24=3&25=14">\'+\'<15 Q="1i" 16="26"/>\'+\'<15 Q="27" 16="28"/>\'+\'<15 Q="\'+v+\'" 16="29"/></F>\';8 1m="<u Y="+L+">"+1k+"</u>";$(4.6).2a(1m)}b{$(4.k).2b().2c($(4.6))}$(4.k).1b();$(4.6).1n(\'2d\',d(){});8 h=y.R((e(3)-$(4.6).l())/2);5(M){G=M;5(M>0)$(4.6).7({N:G+"g"});b $(4.6).7({2e:y.1o(G)+"g"})}b{G=y.R((e(2)-$(4.6).w())/2);$(4.6).7({N:G+"g"})}5(D){5(D>0){h=D;$(4.6).7({O:h+"g"})}b{h=y.1o(D);$(4.6).7({2f:h+"g"})}}b{5(h<0)h=20;$(4.6).7({O:h+"g"})}m.1p();m.1q();o.2g(0,0);o.2h=m.1r},10:d(){$(4.k).1s();$(4.f).1t(4.X);$(4.6).1t(4.X,d(){$(\'F, 11, P\').7(\'12\',\'\');$(\'#f, #6\').1s()})},1p:d(){8 H=e(1);8 S=e(0);5(S<T)S=T;5($(4.k).l()>e(1))H=1u($(4.k).l())+2i;$(4.f).7({w:S+\'g\'});$(4.f).7({l:H+\'g\'});$(4.f).1n(\'2j\')},1r:d(){5($(4.k).l()>e(1)){8 H=1u($(4.k).l());8 r=H}b{5(e(1)>e(3)){8 r=e(1)}b{8 r=e(3)}};5(e(0)<T)$(\'#f\').7({w:T+"g"});b $(\'#f\').7({w:e(0)+"g"});$(\'#f\').7({l:r+\'g\'});$(\'#6\').7({N:y.R((e(2)-$(\'#6\').w())/2)+"g"});8 h=y.R((e(3)-$(4.6).l())/2);5(h<0)h=20;$(4.6).7({O:h+"g"})},1v:d(){$("#6").1w(\'F, 11, P\').7({\'12\':\'2k\'});$("#6").1w(\'2l[@1l!=Z], a, P, 2m\').2n(\'1x\');E $(\'.1x\')},1q:d(){8 i=0;8 z=0;8 n=m.1v();8 I=n.13;5(I>0){2o(8 J=0;J<I-1;J++){$(n[J]).2p(\'1y\',J+1)}5(n[0].2q.1d==\'1e\')n[1].K();b n[0].K();n.K(d(){z=4.2r(\'1y\')});$("#6").2s(d(U){5(U.2t){5(U.1z==9){5(i!=z)i=z;i--;5(i==0){i=I-1;n[i].K();E 14}}}b{5(U.1z==9){5(i!=z)i=z;5(i==I-1){i=0;n[0].K();E 14}b{i++}}}})}},2u:d(){$(4.f).2v(\'1h\')},1A:d(){$(c).2w(d(){$(\'.m-1B\').10();$(\'j\').7({\'2x\':\'0\',\'2y\':\'0\'});$(\'2z.m-1B\').7({\'2A\':\'2B 2C #1a\'})})}};m.1A({});d e(1C){8 A,B,Q;5(o.V&&o.1D){A=o.1E+o.2D;B=o.V+o.1D}b 5(c.j.1F>c.j.1G){A=c.j.2E;B=c.j.1F}b{A=c.j.2F;B=c.j.1G}8 p,s;5(17.V){5(c.C.W){p=c.C.W}b{p=17.1E}s=17.V}b 5(c.C&&c.C.18){p=c.C.W;s=c.C.18}b 5(c.j){p=c.j.W;s=c.j.18}5(B<s){r=s}b{r=B}5(A<p){19=A}b{19=p}1H=2G 2H(19,r,p,s);E 1H[1C]};',62,168,'||||this|if|light|css|var|||else|document|function|getDocumentSize|fade|px|_top||body|boxID|height|caobox|allFocusElement|window|windowWidth|overlayOpacity|pageHeight|windowHeight|overlayBgColor|div|inner_boxID|width||Math|cntElement|xScroll|yScroll|documentElement|topPosition|return|object|_left|_height|len|temJ|focus|boxId|leftPosition|left|top|select|value|round|_width|974|event|innerHeight|clientWidth|fadeEffectDuration|id|hidden|hide|embed|visibility|length|false|param|name|self|clientHeight|pageWidth|000|show|overlayDisable|display|none|zIndex|opacity|click|true|filetype|embedFLV|type|full_boxID|fadeIn|abs|showAlertLayer|setFocusElement|resizeLayers|remove|fadeOut|parseInt|findFucusElement|find|setFocusAble|rel|keyCode|init|popup|val|scrollMaxY|innerWidth|scrollHeight|offsetHeight|arrayPageSize|900|50|prepend|position|absolute|10002|auto|overflow|10001|backgroundColor|filter|alpha|html|substring|flv|400|420|application||shockwave|flash|data|bufferTime|autoStart|allowfullscreen|high|quality|src|append|clone|appendTo|fast|right|bottom|scrollTo|onresize|65|normal|visible|input|textarea|addClass|for|attr|style|getAttribute|keydown|shiftKey|unbindClickFace|unbind|ready|margin|padding|img|border|5px|solid|scrollMaxX|scrollWidth|offsetWidth|new|Array'.split('|'),0,{}))
