(function(){var o=false,t=/xyz/.test(function(){})?/\b__super\b/:/.*/,l=function(){},j=this;l.extend=function(a){function b(){!o&&this.__constructor&&this.__constructor.apply(this,arguments)}var c=this.prototype;o=true;var e=new this;o=false;for(var d in a)if(d)e[d]=typeof a[d]=="function"&&typeof c[d]=="function"&&t.test(a[d])?function(g,h){return function(){var i=this.__super;this.__super=c[g];var n=h.apply(this,arguments);this.__super=i;return n}}(d,a[d]):a[d];b.prototype=e;b.constructor=b;b.extend=
arguments.callee;return b};l=l.extend({loop:function(a,b){var c=this;if(typeof a=="number")a=Array(a);jQuery.each(a,function(e,d){b.call(c,d,e)});return a},create:function(a,b){a=a||"div";var c=document.createElement(a);if(b)c.className=b;return c},getElements:function(a){var b={};this.loop(jQuery(a),this.proxy(function(c){this.push(c,b)}));return b},setStyle:function(a,b){jQuery(a).css(b);return this},getStyle:function(a,b){var c;if(a.currentStyle)c=a.currentStyle[b];else if(j.getComputedStyle)c=
document.defaultView.getComputedStyle(a,null).getPropertyValue(b);return c},cssText:function(a){var b=document.createElement("style");this.getElements("head")[0].appendChild(b);if(b.styleSheet)b.styleSheet.cssText=a;else{a=document.createTextNode(a);b.appendChild(a)}return this},loadCSS:function(a){link=this.create("link");link.rel="stylesheet";link.media="all";if(a)link.href=a;a=document.getElementsByTagName("link").length?document.getElementsByTagName("link"):document.getElementsByTagName("style");
a[0]?a[0].parentNode.insertBefore(link,a[0]):document.getElementsByTagName("head")[0].appendChild(link);return link},moveOut:function(a){return this.setStyle(a,{position:"absolute",left:"-10000px",display:"block"})},moveIn:function(a){return this.setStyle(a,{left:"0"})},reveal:function(a){return jQuery(a).show()},hide:function(a){return jQuery(a).hide()},mix:function(a,b){return jQuery.extend(a,b)},proxy:function(a,b){if(typeof a!=="function")return function(){};b=b||this;return function(){return a.apply(b,
Array.prototype.slice.call(arguments))}},listen:function(a,b,c){jQuery(a).bind(b,c)},forget:function(a,b){jQuery(a).unbind(b)},dispatch:function(a,b){jQuery(a).trigger(b)},clone:function(a,b){b=b||false;return jQuery(a).clone(b)[0]},removeAttr:function(a,b){this.loop(b.split(" "),function(c){jQuery(a).removeAttr(c)})},push:function(a,b){if(typeof b.length=="undefined")b.length=0;Array.prototype.push.call(b,a);return a},width:function(a,b){return this.meassure(a,b,"Width")},height:function(a,b){return this.meassure(a,
b,"Height")},meassure:function(a,b,c){var e=jQuery(a),d=b?e["outer"+c](true):e[c.toLowerCase()]();if(f.QUIRK)this.loop(c=="Width"?["left","right"]:["top","bottom"],function(g){d+=e.css("border-"+g+"-width").replace(/[^\d]/g,"")*1;d+=e.css("padding-"+g).replace(/[^\d]/g,"")*1});return d},toggleClass:function(a,b,c){if(typeof c!=="undefined"){c=c?"addClass":"removeClass";jQuery(a)[c](b);return this}jQuery(a).toggleClass(b);return this},hideAll:function(a){jQuery(a).find("*").hide()},animate:function(a,
b){var c=jQuery(a);if(c.length){b.from&&c.css(from);c.animate(b.to,{duration:b.duration||400,complete:b.complete||function(){}})}},wait:function(a,b,c,e){a=this.proxy(a);b=this.proxy(b);c=this.proxy(c);var d=(new Date).getTime()+(e||3E3);j.setTimeout(function(){if(a()){b();return false}if((new Date).getTime()>=d){c();b();return false}j.setTimeout(arguments.callee,1)},1);return this},loadScript:function(a,b){var c=document.createElement("script");c.src=a;c.async=true;var e=false;b=this.proxy(b);c.onload=
c.onreadystatechange=function(){if(!e&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){e=true;b();c.onload=c.onreadystatechange=null}};var d=document.getElementsByTagName("script");d=d[d.length-1];d.parentNode.insertBefore(c,d.nextSibling);return this}});var p=l.extend({__constructor:function(a){this.image=null;this.elem=this.create("div","galleria-image");this.setStyle(this.elem,{overflow:"hidden",position:"relative"});this.order=a;this.orig={w:0,h:0,r:1}},cache:{},add:function(a){if(this.cache[a])return this.cache[a];
var b=new Image;b.src=a;this.setStyle(b,{display:"block"});if(b.complete&&b.width)return this.cache[a]=b;b.onload=function(c){return function(){c.cache[a]=b}}(this);return b},isCached:function(a){return this.cache[a]?this.cache[a].complete:false},make:function(a){return this.clone(this.cache[a]||this.add(a))},load:function(a,b){b=this.proxy(b);this.elem.innerHTML="";this.image=this.make(a);this.moveOut(this.image);this.elem.appendChild(this.image);this.wait(function(){return this.image.complete&&
this.image.width},function(){this.orig={h:this.image.height,w:this.image.width};b({target:this.image,scope:this})},function(){f.raise("image not loaded in 10 seconds: "+a)},1E4);return this},scale:function(a){var b=this.mix({width:0,height:0,min:undefined,max:undefined,margin:0,complete:function(){},position:"center"},a);if(!this.image)return this;this.wait(function(){width=b.width||this.width(this.elem);height=b.height||this.height(this.elem);return width&&height},function(){var c=Math[b.crop?"max":
"min"](width/this.orig.w,height/this.orig.h);if(b.max)c=Math.min(b.max,c);if(b.min)c=Math.max(b.min,c);this.setStyle(this.elem,{width:width,height:height});this.image.width=Math.ceil(this.orig.w*c)-b.margin*2;this.image.height=Math.ceil(this.orig.h*c)-b.margin*2;c=this.proxy(function(h,i,n){var m=0;if(/\%/.test(h)){h=parseInt(h)/100;m=Math.floor(this.image[i]*-1*h+n*h-b.margin)}else m=parseInt(h)+b.margin;return m});var e={top:{top:0},left:{left:0},right:{left:"100%"},bottom:{top:"100%"}},d={},g=
{};this.loop(b.position.toLowerCase().split(" "),function(h,i){if(h=="center")h="50%";d[i?"top":"left"]=h});this.loop(d,function(h){if(e.hasOwnProperty(h))g=this.mix(g,e[h])});d=d.top?this.mix(d,g):g;d=this.mix({top:"50%",left:"50%"},d);this.setStyle(this.image,{position:"relative",top:c(d.top,"height",height),left:c(d.left,"width",width)});b.complete.call(this)});return this}}),q,f=j.Galleria=l.extend({__constructor:function(a){this.theme=undefined;this.options=a;this.playing=false;this.playtime=
3E3;this.active=null;this.queue={};this.data={};this.dom={};this.controls={active:0,swap:function(){this.active=this.active?0:1},getActive:function(){return this[this.active]},getNext:function(){return this[Math.abs(this.active-1)]}};this.thumbnails={};this.stageHeight=this.stageWidth=0;a="container stage images image-nav image-nav-left image-nav-right info info-link info-text info-title info-description info-author info-close thumbnails thumbnails-list thumbnails-container thumb-nav-left thumb-nav-right loader counter";
a=a.split(" ");this.loop(a,function(b){this.dom[b]=this.create("div","galleria-"+b)})},init:function(){typeof this.options.target==="undefined"&&f.raise("No target.");this.options=this.mix(f.theme.defaults,this.options);var a=this.options=this.mix({autoplay:false,carousel:true,carousel_follow:true,carousel_speed:400,carousel_steps:"auto",data_config:function(){return{}},data_image_selector:"img",data_source:this.options.target,data_type:"auto",debug:false,extend:function(){},height:"auto",image_crop:false,
image_margin:0,image_position:"50%",keep_source:false,link_source_images:true,max_scale_ratio:undefined,min_scale_ratio:undefined,on_image:function(){},popup_links:false,preload:2,queue:true,show:0,thumb_crop:true,thumb_margin:0,thumb_quality:"auto",thumbnails:true,transition:f.transitions.fade,transition_speed:400},this.options);(this.target=this.dom.target=this.getElements(a.target)[0])||f.raise("Target not found.");this.bind(f.DATA,function(){this.run()});this.bind(f.LOADFINISH,function(b){a.on_image.call(this,
b.imageTarget,b.thumbTarget)});this.bind(f.READY,function(){f.History&&f.History.change(this.proxy(function(b){b=parseInt(b.value.replace(/\//,""));isNaN(b)?j.history.go(-1):this.show(b,undefined,true)}));f.theme.init.call(this,a);a.extend.call(this,a);if(/^[0-9]{1,4}$/.test(r)&&f.History)this.show(r,undefined,true);else typeof a.show=="number"&&this.show(a.show);if(a.autoplay)typeof a.autoplay=="number"?this.play(a.autoplay):this.play()});this.load();return this},bind:function(a,b){this.listen(this.get("container"),
a,this.proxy(b));return this},trigger:function(a){a=typeof a=="object"?this.mix(a,{scope:this}):{type:a,scope:this};this.dispatch(this.get("container"),a);return this},run:function(){var a=this.options;this.data.length||f.raise("Data is empty.");if(!a.keep_source&&!Galleria.IE)this.target.innerHTML="";this.loop(2,function(){var g=new p;this.setStyle(g.elem,{position:"absolute",top:0,left:0});this.setStyle(this.get("images"),{position:"relative",top:0,left:0,width:"100%",height:"100%"});this.get("images").appendChild(g.elem);
this.push(g,this.controls)},this);for(var b=0;this.data[b];b++){var c;if(a.thumbnails===true){c=new p(b);var e=this.data[b].thumb||this.data[b].image;this.get("thumbnails").appendChild(c.elem);c.load(e,this.proxy(function(g){var h=this.width(g.target);g.scope.scale({crop:a.thumb_crop,margin:a.thumb_margin,complete:this.proxy(function(){this.toggleQuality(g.target,a.thumb_quality===true||a.thumb_quality=="auto"&&h<g.target.width*3);this.trigger({type:f.THUMBNAIL,thumbTarget:g.target,thumbOrder:g.scope.order})})})}));
a.preload=="all"&&c.add(this.data[b].image)}else if(a.thumbnails=="empty"){c={elem:this.create("div","galleria-image"),image:this.create("span","img")};c.elem.appendChild(c.image);this.get("thumbnails").appendChild(c.elem)}else c={elem:false,image:false};e=this.proxy(function(g){g.preventDefault();g=g.currentTarget.rel;this.active!==g&&this.show(g)});if(a.thumbnails!==false){c.elem.rel=b;this.listen(c.elem,"click",e)}if(a.link_source_images&&a.keep_source&&this.data[b].elem){this.data[b].elem.rel=
b;this.listen(this.data[b].elem,"click",e)}this.push(c,this.thumbnails)}this.setStyle(this.get("thumbnails"),{opacity:0});this.build();this.target.appendChild(this.get("container"));var d=0;a.height&&a.height!="auto"&&this.setStyle(this.get("container"),{height:a.height});this.wait(function(){d++;var g=parseFloat(this.getStyle(this.get("container"),"height"));this.stageWidth=this.width(this.get("stage"));this.stageHeight=this.height(this.get("stage"));if(!this.stageHeight&&!g&&d>100&&a.height=="auto"){this.setStyle(this.get("container"),
{height:Math.round(this.stageWidth*9/16)});this.stageHeight=this.height(this.get("stage"))}return this.stageHeight&&this.stageWidth&&d>5},function(){var g=this.width(this.get("thumbnails").childNodes[0],true),h=g*this.thumbnails.length;if(h<this.stageWidth)a.carousel=false;a.carousel&&this.addCarousel(g,h);this.listen(this.get("image-nav-right"),"click",this.proxy(function(){this.next()}));this.listen(this.get("image-nav-left"),"click",this.proxy(function(){this.prev()}));this.setStyle(this.get("thumbnails"),
{opacity:1});this.trigger(f.READY)},function(){f.raise("Galleria could not load. Make sure stage has a height and width.")},5E3)},addCarousel:function(a,b){this.toggleClass(this.get("thumbnails-container"),"galleria-carousel");this.carousel={right:this.get("thumb-nav-right"),left:this.get("thumb-nav-left"),overflow:0,setOverflow:this.proxy(function(c){c=c||this.width(this.get("thumbnails-list"));this.carousel.overflow=Math.ceil((b-c)/a+1)*-1}),pos:0,setClasses:this.proxy(function(){this.toggleClass(this.carousel.left,
"disabled",this.carousel.pos===0);this.toggleClass(this.carousel.right,"disabled",this.carousel.pos==this.carousel.overflow+1)}),animate:this.proxy(function(){j.setTimeout(this.proxy(function(){this.carousel.setClasses();this.animate(this.get("thumbnails"),{to:{left:a*this.carousel.pos},duration:this.options.carousel_speed,easing:"galleria"})}),1)})};this.carousel.setOverflow();this.setStyle(this.get("thumbnails-list"),{overflow:"hidden",position:"relative"});this.setStyle(this.get("thumbnails"),
{width:b,position:"relative"});this.proxy(function(c,e){e=typeof e=="string"&&e.toLowerCase()=="auto"?this.thumbnails.length+c.overflow:e;c.setClasses();this.loop(["left","right"],this.proxy(function(d){this.listen(c[d],"click",function(){if(c.pos!==(d=="right"?c.overflow:0)){c.pos=d=="right"?Math.max(c.overflow+1,c.pos-e):Math.min(0,c.pos+e);c.animate()}})}))})(this.carousel,this.options.carousel_steps)},addElement:function(){this.loop(arguments,function(a){this.dom[a]=this.create("div","galleria-"+
a)});return this},getDimensions:function(a){return{w:a.width,h:a.height,cw:this.stageWidth,ch:this.stageHeight,top:(this.stageHeight-a.height)/2,left:(this.stageWidth-a.width)/2}},attachKeyboard:function(a){jQuery(document).bind("keydown",{map:a,scope:this},this.keyNav);return this},detachKeyboard:function(){jQuery(document).unbind("keydown",this.keyNav);return this},keyNav:function(a){var b=a.keyCode||a.which,c=a.data.map,e=a.data.scope,d={UP:38,DOWN:40,LEFT:37,RIGHT:39,RETURN:13,ESCAPE:27,BACKSPACE:8};
for(var g in c){var h=g.toUpperCase();if(d[h])c[d[h]]=c[g]}typeof c[b]=="function"&&c[b].call(e,a)},build:function(){this.append({"info-text":["info-title","info-description","info-author"],info:["info-link","info-text","info-close"],"image-nav":["image-nav-right","image-nav-left"],stage:["images","loader","counter","image-nav"],"thumbnails-list":["thumbnails"],"thumbnails-container":["thumb-nav-left","thumbnails-list","thumb-nav-right"],container:["stage","thumbnails-container","info"]})},appendChild:function(a,
b){try{this.get(a).appendChild(this.get(b))}catch(c){}},append:function(a){for(var b in a)if(a[b].constructor==Array)for(var c=0;a[b][c];c++)this.appendChild(b,a[b][c]);else this.appendChild(b,a[b]);return this},rescale:function(a,b){var c=this.options,e=this.proxy(function(){this.stageWidth=a||this.width(this.get("stage"));this.stageHeight=b||this.height(this.get("stage"));return this.stageWidth&&this.stageHeight});f.WEBKIT?this.wait(e):e.call(this);this.controls.getActive().scale({width:this.stageWidth,
height:this.stageHeight,crop:c.image_crop,max:c.max_scale_ratio,min:c.min_scale_ratio,margin:c.image_margin,position:c.image_position});this.carousel&&this.carousel.setOverflow()},show:function(a,b,c){if(!(!this.options.queue&&this.queue.stalled)){b=typeof b!="undefined"?!!b:a<this.active;c=c||false;a=parseInt(a);if(!c&&f.History)f.History.value(a.toString());else{this.active=a;this.push([a,b],this.queue);this.queue.stalled||this.showImage();return this}}},showImage:function(){var a=this.options,
b=this.queue[0],c=b[0],e=!!b[1];a.carousel&&this.carousel&&a.carousel_follow&&this.proxy(function(k){if(c<=Math.abs(k.pos)){k.pos=Math.max(0,c-1)*-1;k.animate()}else if(c>=this.thumbnails.length+k.overflow+Math.abs(k.pos)){k.pos=this.thumbnails.length+k.overflow-c-1+(c==this.thumbnails.length-1?1:0);k.animate()}})(this.carousel);b=this.getData(c).image;var d=this.controls.getActive(),g=this.controls.getNext(),h=g.isCached(b),i=this.proxy(function(){this.queue.stalled=false;this.toggleQuality(g.image,
a.image_quality);this.setStyle(d.elem,{zIndex:0});this.setStyle(g.elem,{zIndex:1});this.controls.swap();this.moveOut(d.image);if(this.getData(c).link){this.setStyle(g.image,{cursor:"pointer"});this.listen(g.image,"click",this.proxy(function(){if(a.popup_links)j.open(this.getData(c).link,"_blank");else j.location.href=this.getData(c).link}))}Array.prototype.shift.call(this.queue);this.queue.length&&this.showImage();this.playCheck()});if(typeof a.preload=="number"&&a.preload>0){var n,m=this.getNext();
try{for(var s=a.preload;s>0;s--){n=new p;n.add(this.getData(m).image);m=this.getNext(m)}}catch(u){}}this.trigger({type:f.LOADSTART,cached:h,imageTarget:g.image,thumbTarget:this.thumbnails[c].image});g.load(b,this.proxy(function(){g.scale({width:this.stageWidth,height:this.stageHeight,crop:a.image_crop,max:a.max_scale_ratio,min:a.min_scale_ratio,margin:a.image_margin,position:a.image_position,complete:this.proxy(function(){d.image&&this.toggleQuality(d.image,false);this.toggleQuality(g.image,false);
this.trigger({type:f.LOADFINISH,cached:h,imageTarget:g.image,thumbTarget:this.thumbnails[c].image});this.queue.stalled=true;var k=f.transitions[a.transition]||a.transition;typeof k=="function"?k.call(this,{prev:d.image,next:g.image,rewind:e,speed:a.transition_speed||400},i):i()})});this.setInfo(c);this.get("counter").innerHTML='<span class="current">'+(c+1)+'</span> / <span class="total">'+this.thumbnails.length+"</span>"}))},getNext:function(a){a=a||this.active;return a==this.data.length-1?0:a+1},
getPrev:function(a){a=a||this.active;return a===0?this.data.length-1:a-1},next:function(){this.data.length>1&&this.show(this.getNext(),false);return this},prev:function(){this.data.length>1&&this.show(this.getPrev(),true);return this},get:function(a){return this.dom[a]||false},getData:function(a){return this.data[a]||this.data[this.active]},play:function(a){this.playing=true;this.playtime=a||this.playtime;this.playCheck();return this},pause:function(){this.playing=false;return this},playCheck:function(){if(this.playing){j.clearInterval(q);
q=j.setTimeout(this.proxy(function(){this.playing&&this.next()}),this.playtime)}},setActive:function(a){this.active=a;return this},setInfo:function(a){var b=this.getData(a);this.proxy(function(){this.loop(arguments,function(c){var e=this.get("info-"+c);this[b[c]&&b[c].length?"reveal":"hide"](e);e.innerHTML=b[c]})})("title","description","author");return this},hasInfo:function(a){a=this.getData(a);for(var b="title description author".split(" "),c=0;b[c];c++)if(a[b[c]]&&a[b[c]].length)return true;return false},
getDataObject:function(a){var b={image:"",thumb:"",title:"",description:"",author:"",link:""};return a?this.mix(b,a):b},jQuery:function(a){var b=[];this.loop(a.split(","),this.proxy(function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,"");this.get(e)&&b.push(e)}));var c=jQuery(this.get(b.shift()));this.loop(b,this.proxy(function(e){c=c.add(this.get(e))}));return c},$:function(a){return this.jQuery(a)},toggleQuality:function(a,b){if(!f.IE7||typeof a=="undefined"||!a)return this;if(typeof b==="undefined")b=
a.style.msInterpolationMode=="nearest-neighbor";a.style.msInterpolationMode=b?"bicubic":"nearest-neighbor";return this},load:function(){var a=0,b=this.options;if(b.data_type=="auto"&&typeof b.data_source=="object"&&!(b.data_source instanceof jQuery)&&!b.data_source.tagName||b.data_type=="json"||b.data_source.constructor=="Array"){this.data=b.data_source;this.trigger(f.DATA)}else{var c=jQuery(b.data_source).find(b.data_image_selector),e=this.proxy(function(d){var g,h,i=d.parentNode;if(i&&i.nodeName==
"A")if(i.href.match(/\.(png|gif|jpg)/i))g=i.href;else h=i.href;return this.mix(this.getDataObject({title:d.title,thumb:d.src,image:g||d.src,description:d.alt,link:h||d.getAttribute("longdesc"),elem:d}),b.data_config(d))});this.loop(c,function(d){a++;this.push(e(d),this.data);!b.keep_source&&!Galleria.IE&&d.parentNode.removeChild(d);a==c.length&&this.trigger(f.DATA)})}}});f.log=function(){try{console.log.apply(console,Array.prototype.slice.call(arguments))}catch(a){try{opera.postError.apply(opera,
arguments)}catch(b){alert(Array.prototype.join.call(arguments," "))}}};f.DATA="data";f.READY="ready";f.THUMBNAIL="thumbnail";f.LOADSTART="loadstart";f.LOADFINISH="loadfinish";f.THEMELOAD="themeload";l=navigator.userAgent.toLowerCase();f.IE7=j.XMLHttpRequest&&document.expando;f.IE6=!j.XMLHttpRequest;f.IE=!!(f.IE6||f.IE7);f.WEBKIT=/webkit/.test(l);f.SAFARI=/safari/.test(l);f.CHROME=/chrome/.test(l);f.QUIRK=f.IE&&document.compatMode&&document.compatMode=="BackCompat";f.MAC=/mac/.test(navigator.platform.toLowerCase());
var r=j.location.hash.replace(/#\//,"");f.themes={};f.themes.create=f.addTheme=function(a){var b={},c=f.prototype;c.loop(["name","author","version","defaults","init"],function(e){a[e]||f.raise(e+" not specified in theme.");if(e!="name"&&e!="init")b[e]=a[e]});b.init=a.init;a.css&&c.loop(c.getElements("script"),function(e){if(RegExp("galleria."+a.name.toLowerCase()+".js").test(e.src)){e=e.src.replace(/[^\/]*$/,"")+a.css;var d=c.getElements("#galleria-styles");if(d.length)d=d[0];else{d=c.loadCSS();d.id=
"galleria-styles"}d.href=e;jQuery(function(){f.theme=b;jQuery(document).trigger(f.THEMELOAD)})}else f.raise("No theme CSS loaded")});return b};f.raise=function(a){if(f.debug)throw Error(a);};f.loadTheme=function(a){f.prototype.loadScript(a)};jQuery.easing.galleria=function(a,b,c,e,d){if((b/=d/2)<1)return e/2*b*b*b*b+c;return-e/2*((b-=2)*b*b*b-2)+c};f.transitions={add:function(a,b){if(a!=arguments.callee.name)this[a]=b},fade:function(a,b){jQuery(a.next).show().css("opacity",0).animate({opacity:1},
a.speed,b);a.prev&&jQuery(a.prev).css("opacity",1).animate({opacity:0},a.speed)},flash:function(a,b){jQuery(a.next).css("opacity",0);a.prev?jQuery(a.prev).animate({opacity:0},a.speed/2,function(){jQuery(a.next).animate({opacity:1},a.speed,b)}):jQuery(a.next).animate({opacity:1},a.speed,b)},slide:function(a,b){var c=jQuery(a.next).parent(),e=this.$("images"),d=this.stageWidth;c.css({left:d*(a.rewind?-1:1)});e.animate({left:d*(a.rewind?1:-1)},{duration:a.speed,queue:false,easing:"galleria",complete:function(){e.css("left",
0);c.css("left",0);b()}})},fadeslide:function(a,b){if(a.prev)jQuery(a.prev).css({opacity:1,left:0}).animate({opacity:0,left:50*(a.rewind?1:-1)},{duration:a.speed,queue:false,easing:"swing"});jQuery(a.next).css({left:50*(a.rewind?-1:1),opacity:0}).animate({opacity:1,left:0},{duration:a.speed,complete:b,queue:false,easing:"swing"})}};jQuery.fn.galleria=function(a){a=a||{};var b=this.selector;a.keep_source||jQuery(this).children().hide();a=f.prototype.mix(a,{target:b});if(b=f.prototype.height(this))a=
f.prototype.mix({height:b},a);f.debug=!!a.debug;var c=new f(a);typeof f.theme=="undefined"?jQuery(document).bind(f.THEMELOAD,function(){c.init()}):c.init();return c}})();
