/* testPool:*//* Cached for key:5adbcbe66a9fcaf16065bebdd2bed073:9b1f4acca2057b230ef864064cd396b7*/!function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e(require,exports,module):t.scrollReveal=e()}(dmjs,function(){return dmjs.scrollReveal=function(t){"use strict";function e(e){this.docElem=t.document.documentElement,this.options=this.extend(this.defaults,e),this.styleBank={},1==this.options.init&&this.init()}var i=1,o=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(e){t.setTimeout(e,1e3/60)}}();return e.prototype={defaults:{after:"0s",enter:"bottom",move:"24px",over:"0.66s",easing:"ease-in-out",opacity:0,viewportFactor:.33,reset:!1,init:!0,inView:function(){},outView:function(){},selector:"[data-scroll-reveal]"},init:function(){this.scrolled=!1;var e=this;this.elems=Array.prototype.slice.call(this.docElem.querySelectorAll(this.options.selector)),this.elems.forEach(function(t){var o=t.getAttribute("data-scroll-reveal-id");o||(o=i++,t.setAttribute("data-scroll-reveal-id",o)),e.styleBank[o]||(e.styleBank[o]=t.getAttribute("style")),e.update(t)});var r=function(){e.scrolled||(e.scrolled=!0,o(function(){e._scrollPage()}))},n=function(){function t(){e._scrollPage(),e.resizeTimeout=null}e.resizeTimeout&&clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout(t,200)};t.addEventListener("scroll",r,!1),t.addEventListener("resize",n,!1)},_scrollPage:function(){var t=this;this.elems.forEach(function(e){t.update(e)}),this.scrolled=!1},parseLanguage:function(t){function e(t){var e=[],i=["from","the","and","then","but","with"];return t.forEach(function(t){i.indexOf(t)>-1||e.push(t)}),e}if(!t.hasAttribute("data-scroll-reveal"))return[];var i=t.getAttribute("data-scroll-reveal").split(/[, ]+/),o={};return i=e(i),i.forEach(function(t,e){switch(t){case"enter":return void(o.enter=i[e+1]);case"after":return void(o.after=i[e+1]);case"wait":return void(o.after=i[e+1]);case"move":return void(o.move=i[e+1]);case"ease":return o.move=i[e+1],void(o.ease="ease");case"ease-in":return o.move=i[e+1],void(o.easing="ease-in");case"ease-in-out":return o.move=i[e+1],void(o.easing="ease-in-out");case"ease-out":return o.move=i[e+1],void(o.easing="ease-out");case"over":return void(o.over=i[e+1]);default:return}}),o},update:function(t){var e=this.genCSS(t),i=this.styleBank[t.getAttribute("data-scroll-reveal-id")];return null!=i?i+=";":i="",t.getAttribute("data-scroll-reveal-initialized")||(t.setAttribute("style",i+e.initial),t.setAttribute("data-scroll-reveal-initialized",!0)),this.isElementInViewport(t,this.options.viewportFactor)?t.getAttribute("data-scroll-reveal-complete")?void 0:this.isElementInViewport(t,this.options.viewportFactor)?(this.options.inView(),t.setAttribute("style",i+e.target+e.transition),void(this.options.reset||setTimeout(function(){""!=i?t.setAttribute("style",i):t.removeAttribute("style"),t.setAttribute("data-scroll-reveal-complete",!0)},e.totalDuration))):void 0:(this.options.outView(),void(this.options.reset&&t.setAttribute("style",i+e.initial+e.reset)))},genCSS:function(t){var e,i,o=this.parseLanguage(t);o.enter?(("top"==o.enter||"bottom"==o.enter)&&(e=o.enter,i="y"),("left"==o.enter||"right"==o.enter)&&(e=o.enter,i="x")):(("top"==this.options.enter||"bottom"==this.options.enter)&&(e=this.options.enter,i="y"),("left"==this.options.enter||"right"==this.options.enter)&&(e=this.options.enter,i="x")),("top"==e||"left"==e)&&(o.move=o.move?"-"+o.move:"-"+this.options.move);var r=o.move||this.options.move,n=o.over||this.options.over,a=o.after||this.options.after,s=o.easing||this.options.easing,l=o.opacity||this.options.opacity,u="-webkit-transition: -webkit-transform "+n+" "+s+" "+a+",  opacity "+n+" "+s+" "+a+";transition: background-color 0.3s ease, transform "+n+" "+s+" "+a+", opacity "+n+" "+s+" "+a+";-webkit-perspective: 1000;-webkit-backface-visibility: hidden;",c="-webkit-transition: -webkit-transform "+n+" "+s+" 0s,  opacity "+n+" "+s+" "+a+";transition: background-color 0.3s ease, transform "+n+" "+s+" 0s,  opacity "+n+" "+s+" "+a+";-webkit-perspective: 1000;-webkit-backface-visibility: hidden;",f="-webkit-transform: translate"+i+"("+r+");transform: translate"+i+"("+r+");opacity: "+l+";",p="-webkit-transform: translate"+i+"(0);transform: translate"+i+"(0);opacity: 1;";return{transition:u,initial:f,target:p,reset:c,totalDuration:1e3*(parseFloat(n)+parseFloat(a))}},getViewportH:function(){var e=this.docElem.clientHeight,i=t.innerHeight;return i>e?i:e},getOffset:function(t){var e=0,i=0;do isNaN(t.offsetTop)||(e+=t.offsetTop),isNaN(t.offsetLeft)||(i+=t.offsetLeft);while(t=t.offsetParent);return{top:e,left:i}},isElementInViewport:function(e,i){var o=t.pageYOffset,r=o+this.getViewportH(),n=e.offsetHeight,a=this.getOffset(e).top,s=a+n,i=i||0;return r>=a+n*i&&s>=o||"fixed"==(e.currentStyle?e.currentStyle:t.getComputedStyle(e,null)).position},extend:function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}},e}(window),dmjs.scrollReveal}),dmjs.domready(function(){function t(t){var e=t.attr("data-url"),o=t.attr("data-page"),r=t.attr("data-page-skip"),n=t.attr("data-key"),a=parseInt(o,10)+1+parseInt(r,10),s=e+n+a+"/";t.addClass("loading"),$response=$.get(s),$response.done(function(e){return 0===e.length?void t.remove():($(".pagination.ajaxify").trigger("page.done",[o,s,e]),t.attr("data-page",a),void(i=!1))}),$response.fail(function(e,i,r){$(".pagination.ajaxify").trigger("page.fail",[[o,s,e,i,r]]),t.removeClass("loading")})}var e=!1,i=!1;$(".pagination.ajaxify .load_more_btn").click(function(){return e=!0,i||(i=!0,t($(this))),!1});new dmjs.scrollReveal({selector:".pagination.ajaxify .load_more_btn",after:"0s",enter:"bottom",move:"0",over:"0.2s",easing:"ease-in-out",opacity:1,reset:!0,inView:function(){!i&&e&&setTimeout(function(){$(".pagination.ajaxify .load_more_btn").trigger("click")},200)}})});dmjs.addLoadEvent(function(){var t,e=document,n="https:"==e.location.protocol?"https":"http",o="https"==n?"https://info.evidon.com/c/betrad/pub/":"http://cdn.betrad.com/pub/";e.getElementById("_bapw-icon").src=o+"icon1.png",$(".ad-choice").click(function(){function t(t,n){function o(){i.onload=i.onreadystatechange=null,a.removeChild(i),n()}var a=e.getElementsByTagName("head")[0]||e.documentElement,c=!1,i=e.createElement("script");i.src=t,i.onreadystatechange=function(){c||"loaded"!=this.readyState&&"complete"!=this.readyState||(c=!0,o())},i.onload=o,a.insertBefore(i,a.firstChild)}var a=this;return t(n+"://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js",function(){t(o+"pub1.js",function(){BAPW.i(a,{pid:46,ocid:374},!1)})}),!1}),t=new Image,t.src=n+"://l.betrad.com/pub/p.gif?pid=46&ocid=374&ii=1&r="+Math.random()},20);0!=dmjs.revenueTags.length&&$("<meta/>").attr("scheme","DMINSTR2").attr("name","ltvtag").attr("content",encodeURIComponent(dmjs.revenueTags.join("|"))).appendTo($("head"));!function(){try{var e="; "+document.cookie,r=e.split("; ehowuser=");if(2==r.length){var t=JSON.parse(decodeURIComponent(r.pop().split(";").shift()));if(t.id&&Math.round(t.id)===t.id){var a=$('meta[scheme="DMINSTR2"]');a.last().after('<meta name="wa_ippi" scheme="DMINSTR2" content="'+t.id+'" />')}}}catch(d){}var m=navigator.userAgent.toLowerCase(),s=dmjs.global.dm_tracker.domain,o="vs.js";-1!=m.indexOf("safari")&&(m.indexOf("chrome")>-1||(s=dmjs.global.dm_tracker.url,dmjs.urls.dmtracker=dmjs.global.dm_tracker.url,o=dmjs.global.dm_tracker.bit+".js"));var n="//"+s+"/tags/"+o,i=document.createElement("script");i.async=!0,i.src=n;var c=document.getElementById("dmOmni");c.parentNode.insertBefore(i,c)}();var _comscore=_comscore||[];_comscore.push(dmjs.global.comscore),function(){var c=document.createElement("script"),e=document.getElementsByTagName("script")[0];c.async=!0,c.src=("https:"==document.location.protocol?"https://sb":"http://b")+".scorecardresearch.com/beacon.js",e.parentNode.insertBefore(c,e)}();dmjs.domready(function(){function t(t){for(var e=document.getElementsByTagName("meta"),a=0;a<e.length;a++)if(t==e[a].name||t==e[a].getAttribute("property"))return e[a].content;return""}var e=t("category"),a=t("subcategory"),r=t("subsubcat"),n=t("pagetype");qcdata={}||qcdata;var c=document.createElement("script");c.src=("https:"==document.location.protocol?"https://secure":"http://pixel")+".quantserve.com/aquant.js?a=p-4dIM5nVs2rFio",c.async=!0,c.type="text/javascript";var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(c,o),window.qcdata={qacct:"p-4dIM5nVs2rFio",uid:"",labels:e+"."+a+"."+r+".,"+n}});function clearInput(e){e.placeholder="",$(".js-email-1").removeClass("mail-back"),$(".js-email-2").removeClass("mail-back"),$(".mail-back-label").hide()}function fillInput(e){""==e.value&&(e.placeholder="Enter Email",$(".js-email-1").addClass("mail-back"),$(".js-email-2").addClass("mail-back"),$(".mail-back-label").show())}function positionHeader(){$("#Header").css({left:-$(document).scrollLeft()})}if(!dmjs.isIE8){(function(e,t){(function(e,t){var i,n,o,r,a,s,l,d,c,u,p,h,f,m,g,v,w,b,y,k,x,_=[].indexOf||function(e){for(var t=0,i=this.length;i>t;t++)if(t in this&&this[t]===e)return t;return-1};g=e.document,n="before",i="after",u="readyState",c="addEventListener",d="removeEventListener",a="dispatchEvent",f="XMLHttpRequest",s="FormData",p=["load","loadend","loadstart"],o=["progress","abort","error","timeout"],(x=Array.prototype).indexOf||(x.indexOf=function(e){var t,i,n,o;for(t=n=0,o=this.length;o>n;t=++n)if(i=this[t],i===e)return t;return-1}),y=function(e,t){return Array.prototype.slice.call(e,t)},w=function(e,t){var i,n;for(i in e)if(n=e[i],"returnValue"!==i)try{t[i]=e[i]}catch(o){}return t},b=function(e,t,i){var n,o,r,s;for(o=function(e){return function(n){var o,r,s;o={};for(r in n)"returnValue"!==r&&(s=n[r],o[r]=s===t?i:s);return i[a](e,o)}},r=0,s=e.length;s>r;r++)n=e[r],t["on"+n]=o(n)},v=function(e){var t;if(null!=g.createEventObject)return t=g.createEventObject(),t.type=e,t;try{return new Event(e)}catch(i){return{type:e}}},r=function(e){var i,n,o;return n={},o=function(e){return n[e]||[]},i={},i[c]=function(e,i,r){n[e]=o(e),n[e].indexOf(i)>=0||(r=r===t?n[e].length:r,n[e].splice(r,0,i))},i[d]=function(e,t){var i;i=o(e).indexOf(t),-1!==i&&o(e).splice(i,1)},i[a]=function(){var n,r,a,s,l,d,c,u;for(n=y(arguments),r=n.shift(),e||(n[0]=w(n[0],v(r))),s=i["on"+r],s&&s.apply(t,n),u=o(r).concat(o("*")),a=d=0,c=u.length;c>d;a=++d)l=u[a],l.apply(t,n)},e&&(i.listeners=function(e){return y(o(e))},i.on=i[c],i.off=i[d],i.fire=i[a],i.once=function(e,t){var n;return n=function(){return i.off(e,n),t.apply(null,arguments)},i.on(e,n)},i.destroy=function(){return n={}}),i},k=r(!0),k.EventEmitter=r,k[n]=function(e,t){if(e.length<1||e.length>2)throw"invalid hook";return k[c](n,e,t)},k[i]=function(e,t){if(e.length<2||e.length>3)throw"invalid hook";return k[c](i,e,t)},k.enable=function(){e[f]=h},k.disable=function(){e[f]=k[f]},m=k.headers=function(e,t){var i,n,o,r,a,s,l,d,c;switch(null==t&&(t={}),typeof e){case"object":n=[];for(o in e)a=e[o],r=o.toLowerCase(),n.push(""+r+":	"+a);return n.join("\n");case"string":for(n=e.split("\n"),l=0,d=n.length;d>l;l++)i=n[l],/([^:]+):\s*(.+)/.test(i)&&(r=null!=(c=RegExp.$1)?c.toLowerCase():void 0,s=RegExp.$2,null==t[r]&&(t[r]=s));return t}},l=e[s],l&&(k[s]=l,e[s]=function(e){var t;this.fd=e?new l(e):new l,this.form=e,t=[],Object.defineProperty(this,"entries",{get:function(){var i;return i=e?y(e.querySelectorAll("input,select")).filter(function(e){var t;return"checkbox"!==(t=e.type)&&"radio"!==t||e.checked}).map(function(e){return[e.name,"file"===e.type?e.files:e.value]}):[],i.concat(t)}}),this.append=function(e){return function(){var i;return i=y(arguments),t.push(i),e.fd.append.apply(e.fd,i)}}(this)}),k[f]=e[f],h=e[f]=function(){var t,l,d,h,g,v,y,x,$,C,T,E,I,j,S;return S=new k[f],g=!1,E=!1,$={},$.headers={},$.headerNames={},C={},C.headers={},x=function(){var e,t,i,n;C.status=S.status,C.statusText=S.statusText,n=m(S.getAllResponseHeaders());for(e in n)i=n[e],C.headers[e]||(t=e.toLowerCase(),C.headers[t]=i)},y=function(){try{C.text=S.responseText}catch(e){}try{C.xml=S.responseXML}catch(e){}C.data=S.response||C.text},j=function(){h.status=C.status,h.statusText=C.statusText},I=function(){C.hasOwnProperty("text")&&(h.responseText=C.text),C.hasOwnProperty("xml")&&(h.responseXML=C.xml),h.response=C.data||null},d=function(e){for(;e>t&&4>t;)h[u]=++t,1===t&&h[a]("loadstart",{}),2===t&&j(),4===t&&(j(),I()),h[a]("readystatechange",{}),4===t&&setTimeout(l,0)},l=function(){g||h[a]("load",{}),h[a]("loadend",{}),g&&(h[u]=0)},t=0,T=function(e){var t,n;return 4!==e?void d(e):(t=k.listeners(i),n=function(){var e;return t.length?(e=t.shift(),2===e.length?(e($,C),n()):3===e.length&&$.async?e($,C,n):n()):d(4)},void n())},h=$.xhr=r(),S.onreadystatechange=function(){try{2===S[u]&&x()}catch(e){}4===S[u]&&(E=!1,x(),y()),T(S[u])},v=function(){g=!0},h[c]("error",v),h[c]("timeout",v),h[c]("abort",v),h[c]("progress",function(){3>t?T(3):h[a]("readystatechange",{})}),b(o,S,h),("withCredentials"in S||k.addWithCredentials)&&(h.withCredentials=!1),h.status=0,h.open=function(e,t,i,n,o){$.method=e,$.url=t,$.async=i!==!1,$.user=n,$.pass=o,T(1)},h.send=function(t){var i,o,r,a,l,d,c,u;for(u=["type","timeout","withCredentials"],d=0,c=u.length;c>d;d++)o=u[d],r="type"===o?"responseType":o,r in h&&($[o]=h[r]);$.body=t,l=function(){var t,i,n,a,l,d;for(E=!0,S.open($.method,$.url,$.async,$.user,$.pass),l=["type","timeout","withCredentials"],n=0,a=l.length;a>n;n++)o=l[n],r="type"===o?"responseType":o,o in $&&(S[r]=$[o]);d=$.headers;for(t in d)i=d[t],S.setRequestHeader(t,i);e[s]&&$.body instanceof e[s]&&($.body=$.body.fd),S.send($.body)},i=k.listeners(n),(a=function(){var e,t;return i.length?(e=function(e){return"object"!=typeof e||"number"!=typeof e.status&&"number"!=typeof C.status?void a():(w(e,C),_.call(e,"data")<0&&(e.data=e.response||e.text),void T(4))},e.head=function(e){return w(e,C),T(2)},e.progress=function(e){return w(e,C),T(3)},t=i.shift(),1===t.length?e(t($)):2===t.length&&$.async?t($,e):e()):l()})()},h.abort=function(){E?S.abort():h[a]("abort",{})},h.setRequestHeader=function(e,t){var i,n;i=null!=e?e.toLowerCase():void 0,n=$.headerNames[i]=$.headerNames[i]||e,$.headers[n]&&(t=$.headers[n]+", "+t),$.headers[n]=t},h.getResponseHeader=function(e){var t;return t=null!=e?e.toLowerCase():void 0,C.headers[t]},h.getAllResponseHeaders=function(){return m(C.headers)},S.overrideMimeType&&(h.overrideMimeType=function(){return S.overrideMimeType.apply(S,arguments)}),S.upload&&(h.upload=$.upload=r(),b(o.concat(p),S.upload,h.upload)),h},"function"==typeof this.define&&this.define.amd?define("xhook",[],function(){return k}):(this.exports||this).xhook=k}).call(this,e);var i,n,o,r,a,s,l,d,c,u,p,h,f,m,g,v,w,b,y,k,x,_,$,C,T,E,I,j,S,A,N,M,O,L,H,B,D,P;I=null,a=function(e){var t,i;null===I&&(I={},v());for(t in e)i=e[t],_("adding slave: "+t),I[t]=i},h={},f=function(e,t){var i;return h[e]?h[e]:(i=u.createElement("iframe"),i.id=i.name=m(),_("creating iframe "+i.id),i.src=""+e+t,i.setAttribute("style","display:none;"),u.body.appendChild(i),h[e]=i.contentWindow)},v=function(){var e,t,i;return t=function(e,t){var i,n,o,r,a;return o=e[0],r=e[1],i=b(r,"Blob"),n=b(r,"File"),i||n?(a=new FileReader,a.onload=function(){return e[1]=null,n&&(e[2]=r.name),t(["XD_BLOB",e,this.result,r.type])},a.readAsArrayBuffer(r),1):0},e=function(e,i){var n;e.forEach(function(t,i){var n,o,r,a,s;if(o=t[0],r=t[1],b(r,"FileList"))for(e.splice(i,1),a=0,s=r.length;s>a;a++)n=r[a],e.splice(i,0,[o,n])}),n=0,e.forEach(function(o,r){n+=t(o,function(t){e[r]=t,0===--n&&i()})}),0===n&&i()},i=function(t,i){var n,o,r;return i.on("xhr-event",function(){return t.xhr.dispatchEvent.apply(null,arguments)}),i.on("xhr-upload-event",function(){return t.xhr.upload.dispatchEvent.apply(null,arguments)}),o=N(t),o.headers=t.headers,t.withCredentials&&(o.credentials=u.cookie),r=function(){return i.emit("request",o)},t.body&&(o.body=t.body,b(o.body,"FormData"))?(n=o.body.entries,o.body=["XD_FD",n],void e(n,r)):void r()},H.addWithCredentials=!0,H.before(function(e,t){var n,o,r;return o=E(e.url),o&&o.origin!==c?I[o.origin]?(_("proxying request to slave: '"+o.origin+"'"),e.async===!1?(O("sync not supported"),t()):(n=f(o.origin,I[o.origin]),r=s(n),r.on("response",function(e){return t(e),r.close()}),e.xhr.addEventListener("abort",function(){return r.emit("abort")}),void(r.ready?i(e,r):r.once("ready",function(){return i(e,r)})))):(o&&_("no slave matching: '"+o.origin+"'"),t()):t()})},C=null,r=function(e){var t,i;null===C&&(C={},w());for(t in e)i=e[t],_("adding master: "+t),C[t]=i},w=function(){return k(function(e,t){var i,n,o,r;"null"===e&&(e="*"),o=null;for(i in C){r=C[i];try{if(n=M(i),n.test(e)){o=M(r);break}}catch(a){}}return o?(t.once("request",function(e){var i,n,r,a,s,l,d,c,u,p,h;if(_("request: "+e.method+" "+e.url),l=E(e.url),!l||!o.test(l.path))return O("blocked request to path: '"+l.path+"' by regex: "+o),void t.close();c=new XMLHttpRequest,c.open(e.method,e.url),c.addEventListener("*",function(e){return t.emit("xhr-event",e.type,N(e))}),c.upload&&c.upload.addEventListener("*",function(e){return t.emit("xhr-upload-event",e.type,N(e))}),t.once("abort",function(){return c.abort()}),c.onreadystatechange=function(){var e;if(4===c.readyState){e={status:c.status,statusText:c.statusText,data:c.response,headers:H.headers(c.getAllResponseHeaders())};try{e.text=c.responseText}catch(i){}return t.emit("response",e)}},e.withCredentials&&(e.headers["XDomain-Cookie"]=e.credentials),e.timeout&&(c.timeout=e.timeout),e.type&&(c.responseType=e.type),h=e.headers;for(s in h)d=h[s],c.setRequestHeader(s,d);if(e.body instanceof Array&&"XD_FD"===e.body[0]){for(a=new H.FormData,r=e.body[1],u=0,p=r.length;p>u;u++)i=r[u],"XD_BLOB"===i[0]&&4===i.length&&(n=new Blob([i[2]],{type:i[3]}),i=i[1],i[1]=n),a.append.apply(a,i);e.body=a}c.send(e.body||null)}),void _("slave listening for requests on socket: "+t.id)):void O("blocked request from: '"+e+"'")}),e===e.parent?O("slaves must be in an iframe"):e.parent.postMessage("XDPING_"+n,"*")},T=function(t){return dmjs.xdomainFirstEventListener?void(L.dmjsFirstEventListener=t):u.addEventListener?e.addEventListener("message",t):e.attachEvent("onmessage",t)},o="XD_CHECK",g=null,S={},y=!0,A=function(){return T(function(e){var i,o,r,a;if(i=e.data,"string"==typeof i){if(/^XDPING(_(V\d+))?$/.test(i)&&RegExp.$2!==n)return O("your master is not compatible with your slave, check your xdomain.js version");if(/^xdomain-/.test(i))i=i.split(",");else if(y)try{i=JSON.parse(i)}catch(s){return}}if(i instanceof Array&&(r=i.shift(),/^xdomain-/.test(r)&&(a=S[r],null!==a))){if(a===t){if(!g)return;a=d(r,e.source),g(e.origin,a)}o="string"==typeof i[1]?": '"+i[1]+"'":"",_("receive socket: "+r+": '"+i[0]+"'"+o),a.fire.apply(a,i)}})},d=function(e,t){var n,r,a,s,l,d;return l=!1,d=S[e]=H.EventEmitter(!0),d.id=e,d.once("close",function(){return d.destroy(),d.close()}),s=[],d.emit=function(){var t,i;t=j(arguments),i="string"==typeof t[1]?": '"+t[1]+"'":"",_("send socket: "+e+": "+t[0]+i),t.unshift(e),l?a(t):s.push(t)},a=function(e){y&&(e=JSON.stringify(e)),t.postMessage(e,"*")},d.close=function(){d.emit("close"),_("close socket: "+e),S[e]=null},d.once(o,function(t){for(y="string"==typeof t,l=d.ready=!0,d.emit("ready"),_("ready socket: "+e+" (emit #"+s.length+" pending)");s.length;)a(s.shift())}),r=0,n=function(){return function(){t.postMessage([e,o,{}],"*"),l||(r++===L.timeout/i?O("Timeout waiting on iframe socket"):setTimeout(n,i))}}(this),setTimeout(n),_("new socket: "+e),d},s=function(e){var t;return t=d(m(),e)},k=function(e){g=e},H=(this.exports||this).xhook,L=function(e){e&&(e.masters&&r(e.masters),e.slaves&&a(e.slaves))},L.masters=r,L.slaves=a,L.debug=!1,L.timeout=15e3,i=100,u=e.document,x=e.location,c=L.origin=x.protocol+"//"+x.host,m=function(){return"xdomain-"+Math.round(Math.random()*Math.pow(2,32)).toString(16)},j=function(e,t){return Array.prototype.slice.call(e,t)},l=e.console||{},$=function(e){return function(t){t="xdomain ("+c+"): "+t,e in L&&L[e](t),("log"!==e||L.debug)&&(e in l?l[e](t):"warn"===e&&alert(t))}},_=$("log"),O=$("warn"),P=["postMessage","JSON"];for(B=0,D=P.length;D>B;B++)if(p=P[B],!e[p])return void O("requires '"+p+"' and this browser does not support it");b=function(t,i){return i in e?t instanceof e[i]:!1},n="V1",E=L.parseUrl=function(e){return/^((https?:)?\/\/[^\/\?]+)(\/.*)?/.test(e)?{origin:(RegExp.$2?"":x.protocol)+RegExp.$1,path:RegExp.$3}:(_("failed to parse absolute url: "+e),null)},M=function(e){var t;return e instanceof RegExp?e:(t=e.toString().replace(/\W/g,function(e){return"\\"+e}).replace(/\\\*/g,".*"),new RegExp("^"+t+"$"))},N=function(e){var t,i,n,o;t={};for(i in e)"returnValue"!==i&&(n=e[i],"function"!=(o=typeof n)&&"object"!==o&&(t[i]=n));return t},function(){var e,t,i,n,o,s,l,d,c,p,h;for(e={debug:function(e){return"string"==typeof e?L.debug="false"!==e:void 0},slave:function(e){var t,i;if(e&&(t=E(e)))return i={},i[t.origin]=t.path,a(i)},master:function(e){var t,i;if(e&&(i="*"===e?{origin:"*",path:"*"}:E(e)))return t={},t[i.origin]=i.path.replace(/^\//,"")?i.path:"*",r(t)}},p=u.getElementsByTagName("script"),s=0,d=p.length;d>s;s++)if(o=p[s],/xdomain/.test(o.src))for(h=["","data-"],l=0,c=h.length;c>l;l++){n=h[l];for(i in e)(t=e[i])(o.getAttribute(n+i))}}(),A(),"function"==typeof this.define&&this.define.amd?define("xdomain",["xhook"],function(e){return H=e,L}):(this.exports||this).xdomain=L}).call(this,window),function(e,t){e=e||this;var i=function(){var e={};return e.loadScript=function(e,t){if(!e||0===t.length)return!1;var i=document.createElement("SCRIPT");i.setAttribute("src",e),i.setAttribute("type","text/javascript"),i.setAttribute("data-id","dynamicScript"),t[0].appendChild(i)},e.loadCss=function(e,t,i){function n(){for(var t,r=0;r<a.length;r++)a[r].href&&a[r].href.indexOf(e)>-1&&(t=!0);t?o.media=i||"all":setTimeout(n)}var o=window.document.createElement("link"),r=t||window.document.getElementsByTagName("script")[0],a=window.document.styleSheets;return o.rel="stylesheet",o.href=e,o.media="only x",r.parentNode.insertBefore(o,r),n(),o},e.loadFrame=function(e,i,n,o){var r=document.createElement("iframe");r.id="dframe-"+1e12*Math.random(),r.width=n||0,r.height=o||0,r.frameborder=0,r.marginheight=0,r.marginWidth=0,r.scrolling="no",r.seamless="seamless",e.length>0?e.append(r):t("body").append(r);try{r.contentWindow.frameContent=i}catch(a){}r.src="javascript:window['frameContent']"},e};e.dom=i()}(dmjs,jQuery),!function(e){e.fn.cropd=function(t){t=e.extend({},e.fn.cropd.defaults,t);var i=function(e,i){var n=i.width(),o=i.height(),r=0,a=0,s=t.maxWidth,l=t.maxHeight;t.maxWidth>n?s=n:r=(t.maxWidth-n)/2,t.maxHeight>o?l=o:a=(t.maxHeight-o)/2,i.css({position:"relative",left:r,top:a}),e.css({width:s,height:l,visibility:"visible"})};return this.each(function(){var n=e(this);n.css({overflow:"hidden",width:t.maxWidth,height:t.maxHeight,visibility:"hidden"});var o=e("img",n);o.bind("load",function(){i(n,o)}),i(n,o)})},e.fn.cropd.defaults={}}(window.jQuery||window.Zepto),dmjs.cookies.readCookie("oml")||dmjs.cookies.createCookie("oml",document.referrer?document.referrer.split("/")[2]:"direct");var dartAds=function(win,doc){var perfTest=-1!=win.location.search.indexOf("perftest=true"),_page=!1,_params=[],_tile=1,_ord,_deferredAds={},_siteCodeOR="";win.dartAdComplete=function(e,t,i){var n=doc.getElementById(e).firstChild;n.width=t+"px",n.height=i+"px"};var generateUrl=function(e,t){var i,n=[],o=[],r=[],a=0,s=e.length;if(!_public.defaults.server||!_public.defaults.siteCode)return"";for(n.push(_public.defaults.server),n.push(t?"adi":"adj"),n.push("/"),n.push(""===_siteCodeOR?_public.defaults.siteCode:_siteCodeOR),n.push("/"+_page+";");s>a;a++){var l=e[a];for(i in l)if("object"==typeof l[i])for(var d=0;d<l[i].length;d++)n.push(i+"="+l[i][d]+";"),o.push(i+"="+l[i][d]+"_"),r[i]=l[i][d];else perfTest&&"cat"==i?l[i]="perftest":perfTest&&"scat"==i?l[i]="perftest":perfTest&&"sscat"==i&&(l[i]="perftest"),n.push(i+"="+l[i]+";"),o.push(i+"="+l[i]),r[i]=l[i]}return dmjs.revenueTags.push("Dart;"+o.join("_")),_public.defaults.staging&&n.push("envr=stage;"),"undefined"!=typeof win.dexQS&&win.dexQS.length>0&&n.push(win.dexQS+";"),n.push("dc_ref="+_dc_ref+";"),n.push("tile="+_tile+";"),"undefined"!=typeof crtg_content&&crtg_content.length>0&&n.push(crtg_content+";"),n.push("ord="+_ord+"?"),_tile++,n.join("")},_public={getAdUrl:function(e,t){var i,n,o=[];for(i=0;i<_params.length;i++)o.push(_params[i]);for(n=0;n<e.length;n++)o.push(e[n]);var r=generateUrl(o,t);return r},getAd:function(e,t,i){var n=t&&i;dmjs.platform.isTablet()&&(n=!1);var o=this.getAdUrl(e,n);if(!o)return!1;var r;return r=n?'<iframe src="'+o+'" width="'+t+'" height="'+i+'" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>':'<center><script type="text/javascript" src="'+o+'"></script></center>'},setParams:function(e,t){_page=e,_params=t,_ord=Math.floor(1e13*Math.random()),_dc_ref=window.location.href.replace("#","-")},renderAd:function(e,t,i){if(_page&&_params){var n=this.getAd(e,t,i);doc.write(n)}},renderiFrameAd:function(e,t,i,n){var o=n||"";if(_siteCodeOR=o,dmjs.global.opDART160Test&&"160x600"===e[0].sz&&(e[0].test="onesixty"),dmjs.platform.isTablet())return void this.renderAd(e,t,i);var r="DartAd_"+Math.round(1e7*Math.random()),a=this.getAdUrl(e);if(a){var s=doc.createElement("iframe"),l="/media/ad.html?divId="+r+"&w="+t+"&ad="+escape(a);s.scrolling="no",s.frameBorder="no",s.marginHeight="0",s.marginWidth="0",s.height=i||"0px",s.width="0px",doc.write("<div><center id='"+r+"'></center></div>"),doc.getElementById(r).appendChild(s),s.contentWindow.location.href=l}},renderAdDynamic:function(e,t,i,n){var o="DartAd_"+Math.round(1e7*Math.random()),r=this.getAdUrl(t);if(r){var a=doc.createElement("iframe"),s="/media/ad.html?divId="+o+"&w="+i+"&ad="+escape(r);a.scrolling="no",a.frameBorder="no",a.marginHeight="0",a.marginWidth="0",a.height=n||"0px",a.width="0px";var l=$("<div><center id='"+o+"'></center></div>");l.find("#"+o).append(a),$(e).append(l),a.contentWindow.location.href=s}},renderAdElements:function(nodes){var i=0,ii=nodes.length;if(_page&&_params)for(;ii>i;i++){var node=nodes[i],size=eval(node.getAttribute("data-dartAdSize")),params=eval(node.getAttribute("data-dartAdParams"));if("1"==node.getAttribute("data-dartCompanion")){var adUrl=this.getAdUrl(params,!1);win.adaptvCompanionAdTag=adUrl}else{var ad=this.getAd(params,size[0],size[1]);ad&&(node.innerHTML=ad)}}},defaults:{server:null,siteCode:null,staging:!1}};return _public}(window,document),OmnitureLinkSet=function(e,t,i,n,o){var r=new LinkTracking(e,n);return o&&r.setRCPSpecifics(o),r.linksetId(t).location(i).run()},linkTracking=function(e){return new LinkTracking(e)},LinkTracking=function(e,t){this.el=e,this.props={encode:!0,debug:!1},this.rcp_specifics={algo_id:null,request_id:null,weight_config_name:null,widget_id:null,category:null},this.rcp_mappings={algo_id:"wa_user1",request_id:"wa_un",weight_config_name:"wa_user2",widget_id:"wa_wsid",category:"category"},this.uniqueLinks={},t&&(this.props.objectType="PLATFORM"),this.linkTags=$("a",this.el),this.baseUrl="//"+_omnitureLinkSetDomain+"/images/zig.gif?",this._getUrls()};LinkTracking.prototype.debug=function(e){return this.props.debug=e,this},LinkTracking.prototype.linksetId=function(e){return this.props.linksetId=e,this},LinkTracking.prototype.location=function(e){return this.props.location=e,this},LinkTracking.prototype.type=function(e){return this.props.objectType=e,this},LinkTracking.prototype.setRCPSpecifics=function(e){for(key in e)this.rcp_specifics[key]=e[key];return this},LinkTracking.prototype.extendRCPData=function(e){for(key in this.rcp_specifics)null!==this.rcp_specifics[key]&&""!==this.rcp_specifics[key]&&(e[this.rcp_mappings[key]]=this.rcp_specifics[key]);return e},LinkTracking.prototype._serialize=function(e){var t=[];for(var i in e)t.push(i+"="+e[i]);return t.join("&")},LinkTracking.prototype._getUrls=function(){this.urlMap={},this.urls=[];for(var e,t=1,i=0;i<this.linkTags.length;i++)e=this.linkTags[i].href,e&&(this.props.encode&&(e=encodeURIComponent(e)),"undefined"==typeof this.urlMap[e]&&(this.urlMap[e]=t,this.urls.push(e+";"+t),t++));return this},LinkTracking.prototype._getRandomNumber=function(){return Math.floor(9999999*Math.random())},LinkTracking.prototype._getExpName=function(){return $("meta[name=exp_name]").attr("content")},LinkTracking.prototype._getTestpool=function(){return dmjs.platform.isMobile()?("default"===dmjs.global.pool||"control"===dmjs.global.pool?"_m":"_")+dmjs.global.pool:""},LinkTracking.prototype.trackImpression=function(){var e={Log:1,v:"JT01.02",ev:"lnkimpression",wa_page:encodeURIComponent(window.location.href),vid:this._getRandomNumber(),exp_name:this._getExpName()};this.props.linksetId&&(e.wa_lst=this.props.linksetId),this.props.location&&(e.wa_mp=this.props.location+this._getTestpool()),this.props.objectType&&(e.wa_wot=this.props.objectType),this.extendRCPData(e),e.wa_l=this.urls.join("|");var t=this._serialize(e),i=this.baseUrl+t;return this.props.debug?(console.log(e,i),!1):($("body").append("<img src='"+i+"'/>"),this)},LinkTracking.prototype.bindClickTracking=function(){var e=this;return this.linkTags.bind("click",function(t){t.preventDefault();var i=$(this),n=i.attr("href"),o=e.urlMap[encodeURIComponent(n)],r={Log:1,v:"JT01.02",ev:"lnkimpression_click",wa_page_click:encodeURIComponent(window.location.href),vid:e._getRandomNumber(),exp_name:e._getExpName()};e.props.linksetId&&(r.wa_lst_click=e.props.linksetId),e.props.location&&(r.wa_mp_click=e.props.location+e._getTestpool()),e.props.objectType&&(r.wa_wot=e.props.objectType),e.extendRCPData(r);var a=e.props.encode?encodeURIComponent(n):n;r.wa_l_click=a+";"+o;var s=e._serialize(r),l=String.format("//{0}/images/zig.gif?{1}",_omnitureLinkSetDomain,s);$("body").append("<img src='"+l+"'/>"),n&&window.setTimeout(function(){window.location=n},500)}),this},LinkTracking.prototype.run=function(){return 0!=this.el.length&&(this.trackImpression(),this.bindClickTracking()),this},$(function(){var e="div[data-type='adTracking']";$(e+" a, "+e+" div.GoogleFlashAd div.Ad").bind("mouseup",function(){var t=$(this).parents(e);_JT.DM_Click(t[0])})}),function(e){e.fn.textboxHint=function(t,i){var n=e.extend({},e.fn.textboxHint.defaults,i),o=function(){this.removeClass(n.hintClass).val(""),n.onHideHint&&n.onHideHint.call(this)},r=function(){this.addClass(n.hintClass).val(t),n.onShowHint&&n.onShowHint.call(this)};return this.each(function(){var i=e(this);i.data("textBoxHintValue",t),i.bind("focus",function(){i.val()==t&&o.call(i)}),i.bind("blur",function(){""==i.val()&&r.call(i)}),""==i.val()&&r.call(i)})},e.fn.textboxHint.defaults={hintClass:"Hint"},e.fn.isTextValid=function(){return this.data("textBoxHintValue")!=this.val()&&""!=this.val()?!0:!1}}(jQuery),dmjs.fbLikeJumpFix=function(){var e=80,t=23,i=".fbFaces",n=10,o=0,r=function(){o++;var a=$("iframe",i).height();e>a&&a>t?$(i).height("inherit").css("overflow","visible"):n>o&&window.setTimeout(r,500)},a=0!=$(i).length;a&&r()};var swfobject=function(){function e(){if(!z){try{var e=H.getElementsByTagName("body")[0].appendChild(g("span"));e.parentNode.removeChild(e)}catch(t){return}z=!0;for(var i=P.length,n=0;i>n;n++)P[n]()}}function t(e){z?e():P[P.length]=e}function i(e){if(typeof L.addEventListener!=I)L.addEventListener("load",e,!1);else if(typeof H.addEventListener!=I)H.addEventListener("load",e,!1);else if(typeof L.attachEvent!=I)v(L,"onload",e);else if("function"==typeof L.onload){var t=L.onload;L.onload=function(){t(),e()}}else L.onload=e}function n(){D?o():r()}function o(){var e=H.getElementsByTagName("body")[0],t=g(j);t.setAttribute("type",N);var i=e.appendChild(t);if(i){var n=0;!function(){if(typeof i.GetVariable!=I){var o=i.GetVariable("$version");o&&(o=o.split(" ")[1].split(","),V.pv=[parseInt(o[0],10),parseInt(o[1],10),parseInt(o[2],10)])}else if(10>n)return n++,void setTimeout(arguments.callee,10);e.removeChild(t),i=null,r()}()}else r()}function r(){var e=R.length;if(e>0)for(var t=0;e>t;t++){var i=R[t].id,n=R[t].callbackFn,o={success:!1,id:i};if(V.pv[0]>0){var r=m(i);if(r)if(!w(R[t].swfVersion)||V.wk&&V.wk<312)if(R[t].expressInstall&&s()){var c={};c.data=R[t].expressInstall,c.width=r.getAttribute("width")||"0",c.height=r.getAttribute("height")||"0",r.getAttribute("class")&&(c.styleclass=r.getAttribute("class")),r.getAttribute("align")&&(c.align=r.getAttribute("align"));for(var u={},p=r.getElementsByTagName("param"),h=p.length,f=0;h>f;f++)"movie"!=p[f].getAttribute("name").toLowerCase()&&(u[p[f].getAttribute("name")]=p[f].getAttribute("value"));l(c,u,i,n)}else d(r),n&&n(o);else y(i,!0),n&&(o.success=!0,o.ref=a(i),n(o))}else if(y(i,!0),n){var g=a(i);g&&typeof g.SetVariable!=I&&(o.success=!0,o.ref=g),n(o)}}}function a(e){var t=null,i=m(e);if(i&&"OBJECT"==i.nodeName)if(typeof i.SetVariable!=I)t=i;else{var n=i.getElementsByTagName(j)[0];n&&(t=n)}return t}function s(){return!q&&w("6.0.65")&&(V.win||V.mac)&&!(V.wk&&V.wk<312)}function l(e,t,i,n){q=!0,$=n||null,C={success:!1,id:i};var o=m(i);if(o){"OBJECT"==o.nodeName?(x=c(o),_=null):(x=o,_=i),e.id=M,(typeof e.width==I||!/%$/.test(e.width)&&parseInt(e.width,10)<310)&&(e.width="310"),(typeof e.height==I||!/%$/.test(e.height)&&parseInt(e.height,10)<137)&&(e.height="137"),H.title=H.title.slice(0,47)+" - Flash Player Installation";var r=V.ie&&V.win?"ActiveX":"PlugIn",a="MMredirectURL="+L.location.toString().replace(/&/g,"%26")+"&MMplayerType="+r+"&MMdoctitle="+H.title;if(typeof t.flashvars!=I?t.flashvars+="&"+a:t.flashvars=a,V.ie&&V.win&&4!=o.readyState){var s=g("div");i+="SWFObjectNew",s.setAttribute("id",i),o.parentNode.insertBefore(s,o),o.style.display="none",function(){4==o.readyState?o.parentNode.removeChild(o):setTimeout(arguments.callee,10)}()}u(e,t,i)}}function d(e){if(V.ie&&V.win&&4!=e.readyState){var t=g("div");e.parentNode.insertBefore(t,e),t.parentNode.replaceChild(c(e),t),e.style.display="none",function(){4==e.readyState?e.parentNode.removeChild(e):setTimeout(arguments.callee,10)}()}else e.parentNode.replaceChild(c(e),e)}function c(e){var t=g("div");if(V.win&&V.ie)t.innerHTML=e.innerHTML;else{var i=e.getElementsByTagName(j)[0];if(i){var n=i.childNodes;if(n)for(var o=n.length,r=0;o>r;r++)1==n[r].nodeType&&"PARAM"==n[r].nodeName||8==n[r].nodeType||t.appendChild(n[r].cloneNode(!0))}}return t}function u(e,t,i){var n,o=m(i);if(V.wk&&V.wk<312)return n;if(o)if(typeof e.id==I&&(e.id=i),V.ie&&V.win){var r="";for(var a in e)e[a]!=Object.prototype[a]&&("data"==a.toLowerCase()?t.movie=e[a]:"styleclass"==a.toLowerCase()?r+=' class="'+e[a]+'"':"classid"!=a.toLowerCase()&&(r+=" "+a+'="'+e[a]+'"'));var s="";for(var l in t)t[l]!=Object.prototype[l]&&(s+='<param name="'+l+'" value="'+t[l]+'" />');o.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+r+">"+s+"</object>",F[F.length]=e.id,n=m(e.id)}else{var d=g(j);d.setAttribute("type",N);for(var c in e)e[c]!=Object.prototype[c]&&("styleclass"==c.toLowerCase()?d.setAttribute("class",e[c]):"classid"!=c.toLowerCase()&&d.setAttribute(c,e[c]));for(var u in t)t[u]!=Object.prototype[u]&&"movie"!=u.toLowerCase()&&p(d,u,t[u]);o.parentNode.replaceChild(d,o),n=d}return n}function p(e,t,i){var n=g("param");n.setAttribute("name",t),n.setAttribute("value",i),e.appendChild(n)}function h(e){var t=m(e);t&&"OBJECT"==t.nodeName&&(V.ie&&V.win?(t.style.display="none",function(){4==t.readyState?f(e):setTimeout(arguments.callee,10)}()):t.parentNode.removeChild(t))}function f(e){var t=m(e);if(t){for(var i in t)"function"==typeof t[i]&&(t[i]=null);t.parentNode.removeChild(t)}}function m(e){var t=null;try{t=H.getElementById(e)}catch(i){}return t}function g(e){return H.createElement(e)}function v(e,t,i){e.attachEvent(t,i),U[U.length]=[e,t,i]}function w(e){var t=V.pv,i=e.split(".");return i[0]=parseInt(i[0],10),i[1]=parseInt(i[1],10)||0,i[2]=parseInt(i[2],10)||0,t[0]>i[0]||t[0]==i[0]&&t[1]>i[1]||t[0]==i[0]&&t[1]==i[1]&&t[2]>=i[2]?!0:!1}function b(e,t,i,n){if(!V.ie||!V.mac){var o=H.getElementsByTagName("head")[0];if(o){var r=i&&"string"==typeof i?i:"screen";if(n&&(T=null,E=null),!T||E!=r){var a=g("style");a.setAttribute("type","text/css"),a.setAttribute("media",r),T=o.appendChild(a),V.ie&&V.win&&typeof H.styleSheets!=I&&H.styleSheets.length>0&&(T=H.styleSheets[H.styleSheets.length-1]),E=r}V.ie&&V.win?T&&typeof T.addRule==j&&T.addRule(e,t):T&&typeof H.createTextNode!=I&&T.appendChild(H.createTextNode(e+" {"+t+"}"))}}}function y(e,t){if(W){var i=t?"visible":"hidden";z&&m(e)?m(e).style.visibility=i:b("#"+e,"visibility:"+i)}}function k(e){var t=/[\\\"<>\.;]/,i=null!=t.exec(e);return i&&typeof encodeURIComponent!=I?encodeURIComponent(e):e}{var x,_,$,C,T,E,I="undefined",j="object",S="Shockwave Flash",A="ShockwaveFlash.ShockwaveFlash",N="application/x-shockwave-flash",M="SWFObjectExprInst",O="onreadystatechange",L=window,H=document,B=navigator,D=!1,P=[n],R=[],F=[],U=[],z=!0,q=!1,W=!0,V=function(){var e=typeof H.getElementById!=I&&typeof H.getElementsByTagName!=I&&typeof H.createElement!=I,t=B.userAgent.toLowerCase(),i=B.platform.toLowerCase(),n=/win/.test(i?i:t),o=/mac/.test(i?i:t),r=/webkit/.test(t)?parseFloat(t.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,a=!1,s=[0,0,0],l=null;if(typeof B.plugins!=I&&typeof B.plugins[S]==j)l=B.plugins[S].description,!l||typeof B.mimeTypes!=I&&B.mimeTypes[N]&&!B.mimeTypes[N].enabledPlugin||(D=!0,a=!1,l=l.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),s[0]=parseInt(l.replace(/^(.*)\..*$/,"$1"),10),s[1]=parseInt(l.replace(/^.*\.(.*)\s.*$/,"$1"),10),s[2]=/[a-zA-Z]/.test(l)?parseInt(l.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if(typeof L.ActiveXObject!=I)try{var d=new ActiveXObject(A);d&&(l=d.GetVariable("$version"),l&&(a=!0,l=l.split(" ")[1].split(","),s=[parseInt(l[0],10),parseInt(l[1],10),parseInt(l[2],10)]))}catch(c){}return{w3:e,pv:s,wk:r,ie:a,win:n,mac:o}}();!function(){V.w3&&((typeof H.readyState!=I&&"complete"==H.readyState||typeof H.readyState==I&&(H.getElementsByTagName("body")[0]||H.body))&&e(),z||(typeof H.addEventListener!=I&&H.addEventListener("DOMContentLoaded",e,!1),V.ie&&V.win&&(H.attachEvent(O,function(){"complete"==H.readyState&&(H.detachEvent(O,arguments.callee),e())}),L==top&&!function(){if(!z){try{H.documentElement.doScroll("left")}catch(t){return void setTimeout(arguments.callee,0)}e()}}()),V.wk&&!function(){return z?void 0:/loaded|complete/.test(H.readyState)?void e():void setTimeout(arguments.callee,0)}(),i(e)))}(),function(){V.ie&&V.win&&window.attachEvent("onunload",function(){for(var e=U.length,t=0;e>t;t++)U[t][0].detachEvent(U[t][1],U[t][2]);for(var i=F.length,n=0;i>n;n++)h(F[n]);for(var o in V)V[o]=null;V=null;for(var r in swfobject)swfobject[r]=null;swfobject=null})}()}return{registerObject:function(e,t,i,n){if(V.w3&&e&&t){var o={};o.id=e,o.swfVersion=t,o.expressInstall=i,o.callbackFn=n,R[R.length]=o,y(e,!1)}else n&&n({success:!1,id:e})},getObjectById:function(e){return V.w3?a(e):void 0},embedSWF:function(e,i,n,o,r,a,d,c,p,h){var f={success:!1,id:i};V.w3&&!(V.wk&&V.wk<312)&&e&&i&&n&&o&&r?(y(i,!1),t(function(){n+="",o+="";var t={};if(p&&typeof p===j)for(var m in p)t[m]=p[m];t.data=e,t.width=n,t.height=o;var g={};if(c&&typeof c===j)for(var v in c)g[v]=c[v];if(d&&typeof d===j)for(var b in d)typeof g.flashvars!=I?g.flashvars+="&"+b+"="+d[b]:g.flashvars=b+"="+d[b];if(w(r)){var k=u(t,g,i);t.id==i&&y(i,!0),f.success=!0,f.ref=k}else{if(a&&s())return t.data=a,void l(t,g,i,h);y(i,!0)}h&&h(f)})):h&&h(f)},switchOffAutoHideShow:function(){W=!1},ua:V,getFlashPlayerVersion:function(){return{major:V.pv[0],minor:V.pv[1],release:V.pv[2]}},hasFlashPlayerVersion:w,createSWF:function(e,t,i){return V.w3?u(e,t,i):void 0},showExpressInstall:function(e,t,i,n){V.w3&&s()&&l(e,t,i,n)},removeSWF:function(e){V.w3&&h(e)},createCSS:function(e,t,i,n){V.w3&&b(e,t,i,n)},addDomLoadEvent:t,addLoadEvent:i,getQueryParamValue:function(e){var t=H.location.search||H.location.hash;if(t){if(/\?/.test(t)&&(t=t.split("?")[1]),null==e)return k(t);for(var i=t.split("&"),n=0;n<i.length;n++)if(i[n].substring(0,i[n].indexOf("="))==e)return k(i[n].substring(i[n].indexOf("=")+1))}return""},expressInstallCallback:function(){if(q){var e=m(M);e&&x&&(e.parentNode.replaceChild(x,e),_&&(y(_,!0),V.ie&&V.win&&(x.style.display="block")),$&&$(C)),q=!1}}}}(),Nav={$primaryNav:$("#primaryNav"),$primaryNavItems:$("#primaryNav .js-list"),init:function(e){var t=dmjs.global.skin;t&&("/videos.html"==window.location.pathname&&Nav.$primaryNav.find(e(".eHowHacks")).addClass("active"),Nav.$primaryNav.find(e("."+t)).addClass("active")),Nav.$primaryNavItems.bind("mouseenter",function(){var t=e(this).find("a").data("channel");

"more"===t&&Nav.toggleDropdown(t)}),e(".js-more").bind("touchstart",function(t){t.preventDefault();var i=e(this),n=i.data("channel");Nav.$primaryNav[0].className!==n?(Nav.$primaryNav.removeClass(),Nav.$primaryNav.addClass(n),"more"===n&&Nav.toggleArrow("&#x32;")):Nav.$primaryNav.removeClass()}),Nav.$primaryNavItems.bind("mouseleave",function(){var t=e(this).find("a").data("channel");Nav.$primaryNav.removeClass(),"more"===t&&Nav.toggleArrow("&#x33;")})},toggleDropdown:function(e){Nav.$primaryNav.addClass(e),"more"===e&&Nav.toggleArrow("&#x32;")},toggleArrow:function(e){$(".js-more").find(".js-icon")[0].innerHTML=e}};Nav.init(window.jQuery),function(){var e=!1,t=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){},Class.extend=function(i){function n(){!e&&this.init&&this.init.apply(this,arguments)}var o=this.prototype;e=!0;var r=new this;e=!1;for(var a in i)r[a]="function"==typeof i[a]&&"function"==typeof o[a]&&t.test(i[a])?function(e,t){return function(){var i=this._super;this._super=o[e];var n=t.apply(this,arguments);return this._super=i,n}}(a,i[a]):i[a];return n.prototype=r,n.constructor=n,n.extend=arguments.callee,n}}(),!function(e){var t={};t.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,i="x"===e?t:3&t|8;return i.toString(16)}).toUpperCase()},t.extend=function(){throw new Error("Fidel.extend is deprecated, please use Fidel.ViewController.extend")};var i=e.Fidel;t.noConflict=function(){return e.Fidel=i,this},e.Fidel=t}(this),!function(e){var t=!1,i=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;e.Class=function(){},e.Class.extend=function(n){function o(i){if(!t){if(this.guid=e.guid(),this.defaults)for(var n in this.defaults)"object"==typeof i&&i[n]||(this[n]=this.defaults[n]);if("object"==typeof i)for(var o in i)this[o]=i[o];this._initialize&&this._initialize.apply(this,arguments),this.init&&this.init.apply(this,arguments)}}var r=this.prototype;t=!0;var a=new this;t=!1;for(var s in n)a[s]="function"==typeof n[s]&&"function"==typeof r[s]&&i.test(n[s])?function(e,t){return function(){var i=this._super;this._super=r[e];var n=t.apply(this,arguments);return this._super=i,n}}(s,n[s]):n[s];return o.prototype=a,o.prototype.proxy=function(e){var t=this;return function(){return e?e.apply(t,arguments):void 0}},o.constructor=o,o.extend=arguments.callee,o}}(Fidel||this),!function(e){var t={};e.publish=function(e,i){for(var n=t[e],o=n?n.length:0;o--;)n[o].apply(this,i||[])},e.subscribe=function(e,i){return t[e]||(t[e]=[]),t[e].push(i),[e,i]},e.unsubscribe=function(e){for(var i=t[e[0]],n=e[1],o=i?i.length:0;o--;)i[o]===n&&i.splice(o,1)},e.Class.prototype.on=e.Class.prototype.bind=function(t,i){return e.subscribe(this.guid+"."+t,this.proxy(i))},e.Class.prototype.emit=e.Class.prototype.trigger=function(t,i){e.publish(this.guid+"."+t,i),e.publish(t,i)},e.Class.prototype.removeListener=e.Class.prototype.unbind=function(t){e.unsubscribe(t)}}(Fidel||this),function(e){var t=/^(\w+)\s*(.*)$/,i=e.Class.extend({_initialize:function(){if(!this.el)throw"el is required";this._subscribeHandles={},this._processedActions={},this.events&&this.delegateEvents(),this.elements&&this.refreshElements(),this.templateSelector&&this.loadTemplate(),this.actionEvent||(this.actionEvent="click"),this.subscribe&&this.bindSubscriptions(),this.delegateActions(),this.getDataElements()},delegateEvents:function(){for(var e in this.events){var i=this.events[e],n=e.match(t),o=n[1],r=n[2],a=this.proxy(this[i]);""===r?this.el.bind(o,a):this.el.delegate(r,o,a)}},delegateActions:function(){for(var e=this.find("[data-action]"),t=0,i=e.length;i>t;t++){var n=$(e[t]),o=n.attr("data-action"),r=this.proxy(this[o]),a=this.actionEvent,s='[data-action="'+o+'"]';this._processedActions[o]||(this.el.delegate(s,a,r),this._processedActions[o]=!0)}},refreshElements:function(){for(var e in this.elements)this[e]=this.find(this.elements[e])},getDataElements:function(){for(var e=this,t=this.find("[data-element]"),i=0,n=t.length;n>i;i++){var o=t[i].getAttribute("data-element");if(!e[o]){var r=this.find('[data-element="'+o+'"]');e[o]=r}}},bindSubscriptions:function(){for(var e in this.subscribe)this._subscribeHandles[e]=Fidel.subscribe(e,this.proxy(this[this.subscribe[e]]))},loadTemplate:function(){this.template=$(this.templateSelector).html()},find:function(e){return $(e,this.el[0])},render:function(e,t){var i=window.str||$;if(i){var n=i.template(this.template,e);t=t?$(t):this.el,t.html(n)}},destroy:function(){for(var e in this._subscribeHandles)Fidel.unsubscribe(this._subscribeHandles[e]);for(var t in this._processedActions)this.el.unbind(t);this.el=null}});e.ViewController=i}(Fidel||this),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,i,n,o){return jQuery.easing[jQuery.easing.def](e,t,i,n,o)},easeInQuad:function(e,t,i,n,o){return n*(t/=o)*t+i},easeOutQuad:function(e,t,i,n,o){return-n*(t/=o)*(t-2)+i},easeInOutQuad:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,n,o){return n*(t/=o)*t*t+i},easeOutCubic:function(e,t,i,n,o){return n*((t=t/o-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t*t+i:n/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,n,o){return n*(t/=o)*t*t*t+i},easeOutQuart:function(e,t,i,n,o){return-n*((t=t/o-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t*t*t+i:-n/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,n,o){return n*(t/=o)*t*t*t*t+i},easeOutQuint:function(e,t,i,n,o){return n*((t=t/o-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t*t*t*t+i:n/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,n,o){return-n*Math.cos(t/o*(Math.PI/2))+n+i},easeOutSine:function(e,t,i,n,o){return n*Math.sin(t/o*(Math.PI/2))+i},easeInOutSine:function(e,t,i,n,o){return-n/2*(Math.cos(Math.PI*t/o)-1)+i},easeInExpo:function(e,t,i,n,o){return 0==t?i:n*Math.pow(2,10*(t/o-1))+i},easeOutExpo:function(e,t,i,n,o){return t==o?i+n:n*(-Math.pow(2,-10*t/o)+1)+i},easeInOutExpo:function(e,t,i,n,o){return 0==t?i:t==o?i+n:(t/=o/2)<1?n/2*Math.pow(2,10*(t-1))+i:n/2*(-Math.pow(2,-10*--t)+2)+i},easeInCirc:function(e,t,i,n,o){return-n*(Math.sqrt(1-(t/=o)*t)-1)+i},easeOutCirc:function(e,t,i,n,o){return n*Math.sqrt(1-(t=t/o-1)*t)+i},easeInOutCirc:function(e,t,i,n,o){return(t/=o/2)<1?-n/2*(Math.sqrt(1-t*t)-1)+i:n/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,n,o){var r=1.70158,a=0,s=n;if(0==t)return i;if(1==(t/=o))return i+n;if(a||(a=.3*o),s<Math.abs(n)){s=n;var r=a/4}else var r=a/(2*Math.PI)*Math.asin(n/s);return-(s*Math.pow(2,10*(t-=1))*Math.sin(2*(t*o-r)*Math.PI/a))+i},easeOutElastic:function(e,t,i,n,o){var r=1.70158,a=0,s=n;if(0==t)return i;if(1==(t/=o))return i+n;if(a||(a=.3*o),s<Math.abs(n)){s=n;var r=a/4}else var r=a/(2*Math.PI)*Math.asin(n/s);return s*Math.pow(2,-10*t)*Math.sin(2*(t*o-r)*Math.PI/a)+n+i},easeInOutElastic:function(e,t,i,n,o){var r=1.70158,a=0,s=n;if(0==t)return i;if(2==(t/=o/2))return i+n;if(a||(a=.3*o*1.5),s<Math.abs(n)){s=n;var r=a/4}else var r=a/(2*Math.PI)*Math.asin(n/s);return 1>t?-.5*s*Math.pow(2,10*(t-=1))*Math.sin(2*(t*o-r)*Math.PI/a)+i:s*Math.pow(2,-10*(t-=1))*Math.sin(2*(t*o-r)*Math.PI/a)*.5+n+i},easeInBack:function(e,t,i,n,o,r){return void 0==r&&(r=1.70158),n*(t/=o)*t*((r+1)*t-r)+i},easeOutBack:function(e,t,i,n,o,r){return void 0==r&&(r=1.70158),n*((t=t/o-1)*t*((r+1)*t+r)+1)+i},easeInOutBack:function(e,t,i,n,o,r){return void 0==r&&(r=1.70158),(t/=o/2)<1?n/2*t*t*(((r*=1.525)+1)*t-r)+i:n/2*((t-=2)*t*(((r*=1.525)+1)*t+r)+2)+i},easeInBounce:function(e,t,i,n,o){return n-jQuery.easing.easeOutBounce(e,o-t,0,n,o)+i},easeOutBounce:function(e,t,i,n,o){return(t/=o)<1/2.75?7.5625*n*t*t+i:2/2.75>t?n*(7.5625*(t-=1.5/2.75)*t+.75)+i:2.5/2.75>t?n*(7.5625*(t-=2.25/2.75)*t+.9375)+i:n*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(e,t,i,n,o){return o/2>t?.5*jQuery.easing.easeInBounce(e,2*t,0,n,o)+i:.5*jQuery.easing.easeOutBounce(e,2*t-o,0,n,o)+.5*n+i}}),function(e,t,i){function n(e){var t={},n=/^jQuery\d+$/;return i.each(e.attributes,function(e,i){i.specified&&!n.test(i.name)&&(t[i.name]=i.value)}),t}function o(e,t){var n=this,o=i(n);if(n.value==o.attr("placeholder")&&o.hasClass("placeholder"))if(o.data("placeholder-password")){if(o=o.hide().next().show().attr("id",o.removeAttr("id").data("placeholder-id")),e===!0)return o[0].value=t;o.focus()}else n.value="",o.removeClass("placeholder"),n==a()&&n.select()}function r(){var e,t=this,r=i(t),a=this.id;if(""==t.value){if("password"==t.type){if(!r.data("placeholder-textinput")){try{e=r.clone().attr({type:"text"})}catch(s){e=i("<input>").attr(i.extend(n(this),{type:"text"}))}e.removeAttr("name").data({"placeholder-password":r,"placeholder-id":a}).bind("focus.placeholder",o),r.data({"placeholder-textinput":e,"placeholder-id":a}).before(e)}r=r.removeAttr("id").hide().prev().attr("id",a).show()}r.addClass("placeholder"),r[0].value=r.attr("placeholder")}else r.removeClass("placeholder")}function a(){try{return t.activeElement}catch(e){}}var s,l,d="placeholder"in t.createElement("input"),c="placeholder"in t.createElement("textarea"),u=i.fn,p=i.valHooks,h=i.propHooks;d&&c?(l=u.placeholder=function(){return this},l.input=l.textarea=!0):(l=u.placeholder=function(){var e=this;return e.filter((d?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":o,"blur.placeholder":r}).data("placeholder-enabled",!0).trigger("blur.placeholder"),e},l.input=d,l.textarea=c,s={get:function(e){var t=i(e),n=t.data("placeholder-password");return n?n[0].value:t.data("placeholder-enabled")&&t.hasClass("placeholder")?"":e.value},set:function(e,t){var n=i(e),s=n.data("placeholder-password");return s?s[0].value=t:n.data("placeholder-enabled")?(""==t?(e.value=t,e!=a()&&r.call(e)):n.hasClass("placeholder")?o.call(e,!0,t)||(e.value=t):e.value=t,n):e.value=t}},d||(p.input=s,h.value=s),c||(p.textarea=s,h.value=s),i(function(){i(t).delegate("form","submit.placeholder",function(){var e=i(".placeholder",this).each(o);setTimeout(function(){e.each(r)},10)})}),i(e).bind("beforeunload.placeholder",function(){i(".placeholder").each(function(){this.value=""})}))}(this,document,jQuery),function(e,t){"use strict";var i="0.7.9",n="",o="?",r="function",a="undefined",s="object",l="string",d="major",c="model",u="name",p="type",h="vendor",f="version",m="architecture",g="console",v="mobile",w="tablet",b="smarttv",y="wearable",k="embedded",x={extend:function(e,t){for(var i in t)-1!=="browser cpu device engine os".indexOf(i)&&t[i].length%2===0&&(e[i]=t[i].concat(e[i]));return e},has:function(e,t){return"string"==typeof e?-1!==t.toLowerCase().indexOf(e.toLowerCase()):!1},lowerize:function(e){return e.toLowerCase()},major:function(e){return typeof e===l?e.split(".")[0]:t}},_={rgx:function(){for(var e,i,n,o,l,d,c,u=0,p=arguments;u<p.length&&!d;){var h=p[u],f=p[u+1];if(typeof e===a){e={};for(o in f)l=f[o],typeof l===s?e[l[0]]=t:e[l]=t}for(i=n=0;i<h.length&&!d;)if(d=h[i++].exec(this.getUA()))for(o=0;o<f.length;o++)c=d[++n],l=f[o],typeof l===s&&l.length>0?2==l.length?e[l[0]]=typeof l[1]==r?l[1].call(this,c):l[1]:3==l.length?e[l[0]]=typeof l[1]!==r||l[1].exec&&l[1].test?c?c.replace(l[1],l[2]):t:c?l[1].call(this,c,l[2]):t:4==l.length&&(e[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):t):e[l]=c?c:t;u+=2}return e},str:function(e,i){for(var n in i)if(typeof i[n]===s&&i[n].length>0){for(var r=0;r<i[n].length;r++)if(x.has(i[n][r],e))return n===o?t:n}else if(x.has(i[n],e))return n===o?t:n;return e}},$={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},C={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[u,f],[/\s(opr)\/([\w\.]+)/i],[[u,"Opera"],f],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium)\/([\w\.-]+)/i],[u,f],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[u,"IE"],f],[/(edge)\/((\d+)?[\w\.]+)/i],[u,f],[/(yabrowser)\/([\w\.]+)/i],[[u,"Yandex"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],f],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i,/(qqbrowser)[\/\s]?([\w\.]+)/i],[u,f],[/(uc\s?browser)[\/\s]?([\w\.]+)/i,/ucweb.+(ucbrowser)[\/\s]?([\w\.]+)/i,/JUC.+(ucweb)[\/\s]?([\w\.]+)/i],[[u,"UCBrowser"],f],[/(dolfin)\/([\w\.]+)/i],[[u,"Dolphin"],f],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[u,"Chrome"],f],[/XiaoMi\/MiuiBrowser\/([\w\.]+)/i],[f,[u,"MIUI Browser"]],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)/i],[f,[u,"Android Browser"]],[/FBAV\/([\w\.]+);/i],[f,[u,"Facebook"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[f,[u,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[f,u],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[u,[f,_.str,$.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[u,f],[/(navigator|netscape)\/([\w\.-]+)/i],[[u,"Netscape"],f],[/fxios\/([\w\.-]+)/i],[f,[u,"Firefox"]],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[u,f]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,x.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[m,/ower/,"",x.lowerize]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[m,x.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[c,h,[p,w]],[/applecoremedia\/[\w\.]+ \((ipad)/],[c,[h,"Apple"],[p,w]],[/(apple\s{0,1}tv)/i],[[c,"Apple TV"],[h,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[h,c,[p,w]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[c,[h,"Amazon"],[p,w]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[c,_.str,$.device.amazon.model],[h,"Amazon"],[p,v]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[c,h,[p,v]],[/\((ip[honed|\s\w*]+);/i],[c,[h,"Apple"],[p,v]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|huawei|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[h,c,[p,v]],[/\(bb10;\s(\w+)/i],[c,[h,"BlackBerry"],[p,v]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7)/i],[c,[h,"Asus"],[p,w]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[h,"Sony"],[c,"Xperia Tablet"],[p,w]],[/(?:sony)?(?:(?:(?:c|d)\d{4})|(?:so[-l].+))\sbuild\//i],[[h,"Sony"],[c,"Xperia Phone"],[p,v]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[h,c,[p,g]],[/android.+;\s(shield)\sbuild/i],[c,[h,"Nvidia"],[p,g]],[/(playstation\s[3portablevi]+)/i],[c,[h,"Sony"],[p,g]],[/(sprint\s(\w+))/i],[[h,_.str,$.device.sprint.vendor],[c,_.str,$.device.sprint.model],[p,v]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[h,c,[p,w]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|huawei|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[h,[c,/_/g," "],[p,v]],[/(nexus\s9)/i],[c,[h,"HTC"],[p,w]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[c,[h,"Microsoft"],[p,g]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[h,"Microsoft"],[p,v]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i],[c,[h,"Motorola"],[p,v]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[c,[h,"Motorola"],[p,w]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n8000|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[h,"Samsung"],c,[p,w]],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-n900))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[h,"Samsung"],c,[p,v]],[/(samsung);smarttv/i],[h,c,[p,b]],[/\(dtv[\);].+(aquos)/i],[c,[h,"Sharp"],[p,b]],[/sie-(\w+)*/i],[c,[h,"Siemens"],[p,v]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[h,"Nokia"],c,[p,v]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[c,[h,"Acer"],[p,w]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[h,"LG"],c,[p,w]],[/(lg) netcast\.tv/i],[h,c,[p,b]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i],[c,[h,"LG"],[p,v]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[c,[h,"Lenovo"],[p,w]],[/linux;.+((jolla));/i],[h,c,[p,v]],[/((pebble))app\/[\d\.]+\s/i],[h,c,[p,y]],[/android.+;\s(glass)\s\d/i],[c,[h,"Google"],[p,y]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus)?[\s_]*(?:\d\w)?)\s+build/i],[[c,/_/g," "],[h,"Xiaomi"],[p,v]],[/(mobile|tablet);.+rv\:.+gecko\//i],[[p,x.lowerize],h,c]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[f,[u,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[u,f],[/rv\:([\w\.]+).*(gecko)/i],[f,u]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[u,f],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*|windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[u,[f,_.str,$.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[u,"Windows"],[f,_.str,$.os.windows.version]],[/\((bb)(10);/i],[[u,"BlackBerry"],f],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[u,f],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[u,"Symbian"],f],[/\((series40);/i],[u],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[u,"Firefox OS"],f],[/(nintendo|playstation)\s([wids3portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[u,f],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[u,"Chromium OS"],f],[/(sunos)\s?([\w\.]+\d)*/i],[[u,"Solaris"],f],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[u,f],[/(ip[honead]+)(?:.*os\s*([\w]+)*\slike\smac|;\sopera)/i],[[u,"iOS"],[f,/_/g,"."]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[u,"Mac OS"],[f,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(haiku)\s(\w+)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[u,f]]},T=function(t,i){if(this instanceof T){var o=t||(e&&e.navigator&&e.navigator.userAgent?e.navigator.userAgent:n),r=i?x.extend(C,i):C;return this.getBrowser=function(){var e=_.rgx.apply(this,r.browser);return e.major=x.major(e.version),e},this.getCPU=function(){return _.rgx.apply(this,r.cpu)},this.getDevice=function(){return _.rgx.apply(this,r.device)},this.getEngine=function(){return _.rgx.apply(this,r.engine)},this.getOS=function(){return _.rgx.apply(this,r.os)},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return o},this.setUA=function(e){return o=e,this},this.setUA(o),this}return new T(t,i).getResult()};T.VERSION=i,T.BROWSER={NAME:u,MAJOR:d,VERSION:f},T.CPU={ARCHITECTURE:m},T.DEVICE={MODEL:c,VENDOR:h,TYPE:p,CONSOLE:g,MOBILE:v,SMARTTV:b,TABLET:w,WEARABLE:y,EMBEDDED:k},T.ENGINE={NAME:u,VERSION:f},T.OS={NAME:u,VERSION:f},typeof exports!==a?(typeof module!==a&&module.exports&&(exports=module.exports=T),exports.UAParser=T):typeof define===r&&define.amd?define(function(){return T}):e.UAParser=T;var E=e.jQuery||e.Zepto;if(typeof E!==a){var I=new T;E.ua=I.getResult(),E.ua.get=function(){return I.getUA()},E.ua.set=function(e){I.setUA(e);var t=I.getResult();for(var i in t)E.ua[i]=t[i]}}}("object"==typeof window?window:this),dmjs.ModalClass=Class.extend({defaults:{selector:"",imageReg:/\.(jpe?g|png|gif|bmp)$/gi,clickCallback:function(){}},init:function(e){var t=this;this.options=$.extend({},this.defaults,e),this.options.selector.length>0&&$(this.options.selector).each(function(){var e=$(this).attr("data-modal-trigger");if("undefined"!=typeof e){$this=$(this);var i={modalClass:$this.data("modal-class")||"",modalUrl:$this.attr("href")||$this.attr("data-href")||"",modalContent:$this.data("modal-content")||"",modalCredit:$this.data("modal-credit")||"",modalShowCloseButton:$this.data("modal-close")||"true",modalInline:$(this).data("modal-inline")||"",modalScroll:$(this).data("modal-scroll")||"no",disableOverlayClose:$(this).data("modal-disable-overlay-close")||!1};$(e).click(function(){t.showModal(i)})}else $(this).click(function(e){e.preventDefault(),$this=$(this);var i={modalClass:$this.data("modal-class")||"",modalUrl:$this.attr("href")||$this.attr("data-href")||"",modalContent:$this.data("modal-content")||"",modalCredit:$this.data("modal-credit")||"",modalShowCloseButton:$this.data("modal-close")||"true",modalInline:$(this).data("modal-inline")||"",modalScroll:$(this).data("modal-scroll")||"no",disableOverlayClose:$(this).data("modal-disable-overlay-close")||!1,preventBubbling:$this.data("modal-prevent-bubbling")||!1};t.showModal(i)})})},showModal:function(e){var t=this;this.removeModal();var i=$("body"),n=$("<div/>").addClass("Modal"),o=$("<div/>").addClass("ModalOverlay").appendTo(n),r=$("<div/>").addClass("ModalContainer").addClass(e.modalClass).appendTo(n),a=$("<div/>").addClass("contents").appendTo(r);if(i.addClass("ModalOpen"),e.modalUrl.length>0)if(e.modalUrl.match(this.options.imageReg)){var s=new Image;s.src=e.modalUrl,e.modalCredit.length>0&&s.setAttribute("data-credit",e.modalCredit);var l;r.hide(),s.complete||4===s.readyState?(l=$("<div/>").addClass("ModalImage").prependTo(a),r.css({width:s.width+22,display:"block",left:"50%",marginLeft:"-"+s.width/2+"px"}),$(s).prependTo(l)):$(s).one("load",function(){l=$("<div/>").addClass("ModalImage").prependTo(a),r.css({width:s.width+22,display:"block",left:"50%",marginLeft:"-"+s.width/2+"px"}),$(s).prependTo(l)})}else{this.iframe=$("<iframe/>").attr({height:"300",width:"100%",scrolling:e.modalScroll,frameborder:"0",src:e.modalUrl}).css("border","0"),r.css({width:482});var d=$("<div/>").addClass("ModalFrame").appendTo(a);$(this.iframe).appendTo(d)}else""!==e.modalInline&&$(a).append($(e.modalInline).html());if(e.modalContent.length>0){$("<div/>").addClass("ModalContent Note").html(e.modalContent).appendTo(a)}if("true"==e.modalShowCloseButton){var c=$("<a/>").addClass("ModalClose").html("<span class='text'>X</span>").prependTo(r);c.one("click",function(i){e.preventBubbling&&i.stopPropagation(),t.removeModal(!0)})}o.css("opacity",0),r.css("opacity",0),o.css("opacity",.85),r.css("opacity",1),this.modalOverlay=o,this.modalContainer=r;var u=void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop;this.modalContainer.css({top:u?u+50:150}),n.prependTo(i),e.disableOverlayClose||(o.click(function(e){return e.preventDefault(),t.removeModal(),!1}),r.click(function(){return!1})),this.options.clickCallback()},removeModal:function(e){e?(this.modalContainer.animate({opacity:0},250),this.modalOverlay.animate({opacity:0},500,function(){$(".Modal").remove(),$("body").removeClass("ModalOpen")})):($(".Modal").remove(),$("body").removeClass("ModalOpen")),$("body").trigger("modal.close")},resize:function(e,t){this.iframe.animate({width:e,height:t},500),this.modalContainer.css("width",e+22)}}),+function(e){"use strict";function t(t,n){return this.each(function(){var o=e(this),r=o.data("bs.modal"),a=e.extend({},i.DEFAULTS,o.data(),"object"==typeof t&&t);r||o.data("bs.modal",r=new i(this,a)),"string"==typeof t?r[t](n):a.show&&r.show(n)})}var i=function(t,i){this.options=i,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};i.VERSION="3.3.6",i.TRANSITION_DURATION=300,i.BACKDROP_TRANSITION_DURATION=150,i.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},i.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},i.prototype.show=function(t){var n=this,o=e.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(o),this.isShown||o.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){n.$element.one("mouseup.dismiss.bs.modal",function(t){e(t.target).is(n.$element)&&(n.ignoreBackdropClick=!0)})}),this.backdrop(function(){var o=e.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),o&&n.$element[0].offsetWidth,n.$element.addClass("in"),n.enforceFocus();var r=e.Event("shown.bs.modal",{relatedTarget:t});o?n.$dialog.one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(r)}).emulateTransitionEnd(i.TRANSITION_DURATION):n.$element.trigger("focus").trigger(r)}))},i.prototype.hide=function(t){t&&t.preventDefault(),t=e.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(i.TRANSITION_DURATION):this.hideModal())},i.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},i.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},i.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},i.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},i.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},i.prototype.backdrop=function(t){var n=this,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=e.support.transition&&o;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(e){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;r?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){n.removeBackdrop(),t&&t()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):a()}else t&&t()},i.prototype.handleUpdate=function(){this.adjustDialog()},i.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},i.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},i.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},i.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",e+this.scrollbarWidth)},i.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},i.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var n=e.fn.modal;e.fn.modal=t,e.fn.modal.Constructor=i,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(i){var n=e(this),o=n.attr("href"),r=e(n.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,"")),a=r.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(o)&&o},r.data(),n.data());n.is("a")&&i.preventDefault(),r.one("show.bs.modal",function(e){e.isDefaultPrevented()||r.one("hidden.bs.modal",function(){n.is(":visible")&&n.trigger("focus")})}),t.call(r,a,this)})}(jQuery),dmjs.TooltipClass=Class.extend({defaults:{selector:"[data-tooltip]"},init:function(e){var t=this;this.options=$.extend({},this.defaults,e),this.windowWidth=$("html").width(),this.bodyWidth=$("body").width(),this.el=$(this.options.selector),this.el.live("mouseenter.tooltip",function(){t.show(this)}),this.el.live("mouseleave.tooltip",function(){t.hide(this)})},show:function(e){var e=$(e),t=this;return 0==e.data("tooltip").length?!1:(this.tooltipElement=$("<div></div>").addClass("TooltipContainer").html(e.data("tooltip")).appendTo("html").show(),void $("html").bind("mousemove.tooltip",function(e){t.updatePosition(e)}))},hide:function(){$("html").unbind("mousemove.tooltip"),$(".TooltipContainer").remove()},updatePosition:function(e){e=e||window.event,this.tooltipElement.css({left:e.clientX}).text(this.tooltipElement.text());var t=this.tooltipElement.height();this.tooltipElement.css({top:e.pageY-25-t})}}),$.fn.linky=function(){return this.each(function(){var e=$(this);e.attr("href",e.attr("data-url"))})},$("[data-copy]").each(function(){var e=$(this).attr("data-copy");$(this).html(e)}),$.fn.lazyImage=function(e){var t={errorImg:dmjs.errImg,callback:!1};return e&&$.extend(t,e),this.each(function(){var e=this;$("<img />").bind("load",function(){$(e).attr("src",$(e).attr("data-img")),t.callback&&t.callback.call(e)}).bind("error",function(){t.errorImg&&$(e).attr("src",t.errorImg)}).attr("src",$(e).attr("data-img"))})},function(e){"use strict";var t={init:function(){var e=this,t=document.createElement("div");t.setAttribute("class","pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links"),t.setAttribute("style","width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important;"),
e.insertedBait=window.document.body.appendChild(t)},checkBait:function(e){var t=this,i=!1,n=t.insertedBait;if((null!==window.document.body.getAttribute("abp")||null===n.offsetParent||0==n.offsetHeight||0==n.offsetLeft||0==n.offsetTop||0==n.offsetWidth||0==n.clientHeight||0==n.clientWidth)&&(i=!0),void 0!==window.getComputedStyle){var o=window.getComputedStyle(n,null);("none"==o.getPropertyValue("display")||"hidden"==o.getPropertyValue("visibility"))&&(i=!0)}e(i),window.document.body.removeChild(n)}},i={service_url:dmjs.global.glbBaseUrl+"/services/adblock-tracker/",ua:"",device:{},browser:{},os:{},adblock:!1,gtm:!1,comscore:!1,init:function(){var e,t,i=this;try{e=new UAParser,t=e.getResult(),i.ua=t.ua,i.device={type:t.device.type,model:t.device.model,vendor:t.device.vendor},i.browser={name:t.browser.name,version:t.browser.version,major:t.browser.major},i.os={name:t.os.name,version:t.os.version}}catch(n){i.ua=navigator.userAgent}},send:function(t,i){var n=this,o=JSON.stringify({ua:n.ua,device:n.device,browser:n.browser,os:n.os,adblock:n.adblock,gtm:n.gtm,comscore:n.comscore});e.ajax({url:n.service_url,type:"POST",dataType:"json",data:{data:o},success:t,error:i})}},n=function(e){i.adblock=e,i.comscore="undefined"!=typeof COMSCORE,i.gtm="undefined"!=typeof google_tag_manager,i.send(function(){},function(e){window.onerror("Saving of adblock tracker stats failed with status "+e.status,"adblocktrack.plugin.js","0")})};e(window).load(function(){i.init(),t.init(),t.checkBait(n)})}(window.jQuery);var response=null;window.fbAsyncInit=function(){function e(t,i){t||FB.api("/me",function(t){i&&$.post(dmjs.global.facebook.login_service,{uid:t.id,email:t.email}),$("#FBLogout").one("click",function(){FB.logout(function(){e(!0)})});var n=$("#FacebookFacepile");n.appendTo("#FacebookLogin"),$("#FacebookLogin").hover(function(){n.show()},function(){n.hide()})})}"undefined"!=typeof FB&&(FB.init({appId:dmjs.global.facebook.app_id,status:!0,cookie:!0,xfbml:!0,oauth:!0,channelUrl:window.location.protocol+"//"+window.location.host+"/xd_receiver.htm",version:dmjs.global.facebook.api_version}),FB.XFBML.parse(),dmjs.array.forEach(dmjs.onFBInit,dmjs.execute),dmjs.onFBInit.push=dmjs.execute,$(".facebookLike").css("background","transparent"),dmjs.maintenance.facebook_login&&(FB.getLoginStatus(function(t){t.authResponse?e():e(!0)}),FB.Event.subscribe("auth.sessionChange",function(t){t.authResponse&&e()})))},dmjs.addLoadEvent(function(){!function(e,t){var i,n="facebook-jssdk",o=e.getElementsByTagName("script")[0];e.getElementById(n)||(i=e.createElement("script"),i.id=n,i.async=!0,i.src="//connect.facebook.net/en_US/sdk"+(t?"/debug":"")+".js",o.parentNode.insertBefore(i,o))}(document,!1)}),dmjs.addLoadEvent(function(){window.twttr=function(e,t,i){var n,o,r=e.getElementsByTagName(t)[0];if(!e.getElementById(i))return o=e.createElement(t),o.id=i,o.src="//platform.twitter.com/widgets.js",r.parentNode.insertBefore(o,r),window.twttr||(n={_e:[],ready:function(e){n._e.push(e)}})}(document,"script","twitter-wjs"),twttr.ready(function(){dmjs.array.forEach(dmjs.onTWInit,dmjs.execute),dmjs.onTWInit.push=dmjs.execute})}),window.gapiAsyncInit=function(){dmjs.array.forEach(dmjs.onGapiInit,dmjs.execute),dmjs.onGapiInit.push=dmjs.execute},dmjs.addLoadEvent(function(){window.___gcfg={lang:"en",parsetags:"explicit"},function(){var e=document,t=e.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://apis.google.com/js/plusone.js?onload=gapiAsyncInit";var i=e.getElementsByTagName("script")[0];i.parentNode.insertBefore(t,i)}()}),dmjs.onGapiInit.push(function(){gapi.plus.go()});var pinterestPlugin={init:function(){dmjs.global.share_tools_pinterest_button&&this.loadPinItButton(dmjs.global.share_tools_pinterest_button),dmjs.global.share_rail_pinterest_button&&this.loadPinItButton(dmjs.global.share_rail_pinterest_button),this.checkPinterestUtils(0),function(e){var t=e.getElementsByTagName("script")[0],i=e.createElement("script");i.async=!0,i.setAttribute("data-pin-custom",!0),i.setAttribute("data-pin-color","red"),i.setAttribute("data-pin-height","28"),i.src="//assets.pinterest.com/js/pinit.js",t.parentNode.insertBefore(i,t)}(document)},sanitizeDescription:function(e){return e=e.replace("<br>",""),e.replace(/%26/g,"and")},getPinItButton:function(e,t){var i='<a data-id="__ID__" target="_blank" data-pin-do="buttonPin" data-pin-url="__URL__" data-pin-media="__MEDIA__" data-pin-description="__DESCRIPTION__" data-pin-config="none" data-pin-custom="true" style="display:none;"><img src="/ui/images/modules/pinterest/ehow-pin-button.png" height="33" width="82" style="height:33px; width:82px;" /></a>',t=t||"",i=i.replace("__URL__",e.url);return i=i.replace("__MEDIA__",e.media),i=i.replace("__DESCRIPTION__",this.sanitizeDescription(e.title)),i=i.replace("__ID__",t),PinUtils.build(),i},loadPinItButton:function(e,t){var i='[data-social_placeholder="'+e.placeholder+'"]';$(i).length>0&&$(i).append(this.getPinItButton(e,t))},showPinItOnHover:function(e){var t=e.parent();if(t.find('[data-id="eh_pin_hover_btn"]').length>0)return t.find('[data-id="eh_pin_hover_btn"]').stop(!0,!0).fadeIn(),!1;var i=e.attr("data-target")||"",n=e.attr("src")||"",o=e.attr("alt")||"",r={url:i,media:n,title:o};t.css("position","relative"),t.append(this.getPinItButton(r,"eh_pin_hover_btn")),t.find('[data-id="eh_pin_hover_btn"]').stop(!0,!0).fadeIn()},hidePinItOnHover:function(e){var t=e.parent();t.find('[data-id="eh_pin_hover_btn"]').stop(!0,!0).fadeOut()},activatePinItHovers:function(){$('[data-pin-ehow-hover="true"]').parent().unbind("mouseenter"),$('[data-pin-ehow-hover="true"]').parent().mouseenter(function(){pinterestPlugin.showPinItOnHover($(this).find("img"))}),$('[data-pin-ehow-hover="true"]').parent().unbind("mouseleave"),$('[data-pin-ehow-hover="true"]').parent().mouseleave(function(){pinterestPlugin.hidePinItOnHover($(this).find("img"))})},checkPinterestUtils:function(e){100!=e&&("undefined"!=typeof PinUtils?($(".pinterest-any-image").css("pointer-events","auto"),this.activatePinItHovers(),$("body").on("click",'[data-id="eh_pin_hover_btn"]',function(e){e.preventDefault();var t=$(this).attr("data-pin-description")||"",i=$(this).attr("data-pin-media"),n=$(this).attr("data-pin-url");dataLayer.push({event:"pinterest"}),PinUtils.pinOne({description:t,media:i,url:n})})):setTimeout(function(){pinterestPlugin.checkPinterestUtils(++e)},100))}};dmjs.addLoadEvent(function(){pinterestPlugin.init()}),dmjs.domready(function(){function e(e){$label=$("label[for='"+e.attr("id")+"']"),$labelSpan=$label.find("span"),1==e.prop("checked")?($labelSpan.html("&#x5a;"),$labelSpan.css("color","rgb(255, 127, 80)")):($labelSpan.html("&#x56;"),$labelSpan.css("color","rgb(135, 133, 134)"))}var t=$(".social-follow"),i=t.find(".social-label"),n=t.find(".follow-box"),o=t.find(".js-submit-1"),r=t.find(".js-submit-2"),a=t.find(".js-email-1"),s=t.find(".js-email-2"),l=t.find(".follow-1"),d=t.find(".follow-2"),c=t.find(".follow-3");$newsletterForm2=t.find(".js-newsletter-2"),$newsletterError=t.find(".error"),l.on("submit",function(e){e.preventDefault(),o.trigger("click")}),d.on("submit",function(e){e.preventDefault(),r.trigger("click")}),o.on("click",function(){s.val(a.val()),l.hide(),n.css("top",0),d.show(),i.hide()}),r.on("click",function(){var e=$newsletterForm2.serialize();$.post("/services/newsletter/subscribe/",e,function(e){if(e.ok)d.hide(),n.css("top","88px"),c.show(),i.show();else if(e.errors){var t=e.errors;$newsletterError.html(""),$.each(t,function(){$newsletterError.append('<div class="error-message">'+this+"</div>")})}},"json")}),$('input[type="checkbox"]').change(function(){e($(this)),$options=$('input[type="checkbox"]:not(#all)'),"all"==$(this).attr("id")?($options.prop({checked:$(this).prop("checked")}),$options.each(function(){e($(this))})):($num_checked=0,$options.each(function(){$(this).is(":checked")&&$num_checked++}),$("#all").prop({checked:$options.length==$num_checked}),e($('input[type="checkbox"]:#all')))})}),jQuery,jQuery,$(function(){eHow&&eHow.api&&eHow.user.id&&dmjs.global.fixed_category&&dmjs.global.fixed_category[2]&&eHow.api.post("/api/v1/user/"+eHow.user.id+"/interact",{type:"page view",user_id:eHow.user.id,category:dmjs.global.fixed_category[2].id})}),function(e,t){"use strict";function i(e){this.callback=e,this.ticking=!1}function n(t){return t&&"undefined"!=typeof e&&(t===e||t.nodeType)}function o(e){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var t,i,r=e||{};for(i=1;i<arguments.length;i++){var a=arguments[i]||{};for(t in a)r[t]="object"!=typeof r[t]||n(r[t])?r[t]||a[t]:o(r[t],a[t])}return r}function r(e){return e===Object(e)?e:{down:e,up:e}}function a(e,t){t=o(t,a.options),this.lastKnownScrollY=0,this.elem=e,this.debouncer=new i(this.update.bind(this)),this.tolerance=r(t.tolerance),this.classes=t.classes,this.offset=t.offset,this.scroller=t.scroller,this.initialised=!1,this.onPin=t.onPin,this.onUnpin=t.onUnpin,this.onTop=t.onTop,this.onNotTop=t.onNotTop}var s={bind:!!function(){}.bind,classList:"classList"in t.documentElement,rAF:!!(e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame)};e.requestAnimationFrame=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame,i.prototype={constructor:i,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},a.prototype={constructor:a,init:function(){return a.cutsTheMustard?(this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this):void 0},destroy:function(){var e=this.classes;this.initialised=!1,this.elem.classList.remove(e.unpinned,e.pinned,e.top,e.initial),this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var e=this.elem.classList,t=this.classes;(e.contains(t.pinned)||!e.contains(t.unpinned))&&(e.add(t.unpinned),e.remove(t.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var e=this.elem.classList,t=this.classes;e.contains(t.unpinned)&&(e.remove(t.unpinned),e.add(t.pinned),this.onPin&&this.onPin.call(this))},top:function(){var e=this.elem.classList,t=this.classes;e.contains(t.top)||(e.add(t.top),e.remove(t.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notTop)||(e.add(t.notTop),e.remove(t.top),this.onNotTop&&this.onNotTop.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(t.documentElement||t.body.parentNode||t.body).scrollTop},getViewportHeight:function(){return e.innerHeight||t.documentElement.clientHeight||t.body.clientHeight},getDocumentHeight:function(){var e=t.body,i=t.documentElement;return Math.max(e.scrollHeight,i.scrollHeight,e.offsetHeight,i.offsetHeight,e.clientHeight,i.clientHeight)},getElementHeight:function(e){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},getScrollerHeight:function(){return this.scroller===e||this.scroller===t.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(e){var t=0>e,i=e+this.getViewportHeight()>this.getScrollerHeight();return t||i},toleranceExceeded:function(e,t){return Math.abs(e-this.lastKnownScrollY)>=this.tolerance[t]},shouldUnpin:function(e,t){var i=e>this.lastKnownScrollY,n=e>=this.offset;return i&&n&&t},shouldPin:function(e,t){var i=e<this.lastKnownScrollY,n=e<=this.offset;return i&&t||n},update:function(){var e=this.getScrollY(),t=e>this.lastKnownScrollY?"down":"up",i=this.toleranceExceeded(e,t);this.isOutOfBounds(e)||(e<=this.offset?this.top():this.notTop(),this.shouldUnpin(e,i)?this.unpin():this.shouldPin(e,i)&&this.pin(),this.lastKnownScrollY=e)}},a.options={tolerance:{up:0,down:15},offset:0,scroller:e,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",initial:"headroom"}},a.cutsTheMustard="undefined"!=typeof s&&s.rAF&&s.bind&&s.classList,e.Headroom=a}(window,document);var followPlugin={_config:{contributor_follow_flag:0,follow_check_flag:0},init:function(){this.eHow=window.eHow||{},this.setFollowState(),this.setEventListener()},setFollowState:function(){var e=this;"undefined"!=typeof e.eHow.user&&"undefined"!=typeof e.eHow.user.id&&e.eHow.user.id>0&&e.eHow.api.get('/api/v1/follow?find={"user_id":'+e.eHow.user.id+"}",null,function(e){var t=[];$.each(e.data,function(e,i){t.push(i.followed_slug)}),$(".btnFollow").each(function(){$.inArray($(this).data("author-url"),t)>-1&&($(this).attr("data-state","following"),$(this).addClass("btnFollowClicked"),$(this).removeClass("deselected"),$(this).text("Following"))})})},setEventListener:function(){var e=this;$("#Body").on("click",".btnFollow",function(t){var i=$(this).data("type"),n=$(this).attr("data-state"),o=$(this).data("author-url"),r=$(this).data("follow-data");"object"==typeof r&&(r=JSON.stringify(r));var a={followed_slug:o,site:"ehow",followed_content:r},s=function(){return dataLayer.push({event:"follow "+i,authentication:"newly authenticated"}),e.updateFollowState(a,i,this,"add_follow",!0),!1};return"undefined"!=typeof e.eHow.user&&"undefined"==typeof e.eHow.user.id||null===e.eHow.user.id?(dataLayer.push({event:"follow "+i,authentication:"not authenticated"}),eHow.ui.authInterface.ehowDataLayer("follow contributer"),eHow.ui.authInterface.open("eHow","login"),e.eHow.event.on("login",s.bind(this)),e.eHow.event.on("login-fail",function(){e.eHow.event.off("login",s.bind(this))})):(t.preventDefault(),e.updateFollowState(a,i,this,n,!1)),!1})},updateFollowState:function(e,t,i,n,o){var r=this,a="";"following"==n?(dataLayer.push({event:"unfollow contributor",authentication:"authenticated"}),a="remove_follow",n="follow"):(o||dataLayer.push({event:"follow contributor",authentication:"authenticated"}),a="add_follow",n="following"),eHow.api.post("/api/v1/follow/"+a,e,function(e){r.updateStateDisplay(i,n),$(i).trigger("followSuccess",[e,a,t])}).fail(function(e){401==e.status?eHow.ui.authInterface.open():console.log(e)})},updateStateDisplay:function(e,t){"follow"==t?($(e).removeClass("btnFollowClicked"),$(e).text("Follow"),$(e).addClass("deselected"),$(e).attr("data-state",t)):($(e).addClass("btnFollowClicked"),$(e).text("Following"),$(e).removeClass("deselected"),$(e).attr("data-state",t))}};dmjs.domready(function(){followPlugin.init()});var userDropdown={_config:{urls:{},userLoggedOut:"",userDropdown:""},registerClickEvents:function(){var e=$(".eHowUserMenu"),t=$("#userDropdown");e.find("[auth-register]").on("click",function(e){return e.preventDefault(),eHow.ui.authInterface.ehowDataLayer("navigation"),eHow.ui.authInterface.open("ehow-user-menu","register"),!1}),e.find("[auth-login]").on("click",function(e){return e.preventDefault(),eHow.ui.authInterface.ehowDataLayer("navigation"),eHow.ui.authInterface.open("ehow-user-menu","login"),!1}),e.find("[auth-logout]").on("click",function(e){return e.preventDefault(),eHow.auth.logout(),!1}),e.find("[user-avatar]").on("click tap",function(i){return i.preventDefault(),t.hasClass("_visible")?(t.toggleClass("_visible _invisible"),t.css("display","none"),e.find(".icon-uparrow-alt").toggleClass("icon-uparrow-alt icon-downarrow-alt")):(t.toggleClass("_invisible _visible"),t.css("display","block"),e.find(".icon-downarrow-alt").toggleClass("icon-downarrow-alt icon-uparrow-alt")),!1}),e.hover(function(){!$(this).is(":hover")&&t.hasClass("_visible")&&(t.toggleClass("_visible _invisible"),t.css("display","none"),e.find(".icon-uparrow-alt").toggleClass("icon-uparrow-alt icon-downarrow-alt"))})},init:function(){var e=this;e._config.urls=eHow.global.urls,e._config.userLoggedOut='<a auth-login data-gtm-event="login start" target="_self" class="login hidden-xs" href="'+e._config.urls.login+'">Log In</a>',e._config.userLoggedOut+='<a auth-login data-gtm-event="login start" target="_self" class="login visible-xs gh-bttn" href="'+e._config.urls.login+'">Log In</a>',e._config.userLoggedOut+='<a auth-register data-gtm-event="create account start" target="_self" class="gh-bttn register hidden-xs" href="'+e._config.urls.register+'">Join</a>',eHow.user.slug&&(e._config.urls.profile=e._config.urls.profile+eHow.user.slug),e._config.userDropdown='<ul id="userDropdown" class="_invisible">',e._config.userDropdown+='<li><a href="'+e._config.urls.profile+'" target="_self">Profile</a></li>',e._config.userDropdown+='<li><a href="'+e._config.urls.dashboard+'" target="_self">Dashboard</a></li>',e._config.userDropdown+='<li><a href="'+e._config.urls.account+'" target="_self">Account Settings</a></li>',e._config.userDropdown+='<li class="logout"><a auth-logout target="_self" class="logout" href="'+e._config.urls.logout+'">Sign Out</a></li>',e._config.userDropdown+="</ul>";var t=function(){e.renderUserMenu(),$("#userDropdown").find('a[href^="/profile/"]').attr("href","/profile/"+eHow.user.slug+"/"),"undefined"!=typeof tileBookmark&&tileBookmark.getTileBookmark()};("undefined"==typeof eHow.user.id||null===eHow.user.id)&&eHow.event.on("login",t),e.renderUserMenu()},renderUserMenu:function(){var e=this,t=$(".eHowUserMenu");if(t.html(""),"undefined"==typeof eHow.user.id||null===eHow.user.id)t.append(e._config.userLoggedOut);else{var i='<a href="'+e._config.urls.profile+'" target="_self" class="hidden-xs">'+eHow.user.first_name+"</a>";i+='<span class="icon-downarrow-alt visible-xs visible-inline-xs"></span>',i+='<a user-avatar class="avatar" href="'+e._config.urls.profile+'" target="_self"><img src="'+(eHow.user.image?eHow.user.image:"/ui/images/default/avatar-user-default.png")+'"></a>',t.append(i),t.append(e._config.userDropdown)}e.registerClickEvents()}};if(dmjs.domready(function(){function e(t){100!=t&&(eHow.global?userDropdown.init():setTimeout(e(t++),50))}e(0)}),function(e){var t=e.querySelector(".js-close"),i=e.querySelector(".pinterestpopout"),n=function(){return e.referrer.indexOf("pinterest")>-1},o=function(){return e.referrer.indexOf("ehow")>-1&&".com/"===e.referrer.slice(-5)},r=function(){return"/pinner-dinner/"!==window.location.pathname},a=function(){return"seen"!==localStorage.getItem("pinterestState")};if((n()||o())&&r()&&a()){localStorage.setItem("pinterestState","seen"),i.className="pinterestpopout slidein",dataLayer.push({event:"pinterest slideout impression"});var s=function(e){"undefined"!=typeof e&&"click"===e.type&&e.stopPropagation(),i.className="pinterestpopout slideout",setTimeout(function(){i.style.display="none"},2e3)};setTimeout(function(){i.style.right="50px"},5e3),dmjs.addEvent(i,"click",function(e){e.stopPropagation()}),dmjs.addEvent(t,"click",s),setTimeout(s,2e4)}}(document),dmjs.errImg=dmjs.setting.cdn.cdnImage+"/ui/images/modules/loading/no-image.gif",ehow.tooltips=new dmjs.TooltipClass,$("a[data-url], area[data-url]").linky(),ehow.Modal=new dmjs.ModalClass({selector:"a[data-type=modal]"}),dmjs.addLoadEvent(function(){$(".ArticlePreview img").lazyImage(),$(".ContentPreview img").lazyImage(),$(".Newsletter").addClass("NewsletterLoaded"),$("#comscoreBrick").lazyImage(),$("#Comments").find(".comment img").lazyImage()},0),dmjs.onFBInit.push(function(){dmjs.fbLikeJumpFix()}),$.browser.msie&&$.browser.version<=8&&$("input, textarea").placeholder(),$("#searchHeader, #searchFooter").bind("submit",function(){return""===$("input",this).val()?!1:void 0}),$("#Header").click(function(e){e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0}),dmjs.platform.isTablet()||($(".nav").mouseover(function(){$(".dropdown").css("visibility","visible")}),$(".nav").mouseout(function(){$(".dropdown").css("visibility","hidden")})),!dmjs.platform.isMobile()){var headroomHook,headroomElem,headroom;headroomHook=document.querySelector(".js-headroom"),headroomHook.className+=" headroom",headroomElem=document.querySelector(".headroom"),headroomElem.style.position="fixed",headroom=new Headroom(headroomElem,{offset:250}),headroom.init(),$(document).scroll(function(){positionHeader()}),$(document).resize(function(){positionHeader()})}if(dmjs.maintenance.pirated_redirect){var currentURL=window.location.href,pattern="^https?://[^.]+.ehow(dev|stage)?.com/";-1==currentURL.search(pattern)&&$('<script> window.location.href = "http://www.ehow.com"+location.pathname;</script>').appendTo(document.body)}}