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 508431a77a..0000000000 Binary files a/assets/plugins/qm/css/images/Thumbs.db and /dev/null differ diff --git a/assets/plugins/qm/css/images/input-bg.gif b/assets/plugins/qm/css/images/input-bg.gif new file mode 100644 index 0000000000..cbbbd18ba6 Binary files /dev/null and b/assets/plugins/qm/css/images/input-bg.gif differ diff --git a/assets/plugins/qm/css/images/stop.png b/assets/plugins/qm/css/images/stop.png new file mode 100644 index 0000000000..0cfd585963 Binary files /dev/null and b/assets/plugins/qm/css/images/stop.png differ diff --git a/assets/plugins/qm/css/style.css b/assets/plugins/qm/css/style.css index 3a29c62994..7d622389c2 100755 --- a/assets/plugins/qm/css/style.css +++ b/assets/plugins/qm/css/style.css @@ -1,14 +1,176 @@ -#qmEditor, #qmEditorClosed, #qmEditor li +/* Edit buttons in content, e.g. for Ditto listings */ + +.qm-edit { - font-family: Helvetica, Arial, sans-serif !important; + display: block; + float: right; + font-family: Helvetica, Arial, sans-serif; + font-size: 12px; + margin: 5px 0 5px 5px; + line-height: 1em; + padding: 0 !important; +} + +.qm-edit a +{ + display: block; + color: #3b454f; + text-decoration: none; + border: none; + line-height: 1em; + padding: 6px 6px; +} + + +/* New document buttons in content */ + +.qm-new, .qm-tv +{ + display: block; + float: right; + font-family: Helvetica, Arial, sans-serif; + font-size: 12px; + margin: 5px 0 5px 5px; + line-height: 1em; + padding: 0 !important; +} + +.qm-new a, .qm-tv a +{ + display: block; + color: #3b454f; + text-decoration: none; + border: none; + padding: 6px 6px; +} + + +/* TV edit form */ + +#qm-tv-body +{ + font-family: Helvetica, Arial, sans-serif; + color: #111; + font-size: 1em; +} + +#qm-tv-tv +{ + font-size: 80%; +} + +.qm-save, .qm-cancel +{ + display: block; + float: right; + font-family: Helvetica, Arial, sans-serif; + font-size: 12px; + margin: 5px 0 5px 5px; + line-height: 1em; + padding: 0 !important; +} + +.qm-save a, .qm-cancel a +{ + display: block; + color: #3b454f; + text-decoration: none; + border: none; + padding: 6px 6px; +} + +.qm-cancel span +{ + background: transparent url(images/stop.png) no-repeat left center; + padding-left: 20px; +} + +.qm-save +{ + margin-right: 5px; +} + +.qm-cancel +{ + margin-right: 20px; +} + +#qm-tv-actions +{ + position: fixed; + top: 10px; + right: 0; + z-index: 100; + margin: 0; + text-align: right; +} + +#qm-tv-body h1 +{ + font-size: 120%; + letter-spacing: 1px; + color: #333333; + font-weight: normal; + margin-bottom: 20px; +} + +#qm-tv-description +{ + margin-bottom: 20px; + font-size: 80%; +} + +.qm-tv-text input, .qm-tv-textarea textarea, .qm-tv-image input[type=text], .qm-tv-file input[type=text] +{ + border: 1px solid #ddd; + border-left-color: #c3c3c3; + border-top-color: #7c7c7c; + padding: 4px 4px 4px 4px; + background: #fff url(images/input-bg.gif) repeat-x top left; +} + +.qm-tv-text input +{ + width: 400px !important; +} + +.qm-tv-textarea textarea +{ + width: 400px !important; + height: 200px; + font-family: monospace; +} + +.qm-tv-image input[type=text] +{ + width: 400px !important; +} + +#qm-tv-image-preview +{ + margin-top: 15px; +} + +#qm-tv-image-preview img +{ + max-width: 200px; + max-height: 200px; +} + + +/* Toolbar */ + +*:focus, *:active +{ + outline: none !important; } #qmEditor, #qmEditorClosed { - height: 28px; + font-family: Helvetica, Arial, sans-serif !important; top:0; left:0; - padding: 4px 3px 3px 3px; + padding: 3px; position: fixed; width: 100%; line-height:1; @@ -22,8 +184,8 @@ -webkit-transition-duration: 0.7s; -moz-transition-duration: 0.7s; transition-duration: 0.7s; -} - +} + #qmEditor *:focus, #qmEditor *:active { outline: none !important; @@ -36,28 +198,35 @@ #qmEditor a { - display: inline; + display: block; } -.qmEdit span +#qmEditor .qmEdit span, .qm-edit span, .qm-save span, .qm-tv span { background: transparent url(images/save.png) no-repeat left center; padding-left: 20px; } +#qmEditor .qmButton span +{ + +} + #qmEditorClosed { + height: 28px; display: none; width: 40px !important; cursor: pointer !important; } -#qmClose +#qmEditor #qmClose { display: block; float: right; - margin-right: 10px; - margin-top: 2px; + margin-right: 7px; + margin-top: 0px; + padding: 6px 8px; } #qmLogoClose @@ -66,13 +235,13 @@ float: left; height: 28px; width: 40px; - margin-top: -6px; - margin-right: 5px; + margin-top: 0; + margin-right: 0px; text-decoration: none !important; border: 0 !important; background: transparent url(images/transparent.gif) repeat; } - + #qmEditor:hover, #qmEditorClosed:hover { opacity:1; @@ -90,29 +259,27 @@ #qmEditor ul { /* .actionButtons --> #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 9737cd2e8a..0000000000 Binary files a/assets/plugins/qm/images/button-gradient.png and /dev/null differ diff --git a/assets/plugins/qm/images/tinylogo.png b/assets/plugins/qm/images/tinylogo.png deleted file mode 100755 index 11a4f4b3ba..0000000000 Binary files a/assets/plugins/qm/images/tinylogo.png and /dev/null differ 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("