(function(s,qa){function ra(){for(var a=b.errorInfo,c=b.plugins,d,e,f,g,h=0;h<b.gallery.length;++h){d=b.gallery[h];e=false;f=null;switch(d.player){case "flv":case "swf":c.fla||(f="fla");break;case "qt":c.qt||(f="qt");break;case "wmp":if(b.isMac)if(c.qt&&c.f4m)d.player="qt";else f="qtf4m";else c.wmp||(f="wmp");break;case "qtwmp":if(c.qt)d.player="qt";else if(c.wmp)d.player="wmp";else f="qtwmp";break}if(f)if(b.options.handleUnsupported=="link"){switch(f){case "qtf4m":g="shared";f=[a.qt.url,a.qt.name,
a.f4m.url,a.f4m.name];break;case "qtwmp":g="either";f=[a.qt.url,a.qt.name,a.wmp.url,a.wmp.name];break;default:g="single";f=[a[f].url,a[f].name]}d.player="html";d.content='<div class="sb-message">'+aa(b.lang.errors[g],f)+"</div>"}else e=true;else if(d.player=="inline")if(g=sa.exec(d.content))if(g=i(g[1]))d.content=g.innerHTML;else e=true;else e=true;else if(d.player=="swf"||d.player=="flv"){g=d.options&&d.options.flashVersion||b.options.flashVersion;if(b.flash&&!b.flash.hasFlashPlayerVersion(g)){d.width=
310;d.height=177}}if(e){b.gallery.splice(h,1);if(h<b.current)--b.current;else if(h==b.current)b.current=h>0?h-1:h;--h}}}function T(a){if(b.options.enableKeys)(a?y:B)(document,"keydown",ta)}function ta(a){if(!(a.metaKey||a.shiftKey||a.altKey||a.ctrlKey)){var c;switch(ua(a)){case 81:case 88:case 27:c=b.close;break;case 37:c=b.previous;break;case 39:c=b.next;break;case 32:c=typeof m=="number"?b.pause:b.play;break}if(c){U(a);c()}}}function ba(a){T(false);var c=b.getCurrent(),d=c.player=="inline"?"html":
c.player;if(typeof b[d]!="function")throw"unknown player "+d;if(a){b.player.remove();b.revertOptions();b.applyOptions(c.options||{})}b.player=new b[d](c,b.playerId);if(b.gallery.length>1){c=b.gallery[b.current+1]||b.gallery[0];if(c.player=="img")(new Image).src=c.content;c=b.gallery[b.current-1]||b.gallery[b.gallery.length-1];if(c.player=="img")(new Image).src=c.content}b.skin.onLoad(a,va)}function va(){if(n)if(typeof b.player.ready!="undefined")var a=setInterval(function(){if(n){if(b.player.ready){clearInterval(a);
a=null;b.skin.onReady(ca)}}else{clearInterval(a);a=null}},10);else b.skin.onReady(ca)}function ca(){if(n){b.player.append(b.skin.body,b.dimensions);b.skin.onShow(wa)}}function wa(){if(n){b.player.onLoad&&b.player.onLoad();b.options.onFinish(b.getCurrent());b.isPaused()||b.play();T(true)}}function O(){return(new Date).getTime()}function t(a,c){for(var d in c)a[d]=c[d];return a}function o(a,c){for(var d=0,e=a.length,f=a[0];d<e&&c.call(f,d,f)!==false;f=a[++d]);}function aa(a,c){return a.replace(/\{(\w+?)\}/g,
function(d,e){return c[e]})}function P(){}function i(a){return document.getElementById(a)}function I(a){a.parentNode.removeChild(a)}function xa(){var a=document.body,c=document.createElement("div");Q=typeof c.style.opacity==="string";c.style.position="fixed";c.style.margin=0;c.style.top="20px";a.appendChild(c,a.firstChild);R=c.offsetTop==20;a.removeChild(c)}function da(a){return[a.pageX,a.pageY]}function U(a){a.preventDefault()}function ua(a){return a.keyCode}function y(a,c,d){jQuery(a).bind(c,d)}
function B(a,c,d){jQuery(a).unbind(c,d)}function ea(){if(!V){try{document.documentElement.doScroll("left")}catch(a){setTimeout(ea,1);return}b.load()}}function ya(){if(document.readyState==="complete")return b.load();if(document.addEventListener){document.addEventListener("DOMContentLoaded",G,false);s.addEventListener("load",b.load,false)}else if(document.attachEvent){document.attachEvent("onreadystatechange",G);s.attachEvent("onload",b.load);var a=false;try{a=s.frameElement===null}catch(c){}document.documentElement.doScroll&&
a&&ea()}}function fa(a){b.open(this);b.gallery.length&&U(a)}function za(){l={x:0,y:0,startX:null,startY:null}}function ga(){var a=b.dimensions;t(u.style,{height:a.innerHeight+"px",width:a.innerWidth+"px"})}function Aa(){za();var a=["position:absolute","cursor:"+(b.isGecko?"-moz-grab":"move"),"background-color:"+(b.isIE?"#fff;filter:alpha(opacity=0)":"transparent")].join(";");b.appendHTML(b.skin.body,'<div id="'+ha+'" style="'+a+'"></div>');u=i(ha);ga();y(u,"mousedown",ia)}function Ba(){if(u){B(u,
"mousedown",ia);I(u);u=null}z=null}function ia(a){U(a);a=da(a);l.startX=a[0];l.startY=a[1];z=i(b.player.id);y(document,"mousemove",ja);y(document,"mouseup",ka);if(b.isGecko)u.style.cursor="-moz-grabbing"}function ja(a){var c=b.player,d=b.dimensions;a=da(a);var e=a[0]-l.startX;l.startX+=e;l.x=Math.max(Math.min(0,l.x+e),d.innerWidth-c.width);a=a[1]-l.startY;l.startY+=a;l.y=Math.max(Math.min(0,l.y+a),d.innerHeight-c.height);t(z.style,{left:l.x+"px",top:l.y+"px"})}function ka(){B(document,"mousemove",
ja);B(document,"mouseup",ka);if(b.isGecko)u.style.cursor="-moz-grab"}function p(a,c,d,e,f){var g=c=="opacity",h=g?b.setOpacity:function(Ca,Da){Ca.style[c]=""+Da+"px"};if(e==0||!g&&!b.options.animate||g&&!b.options.animateFade){h(a,d);f&&f()}else{var C=parseFloat(b.getStyle(a,c))||0,D=d-C;if(D==0)f&&f();else{e*=1E3;var H=O(),J=b.ease,K=H+e,E,L=setInterval(function(){E=O();if(E>=K){clearInterval(L);L=null;h(a,d);f&&f()}else h(a,C+J((E-H)/e)*D)},10)}}}function la(){q.style.height=b.getWindowSize("Height")+
"px";q.style.width=b.getWindowSize("Width")+"px"}function W(){q.style.top=document.documentElement.scrollTop+"px";q.style.left=document.documentElement.scrollLeft+"px"}function ma(a){if(a)o(X,function(c,d){d[0].style.visibility=d[1]||""});else{X=[];o(b.options.troubleElements,function(c){o(document.getElementsByTagName(c),function(d){X.push([d,d.style.visibility]);d.style.visibility="hidden"})})}}function v(a,c){if(a=i("sb-nav-"+a))a.style.display=c?"":"none"}function na(a,c){var d=i("sb-loading"),
e=b.getCurrent().player;e=e=="img"||e=="html";if(a){b.setOpacity(d,0);d.style.display="block";a=function(){b.clearOpacity(d);c&&c()};e?p(d,"opacity",1,b.options.fadeDuration,a):a()}else{a=function(){d.style.display="none";b.clearOpacity(d);c&&c()};e?p(d,"opacity",0,b.options.fadeDuration,a):a()}}function Ea(a){var c=b.getCurrent();i("sb-title-inner").innerHTML=c.title||"";var d,e,f,g,h;if(b.options.displayNav){d=true;c=b.gallery.length;if(c>1)if(b.options.continuous)e=h=true;else{e=c-1>b.current;
h=b.current>0}if(b.options.slideshowDelay>0&&b.hasNext()){g=!b.isPaused();f=!g}}else d=e=f=g=h=false;v("close",d);v("next",e);v("play",f);v("pause",g);v("previous",h);e="";if(b.options.displayCounter&&b.gallery.length>1){c=b.gallery.length;if(b.options.counterType=="skip"){f=0;h=c;g=parseInt(b.options.counterLimit)||0;if(g<c&&g>2){h=Math.floor(g/2);f=b.current-h;if(f<0)f+=c;h=b.current+(g-h);if(h>c)h-=c}for(;f!=h;){if(f==c)f=0;e+='<a onclick="Shadowbox.change('+f+');"';if(f==b.current)e+=' class="sb-counter-current"';
e+=">"+f++ +"</a>"}}else e=[b.current+1,b.lang.of,c].join(" ")}i("sb-counter").innerHTML=e;a()}function Fa(a){var c=i("sb-title-inner"),d=i("sb-info-inner");c.style.visibility=d.style.visibility="";c.innerHTML!=""&&p(c,"marginTop",0,0.35);p(d,"marginTop",0,0.35,a)}function Ga(a,c){var d=i("sb-title"),e=i("sb-info");d=d.offsetHeight;e=e.offsetHeight;var f=i("sb-title-inner"),g=i("sb-info-inner");a=a?0.35:0;p(f,"marginTop",d,a);p(g,"marginTop",e*-1,a,function(){f.style.visibility=g.style.visibility=
"hidden";c()})}function M(a,c,d,e){var f=i("sb-wrapper-inner");d=d?b.options.resizeDuration:0;p(A,"top",c,d);p(f,"height",a,d,e)}function N(a,c,d,e){d=d?b.options.resizeDuration:0;p(A,"left",c,d);p(A,"width",a,d,e)}function Y(a,c){var d=i("sb-body-inner");a=parseInt(a);c=parseInt(c);var e=A.offsetHeight-d.offsetHeight;d=A.offsetWidth-d.offsetWidth;var f=parseInt(b.options.viewportPadding)||20;return b.setDimensions(a,c,w.offsetHeight,w.offsetWidth,e,d,f)}var b={version:"3.0"},j=navigator.userAgent.toLowerCase();
if(j.indexOf("windows")>-1||j.indexOf("win32")>-1)b.isWindows=true;else if(j.indexOf("macintosh")>-1||j.indexOf("mac os x")>-1)b.isMac=true;else if(j.indexOf("linux")>-1)b.isLinux=true;b.isIE=j.indexOf("msie")>-1;b.isIE6=j.indexOf("msie 6")>-1;b.isIE7=j.indexOf("msie 7")>-1;b.isGecko=j.indexOf("gecko")>-1&&j.indexOf("safari")==-1;b.isWebKit=j.indexOf("applewebkit/")>-1;var sa=/#(.+)$/,Ha=/^(light|shadow)box\[(.*?)\]/i,Ia=/\s*([a-z_]*?)\s*=\s*(.+)\s*/,Ja=/[0-9a-z]+$/i,Ka=/(.+\/)shadowbox\.js/i,n=false,
oa=false,pa={},x=0,S,m;b.playerId="sb-player";b.current=-1;b.dimensions=null;b.ease=function(a){return 1+Math.pow(a-1,3)};b.errorInfo={fla:{name:"Flash",url:"http://www.adobe.com/products/flashplayer/"},qt:{name:"QuickTime",url:"http://www.apple.com/quicktime/download/"},wmp:{name:"Windows Media Player",url:"http://www.microsoft.com/windows/windowsmedia/"},f4m:{name:"Flip4Mac",url:"http://www.flip4mac.com/wmv_download.htm"}};b.gallery=[];b.path=null;b.player=null;b.options={animate:true,animateFade:true,
autoplayMovies:true,continuous:false,enableKeys:true,flashParams:{bgcolor:"#000000",allowfullscreen:true},flashVars:{},flashVersion:"9.0.115",handleOversize:"resize",handleUnsupported:"link",onChange:P,onClose:P,onFinish:P,onOpen:P,showMovieControls:true,skipSetup:false,slideshowDelay:0,viewportPadding:20};b.getCurrent=function(){return b.current>-1?b.gallery[b.current]:null};b.hasNext=function(){return b.gallery.length>1&&(b.current!=b.gallery.length-1||b.options.continuous)};b.isOpen=function(){return n};
b.isPaused=function(){return m=="pause"};b.applyOptions=function(a){pa=t({},b.options);t(b.options,a)};b.revertOptions=function(){t(b.options,pa)};b.init=function(a){if(!oa){oa=true;b.skin.options&&t(b.options,b.skin.options);a&&t(b.options,a);if(!b.path)for(var c=document.getElementsByTagName("script"),d=0,e=c.length;d<e;++d)if(a=Ka.exec(c[d].src)){b.path=a[1];break}ya()}};b.open=function(a){if(!n){a=b.makeGallery(a);b.gallery=a[0];b.current=a[1];a=b.getCurrent();if(a!=null){b.applyOptions(a.options||
{});ra();if(b.gallery.length){a=b.getCurrent();if(b.options.onOpen(a)!==false){n=true;b.skin.onOpen(a,ba)}}}}};b.close=function(){if(n){n=false;if(b.player){b.player.remove();b.player=null}if(typeof m=="number"){clearTimeout(m);m=null}x=0;T(false);b.options.onClose(b.getCurrent());b.skin.onClose();b.revertOptions()}};b.play=function(){if(b.hasNext()){x||(x=b.options.slideshowDelay*1E3);if(x){S=O();m=setTimeout(function(){x=S=0;b.next()},x);b.skin.onPlay&&b.skin.onPlay()}}};b.pause=function(){if(typeof m==
"number")if(x=Math.max(0,x-(O()-S))){clearTimeout(m);m="pause";b.skin.onPause&&b.skin.onPause()}};b.change=function(a){if(!(a in b.gallery))if(b.options.continuous){a=a<0?b.gallery.length+a:0;if(!(a in b.gallery))return}else return;b.current=a;if(typeof m=="number"){clearTimeout(m);m=null;x=S=0}b.options.onChange(b.getCurrent());ba(true)};b.next=function(){b.change(b.current+1)};b.previous=function(){b.change(b.current-1)};b.setDimensions=function(a,c,d,e,f,g,h){var C=a,D=c,H=2*h+f;if(a+H>d)a=d-H;
var J=2*h+g;if(c+J>e)c=e-J;var K=(C-a)/C,E=(D-c)/D,L=K>0||E>0;if(L)if(K>E)c=Math.round(D/C*a);else if(E>K)a=Math.round(C/D*c);b.dimensions={height:a+f,width:c+g,innerHeight:a,innerWidth:c,top:Math.floor((d-(a+H))/2+h),left:Math.floor((e-(c+J))/2+h),oversized:L};return b.dimensions};b.makeGallery=function(a){var c=[],d=-1;if(typeof a=="string")a=[a];if(typeof a.length=="number"){o(a,function(g,h){c[g]=h.content?h:{content:h}});d=0}else{if(a.tagName){var e=b.getCache(a);a=e?e:b.makeObject(a)}if(a.gallery){c=
[];for(var f in b.cache){e=b.cache[f];if(e.gallery&&e.gallery==a.gallery){if(d==-1&&e.content==a.content)d=c.length;c.push(e)}}if(d==-1){c.unshift(a);d=0}}else{c=[a];d=0}}o(c,function(g,h){c[g]=t({},h)});return[c,d]};b.makeObject=function(a,c){var d={content:a.href,title:a.getAttribute("title")||"",link:a};if(c){c=t({},c);o(["player","title","height","width","gallery"],function(f,g){if(typeof c[g]!="undefined"){d[g]=c[g];delete c[g]}});d.options=c}else d.options={};if(!d.player)d.player=b.getPlayer(d.content);
if(a=a.getAttribute("rel")){var e=a.match(Ha);if(e)d.gallery=escape(e[2]);o(a.split(";"),function(f,g){if(e=g.match(Ia))d[e[1]]=e[2]})}return d};b.getPlayer=function(a){if(a.indexOf("#")>-1&&a.indexOf(document.location.href)==0)return"inline";var c=a.indexOf("?");if(c>-1)a=a.substring(0,c);var d;if(a=a.match(Ja))d=a[0];if(d){if(b.img&&b.img.ext.indexOf(d)>-1)return"img";if(b.swf&&b.swf.ext.indexOf(d)>-1)return"swf";if(b.flv&&b.flv.ext.indexOf(d)>-1)return"flv";if(b.qt&&b.qt.ext.indexOf(d)>-1)return b.wmp&&
b.wmp.ext.indexOf(d)>-1?"qtwmp":"qt";if(b.wmp&&b.wmp.ext.indexOf(d)>-1)return"wmp"}return"iframe"};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a,c){var d=this.length>>>0;c=c||0;if(c<0)c+=d;for(;c<d;++c)if(c in this&&this[c]===a)return c;return-1};var Q=true,R=true;b.getStyle=function(){var a=/opacity=([^)]*)/,c=document.defaultView&&document.defaultView.getComputedStyle;return function(d,e){var f;if(!Q&&e=="opacity"&&d.currentStyle){f=a.test(d.currentStyle.filter||"")?parseFloat(RegExp.$1)/
100+"":"";return f===""?"1":f}if(c){if(d=c(d,null))f=d[e];if(e=="opacity"&&f=="")f="1"}else f=d.currentStyle[e];return f}}();b.appendHTML=function(a,c){if(a.insertAdjacentHTML)a.insertAdjacentHTML("BeforeEnd",c);else if(a.lastChild){var d=a.ownerDocument.createRange();d.setStartAfter(a.lastChild);c=d.createContextualFragment(c);a.appendChild(c)}else a.innerHTML=c};b.getWindowSize=function(a){if(document.compatMode==="CSS1Compat")return document.documentElement["client"+a];return document.body["client"+
a]};b.setOpacity=function(a,c){a=a.style;if(Q)a.opacity=c==1?"":c;else{a.zoom=1;if(c==1){if(typeof a.filter=="string"&&/alpha/i.test(a.filter))a.filter=a.filter.replace(/\s*[\w\.]*alpha\([^\)]*\);?/gi,"")}else a.filter=(a.filter||"").replace(/\s*[\w\.]*alpha\([^\)]*\)/gi,"")+" alpha(opacity="+c*100+")"}};b.clearOpacity=function(a){b.setOpacity(a,1)};jQuery.fn.shadowbox=function(a){return this.each(function(){var c=jQuery(this),d=jQuery.extend({},a||{},jQuery.metadata?c.metadata():jQuery.meta?c.data():
{}),e=this.className||"";d.width=parseInt((e.match(/w:(\d+)/)||[])[1])||d.width;d.height=parseInt((e.match(/h:(\d+)/)||[])[1])||d.height;Shadowbox.setup(c,d)})};var V=false,G;if(document.addEventListener)G=function(){document.removeEventListener("DOMContentLoaded",G,false);b.load()};else if(document.attachEvent)G=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",G);b.load()}};b.load=function(){if(!V){if(!document.body)return setTimeout(b.load,13);V=true;xa();
b.options.skipSetup||b.setup();b.skin.init()}};b.plugins={};if(navigator.plugins&&navigator.plugins.length){var F=[];o(navigator.plugins,function(a,c){F.push(c.name)});F=F.join(",");j=F.indexOf("Flip4Mac")>-1;b.plugins={fla:F.indexOf("Shockwave Flash")>-1,qt:F.indexOf("QuickTime")>-1,wmp:!j&&F.indexOf("Windows Media")>-1,f4m:j}}else{j=function(a){var c;try{c=new ActiveXObject(a)}catch(d){}return!!c};b.plugins={fla:j("ShockwaveFlash.ShockwaveFlash"),qt:j("QuickTime.QuickTime"),wmp:j("wmplayer.ocx"),
f4m:false}}var La=/^(light|shadow)box/i,Ma=1;b.cache={};b.select=function(a){var c=[];if(a){var d=a.length;if(d)if(typeof a=="string"){if(b.find)c=b.find(a)}else if(d==2&&typeof a[0]=="string"&&a[1].nodeType){if(b.find)c=b.find(a[0],a[1])}else for(var e=0;e<d;++e)c[e]=a[e];else c.push(a)}else{var f;o(document.getElementsByTagName("a"),function(g,h){(f=h.getAttribute("rel"))&&La.test(f)&&c.push(h)})}return c};b.setup=function(a,c){o(b.select(a),function(d,e){b.addCache(e,c)})};b.teardown=function(a){o(b.select(a),
function(c,d){b.removeCache(d)})};b.addCache=function(a,c){var d=a.shadowboxCacheKey;if(d==qa){d=Ma++;a.shadowboxCacheKey=d;y(a,"click",fa)}b.cache[d]=b.makeObject(a,c)};b.removeCache=function(a){B(a,"click",fa);delete b.cache[a.shadowboxCacheKey];a.shadowboxCacheKey=null};b.getCache=function(a){a=a.shadowboxCacheKey;return a in b.cache&&b.cache[a]};b.clearCache=function(){for(var a in b.cache)b.removeCache(b.cache[a].link);b.cache={}};b.lang={code:"fr",of:"de",loading:"chargement",cancel:"Annuler",
next:"Suivant",previous:"Pr\u00e9c\u00e9dent",play:"Lire",pause:"Pause",close:"Fermer",errors:{single:'Vous devez installer le plugin <a href="{0}">{1}</a> pour afficher ce contenu.',shared:'Vous devez installer les plugins <a href="{0}">{1}</a> et <a href="{2}">{3}</a> pour afficher ce contenu.',either:'Vous devez installer le plugin <a href="{0}">{1}</a> ou <a href="{2}">{3}</a> pour afficher ce contenu.'}};var r,ha="sb-drag-proxy",l,u,z;b.img=function(a,c){this.obj=a;this.id=c;this.ready=false;
var d=this;r=new Image;r.onload=function(){d.height=a.height?parseInt(a.height,10):r.height;d.width=a.width?parseInt(a.width,10):r.width;d.ready=true;r=r.onload=null};r.src=a.content};b.img.ext=["bmp","gif","jpg","jpeg","png"];b.img.prototype={append:function(a,c){var d=document.createElement("img");d.id=this.id;d.src=this.obj.content;d.style.position="absolute";var e;if(c.oversized&&b.options.handleOversize=="resize"){e=c.innerHeight;c=c.innerWidth}else{e=this.height;c=this.width}d.setAttribute("height",
e);d.setAttribute("width",c);a.appendChild(d)},remove:function(){var a=i(this.id);a&&I(a);Ba();if(r)r=r.onload=null},onLoad:function(){b.dimensions.oversized&&b.options.handleOversize=="drag"&&Aa()},onWindowResize:function(){var a=b.dimensions;switch(b.options.handleOversize){case "resize":var c=i(this.id);c.height=a.innerHeight;c.width=a.innerWidth;break;case "drag":if(z){c=parseInt(b.getStyle(z,"top"));var d=parseInt(b.getStyle(z,"left"));if(c+this.height<a.innerHeight)z.style.top=a.innerHeight-
this.height+"px";if(d+this.width<a.innerWidth)z.style.left=a.innerWidth-this.width+"px";ga()}break}}};b.iframe=function(a,c){this.obj=a;this.id=c;c=i("sb-overlay");this.height=a.height?parseInt(a.height,10):c.offsetHeight;this.width=a.width?parseInt(a.width,10):c.offsetWidth};b.iframe.prototype={append:function(a){var c='<iframe id="'+this.id+'" name="'+this.id+'" height="100%" width="100%" frameborder="0" marginwidth="0" marginheight="0" style="visibility:hidden" onload="this.style.visibility=\'visible\'" scrolling="auto"';
if(b.isIE){c+=' allowtransparency="true"';if(b.isIE6)c+=" src=\"javascript:false;document.write('');\""}c+="></iframe>";a.innerHTML=c},remove:function(){var a=i(this.id);if(a){I(a);b.isGecko&&delete s.frames[this.id]}},onLoad:function(){(b.isIE?i(this.id).contentWindow:s.frames[this.id]).location.href=this.obj.content}};b.html=function(a,c){this.obj=a;this.id=c;this.height=a.height?parseInt(a.height,10):300;this.width=a.width?parseInt(a.width,10):500};b.html.prototype={append:function(a){var c=document.createElement("div");
c.id=this.id;c.className="html";c.innerHTML=this.obj.content;a.appendChild(c)},remove:function(){var a=i(this.id);a&&I(a)}};var Z=false,X=[],Na=["sb-nav-close","sb-nav-next","sb-nav-play","sb-nav-pause","sb-nav-previous"],q,w,A,$=true,k={};k.markup='<div id="sb-container"><div id="sb-overlay"></div><div id="sb-wrapper"><div id="sb-title"><div id="sb-title-inner"></div></div><div id="sb-wrapper-inner"><div id="sb-body"><div id="sb-body-inner"></div><div id="sb-loading"><div id="sb-loading-inner"><span>{loading}</span></div></div></div></div><div id="sb-info"><div id="sb-info-inner"><div id="sb-counter"></div><div id="sb-nav"><a id="sb-nav-close" title="{close}" onclick="Shadowbox.close()"></a><a id="sb-nav-next" title="{next}" onclick="Shadowbox.next()"></a><a id="sb-nav-play" title="{play}" onclick="Shadowbox.play()"></a><a id="sb-nav-pause" title="{pause}" onclick="Shadowbox.pause()"></a><a id="sb-nav-previous" title="{previous}" onclick="Shadowbox.previous()"></a></div></div></div></div></div>';
k.options={animSequence:"sync",counterLimit:10,counterType:"default",displayCounter:true,displayNav:true,fadeDuration:0.35,initialHeight:160,initialWidth:320,modal:false,overlayColor:"#000",overlayOpacity:0.5,resizeDuration:0.35,showOverlay:true,troubleElements:["select","object","embed","canvas"]};k.init=function(){b.appendHTML(document.body,aa(k.markup,b.lang));k.body=i("sb-body-inner");q=i("sb-container");w=i("sb-overlay");A=i("sb-wrapper");if(!R)q.style.position="absolute";if(!Q){var a,c,d=/url\("(.*\.png)"\)/;
o(Na,function(f,g){if(a=i(g))if(c=b.getStyle(a,"backgroundImage").match(d)){a.style.backgroundImage="none";a.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src="+c[1]+",sizingMethod=scale);"}})}var e;y(s,"resize",function(){if(e){clearTimeout(e);e=null}if(n)e=setTimeout(k.onWindowResize,10)})};k.onOpen=function(a,c){$=false;q.style.display="block";la();a=Y(b.options.initialHeight,b.options.initialWidth);M(a.innerHeight,a.top);N(a.width,a.left);if(b.options.showOverlay){w.style.backgroundColor=
b.options.overlayColor;b.setOpacity(w,0);b.options.modal||y(w,"click",b.close);Z=true}if(!R){W();y(s,"scroll",W)}ma();q.style.visibility="visible";Z?p(w,"opacity",b.options.overlayOpacity,b.options.fadeDuration,c):c()};k.onLoad=function(a,c){for(na(true);k.body.firstChild;)I(k.body.firstChild);Ga(a,function(){if(n){if(!a)A.style.visibility="visible";Ea(c)}})};k.onReady=function(a){if(n){var c=b.player,d=Y(c.height,c.width),e=function(){Fa(a)};switch(b.options.animSequence){case "hw":M(d.innerHeight,
d.top,true,function(){N(d.width,d.left,true,e)});break;case "wh":N(d.width,d.left,true,function(){M(d.innerHeight,d.top,true,e)});break;default:N(d.width,d.left,true);M(d.innerHeight,d.top,true,e)}}};k.onShow=function(a){na(false,a);$=true};k.onClose=function(){R||B(s,"scroll",W);B(w,"click",b.close);A.style.visibility="hidden";var a=function(){q.style.visibility="hidden";q.style.display="none";ma(true)};Z?p(w,"opacity",0,b.options.fadeDuration,a):a()};k.onPlay=function(){v("play",false);v("pause",
true)};k.onPause=function(){v("pause",false);v("play",true)};k.onWindowResize=function(){if($){la();var a=b.player,c=Y(a.height,a.width);N(c.width,c.left);M(c.innerHeight,c.top);a.onWindowResize&&a.onWindowResize()}};b.skin=k;s.Shadowbox=b})(window);
