function showBreaking(){wrapper.addClass("opened"),wrapper.animate({right:"0px"},300),dvNews.animate({right:"300px"},300)}function hideBreaking(){wrapper.removeClass("opened"),dvNews.animate({right:"-300px"},300),wrapper.animate({right:"0px"},300)}(function(n){n.fn.UItoTop=function(t){var f={text:"To Top",min:200,inDelay:600,outDelay:400,containerID:"toTop",containerHoverID:"toTopHover",scrollSpeed:1200,easingType:"linear"},i=n.extend(f,t),r="#"+i.containerID,u="#"+i.containerHoverID;n("body").append(''+i.text+"<\/a>"),n(r).hide().on("click.UItoTop",function(){return n("html, body").animate({scrollTop:0},i.scrollSpeed,i.easingType),n("#"+i.containerHoverID,this).stop().animate({opacity:0},i.inDelay,i.easingType),!1}).prepend('<\/span>').hover(function(){n(u,this).stop().animate({opacity:1},600,"linear")},function(){n(u,this).stop().animate({opacity:0},700,"linear")}),n(window).scroll(function(){var t=n(window).scrollTop();typeof document.body.style.maxHeight=="undefined"&&n(r).css({position:"absolute",top:t+n(window).height()-50}),t>i.min?n(r).fadeIn(i.inDelay):n(r).fadeOut(i.Outdelay)})}})(jQuery),function(n,t,i){"use strict";function r(t,r){if(this.el=t,this.$el=n(t),this.s=n.extend({},u,r),this.s.dynamic&&this.s.dynamicEl!=="undefined"&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBartimeout=!1,this.isTouch="ontouchstart"in i.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.$items=this.s.dynamic?this.s.dynamicEl:this.s.selector==="this"?this.$el:this.s.selector!==""?this.s.selectWithin?n(this.s.selectWithin).find(this.s.selector):this.$el.find(n(this.s.selector)):this.$el.children(),this.$slide="",this.$outer="",this.init(),this}var u={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e4,useLeft:!1,closable:!0,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimatoin:!0,hideControlOnEnd:!1,mousewheel:!0,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",preload:1,showAfterLoad:!0,showAdsenseAds:!0,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:!1,iframeMaxWidth:"100%",download:!1,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],galleryId:1,fbshareUrl:"",gplusshareUrl:""};r.prototype.init=function(){var i=this,r;if(i.s.preload>i.$items.length&&(i.s.preload=i.$items.length),r=t.location.hash,r.indexOf("lg="+this.s.galleryId)>0&&(i.index=parseInt(r.split("&slide=")[1],10),n("body").addClass("lg-from-hash"),n("body").hasClass("lg-on")||setTimeout(function(){i.build(i.index),n("body").addClass("lg-on")})),i.s.dynamic)i.$el.trigger("onBeforeOpen.lg"),i.index=i.s.index||0,n("body").hasClass("lg-on")||setTimeout(function(){i.build(i.index),n("body").addClass("lg-on")});else i.$items.on("click.lgcustom",function(t){try{t.preventDefault(),t.preventDefault()}catch(r){t.returnValue=!1}i.$el.trigger("onBeforeOpen.lg"),i.index=i.s.index||i.$items.index(this),n("body").hasClass("lg-on")||(i.build(i.index),n("body").addClass("lg-on"))})},r.prototype.build=function(t){var i=this;i.structure(),n.each(n.fn.lightGallery.modules,function(t){i.modules[t]=new n.fn.lightGallery.modules[t](i.el)}),i.slide(t,!1,!1),i.s.keyPress&&i.keyPress(),i.$items.length>1&&(i.arrow(),setTimeout(function(){i.enableDrag(),i.enableSwipe()},50),i.s.mousewheel&&i.mousewheel()),i.counter(),i.closeGallery(),i.$el.trigger("onAfterOpen.lg");i.$outer.on("mousemove.lg click.lg touchstart.lg",function(){i.$outer.removeClass("lg-hide-items"),clearTimeout(i.hideBartimeout),i.hideBartimeout=setTimeout(function(){i.$outer.addClass("lg-hide-items")},i.s.hideBarsDelay)})},r.prototype.structure=function(){var f="",e="",i=0,s="",o,r=this,u;for(n("body").append('
<\/div>'),n(".lg-backdrop").css("transition-duration",this.s.backdropDuration+"ms"),i=0;i<\/div>';this.s.controls&&this.$items.length>1&&(e='