1window.clik||(clik={});clik.Photo=function(){};clik.Photo.prototype.fnGalleryLink=function(a){var b=galleries[this.galleries_id];return a&&a!=this.galleries_id?galleries[a].link:b.skipIndex?b.usePopups?b.singleSection&&b.maxRecords?(a=Math.floor($.inArray(this.id,b.photoIDs)/b.maxRecords)+1,1==a?b.link+"\x26photos_id\x3d"+this.id:b.link.replace(".html","_"+a+".html").replace("?","?pageNum\x3d"+a+"\x26")+"\x26photos_id\x3d"+this.id):b.link+"\x26photos_id\x3d"+this.id:this.link:b.link}; 2clik.Photo.prototype.fnGetImgTag=function(a,b){var c;c='\x3cimg class\x3d"thumbnail" '+('src\x3d"'+this.src+'" ');c+='alt\x3d"'+this.caption+'" ';c+='style\x3d"'+(b||"")+'" ';return c+='id\x3d"'+(a||"")+this.id+'"\x3e'};clik.newPhoto=function(a,b){"string"==typeof a&&(a=JSON.parse(a));return $.extend(new clik.Photo,a,{src:getServerPath(a.server_id,b)+a.src})};clik.newGallery=function(a){return a}; 3function randomListVal(a){a=(""+a).split(",");var b;a.length?(b=Math.round(Math.random()*(a.length-1)),a=a[b]):a=0;return a}function getNextId(a,b,c){a=$.inArray(a,b);nextImgPos=c?0===a?b.length-1:a-1:a==b.length-1?0:a+1;return nextImg=b[nextImgPos]} 4function changeBgImg(a){a.image_set in imageSets||(imageSets[a.image_set]="");var b=$.extend({},{slideshow:!1,slideshow_duration:5E3,slideshow_fade:1E3,before:!1},a);imageID=b.image_set&&randomListVal(imageSets[b.image_set]);imageArray=b.image_set&&imageSets[b.image_set].split(",");getSrc=function(a){return backgrounds[a]&&backgrounds[a].src||""};setBg=function(a,c){b.before?document.styleSheets[document.styleSheets.length-1].addRule(b.selector+":before",'background-image: url("'+c+'")'):a.css({"background-image":function(a, 5b){return b.replace(/,?\s*url\([^\)]*?\)/,"")+',url("'+c+'")'}})};c=b.src||getSrc(imageID);$bg=$(b.selector);if(0<$bg.size())if(b.slideshow&&b.image_set){var c=[];a={duration:b.slideshow_duration,fade:b.slideshow_fade,opacity:b.opacity};$.each(imageArray,function(a,b){c[c.length]=getSrc(b)});$bg.addClass("hasBackstretch").backstretch(c,a)}else setBg($bg,c)} 6function resizeImages(a,b){var c=$(window).width();b||(b=500);c<b&&a.find("img").each(function(){var a=$(this),g,k,p;!a.closest(".rotatorSlide").length&&(p=a.width(),g=a.closest(".contentpadding,.contentcolumn,.inner,.contentsection").width(),g=Math.min(g||b,c),p>g||a.hasClass("mobile_shrunk"))&&(k=a.height(),k/=p,a.width(g).height(g*k).addClass("mobile_shrunk"))})} 7function getHomeImageLinkBase(a,b){var c="",e=(backgrounds||photos||{})[a];e&&(c=e&&""!=e.galleries_id?e.fnGalleryLink():c+b);return c} 8function showHomeImageInlineBase(a,b,c,e){var g=1;b&&(g=b);b=randomListVal(imageSets[g]);null==c&&""!=e&&(c=getHomeImageLink(b));updateImage({nextPhoto:backgrounds[b],img:a.find("img")[0],$photo:a,$title:$
8("#homeimageTitleContainer"),$detail:$("#homeimageDetailsContainer"),speed:0,href:c,css:{},onAfter:function(){this.closest(".contentsection").doManualAlign({inner:"img",crop:"a"})}})} 9function updateImageBase(a,b,c){var e=$.extend({},{nextPhoto:"",field:"",img:"",$photo:"",$title:"",$detail:"",$detailContainer:"",updateDocumentTitle:!1,speed:0,href:!1,css:!1,updateHash:!1,updateHashHistory:!0,onAfter:null,onBefore:null,changeImage:!0,afterFade:null,transitionMode:"fade_dissolve"},a);a="";var g=e.nextPhoto.id,k=""+e.nextPhoto.caption,p=e.nextPhoto.src,n,q;e.updateHash&&clik.getIDInUrl(location.href,"photo")!=e.nextPhoto.id&&e.$photo.is(":visible")&&clik.changeHash("photos_id\x3d"+ 10e.nextPhoto.id,e.updateHashHistory);e.transitionMode=e.transitionMode.replace("fade_","");e.updateDocumentTitle&&(document.title=b.replace("{{photoCaption}}",k));""!=e.$detailContainer&&($(e.$detailContainer).find("[class*\x3dreplaceable_photo-]").each(function(){var a=clik.getPrefixedClass(this.className,"replaceable_photo-");"photo_caption"==a&&(a="caption");a in e.nextPhoto&&$(this).fadeGalleryDetails(e.nextPhoto[a],e.speed,!1)}),"getClikShoppingCart"in window&&$(e.$detailContainer).find(".replaceable_photo-paymentBuyLink,.replaceable_photo-detail
10s").toggleAddToCartConfirm("undefined"!= 11typeof backgrounds&&e.nextPhoto==backgrounds[e.nextPhoto.id]?backgrounds:photos));n=e.nextPhoto.width;q=e.nextPhoto.height;e.$photo.closest(".contentsection").hasClass("clikAlign-flexi")||(b=e.$photo.closest(".contentsection").hasClass("clikAlign-Hfit")?e.$photo.closest(".contentsection").parent().innerWidth():e.$photo.innerWidth(),c>$(window).width()&&n>b&&(c=e.$photo.closest(".contentsection-popup_container"),n=c.length?$(window).width()-c.outerWidth(!0)+c.width():b,q=e.nextPhoto.height*n/e.nextPhoto.width)); 120<e.$photo.length&&e.changeImage&&(a=$("\x3cimg/\x3e",{"class":"mainphoto photo",id:"mainPic",name:"mainPic",alt:""+e.nextPhoto.alt,css:e.css||{}}).load(function(){$(window).trigger("throttledresize.doColumnResize")}).attr("src",p).attr("width",n).attr("height",q),a=e.href?e.href.match(/<a/)?$(e.href).append(a):$("\x3ca/\x3e",{href:e.href,title:k}).append(a):$("\x3ca/\x3e",{title:k}).append(a),0==e.speed?(e.$photo.html(a),e.onBefore&&e.onBefore.apply(e.$photo),e.onAfter&&e.onAfter.apply(e.$photo), 13e.afterFade&&e.afterFade.apply(e.$photo)):e.$photo.stop(!0,!0).fadeReplaceWith(a,e.speed,e.transitionMode,function(){e.onAfter&&e.onAfter.apply(this);$(window).trigger("throttledresize.doColumnResize")},e.onBefore,e.afterFade||function(){}));e.field?e.field.value=g:e.$photo.data("image_id",g);e.speed||$(window).trigger("throttledresize.doColumnResize");return a} 14function showGalleryImage(a,b,c){b&&!$(b).hasClass("no_image")&&(imageID=location.hash.match("galleries_id\x3d"+a)&&(imageID=location.hash.match(".*photos_id\x3d(.+)$"))?imageID[1]:randomListVal(galleries[a].featured_images),0!=imageID&&(!isNaN(parseInt(imageID))&&isFinite(imageID)?(b.src=thumbnails[imageID].src,b.width=thumbnails[imageID].width,b.height=thumbnails[imageID].height):(b.src=galleries[a].photo_thumbnail,b.width=galleries[a].photo_thumbnail_width,b.height=galleries[a].photo_thumbnail_height), 15b.alt=galleries[a].title,c&&$(b).parent().attr({title:galleries[a].title}).filter(function(){return this.href}).attr({href:thumbnails[imageID].fnGalleryLink(a)})))} 16$(function(){$("body").clikAlign(!0,!0);clik.fixIEMarginCollapse();$("body").on("click.clikButton",".contentsection-button,.contentsection-photogrid c",function(a){var b=$(this).find("a"),c=$._data(b[0],"events")||$._data(b.closest("g")[0]||[],"events");a=$(a.target).closest("a");if(!(a.length&&a[0]==b[0]||b.parent(".next,.previous").closest(".contentsection-photo").length))return c&&"click"in c?b.trigger("click"):b.length&&(document.location.href=b[0].href),!1});$(".contentsection-photo").clikIEContainerWidth(".photo\x3ea,.contentInner\x3eimg"); 17"function"==typeof clik.doWindowResize&&$(window).unbind("throttledresize.doWindowResize").bind("throttledresize.doWindowResize",clik.doWindowResize);clik.addInactiveClassToButtons();$(window).trigger("throttledresize.doColumnResize")});
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.