03502832[1].js

Bloglog

03502832[1].js

var Chevrons;(function(n){function f(n,t,i){return new u(n,t,i)}var i=”disabled”,r=”hidden”,t=”darkchv”,u=function(){function n(n,t,i){var r=this;this.controlId=n;this.prevSlideBtn=t;this.nextSlideBtn=i;this.onPrevClick(function(){sj_evt.fire(“slideexp_slideprev”,r.controlId);Log.Log(“Prev”,”SlideExp”,”Chevron”)});this.onNextClick(function(){sj_evt.fire(“slideexp_slidenext”,r.controlId);Log.Log(“Next”,”SlideExp”,”Chevron”)});this.onMouseOver(function(){sj_evt.fire(“slideexp_pauseautoslide”,r.controlId)});this.onMouseOut(function(){sj_evt.fire(“slideexp_resumeautoslide”,r.controlId)});sj_evt.bind(“slideexp_leftmost”,function(n){r.isForMe(n)&&(r.disablePrev(!0),r.disableNext(!1))});sj_evt.bind(“slideexp_rightmost”,function(n){r.isForMe(n)&&(r.disablePrev(!1),r.disableNext(!0))});sj_evt.bind(“slideexp_middle”,function(n){r.isForMe(n)&&(r.disablePrev(!1),r.disableNext(!1))});sj_evt.bind(“slideexp_leftrightmost”,function(n){r.isForMe(n)&&(r.disablePrev(!0),r.disableNext(!0))});sj_evt.bind(“slideexp_mouseover_show”,function(n){r.isForMe(n)&&r.show()});sj_evt.bind(“slideexp_mouseout_hide”,function(n){r.isForMe(n)&&r.hide()});sj_evt.bind(“slideexp_mouseover_dark”,function(n){r.isForMe(n)&&r.changToDark()});sj_evt.bind(“slideexp_mouseout_light”,function(n){r.isForMe(n)&&r.changToLight()})}return n.prototype.onPrevClick=function(n){this.prevSlideBtn!=null&&this.nextSlideBtn!=null&&n&&sj_be(this.prevSlideBtn,”click”,n)},n.prototype.onNextClick=function(n){this.prevSlideBtn!=null&&this.nextSlideBtn!=null&&n&&sj_be(this.nextSlideBtn,”click”,n)},n.prototype.onMouseOver=function(n){this.prevSlideBtn!=null&&this.nextSlideBtn!=null&&n&&(sj_be(this.prevSlideBtn,”mouseover”,n),sj_be(this.nextSlideBtn,”mouseover”,n))},n.prototype.onMouseOut=function(n){this.prevSlideBtn!=null&&this.nextSlideBtn!=null&&n&&(sj_be(this.prevSlideBtn,”mouseout”,n),sj_be(this.nextSlideBtn,”mouseout”,n))},n.prototype.show=function(){this.setHidden(!1)},n.prototype.changToDark=function(){this.prevSlideBtn!=null&&this.nextSlideBtn!=null&&(Lib.CssClass.add(this.prevSlideBtn,t),Lib.CssClass.add(this.nextSlideBtn,t))},n.prototype.hide=function(){this.setHidden(!0)},n.prototype.changToLight=function(){this.prevSlideBtn!=null&&this.nextSlideBtn!=null&&(Lib.CssClass.remove(this.prevSlideBtn,t),Lib.CssClass.remove(this.nextSlideBtn,t))},n.prototype.disablePrev=function(n){this.prevSlideBtn!=null&&this.updateClassIf(this.prevSlideBtn,n,i)},n.prototype.disableNext=function(n){this.nextSlideBtn!=null&&this.updateClassIf(this.nextSlideBtn,n,i)},n.prototype.setHidden=function(n){this.prevSlideBtn!=null&&this.nextSlideBtn!=null&&(this.updateClassIf(this.prevSlideBtn,n,r),this.updateClassIf(this.nextSlideBtn,n,r))},n.prototype.updateClassIf=function(n,t,i){t?Lib.CssClass.add(n,i):Lib.CssClass.remove(n,i)},n.prototype.isForMe=function(n){return n[1]===this.controlId},n}();n.init=f;sj_evt.fire(“chevrons_init”,u)})(Chevrons||(Chevrons={}))