1!function(g,n,R){function F(e,t){return parseInt(e.css(t),10)||0}function J(){var e=n,t="inner";return"innerWidth"in n||(t="client",e=document.documentElement||document.body),{width:e[t+"Width"],height:e[t+"Height"]}}function fa(){var e=L();n.location.hash="",n.scrollTo(e.x,e.y)}function ga(e,t){e="http://ilightbox.net/getSource/jsonp.php?url="+encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A"),g.ajax({url:e,dataType:"jsonp"}),iLCallback=function(e){t.call(this,e)}}function S(e){var t=[];return g("*",e).each((function(){var e="";if("none"!=g(this).css("background-image")?e=g(this).css("background-image"):void 0!==g(this).attr("src")&&"img"==this.nodeName.toLowerCase()&&(e=g(this).attr("src")),-1==e.indexOf("gradient")){e=(e=(e=(e=(e=e.replace(/url\(\"/g,"")).replace(/url\(/g,"")).replace(/\"\)/g,"")).replace(/\)/g,"")).split(",");for(var i=0;i<e.length;i++)if(0<e[i].length&&-1==g.inArray(e[i],t)){var o="";D.msie&&9>D.version&&(o="?"+M(3e3*T())),t.push(e[i]+o)}}})),t}function Z(e){var t=-1!==(e=e.split(".").pop().toLowerCase()).indexOf("?")?e.split("?").pop():"";return e.replace(t,"")}function $(e){return e=Z(e),-1!==U.image.indexOf(e)?"image":-1!==U.flash.indexOf(e)?"flash":-1!==U.video.indexOf(e)?"video":"iframe"}function aa(e,t){return parseInt(t/100*e)}function V(e){return(e=String(e).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/))?{href:e[0]||"",protocol:e[1]||"",authority:e[2]||"",host:e[3]||"",hostname:e[4]||"",port:e[5]||"",pathname:e[6]||"",search:e[7]||"",hash:e[8]||""}:null}function N(e,t){return t=V(t||""),e=V(e||""),t&&e?(t.protocol||e.protocol)+(t.protocol||t.authority?t.authority:e.authority)+function(e){var t=[];return e.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,(function(e){"/.."===e?t.pop():t.push(e)})),t.join("").replace(/^\//,"/"===e.charAt(0)?"/":"")}(t.protocol||t.authority||"/"===t.pathname.charAt(0)?t.pathname:t.pathname?(e.authority&&!e.pathname?"/":"")+e.pathname.slice(0,e.pathname.lastIndexOf("/")+1)+t.pathname:e.pathname)+(t.protocol||t.authority||t.pathname?t.search:t.search||e.search)+t.hash:null}function ha(e,t,i){this.php_js=this.php_js||{},this.php_js.ENV=this.php_js.ENV||{};var o,n=0,s=0,a={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},r=(n=function(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]},function(e){return e?isNaN(e)?a[e]||-7:parseInt(e,10):0});for(e=n(e),t=n(t),o=ba(e.length,t.length),n=0;n<o;n++)if(e[n]!=t[n]){if(e[n]=r(e[n]),t[n]=r(t[n]),e[n]<t[n]){s=-1;break}if(e[n]>t[n]){s=1;break}}if(!i)return s;switch(i){case">":case"gt":return 0<s;case">=":case"ge":return 0<=s;case"<=":case"le":return 0>=s;case"==":case"=":case"eq":return 0===s;case"<>":case"!=":case"ne":return 0!==s;case"":case"<":case"lt":return 0>s;default:return null}}function L(){var e=0,t=0;return"number"==typeof n.pageYOffset?(t=n.pageYOffset,e=n.pageXOffset):document.body&&(document.body.scrollLeft||document.body.scrollTop)?(t=document.body.scrollTop,e=document.body.scrollLeft):document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)&&(t=document.documentElement.scrollTop,e=document.documentElement.scrollLeft),{x:e,y:t}}function ca(e,t,i){var o;return null==(o=q[e+t])&&(o=q[t]),null!=o?(0==t.indexOf(e)&&null==i&&(i=t.substring(e.length)),null==i&&(i=t),i+'="'+o+'" '):""}function B(e,t){return 0==e.indexOf("emb#")?"":(0==e.indexOf("obj#")&&null==t&&(t=e.substring(4)),ca("obj#",e,t))}function G(e,t){return 0==e.indexOf("obj#")?"":(0==e.indexOf("emb#")&&null==t&&(t=e.substring(4)),ca("emb#",e,t))}function da(e,t){var i,o="",n=t?" />":">";return-1==e.indexOf("emb#")&&(null==(i=q["obj#"+e])&&(i=q[e]),0==e.indexOf("obj#")&&(e=e.substring(4)),null!=i&&(o=' <param name="'+e+'" value="'+i+'"'+n+"\n")),o}function ia(){for(var e=0;e<arguments.length;e++){var t=arguments[e];delete q[t],delete q["emb#"+t],delete q["obj#"+t]}}function ja(){var e;e="QT_GenerateOBJECTText";var t=arguments;if(4>t.length||0!=t.length%2)t=(t=ka).replace("%%",e),alert(t),e="";else{(q=[]).src=t[0],q.width=t[1],q.height=t[2],q.classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",q.pluginspage="http://www.apple.com/quicktime/download/",null!=(e=t[3])&&""!=e||(e="6,0,2,0"),q.codebase="http://www.apple.com/qtactivex/qtplugin.cab#ver
1sion="+e;for(var i,o=4;o<t.length;o+=2)i=t[o].toLowerCase(),e=t[o+1],"name"==i||"id"==i?q.name=e:q[i]=e;for(i in t="<object "+B("classid")+B("width")+B("height")+B("codebase")+B("name","id")+B("tabindex")+B("hspace")+B("vspace")+B("border")+B("align")+B("class")+B("title")+B("accesskey")+B("noexternaldata")+">\n"+da("src",!1),o=" <embed "+G("src")+G("width")+G("height")+G("pluginspage")+G("name")+G("align")+G("tabindex"),ia("src","width","height","pluginspage","classid","codebase","name","tabindex","hspace","vspace","border","align","noexternaldata","class","title","accesskey"),q)null!=(e=q[i])&&(o+=G(i),t+=da(i,!1));e=t+o+"> </embed>\n</object>"}return e}var U={flash:["swf"],image:"bmp gif jpeg jpg png tiff tif jfif jpe".split(" "),iframe:"asp aspx cgi cfm htm html jsp php pl php3 php4 php5 phtml rb rhtml shtml txt".split(" "),video:"avi mov mpg mpeg movie mp4 webm ogv ogg 3gp m4v".split(" ")},O=g(n),E=g(document),D,C,H,z="",A=!!("ontouchstart"in n)&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),K=A?"itap.iLightBox":"click.iLightBox",la=A?"touchstart.iLightBox":"mousedown.iLightBox",ma=A?"touchend.iLightBox":"mouseup.iLightBox",W=A?"touchmove.iLightBox":"mousemove.iLightBox",I=Math.abs,P=Math.sqrt,X=Math.round,ba=Math.max,Y=Math.min,M=Math.floor,T=Math.random,ea=function(e,t,i,o){var n=this;n.options=t,n.selector=e.selector||e,n.context=e.context,n.instant=o,1>i.length?n.attachItems():n.items=i,n.vars={total:n.items.length,start:0,current:null,next:null,prev:null,BODY:g("body"),loadRequests:0,overlay:g('<div class="ilightbox-overlay"></div>'),loader:g('<div class="ilightbox-loader"><div></div></div>'),toolbar:g('<div class="ilightbox-toolbar"></div>'),innerToolbar:g('<div class="ilightbox-inner-toolbar"></div>'),title:g('<div class="ilightbox-title"></div>'),closeButton:g('<a class="ilightbox-close" title="'+n.options.text.close+'"></a>'),fullScreenButton:g('<a class="ilightbox-fullscreen" title="'+n.options.text.enterFullscreen+'"></a>'),innerPlayButton:g('<a class="ilightbox-play" title="'+n.options.text.slideShow+'"></a>'),innerNextButton:g('<a class="ilightbox-next-button" title="'+n.options.text.next+'"></a>'),innerPrevButton:g('<a class="ilightbox-prev-button" title="'+n.options.text.previous+'"></a>'),holder:g('<div class="ilightbox-holder'+(A?" supportTouch":"")+'" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),nextPhoto:g('<div class="ilightbox-holder'+(A?" supportTouch":"")+' ilightbox-next" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),prevPhoto:g('<div class="ilightbox-holder'+(A?" supportTouch":"")+' ilightbox-prev" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),nextButton:g('<a class="ilightbox-button ilightbox-next-button" ondragstart="return false;" title="'+n.options.text.next+'"><span></span></a>'),prevButton:g('<a class="ilightbox-button ilightbox-prev-button" ondragstart="return false;" title="'+n.options.text.previous+'"><span></span></a>'),thumbnails:g('<div class="ilightbox-thumbnails" ondragstart="return false;"><div class="ilightbox-thumbnails-container"><a class="ilightbox-thumbnails-dragger"></a><div class="ilightbox-thumbnails-grid"></div></div></div>'),thumbs:!1,nextLock:!1,prevLock:!1,hashLock:!1,isMobile:!1,mobileMaxWidth:980,isInFullScreen:!1,isSwipe:!1,mouseID:0,cycleID:0,isPaused:0},n.vars.hideableElements=n.vars.nextButton.add(n.vars.prevButton),n.normalizeItems(),n.availPlugins(),n.options.startFrom=0<n.options.startFrom&&n.options.startFrom>=n.vars.total?n.vars.total-1:n.options.startFrom,n.options.startFrom=n.options.randomStart?M(T()*n.vars.total):n.options.startFrom,n.vars.start=n.options.startFrom,o?n.instantCall():n.patchItemsEvents(),n.options.linkId&&(n.hashChangeHandler(),O.iLightBoxHashChange((function(){n.hashChangeHandler()}))),A&&(e=/(click|mouseenter|mouseleave|mouseover|mouseout)/gi,n.options.caption.show=n.options.caption.show.replace(e,"itap"),n.options.caption.hide=n.options.caption.hide.replace(e,"itap"),n.options.social.show=n.options.social.show.replace(e,"itap"),n.options.social.hide=n.options.social.hide.replace(e,"itap")),n.options.controls.arrows&&g.extend(n.options.styles,{nextOffsetX:0,prevOffsetX:0,nextOpacity:0,prevOpacity:0})},a,b;ea.prototype={showLoader:function(){this.vars.loadRequests+=1,"horizontal"==this.options.path.toLowerCase()?this.vars.loader.stop().animate({top:"-30px"},this.options.show.speed,"easeOutCirc"):this.vars.loader.stop().animate({left:"-30px"},this.options.show.speed,"easeOutCirc")},hideLoader:function(){this.vars.loadRequests-=1,this.vars.loadRequests=0>this.vars.loadRequests?0:this.vars.loadRequests,"horizontal"==this.options.path.toLowerCase()?0>=this.vars.loadRequests&&this.vars.loader.stop().animate({top:"-192px"},this.options.show.speed,"easeInCirc"):0>=this.vars.loadRequests&&this.vars.loader.stop().animate({left:"-192px"},this.options.show.speed,"easeInCirc")},createUI:function(){var e=this;e.ui={currentElement:e.vars.holder,nextElement:e.vars.nextPhoto,prevElement:e.vars.prevPhoto,currentItem:e.vars.current,nextItem:e.vars.next,prevItem:e.vars.prev,hide:function(){e.closeAction()},refresh:function(){0<arguments.length?e.repositionPhoto(!0):e.repositionPhoto()},fullscreen:function(){e.fullScreenAction()}}},attachItems:function(){var a=this,b=[],c=[];g(a.selector,a.context).each((function(){var d=g(this),e=d.attr(a.options.attr)||null,f=d.data("options")&&eval("({"+d.data("options")+"})")||{},l=d.data("caption"),k=d.data("title"),h=d.data("type")||$(e);
1c.push({URL:e,caption:l,title:k,type:h,options:f}),a.instant||b.push(d)})),a.items=c,a.itemsObject=b},normalizeItems:function(){var e=this,t=[];g.each(e.items,(function(i,o){"string"==typeof o&&(o={url:o});var n=o.url||o.URL||null,s=o.options||{},a=o.caption||null,r=o.title||null,l=o.type?o.type.toLowerCase():$(n),c="object"!=typeof n?Z(n):"";s.thumbnail=s.thumbnail||("image"==l?n:null),s.videoType=s.videoType||null,s.skin=s.skin||e.options.skin,s.width=s.width||null,s.height=s.height||null,s.mousewheel=void 0===s.mousewheel||s.mousewheel,s.swipe=void 0===s.swipe||s.swipe,s.social=void 0!==s.social?s.social:e.options.social.buttons&&g.extend({},{},e.options.social.buttons),"video"==l&&(s.html5video=void 0!==s.html5video?s.html5video:{},s.html5video.webm=s.html5video.webm||s.html5video.WEBM||null,s.html5video.controls=void 0!==s.html5video.controls?s.html5video.controls:"controls",s.html5video.preload=s.html5video.preload||"metadata",s.html5video.autoplay=void 0!==s.html5video.autoplay&&s.html5video.autoplay),s.width&&s.height||("video"==l?(s.width=1280,s.height=720):"iframe"==l?(s.width="100%",s.height="90%"):"flash"==l&&(s.width=1280,s.height=720)),delete o.url,o.index=i,o.URL=n,o.caption=a,o.title=r,o.type=l,o.options=s,o.ext=c,t.pu
1sh(o)})),e.items=t},instantCall:function(){var e=this.vars.start;this.vars.current=e,this.vars.next=this.items[e+1]?e+1:null,this.vars.prev=this.items[e-1]?e-1:null,this.addContents(),this.patchEvents()},addContents:function(){var e=this,t=e.vars,i=e.options,o=J(),s=i.path.toLowerCase(),a=0<t.total&&e.items.filter((function(e,t,o){return-1===["image","flash","video"].indexOf(e.type)&&void 0===e.recognized&&(i.smartRecognition||e.options.smartRecognition)})),r=0<a.length;i.mobileOptimizer&&!i.innerToolbar&&(t.isMobile=o.width<=t.mobileMaxWidth),t.overlay.addClass(i.skin).hide().css("opacity",i.overlay.opacity),i.linkId&&t.overlay[0].setAttribute("linkid",i.linkId),i.controls.toolbar&&(t.toolbar.addClass(i.skin).append(t.closeButton),i.controls.fullscreen&&t.toolbar.append(t.fullScreenButton),i.controls.slideshow&&t.toolbar.append(t.innerPlayButton),1<t.total&&t.toolbar.append(t.innerPrevButton).append(t.innerNextButton)),t.BODY.addClass("ilightbox-noscroll").append(t.overlay).append(t.loader).append(t.holder).append(t.nextPhoto).append(t.prevPhoto),i.innerToolbar||t.BODY.append(t.toolbar),i.controls.arrows&&t.BODY.append(t.nextButton).append(t.prevButton),i.controls.thumbnail&&1<t.total&&(t.BODY.append(t.thumbnails),t.thumbnails.addClass(i.skin).addClass("ilightbox-"+s),g("div.ilightbox-thumbnails-grid",t.thumbnails).empty(),t.thumbs=!0),o="horizontal"==i.path.toLowerCase()?{left:parseInt(o.width/2-t.loader.outerWidth()/2)}:{top:parseInt(o.height/2-t.loader.outerHeight()/2)},t.loader.addClass(i.skin).css(o),t.nextButton.add(t.prevButton).addClass(i.skin),"horizontal"==s&&t.loader.add(t.nextButton).add(t.prevButton).addClass("horizontal"),t.BODY[t.isMobile?"addClass":"removeClass"]("isMobile"),i.infinite||(t.prevButton.add(t.prevButton).add(t.innerPrevButton).add(t.innerNextButton).removeClass("disabled"),0==t.current&&t.prevButton.add(t.innerPrevButton).addClass("disabled"),t.current>=t.total-1&&t.nextButton.add(t.innerNextButton).addClass("disabled")),i.show.effect?(t.overlay.stop().fadeIn(i.show.speed),t.toolbar.stop().fadeIn(i.show.speed)):(t.overlay.show(),t.toolbar.show());var l=a.length;r?(e.showLoader(),g.each(a,(function(o,n){e.ogpRecognition(this,(function(o){var n=-1;e.items.filter((function(e,t,i){return e.URL==o.url&&(n=t),e.URL==o.url}));var s=e.items[n];o&&g.extend(!0,s,{URL:o.source,type:o.type,recognized:!0,options:{html5video:o.html5video,width:"image"==o.type?0:o.width||s.width,height:"image"==o.type?0:o.height||s.height,thumbnail:s.options.thumbnail||o.thumbnail}}),0==--l&&(e.hideLoader(),t.dontGenerateThumbs=!1,e.generateThumbnails(),i.show.effect?setTimeout((function(){e.generateBoxes()}),i.show.speed):e.generateBoxes())}))}))):i.show.effect?setTimeout((function(){e.generateBoxes()}),i.show.speed):e.generateBoxes(),e.createUI(),n.iLightBox={close:function(){e.closeAction()},fullscreen:function(){e.fullScreenAction()},moveNext:function(){e.moveTo("next")},movePrev:function(){e.moveTo("prev")},goTo:function(t){e.goTo(t)},refresh:function(){e.refresh()},reposition:function(){0<arguments.length?e.repositionPhoto(!0):e.repositionPhoto()},setOption:function(t){e.setOption(t)},destroy:function(){e.closeAction(),e.dispatchItemsEvents()}},i.linkId&&(t.hashLock=!0,n.location.hash=i.linkId+"/"+t.current,setTimeout((function(){t.hashLock=!1}),55)),i.slideshow.startPaused||(e.resume(),t.innerPlayButton.removeClass("ilightbox-play").addClass("ilightbox-pause")),"function"==typeof e.options.callback.onOpen&&e.options.callback.onOpen.call(e)},loadContent:function(e,t,i){var o,n;switch(this.createUI(),e.speed=i||this.options.effects.loadedFadeSpeed,"current"==t&&(this.vars.lockWheel=!e.options.mousewheel,this.vars.lockSwipe=!e.options.swipe),t){case"current":o=this.vars.holder,n=this.vars.current;break;case"next":o=this.vars.nextPhoto,n=this.vars.next;break;case"prev":o=this.vars.prevPhoto,n=this.vars.prev}if(o.removeAttr("style class").addClass("ilightbox-holder"+(A?" supportTouch":"")).addClass(e.options.skin),g("div.ilightbox-inner-toolbar",o).remove(),e.title||this.options.innerToolbar){if(i=this.vars.innerToolbar.clone(),e.title&&this.options.show.title){var s=this.vars.title.clone();s.empty().html(e.title),i.append(s)}this.options.innerToolbar&&i.append(1<this.vars.total?this.vars.toolbar.clone():this.vars.toolbar),o.prepend(i)}this.loadSwitcher(e,o,n,t)},loadSwitcher:function(e,t,i,o){var n=this,s=n.options,a={element:t,position:i};switch(e.type){case"image":"function"==typeof s.callback.onBeforeLoad&&s.callback.onBeforeLoad.call(n,n.ui,i),"function"==typeof e.o
1ptions.onBeforeLoad&&e.options.onBeforeLoad.call(n,a),n.loadImage(e.URL,(function(r){"function"==typeof s.callback.onAfterLoad&&s.callback.onAfterLoad.call(n,n.ui,i),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,a),t.data({naturalWidth:r?r.width:400,naturalHeight:r?r.height:200}),g("div.ilightbox-container",t).empty().append(r?'<img src="'+e.URL+'" class="ilightbox-image" />':'<span class="ilightbox-alert">'+s.errors.loadImage+"</span>"),"function"==typeof s.callback.onRender&&s.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,a),n.configureHolder(e,o,t)}));break;case"video":t.data({naturalWidth:e.options.width,naturalHeight:e.options.height}),n.addContent(t,e),"function"==typeof s.callback.onRender&&s.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,a),n.configureHolder(e,o,t);break;case"iframe":n.showLoader(),t.data({naturalWidth:e.options.width,naturalHeight:e.options.height});var r=n.addContent(t,e);"function"==typeof s.callback.onRender&&s.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,a),"function"==typeof s.callback.onBeforeLoad&&s.callback.onBeforeLoad.call(n,n.ui,i),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,a),r.bind("load",(function(){"function"==typeof s.callback.onAfterLoad&&s.callback.onAfterLoad.call(n,n.ui,i),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,a),n.hideLoader(),n.configureHolder(e,o,t),r.unbind("load")}));break;case"inline":r=g(e.URL);var l=n.addContent(t,e),c=S(t);t.data({naturalWidth:n.items[i].options.width||r.outerWidth(),naturalHeight:n.items[i].options.height||r.outerHeight()}),l.children().eq(0).show(),"function"==typeof s.callback.onRender&&s.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,a),"function"==typeof s.callback.onBeforeLoad&&s.callback.onBeforeLoad.call(n,n.ui,i),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,a),n.loadImage(c,(function(){"function"==typeof s.callback.onAfterLoad&&s.callback.onAfterLoad.call(n,n.ui,i),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,a),n.configureHolder(e,o,t)}));break;case"flash":r=n.addContent(t,e),t.data({naturalWidth:n.items[i].options.width||r.outerWidth(),naturalHeight:n.items[i].options.height||r.outerHeight()}),"function"==typeof s.callback.onRender&&s.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,a),n.configureHolder(e,o,t);break;case"ajax":var h=e.options.ajax||{};"function"==typeof s.callback.onBeforeLoad&&s.callback.onBeforeLoad.call(n,n.ui,i),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,a),n.showLoader(),g.ajax({url:e.URL||s.ajaxSetup.url,data:h.data||null,dataType:h.dataType||"html",type:h.type||s.ajaxSetup.type,cache:h.cache||s.ajaxSetup.cache,crossDomain:h.crossDomain||s.ajaxSetup.crossDomain,global:h.global||s.ajaxSetup.global,ifModified:h.ifModified||s.ajaxSetup.ifModified,username:h.username||s.ajaxSetup.username,password:h.password||s.ajaxSetup.password,beforeSend:h.beforeSend||s.ajaxSetup.beforeSend,complete:h.complete||s.ajaxSetup.complete,success:function(r,l,c){n.hideLoader();var u=g(r),p=g("div.ilightbox-container",t),d=n.items[i].options.width||parseInt(u[0].getAttribute("width")),f=n.items[i].options.height||parseInt(u[0].getAttribute("height")),m=u[0].getAttribute("width")&&u[0].getAttribute("height")?{overflow:"hidden"}:{};p.empty().append(g('<div class="ilightbox-wrapper"></div>').css(m).html(u)),t.show().data({naturalWidth:d||p.outerWidth(),naturalHeight:f||p.outerHeight()}).hide(),"function"==typeof s.callback.onRender&&s.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,a),u=S(t),n.loadImage(u,(function(){"function"==typeof s.callback.onAfterLoad&&s.callback.onAfterLoad.call(n,n.ui,i),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,a),n.configureHolder(e,o,t)})),s.ajaxSetup.success(r,l,c),"function"==typeof h.success&&h.success(r,l,c)},error:function(r,l,c){"function"==typeof s.callback.onAfterLoad&&s.callback.onAfterLoad.call(n,n.ui,i),"function"==typeof e.o
1ptions.onAfterLoad&&e.options.onAfterLoad.call(n,a),n.hideLoader(),g("div.ilightbox-container",t).empty().append('<span class="ilightbox-alert">'+s.errors.loadContents+"</span>"),n.configureHolder(e,o,t),s.ajaxSetup.error(r,l,c),"function"==typeof h.error&&h.error(r,l,c)}});break;case"html":l=e.URL,container=g("div.ilightbox-container",t),l[0].nodeName?r=l.clone():(l=g(l),r=l.selector?g("<div>"+l+"</div>"):l);var u=n.items[i].options.width||parseInt(r.attr("width")),p=n.items[i].options.height||parseInt(r.attr("height"));n.addContent(t,e),r.appendTo(document.documentElement).hide(),"function"==typeof s.callback.onRender&&s.callback.onRender.call(n,n.ui,i),"function"==typeof e.options.onRender&&e.options.onRender.call(n,a),c=S(t),"function"==typeof s.callback.onBeforeLoad&&s.callback.onBeforeLoad.call(n,n.ui,i),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,a),n.loadImage(c,(function(){"function"==typeof s.callback.onAfterLoad&&s.callback.onAfterLoad.call(n,n.ui,i),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,a),t.show().data({naturalWidth:u||container.outerWidth(),naturalHeight:p||container.outerHeight()}).hide(),r.remove(),n.configureHolder(e,o,t)}))}},configureHolder:function(e,t,i){var o=this,n=o.vars,s=o.options;if("current"!=t&&("next"==t?i.addClass("ilightbox-next"):i.addClass("ilightbox-prev")),"current"==t)var a=n.current;else if("next"==t){var r=s.styles.nextOpacity;a=n.next}else r=s.styles.prevOpacity,a=n.prev;var l={element:i,position:a};o.items[a].options.width=o.items[a].options.width||0,o.items[a].options.height=o.items[a].options.height||0,"current"==t?s.show.effect?i.css(C,H).fadeIn(e.speed,(function(){if(i.css(C,""),e.caption){o.setCaption(e,i);var t=g("div.ilightbox-caption",i),n=parseInt(t.outerHeight()/i.outerHeight()*100);s.caption.start&50>=n&&t.fadeIn(s.effects.fadeSpeed)}(t=e.options.social)&&(o.setSocial(t,e.URL,i),s.social.start&&g("div.ilightbox-social",i).fadeIn(s.effects.fadeSpeed)),o.generateThumbnails(),"function"==typeof s.callback.onShow&&s.callback.onShow.call(o,o.ui,a),"function"==typeof e.options.onShow&&e.options.onShow.call(o,l)})):(i.show(),o.generateThumbnails(),"function"==typeof s.callback.onShow&&s.callback.onShow.call(o,o.ui,a),"function"==typeof e.options.onShow&&e.options.onShow.call(o,l)):s.show.effect?i.fadeTo(e.speed,r,(function(){"next"==t?n.nextLock=!1:n.prevLock=!1,o.generateThumbnails(),"function"==typeof s.callback.onShow&&s.callback.onShow.call(o,o.ui,a),"function"==typeof e.options.onShow&&e.options.onShow.call(o,l)})):(i.css({opacity:r}).show(),"next"==t?n.nextLock=!1:n.prevLock=!1,o.generateThumbnails(),"function"==typeof s.callback.onShow&&s.callback.onShow.call(o,o.ui,a),"function"==typeof e.options.onShow&&e.options.onShow.call(o,l)),setTimeout((function(){o.repositionPhoto()}),0)},generateBoxes:function(){var e=this.vars,t=this.options;t.infinite&&3<=e.total?(e.current==e.total-1&&(e.next=0),0==e.current&&(e.prev=e.total-1)):t.infinite=!1,this.loadContent(this.items[e.current],"current",t.show.speed),this.items[e.next]&&this.loadContent(this.items[e.next],"next",t.show.speed),this.items[e.prev]&&this.loadContent(this.items[e.prev],"prev",t.show.speed)},generateThumbnails:function(){var e=this,t=e.vars,i=e.options,o=null;if(t.thumbs&&!e.vars.dontGenerateThumbs){var n=t.thumbnails,s=g("div.ilightbox-thumbnails-container",n),a=g("div.ilightbox-thumbnails-grid",s),r=0;a.removeAttr("style").empty(),g.each(e.items,(function(l,c){var h=t.current==l?"ilightbox-active":"",u=t.current==l?i.thumbnails.activeOpacity:i.thumbnails.normalOpacity,p=c.options.thumbnail,d=g('<div class="ilightbox-thumbnail"></div>'),f=g('<div class="ilightbox-thumbnail-icon"></div>');d.css({opacity:0}).addClass(h),"video"!=c.type&&"flash"!=c.type||void 0!==c.options.icon?c.options.icon&&(f.addClass("ilightbox-thumbnail-"+c.options.icon),d.append(f)):(f.addClass("ilightbox-thumbnail-video"),d.append(f)),p&&e.loadImage(p,(function(t){r++,t?d.data({naturalWidth:t.width,naturalHeight:t.height}).append('<img src="'+p+'" border="0" />
1'):d.data({naturalWidth:i.thumbnails.maxWidth,naturalHeight:i.thumbnails.maxHeight}),clearTimeout(o),o=setTimeout((function(){e.positionThumbnails(n,s,a)}),20),setTimeout((function(){d.fadeTo(i.effects.loadedFadeSpeed,u)}),20*r)})),a.append(d)})),e.vars.dontGenerateThumbs=!0}},positionThumbnails:function(e,t,i){var o=this,n=o.vars,s=o.options,a=J(),r=s.path.toLowerCase();e||(e=n.thumbnails),t||(t=g("div.ilightbox-thumbnails-container",e)),i||(i=g("div.ilightbox-thumbnails-grid",t));var l=g(".ilightbox-thumbnail",i),c=(n="horizontal"==r?a.width-s.styles.pageOffsetX:l.eq(0).outerWidth()-s.styles.pageOffsetX,a="horizontal"==r?l.eq(0).outerHeight()-s.styles.pageOffsetY:a.height-s.styles.pageOffsetY,"horizontal"==r?0:n),h="horizontal"==r?a:0,u=g(".ilightbox-active",i),p={};3>arguments.length&&(l.css({opacity:s.thumbnails.normalOpacity}),u.css({opacity:s.thumbnails.activeOpacity})),l.each((function(e){var t=(e=g(this)).data(),i="horizontal"==r?0:s.thumbnails.maxWidth;height="horizontal"==r?s.thumbnails.maxHeight:0,dims=o.getNewDimenstions(i,height,t.naturalWidth,t.naturalHeight,!0),e.css({width:dims.width,height:dims.height}),"horizontal"==r&&e.css({float:"left"}),"horizontal"==r?c+=e.outerWidth():h+=e.outerHeight()})),p={width:c,height:h},i.css(p);p={},l=i.offset();var d=u.length?u.offset():{top:parseInt(a/2),left:parseInt(n/2)};l.top-=E.scrollTop(),l.left-=E.scrollLeft(),d.top=d.top-l.top-E.scrollTop(),d.left=d.left-l.left-E.scrollLeft(),"horizontal"==r?(p.top=0,p.left=parseInt(n/2-d.left-u.outerWidth()/2)):(p.top=parseInt(a/2-d.top-u.outerHeight()/2),p.left=0),3>arguments.length?i.stop().animate(p,s.effects.repositionSpeed,"easeOutCirc"):i.css(p)},loadImage:function(e,t){g.isArray(e)||(e=[e]);var i=this,o=e.length;0<o?(i.showLoader(),g.each(e,(function(n,s){var a=new Image;a.onload=function(){0==(o-=1)&&(i.hideLoader(),t(a))},a.onerror=a.onabort=function(){0==(o-=1)&&(i.hideLoader(),t(!1))},a.src=e[n]}))):t(!1)},patchItemsEvents:function(){var e=this,t=e.vars,i=A?"itap.iL":"click.iL",o=A?"click.iL":"itap.iL";if(e.context&&e.selector){var n=g(e.selector,e.context);g(e.context).on(i,e.selector,(function(){var i=g(this);i=n.index(i);return t.current=i,t.next=e.items[i+1]?i+1:null,t.prev=e.items[i-1]?i-1:null,e.addContents(),e.patchEvents(),!1})).on(o,e.selector,(function(){return!1}))}else g.each(e.itemsObject,(function(n,s){s.on(i,(function(){return t.current=n,t.next=e.items[n+1]?n+1:null,t.prev=e.items[n-1]?n-1:null,e.addContents(),e.patchEvents(),!1})).on(o,(function(){return!1}))}))},dispatchItemsEvents:function(){this.context&&this.selector?g(this.context).off(".iL",this.selector):g.each(this.itemsObject,(function(e,t){t.off(".iL")}))},refresh:function(){this.dispatchItemsEvents(),this.attachItems(),this.normalizeItems(),this.patchItemsEvents()},patchEvents:function(){var e=this,t=e.vars,i=e.options,o=i.path.toLowerCase(),s=g(".ilightbox-holder"),a=z.fullScreenEventName+".iLightBox",r=verticalDistanceThreshold=100,l=[t.nextButton[0],t.prevButton[0],t.nextButton[0].firstChild,t.prevButton[0].firstChild];O.bind("resize.iLightBox",(function(){var o=J();i.mobileOptimizer&&!i.innerToolbar&&(t.isMobile=o.width<=t.mobileMaxWidth),t.BODY[t.isMobile?"addClass":"removeClass"]("isMobile"),e.repositionPhoto(null),A&&(clearTimeout(t.setTime),t.setTime=setTimeout((function(){var e=L().y;n.scrollTo(0,e-30),n.scrollTo(0,e+30),n.scrollTo(0,e)}),2e3)),t.thumbs&&e.positionThumbnails()})).bind("keydown.iLightBox",(function(o){if(i.controls.keyboard)switch(o.keyCode){case 13:o.shiftKey&&i.keyboard.shift_enter&&e.fullScreenAction();break;case 27:i.keyboard.esc&&e.closeAction();break;case 37:i.keyboard.left&&!t.lockKey&&e.moveTo("prev");break;case 38:i.keyboard.up&&!t.lockKey&&e.moveTo("prev");break;case 39:i.keyboard.right&&!t.lockKey&&e.moveTo("next");break;case 40:i.keyboard.down&&!t.lockKey&&e.moveTo("next")}})),z.supportsFullScreen&&O.bind(a,(function(){e.doFullscreen()}));a=[i.caption.show+".iLightBox",i.caption.hide+".iLightBox",i.social.show+".iLightBox",i.social.hide+".iLightBox"].filter((function(e,t,i){return i.lastIndexOf(e)===t}));var c="";g.each(a,(function(e,t){0!=e&&(c+=" "),c+=t})),E.on(K,".ilightbox-overlay",(function(){i.overlay.blur&&e.closeAction()})).on(K,".ilightbox-next, .ilightbox-next-button",(function(){e.moveTo("next")})).on(K,".ilightbox-prev, .ilightbox-prev-button",(function(){e.moveTo("prev")}
1)).on(K,".ilightbox-thumbnail",(function(){var i=g(this);(i=g(".ilightbox-thumbnail",t.thumbnails).index(i))!=t.current&&e.goTo(i)})).on(c,".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",(function(e){var o=g("div.ilightbox-caption",t.holder),n=g("div.ilightbox-social",t.holder),s=i.effects.fadeSpeed;t.nextLock||t.prevLock?(e.type!=i.caption.show||o.is(":visible")?e.type==i.caption.hide&&o.is(":visible")&&o.fadeOut(s):o.fadeIn(s),e.type!=i.social.show||n.is(":visible")?e.type==i.social.hide&&n.is(":visible")&&n.fadeOut(s):n.fadeIn(s)):(e.type!=i.caption.show||o.is(":visible")?e.type==i.caption.hide&&o.is(":visible")&&o.stop().fadeOut(s):o.stop().fadeIn(s),e.type!=i.social.show||n.is(":visible")?e.type==i.social.hide&&n.is(":visible")&&n.stop().fadeOut(s):n.stop().fadeIn(s))})).on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-wrapper",(function(e){t.lockWheel="mouseenter"==e.type})).on(K,".ilightbox-toolbar a.ilightbox-close, .ilightbox-toolbar a.ilightbox-fullscreen, .ilightbox-toolbar a.ilightbox-play, .ilightbox-toolbar a.ilightbox-pause",(function(){var t=g(this);t.hasClass("ilightbox-fullscreen")?e.fullScreenAction():t.hasClass("ilightbox-play")?(e.resume(),t.addClass("ilightbox-pause").removeClass("ilightbox-play")):t.hasClass("ilightbox-pause")?(e.pause(),t.addClass("ilightbox-play").removeClass("ilightbox-pause")):e.closeAction()})).on(W,".ilightbox-overlay, .ilightbox-thumbnails-container",(function(e){e.preventDefault()})),i.controls.arrows&&!A&&E.on("mousemove.iLightBox",(function(e){t.isMobile||(t.mouseID||t.hideableElements.show(),t.mouseID=clearTimeout(t.mouseID),-1===l.indexOf(e.target)&&(t.mouseID=setTimeout((function(){t.hideableElements.hide(),t.mouseID=clearTimeout(t.mouseID)}),3e3)))})),i.controls.slideshow&&i.slideshow.pauseOnHover&&E.on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",(function(i){"mouseenter"==i.type&&t.cycleID?e.pause():"mouseleave"==i.type&&t.isPaused&&e.resume()})),a=g(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbnails"),i.controls.mousewheel&&a.on("mousewheel.iLightBox",(function(i,o){t.lockWheel||(i.preventDefault(),0>o?e.moveTo("next"):0<o&&e.moveTo("prev"))})),i.controls.swipe&&s.on(la,(function(n){function a(e){var t=g(this);e=f[e];var i=[m.coords[0]-h.coords[0],m.coords[1]-h.coords[1]];t[0].style["horizontal"==o?"left":"top"]=("horizontal"==o?e.left-i[0]:e.top-i[1])+"px"}function l(e){if(m){var t=e.originalEvent.touches?e.originalEvent.touches[0]:e;h={time:(new Date).getTime(),coords:[t.pageX-p,t.pageY-u]},s.each(a),e.preventDefault()}}function c(){s.each((function(){var e=g(this),t=(i=e.data("offset")||{top:e.offset().top-u,left:e.offset().left-p}).top,i=i.left;e.css(C,H).stop().animate({top:t,left:i},500,"easeOutCirc",(function(){e.css(C,"")}))}))}if(!(t.nextLock||t.prevLock||1==t.total||t.lockSwipe)){t.BODY.addClass("ilightbox-closedhand"),n=n.originalEvent.touches?n.originalEvent.touches[0]:n;var h,u=E.scrollTop(),p=E.scrollLeft(),d=[s.eq(0).offset(),s.eq(1).offset(),s.eq(2).offset()],f=[{top:d[0].top-u,left:d[0].left-p},{top:d[1].top-u,left:d[1].left-p},{top:d[2].top-u,left:d[2].left-p}],m={time:(new Date).getTime(),coords:[n.pageX-p,n.pageY-u]};s.bind(W,l),E.one(ma,(function(n){s.unbind(W,l),t.BODY.removeClass("ilightbox-closedhand"),m&&h&&("horizontal"==o&&1e3>h.time-m.time&&I(m.coords[0]-h.coords[0])>r&&I(m.coords[1]-h.coords[1])<verticalDistanceThreshold?m.coords[0]>h.coords[0]?t.current!=t.total-1||i.infinite?(t.isSwipe=!0,e.moveTo("next")):c():0!=t.current||i.infinite?(t.isSwipe=!0,e.moveTo("prev")):c():"vertical"==o&&1e3>h.time-m.time&&I(m.coords[1]-h.coords[1])>r&&I(m.coords[0]-h.coords[0])<verticalDistanceThreshold?m.coords[1]>h.coords[1]?t.current!=t.total-1||i.infinite?(t.isSwipe=!0,e.moveTo("next")):c():0!=t.current||i.infinite?(t.isSwipe=!0,e.moveTo("prev")):c():c()),m=h=R}))}}))},goTo:function(e){var t=this,i=t.vars,o=t.options,s=e-i.current;if(o.infinite&&(e==i.total-1&&0==i.current&&(s=-1),i.current==i.total-1&&0==e&&(s=1)),1==s)t.moveTo("next");else if(-1==s)t.moveTo("prev");else{if(i.nextLock||i.prevLock)return!1;"function"==typeof o.callback.onBeforeChange&&o.callback.onBeforeChange.call(t,t.ui),o.linkId&&(i.hashLock=!0,n.location.hash=o.linkId+"/"+e),t.items[e]&&(t.items[e].options.mousewheel?t.vars.lockWheel=!1:i.lockWheel=!0,i.lockSwipe=!t.items[e].options.swipe),g.each([i.holder,i.nextPhoto,i.prevPhoto],(function(e,t){t.css(C,H).fadeOut(o.effects.loadedFadeSpeed)})),i.current=e,i.next=e+1,i.prev=e-1,t.createUI(),setTimeout((function(){t.generateBoxes()}
1),o.effects.loadedFadeSpeed+50),g(".ilightbox-thumbnail",i.thumbnails).removeClass("ilightbox-active").eq(e).addClass("ilightbox-active"),t.positionThumbnails(),o.linkId&&setTimeout((function(){i.hashLock=!1}),55),o.infinite||(i.nextButton.add(i.prevButton).add(i.innerPrevButton).add(i.innerNextButton).removeClass("disabled"),0==i.current&&i.prevButton.add(i.innerPrevButton).addClass("disabled"),i.current>=i.total-1&&i.nextButton.add(i.innerNextButton).addClass("disabled")),t.resetCycle(),"function"==typeof o.callback.onAfterChange&&o.callback.onAfterChange.call(t,t.ui)}},moveTo:function(e){var t=this,i=t.vars,o=t.options,s=o.path.toLowerCase(),a=J(),r=o.effects.switchSpeed;if(i.nextLock||i.prevLock)return!1;var l="next"==e?i.next:i.prev;if(o.linkId&&(i.hashLock=!0,n.location.hash=o.linkId+"/"+l),"next"==e){if(!t.items[l])return!1;var c=i.nextPhoto,h=i.holder,u=i.prevPhoto,p="ilightbox-prev",d="ilightbox-next"}else if("prev"==e){if(!t.items[l])return!1;c=i.prevPhoto,h=i.holder,u=i.nextPhoto,p="ilightbox-next",d="ilightbox-prev"}"function"==typeof o.callback.onBeforeChange&&o.callback.onBeforeChange.call(t,t.ui),"next"==e?i.nextLock=!0:i.prevLock=!0;var f=g("div.ilightbox-caption",h),m=g("div.ilightbox-social",h);f.length&&f.stop().fadeOut(r,(function(){g(this).remove()})),m.length&&m.stop().fadeOut(r,(function(){g(this).remove()})),t.items[l].caption&&(t.setCaption(t.items[l],c),f=g("div.ilightbox-caption",c),m=parseInt(f.outerHeight()/c.outerHeight()*100),o.caption.start&&50>=m&&f.fadeIn(r)),(f=t.items[l].options.social)&&(t.setSocial(f,t.items[l].URL,c),o.social.start&&g("div.ilightbox-social",c).fadeIn(o.effects.fadeSpeed)),g.each([c,h,u],(function(e,t){t.removeClass("ilightbox-next ilightbox-prev")}));var v=c.data("offset"),b=(f=a.width-o.styles.pageOffsetX,a=a.height-o.styles.pageOffsetY,m=v.newDims.width,v.newDims.height),x=v.thumbsOffset,y=(v=v.diff,parseInt(a/2-b/2-v.H-x.H/2));v=parseInt(f/2-m/2-v.W-x.W/2);c.css(C,H).animate({top:y,left:v,opacity:1},r,i.isSwipe?"easeOutCirc":"easeInOutCirc",(function(){c.css(C,"")})),g("div.ilightbox-container",c).animate({width:m,height:b},r,i.isSwipe?"easeOutCirc":"easeInOutCirc");var w=(b=h.data("offset")).object;v=b.diff,m=b.newDims.width,b=b.newDims.height,m=parseInt(m*o.styles["next"==e?"prevScale":"nextScale"]),b=parseInt(b*o.styles["next"==e?"prevScale":"nextScale"]),y="horizontal"==s?parseInt(a/2-w.offsetY-b/2-v.H-x.H/2):parseInt(a-w.offsetX-v.H-x.H/2);"prev"==e?v="horizontal"==s?parseInt(f-w.offsetX-v.W-x.W/2):parseInt(f/2-m/2-v.W-w.offsetY-x.W/2):(y="horizontal"==s?y:parseInt(w.offsetX-v.H-b-x.H/2),v="horizontal"==s?parseInt(w.offsetX-v.W-m-x.W/2):parseInt(f/2-w.offsetY-m/2-v.W-x.W/2)),g("div.ilightbox-container",h).animate({width:m,height:b},r,i.isSwipe?"easeOutCirc":"easeInOutCirc"),h.addClass(p).css(C,H).animate({top:y,left:v,opacity:o.styles.prevOpacity},r,i.isSwipe?"easeOutCirc":"easeInOutCirc",(function(){h.css(C,""),g(".ilightbox-thumbnail",i.thumbnails).removeClass("ilightbox-active").eq(l).addClass("ilightbox-active"),t.positionThumbnails(),t.items[l]&&(i.lockWheel=!t.items[l].options.mousewheel,i.lockSwipe=!t.items[l].options.swipe),i.isSwipe=!1,"next"==e?(i.nextPhoto=u,i.prevPhoto=h,i.holder=c,i.nextPhoto.hide(),i.next+=1,i.prev=i.current,i.current+=1,o.infinite&&(i.current>i.total-1&&(i.current=0),i.current==i.total-1&&(i.next=0),0==i.current&&(i.prev=i.total-1)),t.createUI(),t.items[i.next]?t.loadContent(t.items[i.next],"next"):i.nextLock=!1):(i.prevPhoto=u,i.nextPhoto=h,i.holder=c,i.prevPhoto.hide(),i.next=i.current,i.current=i.prev,i.prev=i.current-1,o.infinite&&(i.current==i.total-1&&(i.next=0),0==i.current&&(i.prev=i.total-1)),t.createUI(),t.items[i.prev]?t.loadContent(t.items[i.prev],"prev"):i.prevLock=!1),o.linkId&&setTimeout((function(){i.hashLock=!1}),55),o.infinite||(i.nextButton.add(i.prevButton).add(i.innerPrevButton).add(i.innerNextButton).removeClass("disabled"),0==i.current&&i.prevButton.add(i.innerPrevButton).addClass("disabled"),i.current>=i.total-1&&i.nextButton.add(i.innerNextButton).addClass("disabled")),t.repositionPhoto(),t.resetCycle(),"function"==typeof o.callback.onAfterChange&&o.callback.onAfterChange.call(t,t.ui)})),y="horizontal"==s?F(u,"top"):"next"==e?parseInt(-a/2-u.outerHeight()):parseInt(2*y),v="horizontal"==s?"next"==e?parseInt(-f/2-u.outerWidth()):parseInt(2*v):F(u,"left"),u.css(C,H).animate({top:y,left:v,opacity:o.styles.nextOpacity},r,i.isSwipe?"easeOutCirc":"easeInOutCirc",(function(){u.css(C,"")})).addClass(d)},setCaption:function(e,t){var i=g('<div class="ilightbox-caption"></div>');e.caption&&(i.html(e.caption),g("div.ilightbox-container",t).append(i))},normalizeSocial:function(e,t){var i=this.options,o=n.location.href;return g.each(e,(function(s,a){if(!a)return!0;var r,l;switch(s.toLowerCase()){case"facebook":r="http://www.facebook.com/share.php?v=4&src=bm&u={URL}",l="Share on Facebook";break;case"twitter":r="http://twitter.com/home?status={URL}",l="Share on Twitter";break;case"googleplus":r="https://plus.google.com/share?url={URL}",l="Share on Google+";break;case"delicious":r="http://delicious.com/post?url={URL}",l="Share on Delicious";break;case"digg":r="http://digg.com/submit?phase=2&url={URL}",l="Share on Digg";break;case"reddit":r="http://reddit.com/submit?url={URL}",l="Share on reddit"}e[s]={URL:a.URL&&N(o,a.URL)||i.linkId&&n.location.href||"string"!=typeof t&&o||t&&N(o,t)||o,source:a.source||r||a.URL&&N(o,a.URL)||t&&N(o,t),text:a.text||l||"Share on "+s,width:void 0===a.width||isNaN(a.width)?640:parseInt(a.width),height:a.height||360}})),e},setSocial:function(e,t,i){var o=g('<div class="ilightbox-social"></div>'),n="<ul>";e=this.normalizeSocial(e,t),g.each(e,(function(e,t){e.toLowerCase();var i=t.source.replace(/\{URL\}/g,encodeURIComponent(t.URL).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+"));n+='<li class="'+e+'"><a href="'+i+'" onclick="javascript:window.open(this.href'+(0>=t.width||0>=t.height?"":", '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height="+t.height+",width="+t.width+",left=40,top=40'")+');return false;" title="'+t.text+'" target="_blank"></a></li>'})),n+="</ul>",o.html(n),g("div.ilightbox-container",i).append(o)},fullScreenAction:function(){z.supportsFullScreen?z.isFullScreen()?z.cancelFullScreen(document.documentElement):z.requestFullScreen(document.documentElement):this.doFullscreen()},doFullscreen:function(){var e=this.vars,t=J(),i=this.options;if(i.fullAlone){var o=e.holder,n=this.items[e.current],s=t.width,a=t.height,r=[o,e.nextPhoto,e.prevPhoto,e.nextButton,e.prevButton,e.overlay,e.toolbar,e.thumbnails,e.loader];t=[e.nextPhoto,e.prevPhoto,e.nextButton,e.prevButton,e.loader,e.thumbnails];if(e.isInFullScreen)e.isInFullScreen=e.lockKey=e.lockWheel=e.lockSwipe=!1,e.overlay.css({opacity:this.options.overlay.opacity}),g.each(t,(function(e,t){t.show()})),e.fullScreenButton.attr("title",i.text.enterFullscreen),o.data({naturalWi
1dth:o.data("naturalWidthOld"),naturalHeight:o.data("naturalHeightOld"),naturalWidthOld:null,naturalHeightOld:null}),g.each(r,(function(e,t){t.removeClass("ilightbox-fullscreen")})),"function"==typeof i.callback.onExitFullScreen&&i.callback.onExitFullScreen.call(this,this.ui);else{if(e.isInFullScreen=e.lockKey=e.lockWheel=e.lockSwipe=!0,e.overlay.css({opacity:1}),g.each(t,(function(e,t){t.hide()})),e.fullScreenButton.attr("title",i.text.exitFullscreen),-1!=i.fullStretchTypes.indexOf(n.type))o.data({naturalWidthOld:o.data("naturalWidth"),naturalHeightOld:o.data("naturalHeight"),naturalWidth:s,naturalHeight:a});else{t=n.options.fullViewPort||i.fullViewPort||"",e=s,n=a,s=o.data("naturalWidth");var l=o.data("naturalHeight");"fill"==t.toLowerCase()?(n=e/s*l)<a&&(e=a/l*s,n=a):"fit"==t.toLowerCase()?(e=(a=this.getNewDimenstions(e,n,s,l,!0)).width,n=a.height):"stretch"!=t.toLowerCase()&&(e=(a=this.getNewDimenstions(e,n,s,l,s>e||l>n)).width,n=a.height),o.data({naturalWidthOld:o.data("naturalWidth"),naturalHeightOld:o.data("naturalHeight"),naturalWidth:e,naturalHeight:n})}g.each(r,(function(e,t){t.addClass("ilightbox-fullscreen")})),"function"==typeof i.callback.onEnterFullScreen&&i.callback.onEnterFullScreen.call(this,this.ui)}}else e.isInFullScreen=!e.isInFullScreen;this.repositionPhoto(!0)},closeAction:function(){var e=this.vars,t=this.options;O.unbind(".iLightBox"),E.off(".iLightBox"),e.isInFullScreen&&z.cancelFullScreen(document.documentElement),g(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbnails").off(".iLightBox"),t.hide.effect?e.overlay.stop().fadeOut(t.hide.speed,(function(){e.overlay.remove(),e.BODY.removeClass("ilightbox-noscroll").off(".iLightBox")})):(e.overlay.remove(),e.BODY.removeClass("ilightbox-noscroll").off(".iLightBox")),g.each([e.toolbar,e.holder,e.nextPhoto,e.prevPhoto,e.nextButton,e.prevButton,e.loader,e.thumbnails],(function(e,t){t.removeAttr("style").remove()})),e.dontGenerateThumbs=e.isInFullScreen=!1,n.iLightBox=null,t.linkId&&(e.hashLock=!0,fa(),setTimeout((function(){e.hashLock=!1}),55)),"function"==typeof t.callback.onHide&&t.callback.onHide.call(this,this.ui)},repositionPhoto:function(){var e=this.vars,t=this.options,i=t.path.toLowerCase(),o=(s=J()).width,n=s.height,s=e.isInFullScreen&&t.fullAlone||e.isMobile?0:"horizontal"==i?0:e.thumbnails.outerWidth(),a=e.isMobile?e.toolbar.outerHeight():e.isInFullScreen&&t.fullAlone?0:"horizontal"==i?e.thumbnails.outerHeight():0,r=(o=e.isInFullScreen&&t.fullAlone?o:o-t.styles.pageOffsetX,n=e.isInFullScreen&&t.fullAlone?n:n-t.styles.pageOffsetY,"horizontal"==i?parseInt(this.items[e.next]||this.items[e.prev]?2*(t.styles.nextOffsetX+t.styles.prevOffsetX):30>=o/10?30:o/10):parseInt(30>=o/10?30:o/10)+s),l="horizontal"==i?parseInt(30>=n/10?30:n/10)+a:parseInt(this.items[e.next]||this.items[e.prev]?2*(t.styles.nextOffsetX+t.styles.prevOffsetX):30>=n/10?30:n/10);s={type:"current",width:o,height:n,item:this.items[e.current],offsetW:r,offsetH:l,thumbsOffsetW:s,thumbsOffsetH:a,animate:arguments.length,holder:e.holder};this.repositionEl(s),this.items[e.next]&&(s=g.extend(s,{type:"next",item:this.items[e.next],offsetX:t.styles.nextOffsetX,offsetY:t.styles.nextOffsetY,holder:e.nextPhoto}),this.repositionEl(s)),this.items[e.prev]&&(s=g.extend(s,{type:"prev",item:this.items[e.prev],offsetX:t.styles.prevOffsetX,offsetY:t.styles.prevOffsetY,holder:e.prevPhoto}),this.repositionEl(s)),t="horizontal"==i?{left:parseInt(o/2-e.loader.outerWidth()/2)}:{top:parseInt(n/2-e.loader.outerHeight()/2)},e.loader.css(t)},repositionEl:function(e){var t=this.vars,i=this.options,o=i.path.toLowerCase(),n="current"==e.type&&t.isInFullScreen&&i.fullAlone?e.width:e.width-e.offsetW,s="current"==e.type&&t.isInFullScreen&&i.fullAlone?e.height:e.height-e.offsetH,a=e.item,r=e.item.options,l=e.holder,c=e.offsetX||0,h=e.offsetY||0,u=e.thumbsOffsetW,p=e.thumbsOffsetH;switch("current"==e.type?("number"==typeof r.width&&r.width&&(n=t.isInFullScreen&&i.fullAlone&&(-1!=i.fullStretchTypes.indexOf(a.type)||r.fullViewPort||i.fullViewPort)?n:r.width>n?n:r.width),"number"==typeof r.height&&r.height&&(s=t.isInFullScreen&&i.fullAlone&&(-1!=i.fullStretchTypes.indexOf(a.type)||r.fullViewPort||i.fullViewPort)?s:r.height>
1s?s:r.height)):("number"==typeof r.width&&r.width&&(n=r.width>n?n:r.width),"number"==typeof r.height&&r.height&&(s=r.height>s?s:r.height)),s=parseInt(s-g(".ilightbox-inner-toolbar",l).outerHeight()),t="string"==typeof r.width&&-1!=r.width.indexOf("%")?aa(parseInt(r.width.replace("%","")),e.width):l.data("naturalWidth"),a="string"==typeof r.height&&-1!=r.height.indexOf("%")?aa(parseInt(r.height.replace("%","")),e.height):l.data("naturalHeight"),a="string"==typeof r.width&&-1!=r.width.indexOf("%")||"string"==typeof r.height&&-1!=r.height.indexOf("%")?{width:t,height:a}:this.getNewDimenstions(n,s,t,a),n=g.extend({},a,{}),"prev"==e.type||"next"==e.type?(t=parseInt(a.width*("next"==e.type?i.styles.nextScale:i.styles.prevScale)),a=parseInt(a.height*("next"==e.type?i.styles.nextScale:i.styles.prevScale))):(t=a.width,a=a.height),s=parseInt((F(l,"padding-left")+F(l,"padding-right")+F(l,"border-left-width")+F(l,"border-right-width"))/2),r=parseInt((F(l,"padding-top")+F(l,"padding-bottom")+F(l,"border-top-width")+F(l,"border-bottom-width")+g(".ilightbox-inner-toolbar",l).outerHeight())/2),e.type){case"current":var d=parseInt(e.height/2-a/2-r-p/2),f=parseInt(e.width/2-t/2-s-u/2);break;case"next":d="horizontal"==o?parseInt(e.height/2-h-a/2-r-p/2):parseInt(e.height-c-r-p/2),f="horizontal"==o?parseInt(e.width-c-s-u/2):parseInt(e.width/2-t/2-s-h-u/2);break;case"prev":d="horizontal"==o?parseInt(e.height/2-h-a/2-r-p/2):parseInt(c-r-a-p/2),f="horizontal"==o?parseInt(c-s-t-u/2):parseInt(e.width/2-h-t/2-s-u/2)}l.data("offset",{top:d,left:f,newDims:n,diff:{W:s,H:r},thumbsOffset:{W:u,H:p},object:e}),0<e.animate&&i.effects.reposition?(l.css(C,H).stop().animate({top:d,left:f},i.effects.repositionSpeed,"easeOutCirc",(function(){l.css(C,"")})),g("div.ilightbox-container",l).stop().animate({width:t,height:a},i.effects.repositionSpeed,"easeOutCirc"),g("div.ilightbox-inner-toolbar",l).stop().animate({width:t},i.effects.repositionSpeed,"easeOutCirc",(function(){g(this).css("overflow","visible")}))):(l.css({top:d,left:f}),g("div.ilightbox-container",l).css({width:t,height:a}),g("div.ilightbox-inner-toolbar",l).css({width:t}))},resume:function(e){var t=this,i=t.vars,o=t.options;!o.slideshow.pauseTime||o.controls.slideshow&&1>=i.total||e<i.isPaused||(i.isPaused=0,i.cycleID&&(i.cycleID=clearTimeout(i.cycleID)),i.cycleID=setTimeout((function(){i.current==i.total-1?t.goTo(0):t.moveTo("next")}),o.slideshow.pauseTime))},pause:function(e){var t=this.vars;e<t.isPaused||(t.isPaused=e||100,t.cycleID&&(t.cycleID=clearTimeout(t.cycleID)))},resetCycle:function(){var e=this.vars;this.options.controls.slideshow&&e.cycleID&&!e.isPaused&&this.resume()},getNewDimenstions:function(e,t,i,o,n){return factor=e?t?Y(e/i,t/o):e/i:t/o,n||(factor>this.options.maxScale?factor=this.options.maxScale:factor<this.options.minScale&&(factor=this.options.minScale)),{width:e=this.options.keepAspectRatio?X(i*factor):e,height:t=this.options.keepAspectRatio?X(o*factor):t,ratio:factor}},setOption:function(e){this.options=g.extend(!0,this.options,e||{}),this.refresh()},availPlugins:function(){var e=document.createElement("video");this.plugins={flash:0<=parseInt(Q.getVersion("Shockwave"))||0<=parseInt(Q.getVersion("Flash")),quicktime:0<=parseInt(Q.getVersion("QuickTime")),html5H264:!(!e.canPlayType||!e.canPlayType("video/mp4").replace(/no/,"")),html5WebM:!(!e.canPlayType||!e.canPlayType("video/webm").replace(/no/,"")),html5Vorbis:!(!e.canPlayType||!e.canPlayType("video/ogg").replace(/no/,"")),html5QuickTime:!(!e.canPlayType||!e.canPlayType("video/quicktime").replace(/no/,""))}},addContent:function(e,t){var i;switch(t.type){case"video":var o=!1,n=t.videoType,s=t.options.html5video;("video/mp4"==n||"mp4"==t.ext||"m4v"==t.ext||s.h264)&&this.plugins.html5H264?(t.ext="mp4",t.URL=s.h264||t.URL):s.webm&&this.plugins.html5WebM?(t.ext="webm",t.URL=s.webm||t.URL):s.ogg&&this.plugins.html5Vorbis&&(t.ext="ogv",t.URL=s.ogg||t.URL),!this.plugins.html5H264||"video/mp4"!=n&&"mp4"!=t.ext&&"m4v"!=t.ext?!this.plugins.html5WebM||"video/webm"!=n&&"webm"!=t.ext?!this.plugins.html5Vorbis||"video/ogg"!=n&&"ogv"!=t.ext?!this.plugins.html5QuickTime||"video/quicktime"!=n&&"mov"!=t.ext&&"qt"!=t.ext||(o=!0,n="video/quicktime"):(o=!0,n="video/ogg"):(o=!0,n="video/webm"):(o=!0,n="video/mp4"),o?i=g("<video />
1",{width:"100%",height:"100%",preload:s.preload,autoplay:s.autoplay,poster:s.poster,controls:s.controls}).append(g("<source />",{src:t.URL,type:n})):this.plugins.quicktime?(i=g("<object />",{type:"video/quicktime",pluginspage:"http://www.apple.com/quicktime/download"}).attr({data:t.URL,width:"100%",height:"100%"}).append(g("<param />",{name:"src",value:t.URL})).append(g("<param />",{name:"autoplay",value:"false"})).append(g("<param />",{name:"loop",value:"false"})).append(g("<param />",{name:"scale",value:"tofit"})),D.msie&&(i=ja(t.URL,"100%","100%","","SCALE","tofit","AUTOPLAY","false","LOOP","false"))):i=g("<span />",{class:"ilightbox-alert",html:this.options.errors.missingPlugin.replace("{pluginspage}","http://www.apple.com/quicktime/download").replace("{type}","QuickTime")});break;case"flash":if(this.plugins.flash){var a="",r=0;t.options.flashvars?g.each(t.options.flashvars,(function(e,t){0!=r&&(a+="&"),a+=e+"="+encodeURIComponent(t),r++})):a=null,i=g("<embed />").attr({type:"application/x-shockwave-flash",src:t.URL,width:"number"==typeof t.options.width&&t.options.width&&"1"==this.options.minScale&&"1"==this.options.maxScale?t.options.width:"100%",height:"number"==typeof t.options.height&&t.options.height&&"1"==this.options.minScale&&"1"==this.options.maxScale?t.options.height:"100%",quality:"high",bgcolor:"#000000",play:"true",loop:"true",menu:"true",wmode:"transparent",scale:"showall",allowScriptAccess:"always",allowFullScreen:"true",flashvars:a,fullscreen:"yes"})}else i=g("<span />",{class:"ilightbox-alert",html:this.options.errors.missingPlugin.replace("{pluginspage}","http://www.adobe.com/go/getflash").replace("{type}","Adobe Flash player")});break;case"iframe":i=g("<iframe />").attr({width:"number"==typeof t.options.width&&t.options.width&&"1"==this.options.minScale&&"1"==this.options.maxScale?t.options.width:"100%",height:"number"==typeof t.options.height&&t.options.height&&"1"==this.options.minScale&&"1"==this.options.maxScale?t.options.height:"100%",src:t.URL,frameborder:0,hspace:0,vspace:0,scrolling:A?"auto":"scroll",webkitAllowFullScreen:"",mozallowfullscreen:"",allowFullScreen:""});break;case"inline":i=g('<div class="ilightbox-wrapper"></div>').html(g(t.URL).clone(!0));break;case"html":(o=t.URL)[0].nodeName||(o=(o=g(t.URL)).selector?g("<div>"+o+"</div>"):o),i=g('<div class="ilightbox-wrapper"></div>').html(o)}return g("div.ilightbox-container",e).empty().html(i),"video"===i[0].tagName.toLowerCase()&&D.webkit&&setTimeout((function(){var e=i[0].currentSrc+"?"+M(3e4*T());i[0].currentSrc=e,i[0].src=e})),i},ogpRecognition:function(e,t){var i=this,o=e.URL;i.showLoader(),ga(o,(function(e){if(i.hideLoader(),e){var o={length:!1};if(o.url=e.url,200==e.status){var n=(e=e.results).type,s=e.source;o.source=s.src,o.width=s.width&&parseInt(s.width)||0,o.height=s.height&&parseInt(s.height)||0,o.type=n,o.thumbnail=s.thumbnail||e.images[0],o.html5video=e.html5video||{},o.length=!0,"application/x-shockwave-flash"==s.type?o.type="flash":-1!=s.type.indexOf("video/")?o.type="video":-1!=s.type.indexOf("/html")?o.type="iframe":-1!=s.type.indexOf("image/")&&(o.type="image")}else if(void 0!==e.response)throw e.response;t.call(this,!!o.length&&o)}}))},hashChangeHandler:function(e){var t=this.vars,i=this.options,o=(e=V(e||n.location.href).hash).split("/"),s=o[1];t.hashLock||"#"+i.linkId!=o[0]&&1<e.length||(s?(t=o[1]||0,this.items[t]?(e=g(".ilightbox-overlay")).length&&e.attr("linkid")==i.linkId?this.goTo(t):this.itemsObject[t].trigger(A?"itap":"click"):(e=g(".ilightbox-overlay")).length&&this.closeAction()):(e=g(".ilightbox-overlay")).length&&this.closeAction())}},g.fn.iLightBox=function(){var e=arguments,t=g.isPlainObject(e[0])?e[0]:e[1],i=g.isArray(e[0])||"string"==typeof e[0]?e[0]:e[1];t||(t={});t=g.extend(!0,{attr:"href",path:"vertical",skin:"dark",linkId:!1,infinite:!1,startFrom:0,randomStart:!1,keepAspectRatio:!0,maxScale:1,minScale:.2,innerToolbar:!1,smartRecognition:!1,mobileOptimizer:!0,fullAlone:!0,fullViewPort:null,fullStretchTypes:"flash, video",overlay:{blur:!0,opacity:.85},controls:{arrows:!1,slideshow:!1,toolbar:!0,fullscreen:!0,thumbnail:!0,keyboard:!0,mousewheel:!0,swipe:!0}
1,keyboard:{left:!0,right:!0,up:!0,down:!0,esc:!0,shift_enter:!0},show:{effect:!0,speed:300,title:!0},hide:{effect:!0,speed:300},caption:{start:!0,show:"mouseenter",hide:"mouseleave"},social:{start:!0,show:"mouseenter",hide:"mouseleave",buttons:!1},styles:{pageOffsetX:0,pageOffsetY:0,nextOffsetX:45,nextOffsetY:0,nextOpacity:1,nextScale:1,prevOffsetX:45,prevOffsetY:0,prevOpacity:1,prevScale:1},thumbnails:{maxWidth:120,maxHeight:80,normalOpacity:1,activeOpacity:.6},effects:{reposition:!0,repositionSpeed:200,switchSpeed:500,loadedFadeSpeed:180,fadeSpeed:200},slideshow:{pauseTime:5e3,pauseOnHover:!1,startPaused:!0},text:{close:"Press Esc to close",enterFullscreen:"Enter Fullscreen (Shift+Enter)",exitFullscreen:"Exit Fullscreen (Shift+Enter)",slideShow:"Slideshow",next:"Next",previous:"Previous"},errors:{loadImage:"An error occurred when trying to load photo.",loadContents:"An error occurred when trying to load contents.",missingPlugin:"The content your are attempting to view requires the <a href='{pluginspage}' target='_blank'>{type} plugin</a>."},ajaxSetup:{url:"",beforeSend:function(e,t){},cache:!1,complete:function(e,t){},crossDomain:!1,error:function(e,t,i){},success:function(e,t,i){},global:!0,ifModified:!1,username:null,password:null,type:"GET"},callback:{}},t);var o=!(!g.isArray(i)&&"string"!=typeof i);i=g.isArray(i)?i:[];if("string"==typeof e[0]&&(i[0]=e[0]),ha(g.fn.jquery,"1.8",">=")){var n=new ea(g(this),t,i,o);return{close:function(){n.closeAction()},fullscreen:function(){n.fullScreenAction()},moveNext:function(){n.moveTo("next")},movePrev:function(){n.moveTo("prev")},goTo:function(e){n.goTo(e)},refresh:function(){n.refresh()},reposition:function(){0<arguments.length?n.repositionPhoto(!0):n.repositionPhoto()},setOption:function(e){n.setOption(e)},destroy:function(){n.closeAction(),n.dispatchItemsEvents()}}}throw"The jQuery version that was loaded is too old. iLightBox requires jQuery 1.8+"},g.iLightBox=function(e,t){return g.fn.iLightBox(e,t)},g.extend(g.easing,{easeInCirc:function(e,t,i,o,n){return-o*(P(1-(t/=n)*t)-1)+i},easeOutCirc:function(e,t,i,o,n){return o*P(1-(t=t/n-1)*t)+i},easeInOutCirc:function(e,t,i,o,n){return 1>(t/=n/2)?-o/2*(P(1-t*t)-1)+i:o/2*(P(1-(t-=2)*t)+1)+i}}),g.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),(function(e,t){g.fn[t]=function(e){return e?this.bind(t,e):this.trigger(t)},g.attrFn&&(g.attrFn[t]=!0)})),g.event.special.itap={setup:function(){var e,t,i=this,o=g(this);o.bind("touchstart.iTap",(function(s){e=L(),o.one("touchend.iTap",(function(o){t=L(),(o=g.event.fix(o||n.event)).type="itap",e&&t&&e.x==t.x&&e.y==t.y&&(g.event.dispatch||g.event.handle).call(i,o),e=t=R}))}))},teardown:function(){g(this).unbind("touchstart.iTap")}},function(){if(z={supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",prefix:""},browserPrefixes=["webkit","moz","o","ms","khtml"],void 0!==document.cancelFullScreen)z.supportsFullScreen=!0;else for(var e=0,t=browserPrefixes.length;e<t;e++)if(z.prefix=browserPrefixes[e],void 0!==document[z.prefix+"CancelFullScreen"]){z.supportsFullScreen=!0;break}z.supportsFullScreen&&(z.fullScreenEventName=z.prefix+"fullscreenchange",z.isFullScreen=function(){switch(this.prefix){case"":return document.fullScreen;case"webkit":return document.webkitIsFullScreen;default:return document[this.prefix+"FullScreen"]}},z.requestFullScreen=function(e){return""===this.prefix?e.requestFullScreen():e[this.prefix+"RequestFullScreen"]()},z.cancelFullScreen=function(e){return""===this.prefix?document.cancelFullScreen():document[this.prefix+"CancelFullScreen"]()})}(),a=(a=navigator.userAgent).toLowerCase(),b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||0>a.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[],a=b[1]||"",b=b[2]||"0",D={},a&&(D[a]=!0,D.version=b),D.chrome?D.webkit=!0:D.webkit&&(D.safari=!0),function(){function e(e){for(var o=0,n=t.length;o<n;o++){var s=t[o]?t[o]+e.charAt(0).toUpperCase()+e.slice(1):e;if(i.style[s]!==R)return s}}var t=["","webkit","moz","ms","o"],i=document.createElement("div");C=e("transform")||"",H=e("perspective")?"translateZ(0) ":""}();var Q={version:"0.7.9",name:"PluginDetect",handler:function(e,t,i){return function(){e(t,i)}},openTag:"<",isDefined:function(e){return void 0!==e},isArray:function(e){return/array/i.test(Object.prototype.toString.call(e))},isFunc:function(e){return"function"==typeof e},isString:function(e){return"string"==typeof e},isNum:function(e){return"number"==typeof e},isStrNum:function(e){return"string"==typeof e&&/\d/.test(e)},getNumRegx:/[\d][\d\.\_,-]*/,splitNumRegx:/[\.\_,-]/g,getNum:function(e,t){var i=this.isStrNum(e)?(this.isDefined(t)?new RegExp(t):this.getNumRegx).exec(e):null;return i?i[0]:null},compareNums:function(e,t,i){var o=parseInt;if(this.isStrNum(e)&&this.isStrNum(t)){if(this.isDefined(i)&&i.compareNums)return i.compareNums(e,t);for(e=e.split(this.splitNumRegx),t=t.split(this.splitNumRegx),i=0;i<Y(e.length,t.length);i++){if(o(e[i],10)>o(t[i],10))return 1;if(o(e[i],10)<o(t[i],10))return-1}}return 0},formatNum:function(e,t){var i,o;if(!this.isStrNum(e))return null;for(this.isNum(t)||(t=4),t--,o=e.replace(/\s/g,"").split(this.splitNumRegx).concat(["0","0","0","0"]),i=0;4>i;i++)/^(0+)(.+)$/.test(o[i])&&(o[i]=RegExp.$2),(i>t||!/\d/.test(o[i]))&&(o[i]="0");return o.slice(0,4).join(",")},$$hasMimeType:function(e){return function(t){if(!e.isIE&&t){var i,o,n=e.isArray(t)?t:e.isString(t)?[t]:[];for(o=0;o<n.length;o++)if(e.isString(n[o])&&/[^\s]/.test(n[o])&&(i=(t=navigator.mimeTypes[n[o]])?t.enabledPlugin:0)&&(i.name||i.description))return t}return null}},findNavPlugin:function(e,t,i){e=new RegExp(e,"i"),t=!this.isDefined(t)||t?/\d/:0,i=i?new RegExp(i,"i"):0;var o,n,s,a=navigator.plugins;for(o=0;o<a.length;o++)if(s=a[o].description||"",n=a[o].name||"",(e.test(s)&&(!t||t.test(RegExp.leftContext+RegExp.rightContext))||e.test(n)&&(!t||t.test(RegExp.leftContext+RegExp.rightContext)))&&(!i||!i.test(s)&&!i.test(n)))return a[o];return null},getMimeEnabledPlugin:function(e,t,i){var o;t=new RegExp(t,"i"),i=i?new RegExp(i,"i"):0;var n,s,a=this.isString(e)?[e]:e;for(s=0;s<a.length;s++)if((o=this.hasMimeType(a[s]))&&(o=o.enabledPlugin)&&(n=o.description||"",e=o.name||"",t.test(n)||t.test(e))&&(!i||!i.test(n)&&!i.test(e)))return o;return 0},getPluginFileVersion:function(e,t){var i,o,n,s,a=-1;if(2<this.OS||!e||!e.version||!(i=this.getNum(e.version)))return t;if(!t)return i;
1for(i=this.formatNum(i),o=(t=this.formatNum(t)).split(this.splitNumRegx),n=i.split(this.splitNumRegx),s=0;s<o.length;s++)if(-1<a&&s>a&&"0"!=o[s]||n[s]!=o[s]&&(-1==a&&(a=s),"0"!=o[s]))return t;return i},AXO:n.ActiveXObject,getAXO:function(e){var t=null;try{t=new this.AXO(e)}catch(e){}return t},convertFuncs:function(e){var t,i,o=/^[\$][\$]/;for(t in e)if(o.test(t))try{0<(i=t.slice(2)).length&&!e[i]&&(e[i]=e[t](e),delete e[t])}catch(e){}},initObj:function(e,t,i){var o;if(e){if(1==e[t[0]]||i)for(o=0;o<t.length;o+=2)e[t[o]]=t[o+1];for(o in e)(i=e[o])&&1==i[t[0]]&&this.initObj(i,t)}},initScript:function(){var e,t=navigator,i=document,o=t.userAgent||"",n=t.vendor||"",s=t.platform||"";t=t.product||"";for(e in this.initObj(this,["$",this]),this.Plugins)this.Plugins[e]&&this.initObj(this.Plugins[e],["$",this,"$$",this.Plugins[e]],1);if(this.convertFuncs(this),this.OS=100,s){var a=["Win",1,"Mac",2,"Linux",3,"FreeBSD",4,"iPhone",21.1,"iPod",21.2,"iPad",21.3,"Win.*CE",22.1,"Win.*Mobile",22.2,"Pocket\\s*PC",22.3,"",100];for(e=a.length-2;0<=e;e-=2)if(a[e]&&new RegExp(a[e],"i").test(s)){this.OS=a[e+1];break}}if(this.head=i.getElementsByTagName("head")[0]||i.getElementsByTagName("body")[0]||i.body||null,this.verIE=(this.isIE=new Function("return/*@cc_on!@*/!1")())&&/MSIE\s*(\d+\.?\d*)/i.test(o)?parseFloat(RegExp.$1,10):null,this.docModeIE=this.verIEfull=null,this.isIE){e=document.createElement("div");try{e.style.behavior="url(#default#clientcaps)",this.verIEfull=e.getComponentVersion("{89820200-ECBD-11CF-8B85-00AA005B4383}","componentid").replace(/,/g,".")}catch(e){}e=parseFloat(this.verIEfull||"0",10),this.docModeIE=i.documentMode||(/back/i.test(i.compatMode||"")?5:e)||this.verIE,this.verIE=e||this.docModeIE}if(this.ActiveXEnabled=!1,this.isIE)for(i="Msxml2.XMLHTTP Msxml2.DOMDocument Microsoft.XMLDOM ShockwaveFlash.ShockwaveFlash TDCCtl.TDCCtl Shell.UIHelper Scripting.Dictionary wmplayer.ocx".split(" "),e=0;e<i.length;e++)if(this.getAXO(i[e])){this.ActiveXEnabled=!0;break}this.verGecko=(this.isGecko=/Gecko/i.test(t)&&/Gecko\s*\/\s*\d/i.test(o))?this.formatNum
1(/rv\s*\:\s*([\.\,\d]+)/i.test(o)?RegExp.$1:"0.9"):null,this.verChrome=(this.isChrome=/Chrome\s*\/\s*(\d[\d\.]*)/i.test(o))?this.formatNum(RegExp.$1):null,this.verSafari=(this.isSafari=(/Apple/i.test(n)||!n&&!this.isChrome)&&/Safari\s*\/\s*(\d[\d\.]*)/i.test(o))&&/Version\s*\/\s*(\d[\d\.]*)/i.test(o)?this.formatNum(RegExp.$1):null,this.verOpera=(this.isOpera=/Opera\s*[\/]?\s*(\d+\.?\d*)/i.test(o))&&(/Version\s*\/\s*(\d+\.?\d*)/i.test(o),1)?parseFloat(RegExp.$1,10):null,this.addWinEvent("load",this.handler(this.runWLfuncs,this))},init:function(e){var t,i={status:-3,plugin:0};return this.isString(e)?1==e.length?(this.getVersionDelimiter=e,i):(e=e.toLowerCase().replace(/\s/g,""),(t=this.Plugins[e])&&t.getVersion?(i.plugin=t,this.isDefined(t.installed)||(t.installed=null,t.version=null,t.version0=null,t.getVersionDone=null,t.pluginName=e),this.garbage=!1,this.isIE&&!this.ActiveXEnabled&&"java"!==e?(i.status=-2,i):(i.status=1,i)):i):i},fPush:function(e,t){this.isArray(t)&&(this.isFunc(e)||this.isArray(e)&&0<e.length&&this.isFunc(e[0]))&&t.push(e)},callArray:function(e){var t;if(this.isArray(e))for(t=0;t<e.length&&null!==e[t];t++)this.call(e[t]),e[t]=null},call:function(e){var t=this.isArray(e)?e.length:-1;0<t&&this.isFunc(e[0])?e[0](this,1<t?e[1]:0,2<t?e[2]:0,3<t?e[3]:0):this.isFunc(e)&&e(this)},getVersionDelimiter:",",$$getVersion:function(e){return function(t,i,o){return 0>(t=e.init(t)).status?null:(1!=(t=t.plugin).getVersionDone&&(t.getVersion(null,i,o),null===t.getVersionDone&&(t.getVersionDone=1)),e.cleanup(),(i=t.version||t.version0)?i.replace(e.splitNumRegx,e.getVersionDelimiter):i)}},cleanup:function(){this.garbage&&this.isDefined(n.CollectGarbage)&&n.CollectGarbage()},isActiveXObject:function(e,t){var i=!1,o='<object width="1" height="1" style="display:none" '+e.getCodeBaseVersion(t)+">"+e.HTML+this.openTag+"/object>";if(!this.head)return i;this.head.insertBefore(document.createElement("object"),this.head.firstChild),this.head.firstChild.outerHTML=o;try{this.head.firstChild.classid=e.classID}catch(e){}try{this.head.firstChild.object&&(i=!0)}catch(e){}try{i&&4>this.head.firstChild.readyState&&(this.garbage=!0)}catch(e){}return this.head.removeChild(this.head.firstChild),i},codebaseSearch:function(e,t){var i=this;if(!i.ActiveXEnabled||!e)return null;e.BIfuncs&&e.BIfuncs.length&&null!==e.BIfuncs[e.BIfuncs.length-1]&&i.callArray(e.BIfuncs);var o,n=e.SEARCH;if(i.isStrNum(t))return!!(n.match&&n.min&&0>=i.compareNums(t,n.min))||!(n.match&&n.max&&0<=i.compareNums(t,n.max))&&((o=i.isActiveXObject(e,t))&&(!n.min||0<i.compareNums(t,n.min))&&(n.min=t),o||n.max&&!(0>i.compareNums(t,n.max))||(n.max=t),o);var s,a,r=[0,0,0,0],l=[].concat(n.digits),c=n.min?1:0,h=function(t,o){var n=[].concat(r);return n[t]=o,i.isActiveXObject(e,n.join(","))};if(n.max){for(o=n.max.split(i.splitNumRegx),s=0;s<o.length;s++)o[s]=parseInt(o[s],10);o[0]<l[0]&&(l[0]=o[0])}if(n.min){for(a=n.min.split(i.splitNumRegx),s=0;s<a.length;s++)a[s]=parseInt(a[s],10);a[0]>r[0]&&(r[0]=a[0])}if(a&&o)for(s=1;s<a.length&&a[s-1]==o[s-1];s++)o[s]<l[s]&&(l[s]=o[s]),a[s]>r[s]&&(r[s]=a[s]);if(n.max)for(s=1;s<l.length;s++)if(0<o[s]&&0==l[s]&&l[s-1]<n.digits[s-1]){l[s-1]+=1;break}for(s=0;s<l.length;s++){for(a={},n=0;20>n&&!(1>l[s]-r[s])&&!a["a"+(o=X((l[s]+r[s])/2))];n++)a["a"+o]=1,h(s,o)?(r[s]=o,c=1):l[s]=o;if(l[s]=r[s],!c&&h(s,r[s])&&(c=1),!c)break}return c?r.join(","):null},addWinEvent:function(e,t){var i;this.isFunc(t)&&(n.addEventListener?n.addEventListener(e,t,!1):n.attachEvent?n.attachEvent("on"+e,t):(i=n["on"+e],n["on"+e]=this.winHandler(t,i)))},winHandler:function(e,t){return function(){e(),"function"==typeof t&&t()}},WLfuncs0:[],WLfuncs:[],runWLfuncs:function(e){e.winLoaded=!0,e.callArray(e.WLfuncs0),e.callArray(e.WLfuncs),e.onDoneEmptyDiv&&e.onDoneEmptyDiv()},winLoaded:!1,$$onWindowLoaded:function(e){return function(t){e.winLoaded?e.call(t):e.fPush(t,e.WLfuncs)}},div:null,divID:"plugindetect",divWidth:50,pluginSize:1,emptyDiv:function(){var e,t,i,o;if(this.div&&this.div.childNodes)for(e=this.div.childNodes.length-1;0<=e;e--){if((i=this.div.childNodes[e])&&i.childNodes)for(t=i.childNodes.length-1;0<=t;t--){o=i.childNodes[t];try{i.removeChild(o)}catch(e){}}if(i)try{this.div.removeChild(i)}catch(e){}}if(!this.div&&(e=document.getElementById(this.divID))&&(this.div=e),this.div&&this.div.parentNode){try{this.div.parentNode.removeChild(this.div)}catch(e){}this.div=null}},DONEfuncs:[],onDoneEmptyDiv:function(){var e,t;if(this.winLoaded&&(!this.WLfuncs||!this.WLfuncs.length||null===this.WLfuncs[this.WLfuncs.length-1])){for(e in this)if((t=this[e])&&t.funcs&&(3==t.OTF||t.funcs.length&&null!==t.funcs[t.funcs.length-1]))return;for(e=0;e<this.DONEfuncs.length;e++)this.callArray(this.DONEfuncs);
1this.emptyDiv()}},getWidth:function(e){return e&&(e=e.scrollWidth||e.offsetWidth,this.isNum(e))?e:-1},getTagStatus:function(e,t,i,o){var n=e.span,s=this.getWidth(n);i=i.span;var a=this.getWidth(i);t=t.span;var r=this.getWidth(t);if(!(n&&i&&t&&this.getDOMobj(e)))return-2;if(a<r||0>s||0>a||0>r||r<=this.pluginSize||1>this.pluginSize)return 0;if(s>=r)return-1;try{if(s==this.pluginSize&&(!this.isIE||4==this.getDOMobj(e).readyState)&&(!e.winLoaded&&this.winLoaded||e.winLoaded&&this.isNum(o)&&(this.isNum(e.count)||(e.count=o),10<=o-e.count)))return 1}catch(e){}return 0},getDOMobj:function(e,t){var i=e?e.span:0,o=i&&i.firstChild?1:0;try{o&&t&&this.div.focus()}catch(e){}return o?i.firstChild:null},setStyle:function(e,t){var i,o=e.style;if(o&&t)for(i=0;i<t.length;i+=2)try{o[t[i]]=t[i+1]}catch(e){}},insertDivInBody:function(e,t){var i=null,o=t?n.top.document:n.document,s=o.getElementsByTagName("body")[0]||o.body;if(!s)try{o.write('<div id="pd33993399">.'+this.openTag+"/div>"),i=o.getElementById("pd33993399")}catch(e){}(s=o.getElementsByTagName("body")[0]||o.body)&&(s.insertBefore(e,s.firstChild),i&&s.removeChild(i))},insertHTML:function(e,t,i,o,n){var s,a,r=(n=document).createElement("span"),l="outlineStyle none borderStyle none padding 0px margin 0px visibility visible".split(" ");if(this.isDefined(o)||(o=""),this.isString(e)&&/[^\s]/.test(e)){for(e=e.toLowerCase().replace(/\s/g,""),s=this.openTag+e+' width="'+this.pluginSize+'" height="'+this.pluginSize+'" ',s+='style="outline-style:none;border-style:none;padding:0px;margin:0px;visibility:visible;display:inline;" ',a=0;a<t.length;a+=2)/[^\s]/.test(t[a+1])&&(s+=t[a]+'="'+t[a+1]+'" ');for(s+=">",a=0;a<i.length;a+=2)/[^\s]/.test(i[a+1])&&(s+=this.openTag+'param name="'+i[a]+'" value="'+i[a+1]+'" />');s+=o+this.openTag+"/"+e+">"}else s=o;if(this.div||((t=n.getElementById(this.divID))?this.div=t:(this.div=n.createElement("div"),this.div.id=this.divID),this.setStyle(this.div,l.concat(["width",this.divWidth+"px","height",this.pluginSize+3+"px","fontSize",this.pluginSize+3+"px","lineHeight",this.pluginSize+3+"px","verticalAlign","baseline","display","block"])),t||(this.setStyle(this.div,"position absolute right 0px top 0px".split(" ")),this.insertDivInBody(this.div))),this.div&&this.div.parentNode){this.setStyle(r,l.concat(["fontSize",this.pluginSize+3+"px","lineHeight",this.pluginSize+3+"px","verticalAlign","baseline","display","inline"]));try{r.innerHTML=s}catch(e){}try{this.div.appendChild(r)}catch(e){}return{span:r,winLoaded:this.winLoaded,tagName:e,outerHTML:s}}return{span:null,winLoaded:this.winLoaded,tagName:"",outerHTML:s}},Plugins:{quicktime:{mimeType:["video/quicktime","application/x-quicktimeplayer","image/x-macpaint","image/x-quicktime"],progID:"QuickTimeCheckObject.QuickTimeCheck.1",progID0:"QuickTime.QuickTime",classID:"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",minIEver:7,HTML:'<param name="src" value="" /><param name="controller" value="false" />',getCodeBaseVersion:function(e){return'codebase="#version='+e+'"'},SEARCH:{min:0,max:0,match:0,digits:[16,128,128,0]},getVersion:function(e){var t=this.$,i=null,o=null;if(t.isIE){if(t.isStrNum(e)&&(3<(e=e.split(t.splitNumRegx)).length&&0<parseInt(e[3],10)&&(e[3]="9999"),e=e.join(",")),t.isStrNum(e)&&t.verIE>=this.minIEver&&0<this.canUseIsMin())return this.installed=this.isMin(e),void(this.getVersionDone=0);this.getVersionDone=1,!i&&t.verIE>=this.minIEver&&(i=this.CDBASE2VER(t.codebaseSearch(this))),i||(o=t.getAXO(this.progID))&&o.QuickTimeVersion&&(i=o.QuickTimeVersion.toString(16),i=parseInt(i.charAt(0),16)+"."+parseInt(i.charAt(1),16)+"."+parseInt(i.charAt(2),16))}else t.hasMimeType(this.mimeType)&&(o=3!=t.OS?t.findNavPlugin("QuickTime.*Plug-?in",0):null)&&o.name&&(i=t.getNum(o.name));this.installed=i?1:o?0:-1,this.version=t.formatNum(i,3)},cdbaseUpper:["7,60,0,0","0,0,0,0"],cdbaseLower:["7,50,0,0",null],cdbase2ver:[function(e,t){var i=t.split(e.$.splitNumRegx);return[i[0],i[1].charAt(0),i[1].charAt(1),i[2]].join()},null],CDBASE2VER:function(e){var t,i=this.$,o=this.cdbaseUpper,n=this.cdbaseLower;if(e)for(e=i.formatNum(e),t=0;t<o.length;t++)if(o[t]&&0>i.compareNums(e,o[t])&&n[t]&&0<=i.compareNums(e,n[t])&&this.cdbase2ver[t])return this.cdbase2ver[t](this,e);return e},canUseIsMin:function(){var e,t=this.$,i=this.canUseIsMin,o=this.cdbaseUpper,n=this.cdbaseLower;if(!i.value)for(i.value=-1,e=0;e<o.length;e++){if(o[e]&&t.codebaseSearch(this,o[e])){i.value=1;break}if(n[e]&&t.codebaseSearch(this,n[e])){i.value=-1;break}}return this.SEARCH.match=1==i.value?1:0,i.value},isMin:function(e){return this.$.codebaseSearch(this,e)?.7:-1}},flash:{mimeType:"application/x-shockwave-flash",progID:"ShockwaveFlash.ShockwaveFlash",classID:"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000",getVersion:function(){var e,t=function(e){return e&&(e=/[\d][\d\,\.\s]*[rRdD]{0,1}[\d\,]*/.exec(e))?e[0].replace(/[rRdD\.]/g,",").replace(/\s/g,""):null}
1,i=this.$,o=null,n=null,s=null;if(i.isIE){for(e=15;2<e;e--)if(n=i.getAXO(this.progID+"."+e)){s=e.toString();break}if(n||(n=i.getAXO(this.progID)),"6"==s)try{n.AllowScriptAccess="always"}catch(e){return"6,0,21,0"}try{o=t(n.GetVariable("$version"))}catch(e){}!o&&s&&(o=s)}else{if(n=i.hasMimeType(this.mimeType)){e=i.getDOMobj(i.insertHTML("object",["type",this.mimeType],[],"",this));try{o=i.getNum(e.GetVariable("$version"))}catch(e){}}o||((e=n?n.enabledPlugin:null)&&e.description&&(o=t(e.description)),o&&(o=i.getPluginFileVersion(e,o)))}return this.installed=o?1:-1,this.version=i.formatNum(o),!0}},shockwave:{mimeType:"application/x-director",progID:"SWCtl.SWCtl",classID:"clsid:166B1BCA-3F9C-11CF-8075-444553540000",getVersion:function(){var e=null,t=null,i=this.$;if(i.isIE){try{t=i.getAXO(this.progID).ShockwaveVersion("")}catch(e){}i.isString(t)&&0<t.length?e=i.getNum(t):i.getAXO(this.progID+".8")?e="8":i.getAXO(this.progID+".7")?e="7":i.getAXO(this.progID+".1")&&(e="6")}else(t=i.findNavPlugin("Shockwave\\s*for\\s*Director"))&&t.description&&i.hasMimeType(this.mimeType)&&(e=i.getNum(t.description)),e&&(e=i.getPluginFileVersion(t,e));
1this.installed=e?1:-1,this.version=i.formatNum(e)}},zz:0}};Q.initScript();var ka='The "%%" function requires an even number of arguments.\nArguments should be in the form "atttributeName", "attributeValue", ...',q=null;!function(){function e(e){return"#"+(e=e||location.href).replace(/^[^#]*#?(.*)$/,"$1")}var t,i=document,o=g.event.special,s=i.documentMode,a="oniLightBoxHashChange"in n&&(void 0===s||7<s);g.fn.iLightBoxHashChange=function(e){return e?this.bind("iLightBoxHashChange",e):this.trigger("iLightBoxHashChange")},g.fn.iLightBoxHashChange.delay=50,o.iLightBoxHashChange=g.extend(o.iLightBoxHashChange,{setup:function(){if(a)return!1;g(t.start)},teardown:function(){if(a)return!1;g(t.stop)}}),t=function(){function t(){var i=e(),s=h(r);i!==r?(c(r=i,s),g(n).trigger("iLightBoxHashChange")):s!==r&&(location.href=location.href.replace(/#.*/,"")+s),o=setTimeout(t,g.fn.iLightBoxHashChange.delay)}var o,s={},r=e(),l=function(e){return e},c=l,h=l;return s.start=function(){o||t()},s.stop=function(){o&&clearTimeout(o),o=void 0},D.msie&&!a&&function(){var o,n;s.start=function(){o||(n=(n=g.fn.iLightBoxHashChange.src)&&n+e(),o=g('<iframe tabindex="-1" title="empty"/>').hide().one("load",(function(){n||c(e()),t()})).attr("src",n||"javascript:0").insertAfter("body")[0].contentWindow,i.onpropertychange=function(){try{"title"===event.propertyName&&(o.document.title=i.title)}catch(e){}})},s.stop=l,h=function(){return e(o.location.href)},c=function(e,t){var n=o.document,s=g.fn.iLightBoxHashChange.domain;e!==t&&(n.title=i.title,n.open(),s&&n.write('<script>document.domain="'+s+'"<\/script>'),n.close(),o.location.hash=e)}}(),s}()}(),Array.prototype.filter||(Array.prototype.filter=function(e,t){if(null==this)throw new TypeError;var i=Object(this),o=i.length>>>0;if("function"!=typeof e)throw new TypeError;for(var n=[],s=0;s<o;s++)if(s in i){var a=i[s];e.call(t,a,s,i)&&n.push(a)}return n}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var i;if(null==this)throw new TypeError('"this" is null or not defined');var o=Object(this),n=o.length>>>0;if(0===n)return-1;if(1/0===I(i=+t||0)&&(i=0),i>=n)return-1;for(i=ba(0<=i?i:n-I(i),0);i<n;){if(i in o&&o[i]===e)return i;i++}return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(e){if(null==this)throw new TypeError;var t=Object(this),i=t.length>>>0;if(0===i)return-1;var o=i;for(1<arguments.length&&((o=Number(arguments[1]))!=o?o=0:0!=o&&o!=1/0&&o!=-1/0&&(o=(0<o||-1)*M(I(o)))),i=0<=o?Y(o,i-1):i-I(o);0<=i;i--)if(i in t&&t[i]===e)return i;return-1})}(jQuery,this),function(e){function t(t){var i=t||window.event,o=[].slice.call(arguments,1),n=0,s=0,a=0;return(t=e.event.fix(i)).type="mousewheel",i.wheelDelta&&(n=i.wheelDelta/120),i.detail&&(n=-i.detail/3),a=n,void 0!==i.axis&&i.axis===i.HORIZONTAL_AXIS&&(a=0,s=-1*n),void 0!==i.wheelDeltaY&&(a=i.wheelDeltaY/120),void 0!==i.wheelDeltaX&&(s=-1*i.wheelDeltaX/120),o.unshift(t,n,s,a),(e.event.dispatch||e.event.handle).apply(this,o)}var i=["DOMMouseScroll","mousewheel"];if(e.event.fixHooks)for(var o=i.length;o;)e.event.fixHooks[i[--o]]=e.event.mouseHooks;e.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=i.length;e;)this.addEventListener(i[--e],t,!1);else this.onmousewheel=t},teardown:function(){if(this.removeEventListener)for(var e=i.length;e;)this.removeEventListener(i[--e],t,!1);else this.onmousewheel=null}},e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}(jQuery),function(e,t,i){for(var o,n=0,s=function(e){o&&(t.requestAnimationFrame(s,e),jQuery.fx.tick())},a=["ms","moz","webkit","o"],r=0,l=a.length;r<l&&!t.requestAnimationFrame;++r)t.requestAnimationFrame=t[a[r]+"RequestAnimationFrame"],t.cancelAnimationFrame=t[a[r]+"CancelAnimationFrame"]||t[a[r]+"CancelRequestAnimationFrame"];t.requestAnimationFrame||(t.requestAnimationFrame=function(e,i){var o=(new Date).getTime(),s=o-n,a=Math.max(0,16-s),r=t.setTimeout((function(){e(o+a)}),a);return n=o+a,r}),t.cancelAnimationFrame||(t.cancelAnimationFrame=function(e){clearTimeout(e)}
1),jQuery.fx.timer=function(e){e()&&jQuery.timers.push(e)&&!o&&(o=!0,s(e.elem))},jQuery.fx.stop=function(){o=!1}}(jQuery,this);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.