(function(m,ga){function ha(){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">'+V(b.lang.errors[g],f)+"</div>"}else e=true;else if(d.player=="inline")if(g=ia.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 O(a){if(b.options.enableKeys)(a?l:I)(document,"keydown",ja)}function ja(a){if(!(a.metaKey||a.shiftKey||a.altKey||a.ctrlKey)){var c;switch(ka(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 n=="number"?b.pause:b.play;break}if(c){W(a);c()}}}function X(a){O(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,la)}function la(){if(o)if(typeof b.player.ready!="undefined")var a=setInterval(function(){if(o){if(b.player.ready){clearInterval(a);
a=null;b.skin.onReady(Y)}}else{clearInterval(a);a=null}},10);else b.skin.onReady(Y)}function Y(){if(o){b.player.append(b.skin.body,b.dimensions);b.skin.onShow(ma)}}function ma(){if(o){b.player.onLoad&&b.player.onLoad();b.options.onFinish(b.getCurrent());b.isPaused()||b.play();O(true)}}function J(){return(new Date).getTime()}function w(a,c){for(var d in c)a[d]=c[d];return a}function p(a,c){for(var d=0,e=a.length,f=a[0];d<e&&c.call(f,d,f)!==false;f=a[++d]);}function V(a,c){return a.replace(/\{(\w+?)\}/g,
function(d,e){return c[e]})}function K(){}function i(a){return document.getElementById(a)}function Z(a){a.parentNode.removeChild(a)}function na(){var a=document.body,c=document.createElement("div");L=typeof c.style.opacity==="string";c.style.position="fixed";c.style.margin=0;c.style.top="20px";a.appendChild(c,a.firstChild);M=c.offsetTop==20;a.removeChild(c)}function W(a){a.preventDefault()}function ka(a){return a.which?a.which:a.keyCode}function l(a,c,d){if(a.addEventListener)a.addEventListener(c,
d,false);else if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==m&&!a.frameElement)a=m;if(!d.__guid)d.__guid=l.guid++;if(!a.events)a.events={};var e=a.events[c];if(!e){e=a.events[c]={};if(a["on"+c])e[0]=a["on"+c]}e[d.__guid]=d;a["on"+c]=l.handleEvent}}function I(a,c,d){if(a.removeEventListener)a.removeEventListener(c,d,false);else a.events&&a.events[c]&&delete a.events[c][d.__guid]}function $(){if(!P){try{document.documentElement.doScroll("left")}catch(a){setTimeout($,1);return}b.load()}}
function oa(){if(document.readyState==="complete")return b.load();if(document.addEventListener){document.addEventListener("DOMContentLoaded",B,false);m.addEventListener("load",b.load,false)}else if(document.attachEvent){document.attachEvent("onreadystatechange",B);m.attachEvent("onload",b.load);var a=false;try{a=m.frameElement===null}catch(c){}document.documentElement.doScroll&&a&&$()}}function aa(a){b.open(this);b.gallery.length&&W(a)}function q(a,c,d,e,f){var g=c=="opacity",h=g?b.setOpacity:function(pa,
qa){pa.style[c]=""+qa+"px"};if(e==0||!g&&!b.options.animate||g&&!b.options.animateFade){h(a,d);f&&f()}else{var x=parseFloat(b.getStyle(a,c))||0,y=d-x;if(y==0)f&&f();else{e*=1E3;var C=J(),D=b.ease,E=C+e,z,F=setInterval(function(){z=J();if(z>=E){clearInterval(F);F=null;h(a,d);f&&f()}else h(a,x+D((z-C)/e)*y)},10)}}}function ba(){r.style.height=b.getWindowSize("Height")+"px";r.style.width=b.getWindowSize("Width")+"px"}function Q(){r.style.top=document.documentElement.scrollTop+"px";r.style.left=document.documentElement.scrollLeft+
"px"}function ca(a){if(a)p(R,function(c,d){d[0].style.visibility=d[1]||""});else{R=[];p(b.options.troubleElements,function(c){p(document.getElementsByTagName(c),function(d){R.push([d,d.style.visibility]);d.style.visibility="hidden"})})}}function s(a,c){if(a=i("sb-nav-"+a))a.style.display=c?"":"none"}function da(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?q(d,"opacity",1,b.options.fadeDuration,
a):a()}else{a=function(){d.style.display="none";b.clearOpacity(d);c&&c()};e?q(d,"opacity",0,b.options.fadeDuration,a):a()}}function ra(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;s("close",d);s("next",e);s("play",f);s("pause",g);s("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 sa(a){var c=i("sb-title-inner"),d=i("sb-info-inner");c.style.visibility=d.style.visibility=
"";c.innerHTML!=""&&q(c,"marginTop",0,0.35);q(d,"marginTop",0,0.35,a)}function ta(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;q(f,"marginTop",d,a);q(g,"marginTop",e*-1,a,function(){f.style.visibility=g.style.visibility="hidden";c()})}function G(a,c,d,e){var f=i("sb-wrapper-inner");d=d?b.options.resizeDuration:0;q(v,"top",c,d);q(f,"height",a,d,e)}function H(a,c,d,e){d=d?b.options.resizeDuration:0;q(v,"left",c,d);
q(v,"width",a,d,e)}function S(a,c){var d=i("sb-body-inner");a=parseInt(a);c=parseInt(c);var e=v.offsetHeight-d.offsetHeight;d=v.offsetWidth-d.offsetWidth;var f=parseInt(b.options.viewportPadding)||20;return b.setDimensions(a,c,t.offsetHeight,t.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 ia=/#(.+)$/,ua=/^(light|shadow)box\[(.*?)\]/i,va=/\s*([a-z_]*?)\s*=\s*(.+)\s*/,wa=/[0-9a-z]+$/i,xa=/(.+\/)shadowbox\.js/i,o=false,ea=false,fa={},u=0,N,n;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:K,
onClose:K,onFinish:K,onOpen:K,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 o};b.isPaused=function(){return n=="pause"};b.applyOptions=function(a){fa=w({},b.options);w(b.options,a)};b.revertOptions=function(){w(b.options,fa)};b.init=function(a){if(!ea){ea=true;b.skin.options&&
w(b.options,b.skin.options);a&&w(b.options,a);if(!b.path)for(var c=document.getElementsByTagName("script"),d=0,e=c.length;d<e;++d)if(a=xa.exec(c[d].src)){b.path=a[1];break}oa()}};b.open=function(a){if(!o){a=b.makeGallery(a);b.gallery=a[0];b.current=a[1];a=b.getCurrent();if(a!=null){b.applyOptions(a.options||{});ha();if(b.gallery.length){a=b.getCurrent();if(b.options.onOpen(a)!==false){o=true;b.skin.onOpen(a,X)}}}}};b.close=function(){if(o){o=false;if(b.player){b.player.remove();b.player=null}if(typeof n==
"number"){clearTimeout(n);n=null}u=0;O(false);b.options.onClose(b.getCurrent());b.skin.onClose();b.revertOptions()}};b.play=function(){if(b.hasNext()){u||(u=b.options.slideshowDelay*1E3);if(u){N=J();n=setTimeout(function(){u=N=0;b.next()},u);b.skin.onPlay&&b.skin.onPlay()}}};b.pause=function(){if(typeof n=="number")if(u=Math.max(0,u-(J()-N))){clearTimeout(n);n="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 n=="number"){clearTimeout(n);n=null;u=N=0}b.options.onChange(b.getCurrent());X(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 x=a,y=c,C=2*h+f;if(a+C>d)a=d-C;var D=2*h+g;if(c+D>e)c=e-D;var E=(x-a)/x,z=(y-c)/y,F=E>0||z>0;if(F)if(E>z)c=Math.round(y/x*a);else if(z>E)a=Math.round(x/y*c);b.dimensions={height:a+f,width:c+g,innerHeight:a,innerWidth:c,top:Math.floor((d-
(a+C))/2+h),left:Math.floor((e-(c+D))/2+h),oversized:F};return b.dimensions};b.makeGallery=function(a){var c=[],d=-1;if(typeof a=="string")a=[a];if(typeof a.length=="number"){p(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}}p(c,function(g,h){c[g]=w({},
h)});return[c,d]};b.makeObject=function(a,c){var d={content:a.href,title:a.getAttribute("title")||"",link:a};if(c){c=w({},c);p(["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(ua);if(e)d.gallery=escape(e[2]);p(a.split(";"),function(f,g){if(e=g.match(va))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(wa))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 L=true,M=true;b.getStyle=function(){var a=/opacity=([^)]*)/,c=document.defaultView&&document.defaultView.getComputedStyle;return function(d,e){var f;if(!L&&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(L)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)};l.guid=1;l.handleEvent=function(a){var c=true;a=a||l.fixEvent(((this.ownerDocument||this.document||this).parentWindow||m).event);var d=this.events[a.type];for(var e in d){this.__handleEvent=d[e];if(this.__handleEvent(a)===false)c=false}return c};l.preventDefault=function(){this.returnValue=false};l.stopPropagation=function(){this.cancelBubble=true};l.fixEvent=function(a){a.preventDefault=
l.preventDefault;a.stopPropagation=l.stopPropagation;return a};var P=false,B;if(document.addEventListener)B=function(){document.removeEventListener("DOMContentLoaded",B,false);b.load()};else if(document.attachEvent)B=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",B);b.load()}};b.load=function(){if(!P){if(!document.body)return setTimeout(b.load,13);P=true;na();b.options.skipSetup||b.setup();b.skin.init()}};b.plugins={};if(navigator.plugins&&navigator.plugins.length){var A=
[];p(navigator.plugins,function(a,c){A.push(c.name)});A=A.join(",");j=A.indexOf("Flip4Mac")>-1;b.plugins={fla:A.indexOf("Shockwave Flash")>-1,qt:A.indexOf("QuickTime")>-1,wmp:!j&&A.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 ya=/^(light|shadow)box/i,za=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;p(document.getElementsByTagName("a"),function(g,h){(f=h.getAttribute("rel"))&&ya.test(f)&&c.push(h)})}return c};b.setup=function(a,c){p(b.select(a),function(d,e){b.addCache(e,c)})};b.teardown=function(a){p(b.select(a),function(c,d){b.removeCache(d)})};b.addCache=function(a,c){var d=a.shadowboxCacheKey;if(d==ga){d=za++;a.shadowboxCacheKey=
d;l(a,"click",aa)}b.cache[d]=b.makeObject(a,c)};b.removeCache=function(a){I(a,"click",aa);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:"en",of:"of",loading:"loading",cancel:"Cancel",next:"Next",previous:"Previous",play:"Play",pause:"Pause",close:"Close",errors:{single:'You must install the <a href="{0}">{1}</a> browser plugin to view this content.',
shared:'You must install both the <a href="{0}">{1}</a> and <a href="{2}">{3}</a> browser plugins to view this content.',either:'You must install either the <a href="{0}">{1}</a> or the <a href="{2}">{3}</a> browser plugin to view this content.'}};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="no"';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){Z(a);b.isGecko&&delete m.frames[this.id]}},onLoad:function(){(b.isIE?i(this.id).contentWindow:m.frames[this.id]).location.href=this.obj.content}};var T=
false,R=[],Aa=["sb-nav-close","sb-nav-next","sb-nav-play","sb-nav-pause","sb-nav-previous"],r,t,v,U=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-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 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></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,V(k.markup,b.lang));k.body=i("sb-body-inner");r=i("sb-container");t=i("sb-overlay");v=i("sb-wrapper");if(!M)r.style.position="absolute";if(!L){var a,c,d=/url\("(.*\.png)"\)/;
p(Aa,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;l(m,"resize",function(){if(e){clearTimeout(e);e=null}if(o)e=setTimeout(k.onWindowResize,10)})};k.onOpen=function(a,c){U=false;r.style.display="block";ba();a=S(b.options.initialHeight,b.options.initialWidth);G(a.innerHeight,a.top);H(a.width,a.left);if(b.options.showOverlay){t.style.backgroundColor=
b.options.overlayColor;b.setOpacity(t,0);b.options.modal||l(t,"click",b.close);T=true}if(!M){Q();l(m,"scroll",Q)}ca();r.style.visibility="visible";T?q(t,"opacity",b.options.overlayOpacity,b.options.fadeDuration,c):c()};k.onLoad=function(a,c){for(da(true);k.body.firstChild;)Z(k.body.firstChild);ta(a,function(){if(o){if(!a)v.style.visibility="visible";ra(c)}})};k.onReady=function(a){if(o){var c=b.player,d=S(c.height,c.width),e=function(){sa(a)};switch(b.options.animSequence){case "hw":G(d.innerHeight,
d.top,true,function(){H(d.width,d.left,true,e)});break;case "wh":H(d.width,d.left,true,function(){G(d.innerHeight,d.top,true,e)});break;default:H(d.width,d.left,true);G(d.innerHeight,d.top,true,e)}}};k.onShow=function(a){da(false,a);U=true};k.onClose=function(){M||I(m,"scroll",Q);I(t,"click",b.close);v.style.visibility="hidden";var a=function(){r.style.visibility="hidden";r.style.display="none";ca(true)};T?q(t,"opacity",0,b.options.fadeDuration,a):a()};k.onPlay=function(){s("play",false);s("pause",
true)};k.onPause=function(){s("pause",false);s("play",true)};k.onWindowResize=function(){if(U){ba();var a=b.player,c=S(a.height,a.width);H(c.width,c.left);G(c.innerHeight,c.top);a.onWindowResize&&a.onWindowResize()}};b.skin=k;m.Shadowbox=b})(window);

