//R: 1; A: 1//
document.write("<script src='https://sparkflow-a.akamaihd.net/sparkflow/ut-tracking.min.js'></script>"),function(a){var t=function(a){return"undefined"==typeof a},n=function(a,n){return t(a)?n:a};a._spad=n(a._spad,{}),_spad.callbacks=n(_spad.callbacks,{}),_spad.callbacks.adEvent=function(a,t){ut_track&&ut_track(t)}}(window);
//EOIIR//
/* (c) Copyright Sparkflow 2013-16 */
!function(e,t,i,n){"use strict";function r(e){if("function"==typeof console[e]){var t=(new Date).getTime(),i=arguments[0];arguments[0]=t+" - Sparkflow >",console[i].apply(console,arguments)}}function a(e,t){l(Y)?e(t):Y(function(){e(t)})}function o(e){if(l(e.pageYOffset)){var t=e.document.body,i=e.document.documentElement;return i=i.clientHeight?i:t,i.scrollTop}return e.pageYOffset}function s(){if(W)return t;var e=t,i=10,n=function(){for(;e.parent.self!==e.self&&!l(e.parent.document)&&i--;)e=e.parent};try{n()}catch(a){r("warn","Cross-origin Iframe")}return e}function d(e){return JSON.parse(JSON.stringify(e))}function l(e){return"undefined"==typeof e}function c(e,t){for(var i=0;i<e.length;i++)t(e[i],i)}function h(e,t,i){t.addEventListener?t.addEventListener(e,i,!1):t.attachEvent?t.attachEvent("on"+e,i):t[e]=i}function f(e){var t={};if(!e)return t;for(var i=e.split("&"),n=0;n<i.length;n++){var r=i[n],a=r.indexOf("=");if(-1!=a){var o=[r.substr(0,a),r.substr(a+1,r.length)];t[unescape(o[0])]=unescape(o[1]).replace(/\+/g," ")}}return t}function p(){if(/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&l(top.window.document))throw"Safari Exception"}function u(){var e=i.body||i.documentElement,t=e.style,n="transition";if("string"==typeof t[n])return!0;var r=["Moz","webkit","Webkit","Khtml","O","ms"];n=n.charAt(0).toUpperCase()+n.substr(1);for(var a=0;a<r.length;a++)if("string"==typeof t[r[a]+n])return!0;return!1}function m(e){return"string"!=typeof e&&"number"!=typeof e?e:(e=String(e),-1==e.toLowerCase().indexOf("px")&&-1==e.indexOf("%")?e+"px":e)}function g(e){if(e.shift){if(e.length)for(var t=e.length-1;t>=0;t--)g(e[t])}else{e+=-1!=e.indexOf("?")?"&":"?",e+="_="+(new Date).getTime().toString(36);var i=new Image;i.src=e}}function v(e,t,i){var n=t.getElementsByTagName("head")[0],r=t.createElement("script");l(i)&&(i=function(){}),r.readyState?r.onreadystatechange=function(){"loaded"!=r.readyState&&"complete"!=r.readyState||(r.onreadystatechange=null,i())}:h("load",r,i),r.src=e,n.appendChild(r)}function w(n){var a=(l(e.js)?"https://ajax.googleapis.com/ajax/libs":e.js)+"/jquery/1.11.3/jquery.min.js";if(l(t.jQuery))v(a,i,function(){n()});else{var o=l(t.$)?jQuery:$;o.fn&&o.fn.addBack&&o.fn.animate?n():(r("warn","jQuery build unrecognized"),v(a,i,function(){n(jQuery.noConflict(!0))}))}}function y(e){for(var t=e.parentNode;t.tagName;){if("body"==t.tagName.toLowerCase())return!0;t=t.parentNode}return r("warn","TAG is not inside a BODY element"),!1}function b(){if(C)return C;var e=function(e){p();for(var t=e.getElementsByTagName("iframe"),i=t.length-1;i>=0;i--)try{var n=t[i],r=n.contentDocument||n.contentWindow.document;if(r===O)return C=$jq(n)}catch(a){}};try{return e(t.parent.document)}catch(i){return C=t.frameElement&&t.frameElement.id?$jq(t.parent.document.getElementById(t.frameElement.id)):null}}function _(e,t,i){l(e.on)?e.bind(t,i):e.on(t,i)}function E(){var e={WEB:100,SAFEFRAME:200,FIF:201,ORMMA:300,MRAID10:401,MRAID20:402,MRAIDVAST:403};try{l(t.mraid)||l(mraid.addEventListener)?V=l(t.ormma)||l(ormma.addEventListener)?l(t.sfAPI)&&(l(t.$sf)||l($sf.ext))?l(t.inDapIF)?e.WEB:e.FIF:e.SAFEFRAME:e.ORMMA:(V=e.MRAID10,"2.0"==mraid.getVersion()&&(V=e.MRAID20))}catch(i){r("warn","Unknown environment")}return V}function x(e){if(0==e.filesLeft&&!l(t.$jq)&&!l(t.JSON)&&0==e.loadScripts.length&&l(e.file[0].controller)){var n=function(){try{return t.self!==t.top}catch(e){return!0}};j=$jq(J),z=$jq(e.DOM.div),e.DOM.div.style.display="inline-block";try{z.css(e.css),navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&n()&&""==O.body.style.height&&(e.css.height.indexOf("%")>-1||e.css["min-height"].indexOf("%")>-1)&&(O.body.style.height="100%")}catch(a){}var o={},s=function(t){var i=JSON.stringify(e[t]);i!==JSON.stringify({})&&i!==JSON.stringify([])&&(o[t]=e[t])};for(var d in e){var c=Object.prototype.toString.call(e[d]);if("file"!=d&&"[object Function]"!=c&&"[object HTMLScriptElement]"!=c)try{s(d)}catch(a){}}o.group_creative=R,o.topLocation=J.location;for(var h=e.file.length-1;h>=0;h--){var f=e.file[h];if(o.fileIndex=h,f.readyState=F.LOADED,f.controller=new X(e,f,h),W)f.mraid=mraid||ormma,function(e){mraid.addEventListener("stateChange",function(t){e.controller.setState(mraid.getState()),"2.0"==mraid.getVersion()&&e.childBridge("setProperties",[{name:"_currentPosition",value:mraid.getCurrentPosition()}]),e.childBridge("setState",t)}),mraid.addEventListener("viewableChange",function(){e.childBridge("setViewable",mraid.isViewable())}),mraid.addEventListener("error",function(t){e.childBridge("dispatchEvent",{event:"error",parameter:t})}),"2.0"==mraid.getVersion()&&mraid.addEventListener("sizeChange",function(t){e.childBridge("dispatchEvent",{event:"sizeChange",parameter:t})})}(f);else{if(e.safeframeAvailable)try{var p=t.sfAPI||$sf.ext,u=function(){};p.register(parseInt(f.width),parseInt(f.height),u),f.sfAPI=p}catch(a){}f.close=i.createElement("div");var m=$jq(f.close).css({display:"none",position:"absolute",width:"50px",height:"50px",top:"0px",right:"0px",left:"auto",bottom:"auto","background-color":"transparent","z-index":T+10,cursor:"pointer"}).attr({id:"close_"+e.uid+"_"+h,title:"Close","data-img":'<img src="'+P+e.close+'" border="0" style="height:100%;width:100%">'});$jq(f.div).append(m),f.mraid=new G(e,f),function(e){_($jq(e.close),"click",function(){e.mraid.close()}),"2.0"==e.mraid.getVersion()&&_(j,"deviceorientation",function(){e.childBridge("setProperties",[{name:"_screenSize",value:e.mraid.getScreenSize()}])}),e.mraid.addEventListener("stateChange",function(e){this.controller.setState(this.mraid.getState()),this.childBridge("setProperties",[{name:"_currentPosition",value:this.mraid.getCurrentPosition()}]),this.childBridge("setState",e)}),e.mraid.addEventListener("viewableChange",function(){this.childBridge("setViewable",this.mraid.isViewable())}),e.mraid.addEventListener("ready",function(){this.childBridge("dispatchEvent",{event:"ready"})}),e.mraid.addEventListener("error",function(e){this.childBridge("dispatchEvent",{event:"error",parameter:e})}),e.mraid.addEventListener("sizeChange",function(e){this.childBridge("dispatchEvent",{event:"sizeChange",parameter:e})})}(f)}var g=function(){var t={width:-1,height:-1,useCustomClose:!1,isModal:!0},i=f.mraid;try{t=i.getExpandProperties()}catch(n){}if(f.childBridge("setProperties",[{name:"_info",value:o},{name:"_expandProperties",value:t},{name:"_mraidAvailable",value:W},{name:"_environment",value:e.environment},{name:"_placementType",value:i.getPlacementType()},{name:"_viewable",value:i.isViewable()}]),f.childBridge("setCustomData",e.customData),"2.0"==i.getVersion())try{f.childBridge("setProperties",[{name:"_defaultPosition",value:i.getDefaultPosition()},{name:"_feature",value:{sms:i.supports("sms"),tel:i.supports("tel"),calendar:i.supports("calendar"),storePicture:i.supports("storePicture"),inlineVideo:i.supports("inlineVideo")}},{name:"_maxSize",value:i.getMaxSize()},{name:"_orientationProperties",value:l(i.getOrientationProperties)?{allowOrientationChange:!0,forceOrientation:"none"}:i.getOrientationProperties()},{name:"_screenSize",value:i.getScreenSize()}])}catch(n){r("error","MRAID 2.0 support issues")}};W?"loading"!=mraid.getState()?(g(),f.childBridge("setState",mraid.getState()),f.controller.setState(mraid.getState()),f.childBridge("dispatchEvent",{event:"ready"})):mraid.addEventListener("ready",function(){g(),f.childBridge("dispatchEvent",{event:"ready"})}):(g(),f.mraid.setState("default"))}}}function S(){if(!l(e.file)){if(l(t.__sparkflow)){t.__sparkflow={};var s=function(e){W||e.mraid.checkViewable(),e.childBridge("setProperties",[{name:"_currentPosition",value:e.mraid.getCurrentPosition()}])},d=function(e){var i=$jq.parseJSON(e.data);if(!l(i.uid)){var n=__sparkflow[i.uid],r=function(){for(var t=n.file.length-1;t>=0;t--){var i=n.file[t];if(i.frame.contentWindow===e.source)return i}};if("event"==i.method){var a=i.value.split(",")[0],o=r();"ire"==a&&o.readyState<F.READY?o.readyState=F.READY:"ads"==a&&(o.readyState=F.STARTED),o.controller.trigger(a,D.uid),l(n.tracking[a])||g(n.tracking[a]),l(n.callbacks.adEvent)||n.callbacks.adEvent.call(t,D.uid,a)}else{var o=r();l(o.mraid[i.method])||(i.value?o.mraid[i.method].apply(o.mraid,i.value):o.mraid[i.method].apply(o.mraid))}}},f=function(e){try{d(e||t.event)}catch(i){}};h("message",J,f);var p=o(J),u=function(){var e=o(J),t=e-p;if(0!=t){for(var i in __sparkflow){var n=__sparkflow[i].file;if(!l(n[0].controller))for(var r=n.length-1;r>=0;r--){var a=n[r];"hidden"!=a.mraid.getState()&&(__sparkflow[i].ScrollEvent&&a.childBridge("dispatchEvent",{event:"pageScroll",parameter:{scrollTop:e,delta:t}}),s(a))}}p=e}};if(h("scroll",J,function(){a(u)}),t.DeviceOrientationEvent){var y=function(e){var t;for(var i in __sparkflow)if(__sparkflow[i].DeviceOrientationEvent){l(t)&&(t={gamma:e.gamma,alpha:e.alpha,beta:e.beta});for(var n=__sparkflow[i].file,r=n.length-1;r>=0;r--)n[r].childBridge("dispatchEvent",{event:"deviceorientation",parameter:t})}};h("deviceorientation",J,function(e){a(y,e)})}if(t.DeviceMotionEvent){var b=function(e){var t;for(var i in __sparkflow)if(__sparkflow[i].DeviceMotionEvent){if(l(t)){t={interval:e.interval};for(var n=["acceleration","accelerationIncludingGravity","rotationRate"],r=n.length-1;r>=0;r--){var a=e[n[r]];t[n[r]]={};for(var o in a)t[n[r]][o]=a[o]}}for(var s=__sparkflow[i].file,d=s.length-1;d>=0;d--)s[d].childBridge("dispatchEvent",{event:"devicemotion",parameter:t})}};h("devicemotion",J,function(e){a(b,e)})}var _=function(){for(var e in __sparkflow){var t=__sparkflow[e].file;if(!l(t[0].controller))for(var i=t.length-1;i>=0;i--){var n=t[i];"hidden"!=n.mraid.getState()&&(n.controller.screenResize(W),n.childBridge("setProperties",[{name:"_maxSize",value:n.mraid.getMaxSize()}]),n.childBridge("dispatchEvent",{event:"pageResize"}),s(n))}}};if(h("resize",J,function(){a(_)}),!W){var E="hidden",S={focus:!0,focusin:!0,pageshow:!0,blur:!1,focusout:!1,pagehide:!1},k=function(e){e=e||t.event,U=e.type in S?S[e.type]:!this[E];for(var i in __sparkflow){var n=__sparkflow[i].file;if(!l(n[0].controller))for(var r=n.length-1;r>=0;r--)n[r].mraid.checkViewable()}};E in i?J.document.addEventListener("visibilitychange",k):(E="mozHidden")in i?J.document.addEventListener("mozvisibilitychange",k):(E="webkitHidden")in i?J.document.addEventListener("webkitvisibilitychange",k):(E="msHidden")in i?J.document.addEventListener("msvisibilitychange",k):"onfocusin"in i?J.document.onfocusin=J.document.onfocusout=k:J.onpageshow=J.onpagehide=J.onfocus=J.onblur=k}}var D=new Q(e),C=function(e){e=e||{};for(var t=1;t<arguments.length;t++){var i=arguments[t];if(i)for(var n in i)i.hasOwnProperty(n)&&("object"==typeof i[n]?C(e[n],i[n]):e[n]=i[n])}return e},j=function(e){l(e.width)||(D.placement[0]=parseInt(e.width)),l(e.height)||(D.placement[1]=parseInt(e.height)),l(e.tracking)||z(D,e.tracking),l(e.clickmask)||(D.clickmask=e.clickmask),l(e.insertbefore)||(D.insertbefore=e.insertbefore),l(e.css)||C(D.css,e.css),l(e.callbacks)||C(D.callbacks,e.callbacks),l(e.customData)||C(D.customData,e.customData),l(e.loadScripts)||(D.loadScripts=D.loadScripts.concat(e.loadScripts))},z=function(e,t){for(var i in t){var n="impression"==i?"imp":"click"==i?"clk":i;l(e.tracking[n])&&(e.tracking[n]=[]),e.tracking[n]=e.tracking[n].concat(t[i])}},A=function(e,t){l(e.all)||j(e.all),l(e[t])||j(e[t])},$=function(){if(l(n)){var i=l(B.g)||l(B.t)?q:B;i.tracking={},i.i&&(i.tracking.imp=i.i.split(",")),i.c&&(i.tracking.clk=i.c.split(",")),j(i)}else j(n),t._spad=void 0;var r={},a=function(e){for(var t in e)0==t.indexOf("sf_")&&t.length>3&&(r[t.substr(3)]=e[t])};a(q),a(B),C(D.customData,r);var o=J._spads;if(!l(o)){var s=l(D.format_type)?-1:D.format_type,d=l(D.format_id)?-1:D.format_id,c=l(D.placement_id)?0:D.placement_id;l(o.format_types)||A(o.format_types,s),l(o.formats)||A(o.formats,d),l(o.placements)||A(o.placements,c),l(o.creatives)||A(o.creatives,e.id)}};$(),l(D.tracking.imp)||g(D.tracking.imp);var I=D.placement;(9==D.placement[0]&&9==D.placement[1]||1==D.placement[0]&&1==D.placement[1])&&(I=[1,0]);var L=i.createElement("div"),R=L.style;L.id="div_"+D.uid,L.className=N+"main "+N+"loading",R.width=m(I[0]),R.height=m(I[1]),R.display="none",R.verticalAlign="top",R.padding="0px",R.margin="0px",R.border="0px",R.position=H?"absolute":"inherit",H&&(R.top="0px",R.left="0px"),R.zIndex=T,R.pointerEvents="none",R.overflow="visible";try{R.textAlign="start"}catch(V){}if(D.DOM.div=L,H)try{M=J.document.body.firstElementChild||M}catch(V){}var Y=l(D.insertbefore)||null===D.insertbefore?M:D.insertbefore;if(null===D.insertbefore&&r("warn","Element specified in insertbefore not found"),Y.parentNode.insertBefore(D.DOM.div,Y),O=D.DOM.div.ownerDocument,D.nested=O!==J.document,__sparkflow[e.uid]=D,c(D.file,function(t,n){var r=i.createElement("iframe"),a=i.createElement("div"),o=a.style,s=r.style,d=P+t.src;t.readyState=F.INITIAL,l(e.js)||(d+="?js="+encodeURIComponent(e.js)),a.id="div_"+D.uid+"_"+n,o.width=m(t.width),o.height=m(t.height),o.display="inline-block",o.verticalAlign="top",o.padding="0px",o.margin="0px",o.border="0px",o.pointerEvents="auto",o.position="static",o.maxWidth="none";try{o.textAlign="start"}catch(c){}t.div=a,D.DOM.div.appendChild(t.div),r.id="frame_"+D.uid+"_"+n,r.frameBorder="0",r.width="100%",r.height="100%",r.scrolling="no",r.allowtransparency="true",r.seamless="true",r.src=d,s.position="static",s.overflow="hidden",s.maxWidth="none",h("load",r,function(){D.filesLeft--,x(D)}),t.frame=r,t.div.appendChild(t.frame),t.childBridge=function(e,t){r.contentWindow.postMessage(JSON.stringify({method:e,value:t}),"*")}}),w(function(e){e=l(e)?jQuery:e,t.$jq=e,l(t.$sf)&&(t.$sf=e);for(var n=0;n<D.loadScripts.length;n++)v(D.loadScripts[n],i,function(){D.loadScripts.pop(),x(D)});x(D)}),l(t.JSON)){var X=P+"//sparkflow-a.akamaihd.net";l(e.js)||(X=e.js),v(X+"/sparkflow/json2.min.js",i,function(){x(D)})}}}function k(){var e=J.PUBLISHER_FIX_LOADED;t.ut_patchUrl&&"string"==typeof t.ut_patchUrl&&!e?t.ut_patch_wait4Load?v(ut_patchUrl,J.document,function(){S()}):(v(ut_patchUrl,J.document),S()):S()}function D(){if(y(M))k();else{var e=function(){M=i.createElement("div");var e=i.body;null===e&&(r("warn","Unable to find BODY element"),e=i.createElement("body"),e.style.margin="0px",e.style.padding="0px",i.documentElement.appendChild(e)),e.appendChild(M),k()};try{e()}catch(n){"complete"===i.readyState?r("error","Unable to initialize"):(r("warn","Waiting window.onload to initialize"),h("load",t,function(){try{e()}catch(t){r("error","Unable to initialize")}}))}}}var O,C,j,z,P="https:"==i.location.protocol?"https:":"http:",A=i.getElementsByTagName("script"),I=i.currentScript||A[A.length-1],M=I,L=I.src.replace(/^[^\?]+\??/,""),q=f(L),B=f(i.location.href.split("?")[1]),R=l(e.placement_id)?l(q.g)?l(B.g)||l(B.t)?void 0:B.g+","+e.id:q.g+","+e.id:e.placement_id+","+e.id,T=2147483637,N="sprkflw_",F={INITIAL:0,LOADED:1,READY:2,STARTED:3,HIDDEN:4},V=0,H=e.placement[0]<2&&e.placement[1]<2,Y=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||t.msRequestAnimationFrame,W=!l(t.mraid)&&!l(mraid.addEventListener)||!l(t.ormma)&&!l(ormma.addEventListener),U=!0,J=s(),Q=function(e){this.filesLeft=e.file.length,this.totalFiles=e.file.length,this.DOM={reposElements:[]},this.environment=V,this.safeframeAvailable=!l(t.sfAPI)||!l(t.$sf)&&!l(t.$sf.ext),this.clickmask="$link",this.callbacks={},this.css={},this.tracking={},this.loadScripts=[],this.ScrollEvent=!1,this.DeviceMotionEvent=!1,this.DeviceOrientationEvent=!1,this.customData=e.vars?e.vars:{},delete e.vars;for(var i in e)this[i]=e[i]},X=function(e,n,a){var o,s=this,d="loading",c={},h=u(),f=n.div.style,g=$jq(n.div),v=$jq(n.frame),w=function(e,t,i){h?(t.transition="all "+i+"ms",setTimeout(function(){e.css(t)},0)):e.animate(t,i)},y=function(e,t,i){e.velocity(t,{duration:i})},_=$jq.Velocity?y:w,E=function(t){t.parents(":not(body,html,.sfe"+e.uid+")").each(function(){var t=$jq(this),i=t.css("display"),n=t.css("position"),r=t.css("visibility"),a=t.css("transform");e.DOM.reposElements.push({element:this,display:l(i)?"":i,position:l(n)?"":n,visibility:l(r)?"":r,transform:l(a)?"":a}),t.css({display:"inherit",position:"static",visibility:"visible",transform:"none"}).addClass("sfe"+e.uid)})},x=function(e){var t={};for(var i in e)"string"==typeof e[i]&&""!=e[i]&&(t[i]=e[i]);return t},S=function(n){var a={width:m(e.placement[0]),height:m(e.placement[1])},d=g.offset(),c=0;if(0==s.index&&$jq.extend(a,e.css),a.position=n?"relative":"static",e.nested)try{p();var h=t.parent,u=h.document,w=$jq("html",u),y=$jq("body",u),S=$jq(h),k=b(),D=!0;l(o)&&(D=!1,o={parentHTML:$jq.extend({overflow:"",height:""},x(w[0].style)),parentBODY:$jq.extend({overflow:"",height:"",margin:"",padding:""},x(y[0].style)),containerIFRAME:x(k[0].style)}),n?(y.css({overflow:"hidden",height:"100%",margin:0,padding:0}),w.css({overflow:"hidden",height:"100%"}),k.css({position:"absolute",top:0,left:0,width:S.width(),height:S.height()}),k[0].style.setProperty("z-index",T+5,"important")):D&&(y.css(o.parentBODY),w.css(o.parentHTML),k.css(o.containerIFRAME))}catch(O){r("error","Iframe",O)}if(n){for(var C in __sparkflow){var P=__sparkflow[C],A=$jq(P.DOM.div);C!=e.uid?(P.placement[0]<=9&&P.placement[1]<=9||-1!=P.DOM.div.className.indexOf(N+"expanded"))&&A.hide():(A.is(":visible")||r("warn","Probable TAG conflict"),A.show())}E(z),l(k)||E(k)}else{for(var C in __sparkflow)if(C!=e.uid){var P=__sparkflow[C];l(P.file[0].controller)||-1!=P.DOM.div.className.indexOf(N+"hidden")||$jq(P.DOM.div).show()}for(var C=e.DOM.reposElements.length-1;C>=0;C--){var $=e.DOM.reposElements[C];$jq($.element).css({display:$.display,visibility:$.visibility,position:$.position,transform:$.transform}).removeClass("sfe"+e.uid)}e.DOM.reposElements=[]}var I=n?j.width():a.width,M=n?j.height():a.height,L=n||l(a["min-width"])?"":a["min-width"],q=n||l(a["min-height"])?"":a["min-height"];if(n&&(f.top=m(d.top),f.left=m(d.left)),f.position=n?"absolute":a.position,f.zIndex=n?T+6:"auto",_(g,{top:n?m(j.scrollTop()):"auto",left:n?m(j.scrollLeft()):"auto",width:I,height:M,"min-width":L,"min-height":q},c),_(v,{width:I,height:M,"min-width":L,"min-height":q},c),!n&&t.inDapIF&&i.body.id)try{parent.dap_Resize(i.body.id,e.placement[0],e.placement[1])}catch(O){r("warn","Failed FIF attempt",O)}},k=function(a){var o=n.mraid.getResizeProperties();0==s.index&&(l(e.css.width)||(o.width=e.css.width),l(e.css.height)||(o.height=e.css.height),l(e.css["min-width"])||(o["min-width"]=e.css["min-width"]),l(e.css["min-height"])||(o["min-height"]=e.css["min-height"]));var d=m(a||!l(e.css.width)?o.width:n.width),c=m(a||!l(e.css.height)?o.height:n.height),h=m(a||!l(e.css["min-width"])?o["min-width"]||o.width:n.width),p=m(a||!l(e.css["min-height"])?o["min-height"]||o.height:n.height),u=m(a?o.offsetY:0),w=m(a?o.offsetX:0),y={width:d,height:c,"min-width":h,"min-height":p};for(var E in y)l(y[E])&&delete y[E];_(v,y,o.speed);var x=g,S=function(){if(e.nested)try{x=$jq(b()),x[0].style.position="relative"}catch(t){r("error","Iframe",t)}};if(t.inDapIF){var k=function(){var e=parent.document.getElementById(i.body.id);e?(o.push||(e.style.position="absolute",e.style.zIndex=29999),x[0].style.width=d,x[0].style.height=c,x[0].style.minWidth=h,x[0].style.minHeight=p,x=$jq(e),x.closest(".showcasead").css({"z-index":29998})):S()};try{k()}catch(D){S()}}a&&!o.push||_(z,y,o.speed),"fixed"!=f.position&&(f.position=a?"relative":"static",$jq.extend(y,{top:u,left:w})),n.sfAPI?a?n.sfAPI.expand({l:-1*o.offsetX,t:-1*o.offsetY,r:o.width-n.width+o.offsetX,b:o.height-n.height+o.offsetY,push:o.push}):n.sfAPI.collapse():(e.nested&&S(),_(x,y,o.speed))};this.index=a,this.on=function(e,t){l(c[e])&&(c[e]=[]),c[e].unshift(t)},this.trigger=function(e,t){if(!l(c[e]))for(var i=c[e].length-1;i>=0;i--)c[e][i].call(n,t)},this.setState=function(t){if(d!=t||"resized"==t){if("expanded"==t)S(!0);else if("resized"==t){var i=n.mraid.getResizeProperties();-1==i.width&&-1==i.height?(W||n.mraid.lockScroll(!0),S(!0)):k(!0)}else if("default"==t)"resized"==d?k(!1):1==n.width&&1==n.height?(W||(n.mraid.lockScroll(!0),n.mraid.showClose(!0)),S(!0)):n.width>9&&n.height>9&&S(!1);else if("hidden"!=t||W){if("floated"==t){n.mraid.lockScroll(!1);var i=n.mraid.getFloatingProperties(),r=i.position.split(" ");1==r.length&&r.push("center");var a={width:m(i.width),height:m(i.height),"min-width":m(i.width),"min-height":m(i.height),top:"center"==r[1]||"top"==r[1]?0:"bottom"==r[1]||-1!=r[1].indexOf("-")?"auto":r[1],bottom:"center"==r[1]||"bottom"==r[1]?0:"top"==r[1]||-1==r[1].indexOf("-")?"auto":r[1].substr(1),left:"center"==r[0]||"left"==r[0]?0:"right"==r[0]||-1!=r[0].indexOf("-")?"auto":r[0],right:"center"==r[0]||"right"==r[0]?0:"left"==r[0]||-1==r[0].indexOf("-")?"auto":r[0].substr(1),margin:"auto",position:"fixed"==i.attachment?"fixed":"absolute","z-index":T+4};0==s.index&&$jq.extend(a,e.css),g.css(a)}}else n.readyState=F.HIDDEN,S(!1),g.hide(),1==e.file.length&&z.hide();d=t,e.DOM.div.className=N+"main "+N+t}},this.screenResize=function(e){n.readyState!=F.READY&&n.readyState!=F.STARTED||("expanded"==d||"default"==d&&!W&&1==n.width&&1==n.height||"resized"==d&&n.mraid.getResizeProperties().width<0&&n.mraid.getResizeProperties().height<0||e)&&S(!0)}},G=function(e,n){var r={},a={},o={},s={width:j.width(),height:j.height(),useCustomClose:!1,isModal:!0},c={sms:!1,tel:!1,calendar:!1,storePicture:!1,inlineVideo:!1},h={allowOrientationChange:!0,forceOrientation:"none"},f=!1,p={speed:250,push:!0,offsetX:0,offsetY:0,customClosePosition:"top-right",allowOffscreen:!0},u="loading",g=!0,v=$jq(n.div),w=$jq(n.frame),y=$jq(n.close),_=$jq(O.getElementsByTagName("html")[0]),E=$jq(O.body),x=function(i,r){if(!l(o[i]))for(var a=o[i].length-1;a>=0;a--)o[i][a].call(n,r);l(e.callbacks[i])||e.callbacks[i].call(t,e.uid)};this.addEventListener=function(e,t){l(o[e])&&(o[e]=[]),o[e].unshift(t)},this.close=function(){this.lockScroll(!1),this.showClose(!1),"expanded"==u||"resized"==u?(this.setState("default"),x("sizeChange",[e.placement[0],e.placement[1]])):("default"==u&&"interstitial"==this.getPlacementType()||"floated"==u)&&this.setState("hidden")},this.expand=function(){"loading"!=u&&"expanded"!=u&&"hidden"!=u&&(this.lockScroll(!0),this.setState("expanded"),x("sizeChange",[j.width(),j.height()]),this.showClose(!0))},this.getCurrentPosition=function(){var t=n.div,i=O;if(e.nested)try{t=b()[0],i=t.ownerDocument}catch(r){}var a=t.getBoundingClientRect();return{x:a.left+(i.documentElement.scrollLeft||i.body.scrollLeft||0),y:a.top+(i.documentElement.scrollTop||i.body.scrollTop||0),width:t.offsetWidth,height:t.offsetHeight}},this.getDefaultPosition=function(){return{x:z.offset().left,y:z.offset().top,width:e.placement[0],height:e.placement[1]}},this.getExpandProperties=function(){return d(s)},this.getMaxSize=function(){return{width:j.width(),height:j.height()}},this.getOrientationProperties=function(){return d(h)},this.getPlacementType=function(){return H?"interstitial":"inline"},this.getResizeProperties=function(){return d(p)},this.getScreenSize=function(){return{width:t.screen.width,height:t.screen.height}},this.getState=function(){return u},this.getVersion=function(){return"2.0"},this.isViewable=function(){if(!U)return g=!1;var e=O.documentElement,t=n.div.getBoundingClientRect();return g=!!t&&t.bottom>=0&&t.right>=0&&t.top<=e.clientHeight&&t.left<=e.clientWidth},this.removeEventListener=function(e,t){if(!l(o[e])){var i=[];for(var n in o[e])o[e][n]!=t&&i.push(o[e][n]);o[e]=i}},this.resize=function(){"expanded"==u||l(p.width)||l(p.height)?x("error"):(this.setState("resized"),x("sizeChange",[p.width,p.height]))},this.setExpandProperties=function(e){delete e.isModal,$jq.extend(s,e)},this.setOrientationProperties=function(e){$jq.extend(h,e)},this.setResizeProperties=function(e){$jq.extend(p,e)},this.supports=function(e){return Boolean(c[e])},this.useCustomClose=function(e){s.useCustomClose=e,"none"!=n.close.style.display&&this.showClose(!e)};var S,k,D={width:300,height:250,showClose:!1,position:"center center",attachment:"fixed"},C=function(e){var t=e.createElement("style");return t.appendChild(e.createTextNode("")),e.head.appendChild(t),t};this.addCSSRule=function(e,t,i){l(S)&&(S=C(O),k=S.sheet),"insertRule"in k?k.insertRule(e+"{"+t+"}",i):"addRule"in k&&k.addRule(e,t,i)},this.addJavaScript=function(e){var t=i.createElement("script");t.type="text/javascript";try{t.appendChild(i.createTextNode(e)),i.body.appendChild(t)}catch(n){t.text=e,i.body.appendChild(t)}},this.checkViewable=function(){var e=g;this.isViewable(),g!=e&&x("viewableChange",g)},this["float"]=function(){var e=D;"default"==u&&(this.setState("floated"),x("sizeChange",[e.width,e.height]),this.showClose(e.showClose))},this.getFloatingProperties=function(){return d(D)},this.lockScroll=function(e){if(e){var t=_[0].style,i=E[0].style;a={overflow:t.overflow,height:t.height},_.css({overflow:"hidden",height:"100%"}),r={overflow:i.overflow,"min-height":i.minHeight,margin:i.margin,padding:i.padding},E.css({overflow:"hidden","min-height":"100%",margin:0,padding:0})}else E.css(r),_.css(a)},this.removeCSS=function(){l(S)||(O.head.removeChild(S),S=void 0)},this.setState=function(e){u==e&&"resized"!=e||(u=e,x("stateChange",e)),f||(f=!0,x("ready"))},this.setFloatingProperties=function(e){$jq.extend(D,e)},this.showClose=function(e){e?s.useCustomClose||(n.close.style.display="",y.is(":empty")&&(n.readyState==F.STARTED?n.close.innerHTML=y.data("img"):n.controller.on("ads",function(){"none"!=n.close.style.display&&(n.close.innerHTML=y.data("img"))}))):n.close.style.display="none"},this.setFile=function(t){if($jq.extend(n,t),l(e.css.width)&&!l(t.width)){var i=m(t.width);e.DOM.div.style.width=i,n.div.style.width=i,n.frame.style.width=i}if(l(e.css.height)&&!l(t.height)){var r=m(t.height);e.DOM.div.style.height=r,n.div.style.height=r,n.frame.style.height=r}},this.setDIV=function(e){v.css(e),w.css(e)},this.extendAd=function(t){$jq.extend(!0,e,t)}};l(J.__sparkflowNum)&&(J.__sparkflowNum=0),e.uid=e.uid+"_"+J.__sparkflowNum++;var K=I.src.match(/^https?\:\/\/([^\/:?#]+)(?:[\/:?#]|$)/i),Z=K&&K[1];R&&g(P+"//"+(Z?Z:"ads.sparkflow.net")+"/e/?i="+R+"&uid="+e.uid+"&v="+E()+"&e=3ps,,"+(e.external_id?"&x="+e.external_id:"")),!l(n)&&n.waitOnLoad&&"complete"!==i.readyState?h("load",t,D):D()}({"user":{"device":"desktop","browser":"Chrome","version":"50.0.2661.37"},"placement":[970,31],"close":"\/\/sparkflow-a.akamaihd.net\/sparkflow\/cb.png","file":[{"src":"\/\/sparkflow-a.akamaihd.net\/spk\/631\/20359-1475679174\/m72-0.html","width":970,"height":31,"name":"Main"}],"external_id":103049,"id":20359,"format_type":8,"format_id":89,"template_id":11,"company_id":112,"campaign_id":5386,"advertiser_id":631,"placement_id":13632,"vars":{"clicktag1":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}","clicktag2":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}","clicktag3":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}","clicktag4":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}","clicktag5":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}","clicktag6":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}","clicktag7":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}","clicktag8":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}","clicktag9":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}","clicktag10":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}","clicktag11":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}","clicktag12":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}","clicktag13":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}","clicktag14":"https:\/\/bs.serving-sys.com\/serving\/adServer.bs?cn=trd&mc=click&pli=18720944&PluID=0&ord={random}"},"token":"1476028865:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0aW1lc3RhbXAiOjE0NzYwMjg4NjV9.S781WFjUh0V_7TgiPK64ONQwpyuAJbix5Ra2sFcGwBM","uid":"1CHyWTMdSgg","time":1},window,document,window._spad?_spad:void 0);