Hacked By AnonymousFox
!function(a){function b(){a("input").each(function(){a(this).attr("type")||a(this).attr("type","text")})}function c(){var b=a('style[id^="section-separator-style-"]');if(b.length>0){for(var c=a('.row[id^="le_body_row_"]'),d='<style id="op-decreasing-row-zindex">',e=0;e<c.length;e++)d+="#le_body_row_"+(e+1)+"{z-index: "+(parseInt(50)-parseInt(e+1))+";}";d+="</style>",a("head").append(d)}}function d(){a(window).on("load",function(){if(a(".row").is('[class*="bg-parallax"]')&&!l.any()&&a.stellar({horizontalScrolling:!1}),l.iOS())for(var b=a('.row[class*="bg-parallax"]'),c=0;c<b.length;c++)a(b[c]).css({backgroundAttachment:""})}),a(window).on("resize",function(){a(".row").is('[class*="bg-parallax"]')&&!l.any()&&a.stellar("refresh")})}function e(){a.each(k.services,function(b,c){var d=k.options;d.click=function(a,b){a.simulateClick(),a.openPopup(c)},a(".social-sharing ."+c).each(function(){var b="undefined"==typeof a(this).data("lang")?"en_US":a(this).data("lang"),e="undefined"==typeof a(this).data("via")?"":a(this).data("via"),f="undefined"==typeof a(this).data("title")?"":a(this).data("title"),g="undefined"==typeof a(this).data("url")?"":a(this).data("url"),h="undefined"==typeof a(this).data("likes")?"":a(this).data("likes");switch(d.enableCounter=a(this).parent().data("counter"),c){case"twitter":d.share={twitter:!0},d.buttons.twitter.lang=b,d.buttons.twitter.via=e,d.buttons.twitter.title=f,d.buttons.twitter.url=g,d.buttons.twitter.likes=h;break;case"facebook":d.share={facebook:!0},d.buttons.facebook.lang=b,d.buttons.facebook.likes=h;break;case"googlePlus":d.share={googlePlus:!0},d.buttons.googlePlus.lang=b}a(this).sharrre(d)})})}function f(){"undefined"!=typeof selectnav&&(selectnav("navigation-above",{indent:"<span>-</span>"}),selectnav("navigation-below",{indent:"<span>-</span>"}),selectnav("navigation-alongside",{indent:"<span>-</span>"}))}function g(){var b=".navigation .dk",c=a("body").hasClass("blog")?".main-content .dk":".content .dk";dropkickListener=function(){parseInt(a(this).width(),10)<960&&a(b).each(function(){a(this).data("dropkickInitialized")||(a(this).dropkick({mobile:!0,change:function(){this.value&&(window.location=this.value)}}),a(this).data("dropkickInitialized","true"));var b=a(this).siblings("ul").find("li:first-child a"),c=b.css("color");a(this).prev(".dk_container").find(".dk_label").css({color:c})})},a(window).on("resize",dropkickListener).trigger("resize"),a(c).each(function(){a(this).data("dropkickInitialized")||(a(this).dropkick({mobile:!0,change:function(){value&&(window.location=value)}}),a(this).data("dropkickInitialized","true"))}),a("li.op-pagebuilder a").fancybox({width:"98%",height:"98%",padding:0,scrolling:"no",closeClick:!1,type:"iframe",openEffect:"none",closeEffect:"fade",openSpeed:0,closeSpeed:200,openOpacity:!0,closeOpacity:!0,scrollOutside:!1,helpers:{overlay:{closeClick:!1,showEarly:!1,css:{opacity:0},speedOut:200,locked:!1}},beforeLoad:function(){op_show_loading()},beforeShow:function(){OptimizePress.fancyboxBeforeShowAnimation(this)},afterShow:function(){op_hide_loading(),a(".fancybox-opened").find("iframe").focus()},beforeClose:function(){var a=!1;return OptimizePress.disable_alert?(OptimizePress.fancyboxBeforeCloseAnimation(this),void(OptimizePress.disable_alert=!1)):(a=confirm(OptimizePress.pb_unload_alert),a&&OptimizePress.fancyboxBeforeCloseAnimation(this),a)}})}function h(){a(".tooltip").tooltipster({animation:"grow"})}function i(){a(".optin-modal-container").each(function(){a(this).on("click",".optin-modal-link",function(b){b.preventDefault(),a(this).next(".optin-modal").reveal()}),a(this).on("click"," .optin-modal .css-button",function(b){b.preventDefault(),a(this).parent("form").submit()})})}var j={},k={};j.init={},k.urlCurl=OptimizePress.paths.js+"jquery/sharrre.inc.php",k.services=["twitter","facebook","googlePlus","linkedin"],k.options={enableHover:!1,enableTracking:!0,urlCurl:k.urlCurl,buttons:{twitter:{},facebook:{},googlePlus:{}}},a(document).ready(function(){e(),f(),g(),h(),i(),b(),c(),d(),"function"==typeof j.init.countdown&&j.init.countdown(),"function"==typeof j.init.countdown_cookie&&j.init.countdown_cookie()});var l={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return l.Android()||l.BlackBerry()||l.iOS()||l.Opera()||l.Windows()}};a(window).on("op_init_sharrre",e),j.init.countdown=function(){function b(){for(var b=a(this),c=b.data("end").split(" "),d="undefined"==typeof c[0]?"00/00/0000":c[0].split("/"),e="undefined"==typeof c[1]?"00:00:00":c[1].split(":"),f=("undefined"!=typeof b.data("end")?!1:!0,new Date(d[0],parseInt(d[1])-1,d[2],e[0],e[1],e[2])),g=[void 0===b.data("years_text")?"Years":b.data("years_text"),void 0===b.data("months_text")?"Months":b.data("months_text"),void 0===b.data("weeks_text")?"Weeks":b.data("weeks_text"),void 0===b.data("days_text")?"Days":b.data("days_text"),void 0===b.data("hours_text")?"Hours":b.data("hours_text"),void 0===b.data("minutes_text")?"Minutes":b.data("minutes_text"),void 0===b.data("seconds_text")?"Seconds":b.data("seconds_text")],h=[void 0===b.data("years_text_singular")?"Year":b.data("years_text_singular"),void 0===b.data("months_text_singular")?"Month":b.data("months_text_singular"),void 0===b.data("weeks_text_singular")?"Week":b.data("weeks_text_singular"),void 0===b.data("days_text_singular")?"Day":b.data("days_text_singular"),void 0===b.data("hours_text_singular")?"Hour":b.data("hours_text_singular"),void 0===b.data("minutes_text_singular")?"Minute":b.data("minutes_text_singular"),void 0===b.data("seconds_text_singular")?"Second":b.data("seconds_text_singular")],i=b.data("format")||"yodhms",j=0,k=9,l=0;l<g.length;l++)""==g[l].replace(/\s+/g,"")&&(g[l]=" ");for(var l=0;l<h.length;l++)""==h[l].replace(/\s+/g,"")&&(h[l]=" ");var m=function(){var d=a(b).attr("data-redirect_url");d=d?a.trim(d):d;var e=!window.OptimizePress.wp_admin_page&&!!d;b.countdown({until:f,format:"yodhms",labels:g,labels1:h,format:i,timezone:c[c.length-1],expiryUrl:e?d:"",alwaysExpire:e}),b.find("span.countdown_section").each(function(){j+=a(this).width()+k}),b.width("100%")};"undefined"==typeof a.countdown?a.getScript(OptimizePress.paths.js+"jquery/countdown"+OptimizePress.script_debug+".js?ver="+OptimizePress.version,m):m()}var c=a(".mce-tinymce iframe");c.length>0&&($iframeTimers=c.contents().find("div.countdown-timer"),$iframeTimers.each(b),$iframeTimers.countdown("pause")),a("div.countdown-timer").each(b)},OptimizePress.initCountdownElements=j.init.countdown,j.init.countdown_cookie=function(){a("div.countdown-cookie-timer").each(function(){var b=a(this),c=b.data("end").split(" "),d="undefined"==typeof c[0]?"00/00/0000":c[0].split("/"),e="undefined"==typeof c[1]?"00:00:00":c[1].split(":"),f=new Date(d[0],parseInt(d[1])-1,d[2],e[0],e[1],e[2]),g=["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],h=["Year","Month","Week","Day","Hour","Minute","Second"],i=0,j=9;a.getScript(OptimizePress.paths.js+"jquery/countdown"+OptimizePress.script_debug+".js?ver="+OptimizePress.version,function(){b.countdown({until:f,format:"yodhms",labels:g,labels1:h}),b.find("span.countdown_section, span.countdown_row").each(function(){i+=a(this).width()+j}),b.width(i+"px")})})},OptimizePress.cookie={},OptimizePress.cookie.create=function(a,b,c){var d,e;c?(d=new Date,d.setTime(d.getTime()+24*c*60*60*1e3),e="; expires="+d.toGMTString()):e="",document.cookie=a+"="+b+e+"; path=/"},OptimizePress.cookie.read=function(a){var b,c=a+"=",d=document.cookie.split(";"),e=d.length,f=0;for(f=0;e>f;f+=1){for(b=d[f];" "===b.charAt(0);)b=b.substring(1,b.length);if(0===b.indexOf(c))return b.substring(c.length,b.length)}return null},OptimizePress.cookie.erase=function(a){OptimizePress.cookie.create(a,"",-1)}}(opjq);
Hacked By AnonymousFox1.0, Coded By AnonymousFox