window.console=window.console||function(){var e={};e.log=e.warn=e.debug=e.info=e.error=e.time=e.dir=e.profile=e.clear=e.exception=e.trace=e.assert=function(){};return e}();$(document).ready(function(){var e='
';$('body').append(e);switchAnimate.loadEvent();switchColor.loadEvent();});var switchColor={colorObj:{colorCookie:"colorCookie",switchClass:".styleswitch",currentClass:"current",headLink:"head link[id=colors]",colorItem:".ws-colors a.styleswitch",reset:"#reset",defaultColor:"color1"},loadEvent:function(){var e=switchColor.colorObj;if($.cookie(e.colorCookie)){switchColor.setColor($.cookie(e.colorCookie))}else{switchColor.setColor(e.defaultColor)} $(e.colorItem).on("click",function(){var e=$(this).attr("id");switchColor.setColor(e)});$(e.reset).on("click",function(){switchColor.setColor(e.defaultColor)})},setColor:function(e){var t=switchColor.colorObj;$.cookie(t.colorCookie,e);$(t.headLink).attr("href","stylesheets/colors/"+e+".css");$(t.switchClass).removeClass(t.currentClass);$("#"+e).addClass(t.currentClass);if($('.infomation.text-center h3').length===1){var hiText=$('.infomation.text-center h3').closest('.section').css("background-color").toString();if(hiText==="rgb(91, 91, 91)") $('.infomation.text-center h3').css('color',"#fff");}}};var switchAnimate={loadEvent:function(){$(".switcher-container h2 a.sw-click").on('click',function(e){$(this).addClass('active');var t=$(".switcher-container");if(t.css("left")==="-220px"){$(".switcher-container").animate({left:"0"},300,'easeInOutExpo')}else{$(this).removeClass('active');$(".switcher-container").animate({left:"-220px"},300,'easeInOutExpo')} e.preventDefault();})}};