From cb5fc1a49b8e6f0eb3c0312836cd29e5720813a8 Mon Sep 17 00:00:00 2001 From: zaigham Date: Sun, 21 Nov 2010 06:39:23 +0500 Subject: [PATCH 1/2] [#23] Updated QM+ to latest 1.5.3-GA --- assets/plugins/qm/.htaccess | 4 - assets/plugins/qm/close.php | 46 - assets/plugins/qm/css/ie.css | 14 +- assets/plugins/qm/css/ie7.css | 17 +- assets/plugins/qm/css/images/Thumbs.db | Bin 12288 -> 0 bytes assets/plugins/qm/css/images/input-bg.gif | Bin 0 -> 67 bytes assets/plugins/qm/css/images/stop.png | Bin 0 -> 700 bytes assets/plugins/qm/css/style.css | 228 +++- assets/plugins/qm/images/button-gradient.png | Bin 253 -> 0 bytes assets/plugins/qm/images/tinylogo.png | Bin 689 -> 0 bytes assets/plugins/qm/js/jquery.colorbox-min.js | 6 +- assets/plugins/qm/mcc.class.php | 18 +- assets/plugins/qm/qm.inc.php | 1017 +++++++++++++----- assets/plugins/qm/qm.plugin.txt | 13 - assets/plugins/qm/readme.html | 553 ++++++++-- 15 files changed, 1434 insertions(+), 482 deletions(-) delete mode 100644 assets/plugins/qm/.htaccess delete mode 100755 assets/plugins/qm/close.php delete mode 100755 assets/plugins/qm/css/images/Thumbs.db create mode 100644 assets/plugins/qm/css/images/input-bg.gif create mode 100644 assets/plugins/qm/css/images/stop.png delete mode 100755 assets/plugins/qm/images/button-gradient.png delete mode 100755 assets/plugins/qm/images/tinylogo.png delete mode 100755 assets/plugins/qm/qm.plugin.txt diff --git a/assets/plugins/qm/.htaccess b/assets/plugins/qm/.htaccess deleted file mode 100644 index d8038db1da..0000000000 --- a/assets/plugins/qm/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -# Restrict direct access to script file types and templates - -Allow from all - \ No newline at end of file diff --git a/assets/plugins/qm/close.php b/assets/plugins/qm/close.php deleted file mode 100755 index 5bc45346b6..0000000000 --- a/assets/plugins/qm/close.php +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - -HTML; - -?> \ No newline at end of file diff --git a/assets/plugins/qm/css/ie.css b/assets/plugins/qm/css/ie.css index 001055f295..e99813de24 100755 --- a/assets/plugins/qm/css/ie.css +++ b/assets/plugins/qm/css/ie.css @@ -1,4 +1,16 @@ #qmEditor, #qmEditorClosed { - padding: 3px 3px 1px 3px; + padding: 5px 3px 1px 0px; +} + +#qmEditor li +{ + margin-top: -2px; +} + +#qmEditor #qmClose +{ + padding: 7px 5px 4px 7px; + margin-bottom: 3px; + margin-top: -1px; } \ No newline at end of file diff --git a/assets/plugins/qm/css/ie7.css b/assets/plugins/qm/css/ie7.css index 9835f71ecb..f2ec773ebd 100644 --- a/assets/plugins/qm/css/ie7.css +++ b/assets/plugins/qm/css/ie7.css @@ -1,4 +1,17 @@ #qmEditor, #qmEditorClosed { - padding: 2px 3px 3px 3px !important; -} \ No newline at end of file + padding: 3px 3px 1px 3px; + +} + +#qmEditor #qmClose +{ + padding: 6px 4px 5px 6px; + margin-bottom: 2px; + margin-top: -1px; +} + +#qmEditor li +{ + margin-top: -1px; +} diff --git a/assets/plugins/qm/css/images/Thumbs.db b/assets/plugins/qm/css/images/Thumbs.db deleted file mode 100755 index 508431a77a62a7132e6811845689ea5be2b7de6d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI22|Scr|G=Ly!&t^L%vg&Sm9i9B3W;QyRI(I83<+UmiDXGirBK!qsbr}nDN#`< zA>HgtAxoAn>e6D#Ht+8t_x9e;{olXp{k-p6ub=tO88hcR=Q+>$o!|1Dr=pzLdND(= z4f&I(AXsFA&Vn#~@jV7Uqf81Hf-t}blnFYWKJ_Jnz{gqnfv&(foGTtCj||`dMgX02 zW`Gl50ayVxfB>)q8~{xJo2n`OcMWFn8xCQ>O!tqLGiWkdMG94R5Sgjs zo8Qs?QJaV!Zl?XCYbFUboFM856|OoJafDg0o%-sl-nqa6f9?3^Ko6%r8*;QjPX(Qm zFV{b66HpuQf31JiHcZ=qFV{b6M^GEU2k-*|fFK|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input-bg.gif new file mode 100644 index 0000000000000000000000000000000000000000..cbbbd18ba62673ec1b56cecdf4b3c497350d4cee GIT binary patch literal 67 zcmZ?wbhEHbWMmLxSj52a|NsBLfB*jZ^XJ#EUq65T{Qmv>*RNmSym_PelZ8cu;Xi{8 W0}z1JGB9&gq`7=jI5m@j!5RR~E+6;+ literal 0 HcmV?d00001 diff --git a/assets/plugins/qm/css/images/stop.png b/assets/plugins/qm/css/images/stop.png new file mode 100644 index 0000000000000000000000000000000000000000..0cfd585963d255190b8855a7689e8da1c4d7cf6b GIT binary patch literal 700 zcmV;t0z>_YP)*?Fk0YVb%?UEFajs1S?+YtYiPrjx0+ z+4YbyJXwz!SX#yqTlhtNQ%Ku9=RNm$j)&+(}lZ!UGGp|@|O z09YA#-dR#rIaGe;MBLe!ht*}!c?U}6YT!dfHDO%~>xtx&Klk-^WB==sC_vP4ddg4L z#GN10u$+QGf$!(i3&8VpF6O6+ef~&gQ#>AVqCJH_utvKMAuOeG%3%mn<<%9)yb~#4 zHc70e5sYyQ03$?zFUko7D1Bg1=6jXvg#bUm1b(pVKuC*}koEKGdj<=zdM#RWsl+kfRf;OU^G_BQh+Fc$z&F_AHuQYu(b)aq=H_Fx idDl8IBmWBc*Z2i=4uSP&;Q8VJ0000p #qmEditor */ margin: 0; - padding: 7px 10px 0px 0px; - line-height: 1; + padding: 0px 10px 0px 0px; + list-style-type: none; } #qmEditor li -{ /* .actionButtons --> #qmEditor */ - display: inline; - list-style-type: none; - margin-right: 6px; - margin-top: 6px; +{ /* .actionButtons --> #qmEditor */ + margin-right: 8px; + float: left; + height: 15px; + line-height: 15px; padding: 0; - text-transform: none; } -#qmEditor .qmButton +#qmEditor .qmButton, .qm-edit, .qm-new, .qm-tv, .qm-save, .qm-cancel { color: #3b454f; font-weight: bold; font-size: 12px; background: #c7ced2 url(images/button-gradient.png) repeat-x 0px -6px; - padding: 4px 6px; + padding: 4px 6px; white-space: nowrap; - vertical-align: top; text-decoration: none; -moz-border-radius: 4px; -webkit-border-radius: 4px; @@ -124,14 +291,7 @@ outline: none; } -#qmEditor .qmButton img -{ - vertical-align: top; - margin-top: -2px; - border: 0; -} - -#qmEditor .qmButton:hover +#qmEditor .qmButton:hover, .qm-edit:hover, .qm-new:hover, .qm-tv:hover, .qm-save:hover, .qm-cancel:hover { background-position: bottom left; -webkit-box-shadow: 0 0 10px #b8c7d6; @@ -147,4 +307,4 @@ -webkit-box-shadow: 0 0 10px #b8c7d6; -moz-box-shadow: 0 0 10px #b8c7d6; box-shadow: 0 0 10px #b8c7d6; -} \ No newline at end of file +} diff --git a/assets/plugins/qm/images/button-gradient.png b/assets/plugins/qm/images/button-gradient.png deleted file mode 100755 index 9737cd2e8ad06bcc2129b068753cbf3af79dda54..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 253 zcmVwltz7W0lIO&|j$>TWiocq3G3?VQY#u$m1QX=B430v)!t*(M`{wG8s1WrmRF)F1n zYORTAj3J`6_P>xm3VnUct1R!iYy#(e*}gZzTYv!oD4|iWLp9O800000NkvXXu0mjf D%iv@b diff --git a/assets/plugins/qm/images/tinylogo.png b/assets/plugins/qm/images/tinylogo.png deleted file mode 100755 index 11a4f4b3babcf42b8c64588e7349c48de9cb8f11..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 689 zcmV;i0#5yjP)m-{CdqX@)EC)k(w zAr{#F>HEHJJDir7Ry3`CS}p$WZd*=^Z*wLfr)izB6nux^6-+#>5qk=1u>77%f`q?Q zkXV!bP7}x(ek#xse%w?tz5!CKf!PAGq!EDt1_ak?0*C=p0V2bD+%oe170|ocmWp@) zQk7`{D6m(P*Oc!Cl`FBA0Qg3rV!*d9H4+hxNbI!$8Vy>=iEeU046NEIU>a8-^qdQ< z(w0s5UI10Is?lSavFbSiq2kU~zyyG<7dlyvO5dIZ37*u}9DK^2bBcVYk(u0O2ywh(%ghk*Pi`x9UQ Xod{wEPo+^e00000NkvXXu0mjfL9#Q3 diff --git a/assets/plugins/qm/js/jquery.colorbox-min.js b/assets/plugins/qm/js/jquery.colorbox-min.js index 73f18fa054..3a3a7c7fb0 100644 --- a/assets/plugins/qm/js/jquery.colorbox-min.js +++ b/assets/plugins/qm/js/jquery.colorbox-min.js @@ -1,2 +1,4 @@ -/* ColorBox v1.3.6 - a full featured, light-weight, customizable lightbox based on jQuery 1.3 */ -(function(c){function r(b,d){d=d==="x"?m.width():m.height();return typeof b==="string"?Math.round(b.match(/%/)?d/100*parseInt(b,10):parseInt(b,10)):b}function M(b){b=c.isFunction(b)?b.call(i):b;return a.photo||b.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}function Y(){for(var b in a)if(c.isFunction(a[b])&&b.substring(0,2)!=="on")a[b]=a[b].call(i);a.rel=a.rel||i.rel;a.href=a.href||i.href;a.title=a.title||i.title}function Z(b){i=b;a=c(i).data(q);Y();if(a.rel&&a.rel!=="nofollow"){g= c(".cboxElement").filter(function(){return(c(this).data(q).rel||this.rel)===a.rel});j=g.index(i);if(j<0){g=g.add(i);j=g.length-1}}else{g=c(i);j=0}if(!B){C=B=n;N=i;N.blur();c(document).bind("keydown.cbox_close",function(d){if(d.keyCode===27){d.preventDefault();e.close()}}).bind("keydown.cbox_arrows",function(d){if(g.length>1)if(d.keyCode===37){d.preventDefault();D.click()}else if(d.keyCode===39){d.preventDefault();E.click()}});a.overlayClose&&s.css({cursor:"pointer"}).one("click",e.close);c.event.trigger(aa); a.onOpen&&a.onOpen.call(i);s.css({opacity:a.opacity}).show();a.w=r(a.initialWidth,"x");a.h=r(a.initialHeight,"y");e.position(0);O&&m.bind("resize.cboxie6 scroll.cboxie6",function(){s.css({width:m.width(),height:m.height(),top:m.scrollTop(),left:m.scrollLeft()})}).trigger("scroll.cboxie6")}P.add(D).add(E).add(t).add(Q).hide();R.html(a.close).show();e.slideshow();e.load()}var q="colorbox",F="hover",n=true,e,x=!c.support.opacity,O=x&&!window.XMLHttpRequest,aa="cbox_open",H="cbox_load",S="cbox_complete", T="resize.cbox_resize",s,k,u,p,U,V,W,X,g,m,l,I,J,K,Q,P,t,E,D,R,y,z,v,w,i,N,j,a,B,C,$={transition:"elastic",speed:350,width:false,height:false,innerWidth:false,innerHeight:false,initialWidth:"400",initialHeight:"400",maxWidth:false,maxHeight:false,scalePhotos:n,scrolling:n,inline:false,html:false,iframe:false,photo:false,href:false,title:false,rel:false,opacity:0.9,preloading:n,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:false,overlayClose:n,slideshow:false, slideshowAuto:n,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:false,onLoad:false,onComplete:false,onCleanup:false,onClosed:false};e=c.fn.colorbox=function(b,d){var h=this;if(!h.length)if(h.selector===""){h=c("");b.open=n}else return this;h.each(function(){var f=c.extend({},c(this).data(q)?c(this).data(q):$,b);c(this).data(q,f).addClass("cboxElement");if(d)c(this).data(q).onComplete=d});b&&b.open&&Z(h);return this};e.init=function(){function b(d){return c('
')}m=c(window);k=c('
');s=b("Overlay").hide();u=b("Wrapper");p=b("Content").append(l=b("LoadedContent").css({width:0,height:0}),J=b("LoadingOverlay"),K=b("LoadingGraphic"),Q=b("Title"),P=b("Current"),t=b("Slideshow"),E=b("Next"),D=b("Previous"),R=b("Close"));u.append(c("
").append(b("TopLeft"),U=b("TopCenter"),b("TopRight")),c("
").append(V=b("MiddleLeft"),p,W=b("MiddleRight")),c("
").append(b("BottomLeft"),X=b("BottomCenter"),b("BottomRight"))).children().children().css({"float":"left"}); I=c("
");c("body").prepend(s,k.append(u,I));if(x){k.addClass("cboxIE");O&&s.css("position","absolute")}p.children().bind("mouseover mouseout",function(){c(this).toggleClass(F)}).addClass(F);y=U.height()+X.height()+p.outerHeight(n)-p.height();z=V.width()+W.width()+p.outerWidth(n)-p.width();v=l.outerHeight(n);w=l.outerWidth(n);k.css({"padding-bottom":y,"padding-right":z}).hide();E.click(e.next);D.click(e.prev);R.click(e.close);p.children().removeClass(F); c(".cboxElement").live("click",function(d){if(d.button!==0&&typeof d.button!=="undefined")return n;else{Z(this);return false}})};e.position=function(b,d){function h(A){U[0].style.width=X[0].style.width=p[0].style.width=A.style.width;K[0].style.height=J[0].style.height=p[0].style.height=V[0].style.height=W[0].style.height=A.style.height}var f=m.height();f=Math.max(f-a.h-v-y,0)/2+m.scrollTop();var o=Math.max(document.documentElement.clientWidth-a.w-w-z,0)/2+m.scrollLeft();b=k.width()===a.w+w&&k.height()=== a.h+v?0:b;u[0].style.width=u[0].style.height="9999px";k.dequeue().animate({width:a.w+w,height:a.h+v,top:f,left:o},{duration:b,complete:function(){h(this);C=false;u[0].style.width=a.w+w+z+"px";u[0].style.height=a.h+v+y+"px";d&&d()},step:function(){h(this)}})};e.resize=function(b){function d(){a.w=a.w||l.width();a.w=a.mw&&a.mw");l.show();Q.show().html(a.title);if(g.length>1){P.html(a.current.replace(/\{current\}/,j+1).replace(/\{total\}/,g.length)).show();E.html(a.next).show();D.html(a.previous).show();a.slideshow&&t.show()}J.hide();K.hide();c.event.trigger(S);a.onComplete&&a.onComplete.call(i);a.transition==="fade"&&k.fadeTo(L,1,function(){x&&k[0].style.removeAttribute("filter")}); m.bind(T,function(){e.position(0)})}})}if(B){var o,A,L=a.transition==="none"?0:a.speed;m.unbind(T);if(b){l.remove();l=c('
').html(b);l.hide().appendTo(I).css({width:d(),overflow:a.scrolling?"auto":"hidden"}).css({height:h()}).prependTo(p);c("#cboxPhoto").css({cssFloat:"none"});O&&c("select:not(#colorbox select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("cbox_cleanup",function(){this.style.visibility="inherit"});a.transition=== "fade"&&k.fadeTo(L,0,function(){f(0)})||f(L);if(a.preloading&&g.length>1){b=j>0?g[j-1]:g[g.length-1];o=j").attr("src",o);M(b)&&c("").attr("src",b)}}else setTimeout(function(){var G=l.wrapInner("
").children();a.h=G.height();l.css({height:a.h});G.replaceWith(G.children());e.position(L)},1)}};e.load=function(){var b,d,h,f=e.resize;C=n;i=g[j];a=c(i).data(q);Y();c.event.trigger(H); a.onLoad&&a.onLoad.call(i);a.h=a.height?r(a.height,"y")-v-y:a.innerHeight?r(a.innerHeight,"y"):false;a.w=a.width?r(a.width,"x")-w-z:a.innerWidth?r(a.innerWidth,"x"):false;a.mw=a.w;a.mh=a.h;if(a.maxWidth){a.mw=r(a.maxWidth,"x")-w-z;a.mw=a.w&&a.w').hide().insertBefore(c(b)[0]).bind(H+" cbox_cleanup",function(){c(this).replaceWith(l.children())}); f(c(b))}else if(a.iframe)f(" ");else if(a.html)f(a.html);else if(M(b)){d=new Image;d.onload=function(){var o;d.onload=null;d.id="cboxPhoto";c(d).css({margin:"auto",border:"none",display:"block",cssFloat:"left"});if(a.scalePhotos){h=function(){d.height-=d.height*o;d.width-=d.width*o};if(a.mw&&d.width>a.mw){o=(d.width-a.mw)/d.width;h()}if(a.mh&&d.height>a.mh){o=(d.height-a.mh)/d.height;h()}}if(a.h)d.style.marginTop=Math.max(a.h-d.height,0)/2+"px";f(d);g.length>1&&c(d).css({cursor:"pointer"}).click(e.next); if(x)d.style.msInterpolationMode="bicubic"};d.src=b}else c("
").appendTo(I).load(b,function(o,A){A==="success"?f(this):f(c("

Request unsuccessful.

"))})};e.next=function(){if(!C){j=j0?j-1:g.length-1;e.load()}};e.slideshow=function(){function b(){t.text(a.slideshowStop).bind(S,function(){h=setTimeout(e.next,a.slideshowSpeed)}).bind(H,function(){clearTimeout(h)}).one("click",function(){d();c(this).removeClass(F)});k.removeClass(f+ "off").addClass(f+"on")}var d,h,f="cboxSlideshow_";t.bind("cbox_closed",function(){t.unbind();clearTimeout(h);k.removeClass(f+"off "+f+"on")});d=function(){clearTimeout(h);t.text(a.slideshowStart).unbind(S+" "+H).one("click",function(){b();h=setTimeout(e.next,a.slideshowSpeed);c(this).removeClass(F)});k.removeClass(f+"on").addClass(f+"off")};if(a.slideshow&&g.length>1)a.slideshowAuto?b():d()};e.close=function(){c.event.trigger("cbox_cleanup");a.onCleanup&&a.onCleanup.call(i);B=false;c(document).unbind("keydown.cbox_close keydown.cbox_arrows"); m.unbind(T+" resize.cboxie6 scroll.cboxie6");s.css({cursor:"auto"}).fadeOut("fast");k.stop(n,false).fadeOut("fast",function(){c("#colorbox iframe").attr("src","about:blank");l.remove();k.css({opacity:1});try{N.focus()}catch(b){}c.event.trigger("cbox_closed");a.onClosed&&a.onClosed.call(i)})};e.element=function(){return c(i)};e.settings=$;c(e.init)})(jQuery); \ No newline at end of file +// ColorBox v1.3.9 - a full featured, light-weight, customizable lightbox based on jQuery 1.3 +// c) 2009 Jack Moore - www.colorpowered.com - jack@colorpowered.com +// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php +(function(b,gb){var v="none",t="click",N="LoadedContent",d=false,x="resize.",o="y",u="auto",f=true,M="nofollow",q="on",n="x";function e(a,c){a=a?' id="'+k+a+'"':"";c=c?' style="'+c+'"':"";return b("")}function p(a,b){b=b===n?m.width():m.height();return typeof a==="string"?Math.round(a.match(/%/)?b/100*parseInt(a,10):parseInt(a,10)):a}function Q(c){c=b.isFunction(c)?c.call(h):c;return a.photo||c.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}function cb(){for(var c in a)if(b.isFunction(a[c])&&c.substring(0,2)!==q)a[c]=a[c].call(h);a.rel=a.rel||h.rel||M;a.href=a.href||b(h).attr("href");a.title=a.title||h.title}function db(d){h=d;a=b.extend({},b(h).data(r));cb();if(a.rel!==M){i=b("."+H).filter(function(){return (b(this).data(r).rel||this.rel)===a.rel});g=i.index(h);if(g===-1){i=i.add(h);g=i.length-1}}else{i=b(h);g=0}if(!w){w=F=f;R=h;try{R.blur()}catch(e){}b.event.trigger(hb);a.onOpen&&a.onOpen.call(h);y.css({opacity:+a.opacity,cursor:a.overlayClose?"pointer":u}).show();a.w=p(a.initialWidth,n);a.h=p(a.initialHeight,o);c.position(0);S&&m.bind(x+O+" scroll."+O,function(){y.css({width:m.width(),height:m.height(),top:m.scrollTop(),left:m.scrollLeft()})}).trigger("scroll."+O)}T.add(I).add(J).add(z).add(U).hide();V.html(a.close).show();c.slideshow();c.load()}var eb={transition:"elastic",speed:300,width:d,initialWidth:"600",innerWidth:d,maxWidth:d,height:d,initialHeight:"450",innerHeight:d,maxHeight:d,scalePhotos:f,scrolling:f,inline:d,html:d,iframe:d,photo:d,href:d,title:d,rel:d,opacity:.9,preloading:f,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:d,loop:f,slideshow:d,slideshowAuto:f,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:d,onLoad:d,onComplete:d,onCleanup:d,onClosed:d,overlayClose:f,escKey:f,arrowKey:f},r="colorbox",k="cbox",hb=k+"_open",P=k+"_load",W=k+"_complete",X=k+"_cleanup",fb=k+"_closed",G=b.browser.msie&&!b.support.opacity,S=G&&b.browser.version<7,O=k+"_IE6",y,j,E,s,Y,Z,ab,bb,i,m,l,K,L,U,T,z,J,I,V,C,D,A,B,h,R,g,a,w,F,c,H=k+"Element";c=b.fn[r]=b[r]=function(c,d){var a=this;if(!a[0]&&a.selector)return a;c=c||{};if(d)c.onComplete=d;if(!a[0]||a.selector===undefined){a=b("");c.open=f}a.each(function(){b(this).data(r,b.extend({},b(this).data(r)||eb,c)).addClass(H)});c.open&&db(a[0]);return a};c.init=function(){var h="hover";m=b(gb);j=e().attr({id:r,"class":G?k+"IE":""});y=e("Overlay",S?"position:absolute":"").hide();E=e("Wrapper");s=e("Content").append(l=e(N,"width:0; height:0"),L=e("LoadingOverlay").add(e("LoadingGraphic")),U=e("Title"),T=e("Current"),J=e("Next"),I=e("Previous"),z=e("Slideshow"),V=e("Close"));E.append(e().append(e("TopLeft"),Y=e("TopCenter"),e("TopRight")),e().append(Z=e("MiddleLeft"),s,ab=e("MiddleRight")),e().append(e("BottomLeft"),bb=e("BottomCenter"),e("BottomRight"))).children().children().css({"float":"left"});K=e(d,"position:absolute; width:9999px; visibility:hidden; display:none");b("body").prepend(y,j.append(E,K));s.children().hover(function(){b(this).addClass(h)},function(){b(this).removeClass(h)}).addClass(h);C=Y.height()+bb.height()+s.outerHeight(f)-s.height();D=Z.width()+ab.width()+s.outerWidth(f)-s.width();A=l.outerHeight(f);B=l.outerWidth(f);j.css({"padding-bottom":C,"padding-right":D}).hide();J.click(c.next);I.click(c.prev);V.click(c.close);s.children().removeClass(h);b("."+H).live(t,function(a){if(a.button!==0&&typeof a.button!=="undefined"||a.ctrlKey||a.shiftKey||a.altKey)return f;else{db(this);return d}});y.click(function(){a.overlayClose&&c.close()});b(document).bind("keydown",function(b){if(w&&a.escKey&&b.keyCode===27){b.preventDefault();c.close()}if(w&&a.arrowKey&&!F&&i[1])if(b.keyCode===37&&(g||a.loop)){b.preventDefault();I.click()}else if(b.keyCode===39&&(g
").children();a.h=b.height();b.replaceWith(b.children())}l.css({height:a.h});c.position(a.transition===v?0:a.speed)}};c.prep=function(o){var d="hidden";function n(t){var o,q,s,n,d=i.length,e=a.loop;c.position(t,function(){function t(){G&&j[0].style.removeAttribute("filter")}if(w){G&&p&&l.fadeIn(100);a.iframe&&b("