The required Adobe Flash Player plugin is not installed
")},e.checkType=function(o){return o?o.match(/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i)?0:o.match(/[^\.]\.(swf)\s*$/i)?1:o.match(/\.(mp4|m4v|ogv|ogg|webm)(.*)?$/i)?2:o.match(/\:\/\/.*(youtube\.com)/i)||o.match(/\:\/\/.*(youtu\.be)/i)?3:o.match(/\:\/\/.*(vimeo\.com)/i)?4:o.match(/\:\/\/.*(dailymotion\.com)/i)||o.match(/\:\/\/.*(dai\.ly)/i)?9:o.match(/[^\.]\.(pdf)\s*$/i)?5:o.match(/[^\.]\.(mp3)\s*$/i)?6:o.match(/[^\.]\.(flv)\s*$/i)?8:7:-1},e.showLightbox=function(o,i,n,s,r,l,a,h,d){e.$next.hide(),e.$prev.hide(),e.reset(),e.$lightbox.show(),e.options.supportCSSPositionFixed||e.$lightbox.css("top",t(window).scrollTop());var p=window.innerHeight?window.innerHeight:t(window).height(),c=e.options.loadingwidth+2*e.options.bordersize,u=e.options.loadingheight+2*e.options.bordersize,m=Math.round(p/2-u/2);"inside"!=e.options.titlestyle&&(m-=Math.round(e.options.barheight/2)),16>m&&(m=16),e.$lightboxBox.css({"margin-top":m,width:c,height:u}),e.$elemWrap.css({width:c,height:u}),e.loadElem(new Array(o,i,n,null,s,r,l,a,h,d))},e.addItem=function(o,t,i,n,s,r,l,a,h){type=e.checkType(o),e.elemArray.push(new Array(type,o,t,i,n,s,r,l,a,h))},e.showItem=function(o){if(e.elemArray.length<=0)return!0;e.hideObjects();for(var i=0;i
l&&(l=16),e.$lightboxBox.css({"margin-top":l,width:s,height:r}),e.$elemWrap.css({width:s,height:r}),e.loadCurElem(),!1},e.init(),e.unbind("click").click(e.clickHandler)}}(jQuery),function(o){o.fn.touchSwipe=function(t){var i={preventWebBrowser:!1,swipeLeft:null,swipeRight:null,swipeTop:null,swipeBottom:null};return t&&o.extend(i,t),this.each(function(){function t(o){var t=o.originalEvent;t.targetTouches.length>=1?(l=t.targetTouches[0].pageX,a=t.targetTouches[0].pageY):s(o)}function e(o){i.preventWebBrowser&&o.preventDefault();var t=o.originalEvent;t.targetTouches.length>=1?(h=t.targetTouches[0].pageX,d=t.targetTouches[0].pageY):s(o)}function n(o){h>0||d>0?(r(),s(o)):s(o)}function s(o){l=-1,a=-1,h=-1,d=-1}function r(){h>l?i.swipeRight&&i.swipeRight.call():i.swipeLeft&&i.swipeLeft.call(),d>a?i.swipeBottom&&i.swipeBottom.call():i.swipeTop&&i.swipeTop.call()}var l=-1,a=-1,h=-1,d=-1;try{o(this).bind("touchstart",t),o(this).bind("touchmove",e),o(this).bind("touchend",n),o(this).bind("touchcancel",s)}catch(p){}})}}(jQuery),function(o){o.fn.lightboxHTML5VideoControls=function(t,i,e,n){var s="ontouchstart"in window,r=s?"touchstart":"mousedown",l=s?"touchmove":"mousemove",a=s?"touchcancel":"mouseup",h=s?"touchstart":"click",d=32,p=s?48:36,c=null,u=null,m=!1,g=!1,b=!0,w=null!=navigator.userAgent.match(/iPod/i)||null!=navigator.userAgent.match(/iPhone/i),f=o(this).data("ishd"),v=o(this).data("hd"),x=o(this).data("src"),y=o(this);if(y.get(0).removeAttribute("controls"),w){var k=y.height()-p;y.css({height:k})}var E=o("");w||(y.after(E),E.css({position:"absolute",top:"50%",left:"50%",display:"block",cursor:"pointer",width:64,height:64,"margin-left":-32,"margin-top":-32,"background-image":"url('"+t+"html5boxplayer_playvideo.png')","background-position":"center center","background-repeat":"no-repeat"}).bind(h,function(){y.get(0).play()}));var $=o(""),S=o("");y.after(S),y.after($),$.css({display:"none",position:"fixed",left:0,top:0,bottom:0,right:0,"z-index":2147483647}),S.css({display:"block",position:"absolute",width:"100%",height:p,left:0,bottom:0,right:0,"max-width":"640px",margin:"0 auto"});var z=function(){b=!0};y.bind(h,function(){b=!0}).hover(function(){b=!0},function(){b=!1}),e||setInterval(function(){b&&(S.show(),b=!1,clearTimeout(c),c=setTimeout(function(){y.get(0).paused||S.fadeOut()},5e3))},250),o(".html5boxVideoControlsBg",S).css({display:"block",position:"absolute",width:"100%",height:"100%",left:0,top:0,"background-color":"#000000",opacity:.7,filter:"alpha(opacity=70)"}),o(".html5boxPlayPause",S).css({display:"block",position:"relative",width:d+"px",height:d+"px",margin:Math.floor((p-d)/2),"float":"left"});var A=o(".html5boxPlay",S),I=o(".html5boxPause",S);A.css({display:"block",position:"absolute",top:0,left:0,width:d+"px",height:d+"px",cursor:"pointer","background-image":"url('"+t+"html5boxplayer_playpause.png')","background-position":"top left"}).hover(function(){o(this).css({"background-position":"bottom left"})},function(){o(this).css({"background-position":"top left"})}).bind(h,function(){y.get(0).play()}),I.css({display:"none",position:"absolute",top:0,left:0,width:d+"px",height:d+"px",cursor:"pointer","background-image":"url('"+t+"html5boxplayer_playpause.png')","background-position":"top right"}).hover(function(){o(this).css({"background-position":"bottom right"})},function(){o(this).css({"background-position":"top right"})}).bind(h,function(){y.get(0).pause()});var M=o(".html5boxTimeCurrent",S),T=o(".html5boxTimeTotal",S),F=o(".html5boxSeeker",S),P=o(".html5boxSeekerPlay",S),H=o(".html5boxSeekerBuffer",S),B=o(".html5boxSeekerHandler",S);if(M.css({display:"block",position:"relative","float":"left","line-height":p+"px","font-weight":"normal","font-size":"12px",margin:"0 8px","font-family":"Arial, Helvetica, sans-serif",color:"#fff"}),T.css({display:"block",position:"relative","float":"right","line-height":p+"px","font-weight":"normal","font-size":"12px",margin:"0 8px","font-family":"Arial, Helvetica, sans-serif",color:"#fff"}),F.css({display:"block",cursor:"pointer",overflow:"hidden",position:"relative",height:"10px","background-color":"#222",margin:Math.floor((p-10)/2)+"px 4px"}).bind(r,function(o){var t=s?o.originalEvent.touches[0]:o,i=t.pageX-F.offset().left;P.css({width:i}),y.get(0).currentTime=i*y.get(0).duration/F.width(),F.bind(l,function(o){var t=s?o.originalEvent.touches[0]:o,i=t.pageX-F.offset().left;P.css({width:i}),y.get(0).currentTime=i*y.get(0).duration/F.width()})}).bind(a,
function(){F.unbind(l)}),H.css({display:"block",position:"absolute",left:0,top:0,height:"100%","background-color":"#444"}),P.css({display:"block",position:"absolute",left:0,top:0,height:"100%","background-color":"#fcc500"}),!w&&(y.get(0).requestFullscreen||y.get(0).webkitRequestFullScreen||y.get(0).mozRequestFullScreen||y.get(0).webkitEnterFullScreen||y.get(0).msRequestFullscreen)){var L=function(o){o?(y.get(0).requestFullscreen?y.get(0).requestFullscreen():y.get(0).webkitRequestFullScreen?y.get(0).webkitRequestFullScreen():y.get(0).mozRequestFullScreen?y.get(0).mozRequestFullScreen():y.get(0).webkitEnterFullScreen&&y.get(0).webkitEnterFullScreen(),y.get(0).msRequestFullscreen&&y.get(0).msRequestFullscreen()):document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},O=function(t){S.css({position:t?"fixed":"absolute"});var i=C.css("background-position")?C.css("background-position").split(" ")[1]:C.css("background-position-y");C.css({"background-position":(t?"right":"left")+" "+i}),$.css({display:t?"block":"none"}),t?(o(document).bind("mousemove",z),S.css({"z-index":2147483647})):(o(document).unbind("mousemove",z),S.css({"z-index":""}))};document.addEventListener("fullscreenchange",function(){g=document.fullscreen,O(document.fullscreen)},!1),document.addEventListener("mozfullscreenchange",function(){g=document.mozFullScreen,O(document.mozFullScreen)},!1),document.addEventListener("webkitfullscreenchange",function(){g=document.webkitIsFullScreen,O(document.webkitIsFullScreen)},!1),y.get(0).addEventListener("webkitbeginfullscreen",function(){g=!0},!1),y.get(0).addEventListener("webkitendfullscreen",function(){g=!1},!1),o("head").append("");var C=o(".html5boxFullscreen",S);C.css({display:"block",position:"relative","float":"right",width:d+"px",height:d+"px",margin:Math.floor((p-d)/2),cursor:"pointer","background-image":"url('"+t+"html5boxplayer_fullscreen.png')","background-position":"left top"}).hover(function(){var t=o(this).css("background-position")?o(this).css("background-position").split(" ")[0]:o(this).css("background-position-x");o(this).css({"background-position":t+" bottom"})},function(){var t=o(this).css("background-position")?o(this).css("background-position").split(" ")[0]:o(this).css("background-position-x");o(this).css({"background-position":t+" top"})}).bind(h,function(){g=!g,L(g)})}if(v){var j=o(".html5boxHD",S);j.css({display:"block",position:"relative","float":"right",width:d+"px",height:d+"px",margin:Math.floor((p-d)/2),cursor:"pointer","background-image":"url('"+t+"html5boxplayer_hd.png')","background-position":(f?"right":"left")+" center"}).bind(h,function(){f=!f,o(this).css({"background-position":(f?"right":"left")+" center"}),i.isHd=f;var t=y.get(0).isPaused;y.get(0).setAttribute("src",(f?v:x)+"#t="+y.get(0).currentTime),t?w||y.get(0).pause():y.get(0).play()})}var q=y.get(0).volume;if(y.get(0).volume=q/2+.1,y.get(0).volume===q/2+.1){y.get(0).volume=q;var V=o(".html5boxVolume",S),D=o(".html5boxVolumeButton",S),_=o(".html5boxVolumeBar",S),W=o(".html5boxVolumeBarBg",S),N=o(".html5boxVolumeBarActive",S);V.css({display:"block",position:"relative","float":"right",width:d+"px",height:d+"px",margin:Math.floor((p-d)/2)}).hover(function(){clearTimeout(u);var o=y.get(0).volume;N.css({height:Math.round(100*o)+"%"}),_.show()},function(){clearTimeout(u),u=setTimeout(function(){_.hide()},1e3)}),D.css({display:"block",position:"absolute",top:0,left:0,width:d+"px",height:d+"px",cursor:"pointer","background-image":"url('"+t+"html5boxplayer_volume.png')","background-position":"top left"}).hover(function(){var t=o(this).css("background-position")?o(this).css("background-position").split(" ")[0]:o(this).css("background-position-x");o(this).css({"background-position":t+" bottom"})},function(){var t=o(this).css("background-position")?o(this).css("background-position").split(" ")[0]:o(this).css("background-position-x");o(this).css({"background-position":t+" top"})}).bind(h,function(){var t=y.get(0).volume;t>0?(volumeSaved=t,t=0):t=volumeSaved;var i=o(this).css("background-position")?o(this).css("background-position").split(" ")[1]:o(this).css("background-position-y");D.css({"background-position":(t>0?"left":"right")+" "+i}),y.get(0).volume=t,N.css({height:Math.round(100*t)+"%"})}),_.css({display:"none",position:"absolute",left:4,bottom:"100%",width:24,height:80,"margin-bottom":Math.floor((p-d)/2),"background-color":"#000000",opacity:.7,filter:"alpha(opacity=70)"}),W.css({display:"block",position:"relative",width:10,height:68,margin:7,cursor:"pointer","background-color":"#222"}),N.css({display:"block",position:"absolute",bottom:0,left:0,width:"100%",height:"100%","background-color":"#fcc500"}),W.bind(r,function(o){var t=s?o.originalEvent.touches[0]:o,i=1-(t.pageY-W.offset().top)/W.height();i=i>1?1:0>i?0:i,N.css({height:Math.round(100*i)+"%"}),D.css({"background-position":"left "+(i>0?"top":"bottom")}),y.get(0).volume=i,W.bind(l,function(o){var t=s?o.originalEvent.touches[0]:o,i=1-(t.pageY-W.offset().top)/W.height();i=i>1?1:0>i?0:i,N.css({height:Math.round(100*i)+"%"}),D.css({"background-position":"left "+(i>0?"top":"bottom")}),y.get(0).volume=i})}).bind(a,function(){W.unbind(l)})}var R=function(o){var t=Math.floor(o/3600),i=10>t?"0"+t:t,e=Math.floor((o-60*t)/60),n=10>e?"0"+e:e,s=Math.floor(o-(3600*t+60*e)),r=10>s?"0"+s:s,l=n+":"+r;return t>0&&(l=i+":"+l),l};n&&E.hide(),e&&S.hide();var Q=function(){n||E.hide(),e||(A.hide(),I.show())},Y=function(){n||E.show(),e||(S.show(),clearTimeout(c),A.show(),I.hide())},X=function(){o(window).trigger("html5lightbox.videoended"),n||E.show(),e||(S.show(),clearTimeout(c),A.show(),I.hide())},G=function(){var o=y.get(0).currentTime;if(o){M.text(R(o));var t=y.get(0).duration;if(t&&(T.text(R(t)),!m)){var i=F.width(),e=Math.round(i*o/t);P.css({width:e}),B.css({left:e})}}},K=function(){if(y.get(0).buffered&&y.get(0).buffered.length>0&&!isNaN(y.get(0).buffered.end(0))&&!isNaN(y.get(0).duration)){var o=F.width();H.css({width:Math.round(o*y.get(0).buffered.end(0)/y.get(0).duration)})}};try{y.bind("play",Q),y.bind("pause",Y),y.bind("ended",X),y.bind("timeupdate",G),y.bind("progress",K)}catch(U){}}}(jQuery),jQuery(document).ready(function(){"undefined"==typeof html5Lightbox&&(html5Lightbox=jQuery(".html5lightbox").html5lightbox())})}!function(){"use strict";for(var o=document.getElementsByTagName("script"),t="",i=0;i