').attr(c.overlayAttr).css(c.overlayCSS).appendTo('body').fadeIn(c.speed);e.click(o);},n=function(b){if(h)return;if(i)return;if(b<0||b>=d.length)return;i=true;var e=a('
').attr(c.wrapperAttr).css(c.wrapperCSS).addClass('temp').appendTo('body');var j=a('
').css(c.imgCSS).appendTo(e).load(function(){e.fadeIn(c.speed,function(){f.append(j);e.remove();});g=b;l(null,j);f.find('img').first().fadeOut(c.speed,function(){a(this).remove();i=false;});}).attr('src',d[b].href);},o=function(){h=true;e.fadeOut(c.speed,function(){e.remove();e=null;c.onClose.call(this);});f.fadeOut(c.speed,function(){f.remove();f=null;h=false;});a(window).off('resize.sfShutter');};d.click(function(a){a.preventDefault();j(this);});this.switchSlide=n;return this;};a.fn.sfShutter.defaults={overlayAttr:{'class':'sfShutterOverlay'},overlayCSS:{'background':'black','display':'none','height':'100%','opacity':'0.8','filter':'alpha(opacity=80)','position':'fixed','top':'0','width':'100%','z-index':'10000'},wrapperAttr:{'class':'sfShutterWrapper'},wrapperCSS:{'bottom':'70px','display':'none','left':'30px','position':'fixed','right':'30px','top':'70px','z-index':'10000','user-select':'none','-o-user-select':'none','-moz-user-select':'none','-khtml-user-select':'none','-webkit-user-select':'none'},controlsCSS:{'border':'4px solid #70c244','border-radius':'5px','display':'none','height':'100%','left':'0','padding':'16px','position':'absolute','top':'0','width':'100%'},imgCSS:{'border-color':'white','border-width':'18px','border-style':'solid','border-radius':'5px','display':'block','height':'auto','margin':'-18px auto 0','max-height':'100%','max-width':'100%','padding':'0','position':'relative','width':'auto'},exclude:[],speed:500,loop:false,onClose:function(){}};}(jQuery));jQuery(function(a){var b=function(){var b=[];a('a[class]').each(function(){if(this.className.toLowerCase().indexOf('shutterset')!=-1){var c=this.className.toLowerCase().split(/\s+/);for(var d=0;d