//R: 1; A: 1,9,10//
!function(e){var a={vst:"&e=SF_start&eid=video",v25:"&e=SF_firstQuartile&eid=video",v50:"&e=SF_midpoint&eid=video",v75:"&e=SF_thirdQuartile&eid=video",vco:"&e=SF_complete&eid=video",vre:"&e=SF_replay&eid=video",vpa:"&e=SF_pause&eid=video",vmu:"&e=SF_mute&eid=video",vum:"&e=SF_unmute&eid=video",vrs:"&e=SF_resume&eid=video",vse:"&e=SF_seek&eid=video",ire:"&e=SF_impression_ready&eid=ad",ads:"&e=SF_start&eid=ad",ivi:"&e=SF_viewable&eid=ad",cwi:"&e=SF_autoclose_without_interaction&eid=ad",cai:"&e=SF_autoclose_after_interaction&eid=ad",iim:"&e=SF_interaction&eid=ad",exp:"&e=SF_expanded&eid=ad",rsz:"&e=SF_resized&eid=ad",ecl:"&e=SF_element_clicks&eid=ad",shk:"&e=SF_shake&eid=ad",drs:"&e=SF_drag&eid=ad",clo:"&e=SF_closed&eid=ad"},t=function(e){return"undefined"==typeof e},n=function(e,a){return t(e)?a:e},d=function(e){if("string"==typeof e){var a=new Image;a.src=e}},i=function(e,a){var t=10,n=e[a];try{for(;!n&&e.parent.self!==e.self&&"undefined"!=typeof e.parent.document&&e.parent.document.body&&t--;)e=e.parent,n=e[a]}catch(d){}return n},c=function(t){var n=i(e,"ut_impurl"),c=i(e,"ut_evturl");if("ivi"==t&&n&&d(n),c){var s=a[t];s&&d(c+s+"&_="+Math.floor(9e9*Math.random()))}};e._spad=n(e._spad,{}),_spad.callbacks=n(_spad.callbacks,{}),_spad.callbacks.adEvent=n(_spad.callbacks.adEvent,[]),_spad.callbacks.adEvent instanceof Function&&(_spad.callbacks.adEvent=[_spad.callbacks.adEvent]),_spad.callbacks.adEvent.push(function(e,a){c&&c(a)});var s=e,r=10;try{for(;s.parent.self!==s.self&&"undefined"!=typeof s.parent.document&&s.parent.document.body&&r--;)s=s.parent,s.__utimp&&d(s.__utimp)}catch(_){}}(window),"string"==typeof ut_fcbk_pixel_id&&""!=ut_fcbk_pixel_id&&(!function(e,a,t,n,d,i,c){e.fbq||(d=e.fbq=function(){d.callMethod?d.callMethod.apply(d,arguments):d.queue.push(arguments)},e._fbq||(e._fbq=d),d.push=d,d.loaded=!0,d.version="2.0",d.queue=[],i=a.createElement(t),i.async=!0,i.src=n,c=a.getElementsByTagName(t)[0],c.parentNode.insertBefore(i,c))}(window,document,"script","https://connect.facebook.net/en_US/fbevents.js"),fbq("init",ut_fcbk_pixel_id),fbq("track","PageView"),function(e){var a={},t={},n=function(e){return"undefined"==typeof e},d=function(e,a){return n(e)?a:e};n(ut_fcbk_campaign_id)||(t={campaign_id:ut_fcbk_campaign_id}),e._spad=d(e._spad,{}),_spad.callbacks=d(_spad.callbacks,{}),_spad.callbacks.adEvent=d(_spad.callbacks.adEvent,[]),_spad.callbacks.adEvent instanceof Function&&(_spad.callbacks.adEvent=[_spad.callbacks.adEvent]),_spad.callbacks.adEvent.push(function(e,n){a[n]||(a[n]=!0,fbq("trackCustom",n,t))})}(window)),function(e,a){var t=a.getElementsByTagName("script"),n=a.currentScript||t[t.length-1],d=function(e){return"undefined"==typeof e},i=function(e){return"string"==typeof e&&""!=e},c=function(e,a){return d(e)?a:e},s=function(e){if(i(e)){var t=a.createElement("script");t.src=e,n.parentNode.insertBefore(t,n.nextSibling)}};e._spad=c(e._spad,{}),i(e.ut_clickurl)&&(_spad.tracking=c(_spad.tracking,{}),_spad.tracking.clk=c(_spad.tracking.clk,[]),_spad.tracking.clk.push(ut_clickurl)),i(e.ut_evtbase)&&(e.ut_evturl=ut_evtbase),e.ut_scripts instanceof Array&&ut_scripts.length&&(_spad.callbacks=c(_spad.callbacks,{}),_spad.callbacks.adEvent=c(_spad.callbacks.adEvent,[]),_spad.callbacks.adEvent instanceof Function&&(_spad.callbacks.adEvent=[_spad.callbacks.adEvent]),_spad.callbacks.adEvent.push(function(e,a){if("ire"==a)for(var t=0;t<ut_scripts.length;t++)s(ut_scripts[t].replace(/\[sf_uid\]+/gi,e))}))}(window,document);
//EOIIR//
//R: 10; A: 12//
!function(n,t){function e(n){if(u(n.pageYOffset)){var t=n.document.body,e=n.document.documentElement;return e=e.clientHeight?e:t,e.scrollTop}return n.pageYOffset}function c(n){if(n.indexOf("FBAN/FBIOS")<0)return!1;for(var t=0;t<l.length;t++)if(n.indexOf("FBDV/"+l[t])>=0)return!0;return!1}function a(n){var t=this,c=0,a=!1;this.checkScroll=function(){if(a){var t=e(n);t>0&&(n.document.body.scrollTop=0)}},this.start=function(){c=e(n),a=!0,this.checkScroll()},this.stop=function(){a=!1,n.document.body.scrollTop=c},d("scroll",n,function(){t.checkScroll()})}var o,i,r,s,l=["iPhone"],d=function(n,t,e){t.addEventListener?t.addEventListener(n,e,!1):t.attachEvent?t.attachEvent("on"+n,e):t[n]=e},u=function(n){return"undefined"==typeof n},f=function(n,t){return u(n)?t:n},p=function(n,t){_spad.callbacks[n]=f(_spad.callbacks[n],[]),_spad.callbacks[n]instanceof Function&&(_spad.callbacks[n]=[_spad.callbacks[n]]),_spad.callbacks[n].push(t)},h=function(n){var t=n.ownerDocument;return t.defaultView||t.parentWindow},v=function(){var n;p("adEvent",function(t,e){if("ads"==e){var l=__sparkflow[t].DOM.div;n=__sparkflow[t].file[0].mraid,o=n.getPlacementType(),i=h(l),r=new a(i),s="interstitial"==o&&c(navigator.userAgent),s&&r.start()}}),p("stateChange",function(t){s&&"hidden"==n.getState()&&r.stop()})};n._spad=f(n._spad,{}),_spad.callbacks=f(_spad.callbacks,{}),v(),n.iOSViewportFix={ScrollFixer:a,detectFacebookAppIphone:c}}(window,document);
//EOIIR//
//R: 25; A: 25//
!function(e){var n=function(e){return"undefined"==typeof e},t=function(e,t){return n(e)?t:e},a=function(){var n=e,t=10;try{for(;n.parent.self!==n.self&&"undefined"!=typeof n.parent.document&&n.parent.document.body&&t--;)n=n.parent}catch(a){}return n},r=function(e,n){var t=10,a=e[n];try{for(;!a&&e.parent.self!==e.self&&"undefined"!=typeof e.parent.document&&e.parent.document.body&&t--;)e=e.parent,a=e[n]}catch(r){}return a},c=[],l=15e3,i=!1,o=null,u=null,s=null,d=a(),f=t(r(e,"sf_renderTriggers"),null);if(e._spad=t(e._spad,{}),e._spad.renderTriggers=e._spad.renderTriggers||f,e._spad.renderTriggers){_spad.callbacks=t(_spad.callbacks,{}),_spad.callbacks.adEvent=t(_spad.callbacks.adEvent,[]),_spad.callbacks.adEvent instanceof Function&&(_spad.callbacks.adEvent=[_spad.callbacks.adEvent]),_spad.callbacks.adEvent.push(function(n,t){"clo"===t&&(clearTimeout(o),"back_button"===u&&d.history.back(),"link_click"===u&&(e.location.href=s))});var p=e._spad.renderTriggers||[],v=function(e,n,t){n.addEventListener?n.addEventListener(e,t,!1):n.attachEvent?n.attachEvent("on"+e,t):n[e]=t},h=function(e,n,t){n.removeEventListener?n.removeEventListener(e,t,!1):n.detachEvent("on"+e,t)},k=function(){c.forEach(function(e){h(e.event,e.element,e.handler)})},_=function(e){var n=null,t=null,a=null,r=null,l=function(c){null!==n&&(t=n-c.clientY,a=30>t&&c.clientY<10&&200>n,r=t>30&&c.clientY<100&&400>n,t>0&&(a||r)&&(k(),i&&d.history.back(),u="exit_viewport",e())),n=c.clientY};c.push({event:"mousemove",element:d,handler:l}),v("mousemove",d,l)},b=function(n){d.history.pushState(null,null,d.location.href+d.location.search),i=!0;var t=function(){u="back_button",k(),n(),o=e.setTimeout(function(){clearTimeout(o),d.history.back()},l)};c.push({event:"popstate",element:d,handler:t}),v("popstate",d,t)},m=function(n){function t(e){for(var n=e;null!==n&&n.tagName;){if("a"===n.tagName.toLowerCase())return n.href;n=n.parentNode}return!1}function a(e){var n;n=e.indexOf("://")>-1?e.split("/")[2]:e.split("/")[0],n=n.split(":")[0],n=n.split("?")[0];var t=/[-\w]+\.(?:[-\w]+\.xn--[-\w]+|[-\w]{3,}|[-\w]+\.[-\w]{2})$/i.exec(n);return t[0]}var r=function(r){var c=r.target,l=t(c);if(l&&a(l)===a(e.location.host)&&!u){if(c.target&&"_blank"===c.target)return;s=l,u="link_click",r.preventDefault(),k(),n()}};v("click",d,r)},g=function(e){0!==p.length&&p.forEach(function(n){switch(n){case"back_button":b(e);break;case"exit_viewport":_(e);break;case"link_click":m(e);break;default:return}})};_spad.waitPlacementReady=function(e){g(e)}}}(window);
//EOIIR//
/* (c) Copyright 2013-18 Sparkflow v4.18.5 rev 3b3c1b2 */
!function(e,t,i,n){"use strict";function a(e,t,i){t.addEventListener?t.addEventListener(e,i,!1):t.attachEvent?t.attachEvent("on"+e,i):t[e]=i}function r(e){return JSON.parse(JSON.stringify(e))}function o(e,t){M?U(function(){e(t)}):e(t)}function s(e){return"undefined"==typeof e}function l(e){if("function"==typeof console[e]){for(var t=(new Date).getTime(),i=[],n=["%c Sparkflow %c "+t,"font-size:xx-small;background:#2cabe1;color:#fff;border-radius:3px;padding:2px;","font-size:xx-small;color:#E98003;"],a=1;a<arguments.length;a++)i.push(arguments[a]);console[e].apply(console,n.concat(i))}X(arguments[1])}function d(e,t){var i=function(e){return 1e6*e.major+1e3*e.minor+e.patch},n=i(e),a=i(t);return a<=n}function c(e){var t={};if(!e)return t;for(var i=e.split("&"),n=0;n<i.length;n++){var a=i[n],r=a.indexOf("=");if(r!=-1){var o=[a.substr(0,r),a.substr(r+1,a.length)];t[unescape(o[0])]=unescape(o[1]).replace(/\+/g," ")}}return t}function f(e){if("string"==typeof e){var t=e.split("."),i=parseInt(t[0])||0,n=parseInt(t[1])||0,a=parseInt(t[2])||0;return{major:i,minor:n,patch:a}}}function h(){return(new Date).getTime().toString(36)+de++}function u(i){if("string"==typeof i&&oe&&!he[i]){if(he[i]=!0,("ire"==i||"ivi"==i)&&!d(J,f("4.1.0")))return;b(re+"/e/?i="+oe+"&uid="+e.uid+"&v="+C()+"&e="+i+",,"+(e.external_id?"&x="+e.external_id:"")+(e.additional?e.additional:"")),X("Report event",i),t.__sparkflow&&x(__sparkflow[e.uid],"adEvent",i)}}function p(e){return"string"!=typeof e&&"number"!=typeof e?e:(e=String(e),e.toLowerCase().indexOf("px")==-1&&e.indexOf("%")==-1?e+"px":e)}function m(e){if(s(e.pageYOffset)){var t=e.document.body,i=e.document.documentElement;return i=i.clientHeight?i:t,i.scrollTop}return e.pageYOffset}function g(){if(ce)return t;var e=t,i=10,n=function(){for(;e.parent.self!==e.self&&!s(e.parent.document)&&i--;)e=e.parent};try{n()}catch(e){l("warn","Cross-origin Iframe")}return e}function v(e,t){for(var i=0;i<e.length;i++)t(e[i],i)}function y(){if(/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&s(top.window.document))throw"Safari Exception"}function w(){var e=i.body||i.documentElement,t=e.style,n="transition";if("string"==typeof t[n])return!0;var a=["Moz","webkit","Webkit","Khtml","O","ms"];n=n.charAt(0).toUpperCase()+n.substr(1);for(var r=0;r<a.length;r++)if("string"==typeof t[a[r]+n])return!0;return!1}function b(e){if(e.shift){if(e.length)for(var t=e.length-1;t>=0;t--)b(e[t])}else{e+=e.indexOf("?")!=-1?"&":"?",e+="_="+h();var i=new Image;i.src=e}}function S(e,t,i){if(!s(e.tracking[t])){var n=e.tracking[t];if("[object String]"===Object.prototype.toString.call(n)||n.length&&"[object String]"===Object.prototype.toString.call(n[0]))return void b(n);for(var a=0;a<n.length;a++){var r=!0;if(n[a].condition&&i){var o="[object String]"===Object.prototype.toString.call(n[a].condition)?JSON.parse(n[a].condition):n[a].condition,l=JSON.parse(decodeURIComponent(i));for(var d in o){var c=new RegExp(o[d]);r=r&&c.test(l[d])}}r&&b(n[a].url)}}}function x(e,i,n){if(e&&e.callbacks){var a=e.callbacks[i];if(!s(a))if(a.shift)for(var r=0;r<a.length;r++)a[r].call(t,e.uid,n);else a.call(t,e.uid,n)}}function _(e,t,i){var n=t.getElementsByTagName("head")[0],r=t.createElement("script");s(i)&&(i=function(){}),r.readyState?r.onreadystatechange=function(){"loaded"!=r.readyState&&"complete"!=r.readyState||(r.onreadystatechange=null,i())}:a("load",r,i),r.src=e,n.appendChild(r)}function k(n){var a=(s(e.js)?"https://ajax.googleapis.com/ajax/libs":e.js)+"/jquery/1.11.3/jquery.min.js";if(s(t.jQuery))_(a,i,function(){n()});else{var r=s(t.$)?jQuery:$;r.fn&&r.fn.addBack&&r.fn.animate?n():(l("warn","jQuery build unrecognized"),_(a,i,function(){n(jQuery.noConflict(!0))}))}}function E(e){for(var t=e.parentNode;t.tagName;){if("body"==t.tagName.toLowerCase())return!0;t=t.parentNode}return l("warn","TAG is not inside a BODY element"),!1}function j(){if(T)return T;var e=function(e){y();for(var t=e.getElementsByTagName("iframe"),i=t.length-1;i>=0;i--)try{var n=t[i],a=n.contentDocument||n.contentWindow.document;if(a===q)return T=$jq(n)}catch(e){}};try{return e(t.parent.document)}catch(e){return T=t.frameElement&&t.frameElement.id?$jq(t.parent.document.getElementById(t.frameElement.id)):null}}function O(e,t,i){s(e.on)?e.bind(t,i):e.on(t,i)}function C(){if(0!=se)return se;var e={WEB:100,SAFEFRAME:200,FIF:201,ORMMA:300,MRAID10:401,MRAID20:402,MRAIDVAST:403,VAST:500};try{s(t.mraid)||s(mraid.addEventListener)?se=s(t.ormma)||s(ormma.addEventListener)?s(t.sfAPI)&&(s(t.$sf)||s($sf.ext))?s(t.inDapIF)?s(t.getVPAIDAd)?e.WEB:e.VAST:e.FIF:e.SAFEFRAME:e.ORMMA:(se=e.MRAID10,s(mraid.getVersion)||"2.0"!=mraid.getVersion()||(se=e.MRAID20))}catch(e){l("warn","Unknown environment")}return se}function D(e){if(X("Initialize ad"),0==e.filesLeft&&!s(t.$jq)&&!s(t.JSON)&&0==e.loadScripts.length&&s(e.file[0].controller)){X("Rendering engine Init",e);var n=function(){try{return t.self!==t.top}catch(e){return!0}};B=$jq(ue),F=$jq(e.DOM.div),e.DOM.div.style.display="inline-block",X("Init - Placement div - inline-block");try{F.css(e.css),X("Init - Placement div - css",e.css),navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&n()&&""==q.body.style.height&&(e.css.height.indexOf("%")>-1||e.css["min-height"].indexOf("%")>-1)&&(q.body.style.height="100%")}catch(e){X("Init - catch error",e.message)}var a={},r=function(t){var i=JSON.stringify(e[t]);i!==JSON.stringify({})&&i!==JSON.stringify([])&&(a[t]=e[t])};for(var o in e){var d=Object.prototype.toString.call(e[o]);if("file"!=o&&"[object Function]"!=d&&"[object HTMLScriptElement]"!=d)try{r(o)}catch(e){}}a.group_creative=oe,a.placement_creative=oe,a.topLocation=ue.location;for(var c=function(e){var t=e.mraid.isViewable();t&&u("ivi"),e.childBridge("setViewable",t)},f=e.file.length-1;f>=0;f--){var h=e.file[f];if(a.fileIndex=f,h.readyState=H.LOADED,h.controller=new ye(e,h,f),ce)h.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(){c(e)}),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})})}(h);else{if(e.safeframeAvailable)try{var p=t.sfAPI||$sf.ext,m=function(e,t){};p.register(parseInt(h.width),parseInt(h.height),m),h.sfAPI=p}catch(e){}h.close=i.createElement("div");var g=$jq(h.close).css({display:"none",position:"absolute",width:"50px",height:"50px",top:"0px",right:"0px",left:"auto",bottom:"auto","background-color":"transparent","z-index":N+10,cursor:"pointer"}).attr({id:"close_"+e.uid+"_"+f,title:"Close","data-img":'<img src="'+W+e.close+'" border="0" style="height:100%;width:100%">'});$jq(h.div).append(g),h.mraid=new we(e,h),function(e){O($jq(e.close),"click",function(){e.mraid.close()});var t={width:0,height:0};"2.0"==e.mraid.getVersion()&&O(B,"deviceorientation",function(){var i=e.mraid.getScreenSize();i.width==t.width&&i.height==t.height||(t=i,e.childBridge("setProperties",[{name:"_screenSize",value:t}]))}),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(){c(this)}),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})})}(h)}var v=function(t){X("Setup File");var i=[{name:"_info",value:a},{name:"_mraidAvailable",value:ce},{name:"_environment",value:e.environment}],n=h.mraid,r=function(e,t){s(t)||i.push({name:e,value:t})};r("_expandProperties",n.getExpandProperties?n.getExpandProperties():{width:-1,height:-1,useCustomClose:!1,isModal:!0}),s(n.getPlacementType)||r("_placementType",n.getPlacementType());var o=!s(n.isViewable)&&n.isViewable();if(r("_viewable",o),o&&u("ivi"),"2.0"==n.getVersion())try{r("_defaultPosition",n.getDefaultPosition()),r("_feature",{sms:n.supports("sms"),tel:n.supports("tel"),calendar:n.supports("calendar"),storePicture:n.supports("storePicture"),inlineVideo:n.supports("inlineVideo")}),r("_maxSize",n.getMaxSize()),r("_orientationProperties",s(n.getOrientationProperties)?{allowOrientationChange:!0,forceOrientation:"none"}:n.getOrientationProperties()),r("_screenSize",n.getScreenSize())}catch(e){l("error","MRAID 2.0 support issues")}h.childBridge("setCustomData",e.customData),h.childBridge("setProperties",i,t)},y=function(e){v(function(){ce?(e.childBridge("setState",mraid.getState()),e.controller.setState(mraid.getState()),e.childBridge("dispatchEvent",{event:"ready"})):e.mraid.setState("default")})};u("ire"),y(h)}}}function I(e,t){for(var i in t){var n="impression"==i?"imp":"click"==i?"clk":i;s(e.tracking[n])&&(e.tracking[n]=[]);for(var a=0;a<t[i].length;a++)"[object String]"===Object.prototype.toString.call(t[i][a])?e.tracking[n].push({url:t[i][a]}):e.tracking[n].push(t[i][a])}}function P(){if(X("Setup"),!s(e.file)){var r=new ve(e,oe,re),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},u=function(e,t){for(var i in t)e[i]?(e[i].concat||(e[i]=[]),e[i]=e[i].concat(t[i])):e[i]=t[i];return e},g=function(e){s(e.width)||(r.placement[0]=parseInt(e.width)),s(e.height)||(r.placement[1]=parseInt(e.height)),s(e.tracking)||I(r,e.tracking),s(e.clickmask)||(r.clickmask=e.clickmask),s(e.insertbefore)||(r.insertbefore=e.insertbefore),s(e.nested)||(r.nested=e.nested),s(e.trace)||(r.traceEnabled=!!e.trace),s(e.css)||c(r.css,e.css),s(e.friendlyIframes)||(r.friendlyIframes=e.friendlyIframes),s(e.targetSelector)||c(r.targetSelector,e.targetSelector),s(e.callbacks)||u(r.callbacks,e.callbacks),s(e.customData)||c(r.customData,e.customData),s(e.loadScripts)||(r.loadScripts=r.loadScripts.concat(e.loadScripts))},y=function(e,t){s(e.all)||g(e.all),s(e[t])||g(e[t])},w=function(){if(s(n)){var i=s(ie.g)||s(ie.t)?te:ie;i.tracking={},i.i&&(i.tracking.imp=i.i.split(",")),i.c&&(i.tracking.clk=i.c.split(",")),g(i)}else g(n),n.viewabilityTracker&&(fe=n.viewabilityTracker),t._spad=void 0;var a={},o=function(e){for(var t in e)0==t.indexOf("sf_")&&t.length>3&&(a[t.substr(3)]=e[t])};o(te),o(ie),c(r.customData,a);var l=ue._spads;if(!s(l)){var d=s(r.format_type)?-1:r.format_type,f=s(r.format_id)?-1:r.format_id,h=s(r.placement_id)?0:r.placement_id;s(l.format_types)||y(l.format_types,d),s(l.formats)||y(l.formats,f),s(l.placements)||y(l.placements,h),s(l.creatives)||y(l.creatives,e.id)}};X("Setup - Cascade params"),w();var b=function(e){ce||e.mraid.checkViewable(),e.childBridge("setProperties",[{name:"_currentPosition",value:e.mraid.getCurrentPosition()}])},E=function(e,t,i,n){"hidden"!=e.mraid.getState()&&(t.ScrollEvent&&e.childBridge("dispatchEvent",{event:"pageScroll",parameter:{scrollTop:i,delta:n}}),b(e))};if(s(t.__sparkflow)){X("Setup - Set global listeners"),t.__sparkflow={};var j=m(ue),O=function(){var e=m(ue),t=e-j;if(0!=t){for(var i in __sparkflow){var n=__sparkflow[i].file;if(!s(n[0].controller))for(var a=n.length-1;a>=0;a--)E(n[a],__sparkflow[i],e,t)}j=e}};if(a("scroll",ue,function(){o(O)}),t.DeviceOrientationEvent){var C=function(e){var t;for(var i in __sparkflow)if(__sparkflow[i].DeviceOrientationEvent){s(t)&&(t={gamma:e.gamma,alpha:e.alpha,beta:e.beta});for(var n=__sparkflow[i].file,a=n.length-1;a>=0;a--)n[a].childBridge("dispatchEvent",{event:"deviceorientation",parameter:t})}};a("deviceorientation",ue,function(e){o(C,e)})}if(t.DeviceMotionEvent){var P=function(e){var t;for(var i in __sparkflow)if(__sparkflow[i].DeviceMotionEvent){if(s(t)){t={interval:e.interval};for(var n=["acceleration","accelerationIncludingGravity","rotationRate"],a=n.length-1;a>=0;a--){var r=e[n[a]];t[n[a]]={};for(var o in r)t[n[a]][o]=r[o]}}for(var l=__sparkflow[i].file,d=l.length-1;d>=0;d--)l[d].childBridge("dispatchEvent",{event:"devicemotion",parameter:t})}};a("devicemotion",ue,function(e){o(P,e)})}var A=function(){for(var e in __sparkflow){var t=__sparkflow[e].file;if(!s(t[0].controller))for(var i=t.length-1;i>=0;i--){var n=t[i];"hidden"!=n.mraid.getState()&&(n.childBridge("setProperties",[{name:"_maxSize",value:n.mraid.getMaxSize()}]),n.childBridge("dispatchEvent",{event:"pageResize"}),b(n))}}};a("resize",ue,function(e){o(A)}),ce||(fe&&fe.isEnabled(e)||(X("Viewability tracking: browser"),fe=new ge(ue)),L=fe.defaultStatus,X("Viewability tracking defaults to:",L),fe.onChange=function(e){X("Viewability tracking change:",e),L=e;for(var t in __sparkflow){var i=__sparkflow[t].file;if(!s(i[0].controller))for(var n=i.length-1;n>=0;n--)i[n].mraid.checkViewable()}})}if(r.targetSelector.scroll&&(i.querySelector(r.targetSelector.scroll)||ue.document.querySelector(r.targetSelector.scroll))){X("Setup - Set ad specific listeners");var R=i.querySelector(r.targetSelector.scroll)||ue.document.querySelector(r.targetSelector.scroll),z=R.scrollTop,M=function(){var e=R.scrollTop,t=e-z;if(0!=t){var i=r.file;if(!s(i[0].controller))for(var n=i.length-1;n>=0;n--)E(i[n],r,e,t);z=e}};a("scroll",R,function(){o(M)})}S(r,"imp");var $=r.placement;X("Setup - Placement - size",$),(9==r.placement[0]&&9==r.placement[1]||1==r.placement[0]&&1==r.placement[1])&&($=[1,0],X("Setup - Placement - Hack Chrome/Android",$));var T=i.createElement("div"),B=T.style;T.id="div_"+r.uid,T.className=V+"main "+V+"loading",B.width=p($[0]),B.height=p($[1]),B.display="none",B.verticalAlign="top",B.padding="0px",B.margin="0px",B.border="0px",B.position=le?"fixed":"inherit",le&&(B.top="0px",B.left="0px"),B.zIndex=N,B.pointerEvents="none",B.overflow="visible";try{B.textAlign="start"}catch(e){}if(X("Setup - Placement div - create",{width:p($[0]),height:p($[1]),display:"none",verticalAlign:"top",padding:"0px",margin:"0px",border:"0px"}),r.DOM.div=T,le)try{Z=ue.document.body.firstElementChild||Z}catch(e){}var F=s(r.insertbefore)||null===r.insertbefore?Z:r.insertbefore;null===r.insertbefore&&l("warn","Element specified in insertbefore not found"),F.parentNode.insertBefore(r.DOM.div,F),q=r.DOM.div.ownerDocument,r.nested=s(r.nested)?q!==ue.document:r.nested,__sparkflow[e.uid]=r;var U=function(t){var i=$jq.parseJSON(t.data);if(!s(i.uid)&&e.uid==i.uid){var n=__sparkflow[i.uid],a=function(){for(var e=n.file.length-1;e>=0;e--){var i=n.file[e];if(i.frame.contentWindow===t.source)return i}};if("event"==i.method){var o=i.value.split(","),l=o[0],d=a();"ads"==l&&(d.readyState=H.STARTED),d.controller.trigger(l,r.uid),S(n,o[0],o[1]),x(n,"adEvent",l)}else if("synch"==i.method)for(var c=0;c<n.file.length;c++)n.file[c].childBridge("dispatchDocumentEvent",{event:"adSynch",parameter:i.value[0]});else if("callback"==i.method){X("callback",i.value);var d=a();d.callbacks[i.value]&&(d.callbacks[i.value](),delete d.callbacks[i.value])}else{var d=a();s(d.mraid[i.method])?s(n[i.method])||(X("Ad method",i.method,i.value),i.value?n[i.method].apply(n,i.value):n[i.method].apply(n)):(X("File method",i.method,i.value),i.value?d.mraid[i.method].apply(d.mraid,i.value):d.mraid[i.method].apply(d.mraid))}}"__trace"==i.method&&Y({prefix:"Creative",values:i.values,uid:i.uid,timestamp:i.timestamp})},G=function(e){try{U(e||t.event)}catch(t){X("MESSAGE ERROR",t.message,e.data)}};if(a("message",q.defaultView||q.parentWindow||ue,G),v(r.file,function(t,n){var l=i.createElement("iframe"),c=i.createElement("div"),u=c.style,m=l.style,g=W+t.src;t.readyState=H.INITIAL,s(e.js)||(g+="?js="+encodeURIComponent(e.js)),r.traceEnabled&&(g+=(g.indexOf("?")>=0?"&":"?")+"trace=enabled"),c.id="div_"+r.uid+"_"+n,u.width=p(t.width),u.height=p(t.height),u.display="inline-block",u.verticalAlign="top",u.padding="0px",u.margin="0px",u.border="0px",u.pointerEvents="auto",u.position="static",u.maxWidth="none";try{u.textAlign="start"}catch(e){}t.div=c,r.DOM.div.appendChild(t.div),l.id="frame_"+r.uid+"_"+n,l.frameBorder="0",l.width="100%",l.height="100%",l.scrolling="no",l.allowtransparency="true",l.seamless="true",m.position="static",m.overflow="hidden",m.maxWidth="none",me(l,g,r.friendlyIframes,function(){a("load",l,function(){r.filesLeft--,D(r)})}),t.frame=l,t.div.appendChild(t.frame),t.callbacks={},t.childBridge=function(e,i,n){if(X("childBridge",e,i),l.contentWindow){var a;"function"==typeof n&&(d(J,f("3.16.0"))?(a=h(),t.callbacks[a]=n):o(n)),l.contentWindow.postMessage(JSON.stringify({method:e,value:i,callback:a}),"*")}}}),k(function(e){e=s(e)?jQuery:e,t.$jq=e,s(t.$sf)&&(t.$sf=e);for(var n=0;n<r.loadScripts.length;n++)_(r.loadScripts[n],i,function(){r.loadScripts.pop(),D(r)});D(r)}),s(t.JSON)){var Q=W+"//sparkflow-a.akamaihd.net";s(e.js)||(Q=e.js),_(Q+"/sparkflow/json2.min.js",i,function(){D(r)})}}}function A(){n&&n.waitPlacementReady?n.waitPlacementReady(function(){X("Placement ready","Custom"),P()}):ce?"loading"!=mraid.getState()?(X("Placement ready","MRAID already loaded"),P()):mraid.addEventListener("ready",function(){X("Placement ready","MRAID ready"),P()}):(X("Placement ready","Web"),P())}function R(){X("Check pubfix");var e=ue.PUBLISHER_FIX_LOADED,i=function(){if(X("Pubfix ready"),t.onSparkflowPubfixReady&&t.onSparkflowPubfixReady.constructor===Array)for(var e=0;e<onSparkflowPubfixReady.length;e++)try{onSparkflowPubfixReady[e]()}catch(t){l("error","Error executing onSparkflowPubfixReady callback: "+onSparkflowPubfixReady[e])}};t.ut_patchUrl&&"string"==typeof t.ut_patchUrl&&!e?t.ut_patch_wait4Load?_(ut_patchUrl,ue.document,function(){i(),A()}):(_(ut_patchUrl,ue.document,i),A()):(i(),A())}function z(){if(X("Init"),E(Z))R();else{var e=function(){Z=i.createElement("div");var e=i.body;null===e&&(l("warn","Unable to find BODY element"),e=i.createElement("body"),e.style.margin="0px",e.style.padding="0px",i.documentElement.appendChild(e)),e.appendChild(Z),R()};try{e()}catch(n){"complete"===i.readyState?l("error","Unable to initialize"):(l("warn","Waiting window.onload to initialize"),a("load",t,function(){try{e()}catch(e){l("error","Unable to initialize")}}))}}}var M,L,q,T,B,F,N=2147483637||n.baseZIndex,V="sprkflw_",H={INITIAL:0,LOADED:1,STARTED:2,HIDDEN:3},W="http:"==i.location.protocol?"http:":"https:",J=f(e.system?e.system.formats||"0.0.0":"0.0.0"),U=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||t.msRequestAnimationFrame,Y=n&&n.trace||function(){},X=function(){Y({prefix:"Core",values:Array.prototype.slice.call(arguments),timestamp:(new Date).getTime()})},G=function(){},Q=i.getElementsByTagName("script"),K=i.currentScript||Q[Q.length-1],Z=K,ee=K.src.replace(/^[^\?]+\??/,""),te=c(ee),ie=c(i.location.href.split("?")[1]),ne=K.src.match(/^https?\:\/\/([^\/:?#]+)(?:[\/:?#]|$)/i),ae=ne&&ne[1],re=W+"//"+(ae?ae:"ads.sparkflow.net"),oe=s(e.placement_id)?s(te.g)?s(ie.g)||s(ie.t)?void 0:ie.g+","+e.id:te.g+","+e.id:e.placement_id+","+e.id,se=0,le=e.placement[0]<2&&e.placement[1]<2,de=0,ce=!s(t.mraid)&&!s(mraid.addEventListener)||!s(t.ormma)&&!s(ormma.addEventListener),fe=null,he={},ue=g(),pe=function(e,t,i){var n=new XMLHttpRequest;n.onreadystatechange=function(){4==this.readyState&&(this.status>=200&&this.status<400?t(n.responseText):i())},n.open("GET",e,!0),n.send()},me=function(e,t,i,n){i&&d(J,f("4.4.0"))?(e.src="javascript:false;",pe(t,function(i){n();var a=t.substr(0,t.lastIndexOf("/")+1);if(i=i.replace("<head>",'<head><base href="'+a+'">'),"srcdoc"in e)e.srcdoc=i;else{var r=e.contentWindow.document;r.open(),r.write(i),r.close()}},function(){n()})):(n(),e.src=t)},ge=function(e){var n=this,a="hidden",r={focus:!0,focusin:!0,pageshow:!0,blur:!1,focusout:!1,pagehide:!1},o=function(e){var i;e=e||t.event,i=e.type in r?r[e.type]:!this[a],n.onChange&&n.onChange(i)};n.defaultStatus=!0,n.isEnabled=function(){return!0},a in i?e.document.addEventListener("visibilitychange",o):(a="mozHidden")in i?e.document.addEventListener("mozvisibilitychange",o):(a="webkitHidden")in i?e.document.addEventListener("webkitvisibilitychange",o):(a="msHidden")in i?e.document.addEventListener("msvisibilitychange",o):"onfocusin"in i?e.document.onfocusin=e.document.onfocusout=o:e.onpageshow=e.onpagehide=e.onfocus=e.onblur=o},ve=function(e,n,a){var r,o,l=function(e){var t=e.createElement("style");return t.appendChild(e.createTextNode("")),e.head.appendChild(t),t};this.filesLeft=e.file.length,this.totalFiles=e.file.length,this.DOM={reposElements:[]},this.environment=C(),this.safeframeAvailable=!s(t.sfAPI)||!s(t.$sf)&&!s(t.$sf.ext),this.clickmask="$link",this.callbacks={},this.css={},this.targetSelector={},this.tracking={},this.loadScripts=[],this.addCSSRule=function(e,t,i){s(r)&&(r=l(q),o=r.sheet),"insertRule"in o?o.insertRule(e+"{"+t+"}",i):"addRule"in o&&o.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.extendAd=function(e){$jq.extend(!0,this,e)},this.remoteLogging=G,this.removeCSS=function(){s(r)||(q.head.removeChild(r),r=void 0)},this.ScrollEvent=!1,this.DeviceMotionEvent=!1,this.DeviceOrientationEvent=!1,this.customData=e.vars?e.vars:{},delete e.vars,this.placement_creative_id=n,this.iq_host=a;for(var d in e)this[d]=e[d]},ye=function(e,n,a){X("File: %i",a);var r,o,d=this,c="loading",f={},h=w(),u=n.div.style,m=$jq(n.div),g=$jq(n.frame),v=function(e,t,i){h?(t.transition="all "+i+"ms",setTimeout(function(){e.css(t)},0)):e.animate(t,i)},b=function(e,t,i){e.velocity(t,{duration:i})},S=$jq.Velocity?b:v,x=function(t){t.parents(":not(body,html,.sfe"+e.uid+")").each(function(){var t=$jq(this),i=t.css("display"),n=t.css("position"),a=t.css("visibility"),r=t.css("transform");e.DOM.reposElements.push({element:this,display:s(i)?"":i,position:s(n)?"":n,visibility:s(a)?"":a,transform:s(r)?"":r}),t.css({display:"inherit",position:"static",visibility:"visible",transform:"none"}).addClass("sfe"+e.uid)})},_=function(e){var t={};for(var i in e)"string"==typeof e[i]&&""!=e[i]&&(t[i]=e[i]);return t},k=function(c){if(o!==c){o=c;var f={width:p(e.placement[0]),height:p(e.placement[1])},h=(m.offset(),0);if(0==d.index&&$jq.extend(f,e.css),f.position=c?"relative":"static",e.nested)try{y();var v=j(),w=!0;s(r)&&(w=!1,r=$jq.extend({position:"",top:"",left:"",width:"",height:"","min-width":"","min-height":""},_(v[0].style))),c?(v.css({position:"fixed",top:0,left:0,width:"1px",height:"1px","min-width":"100%","min-height":"100%"}),v[0].style.setProperty("z-index",N+5,"important")):w&&v.css(r)}catch(e){l("error","Iframe",e)}if(c){for(var b in __sparkflow){var k=__sparkflow[b],E=$jq(k.DOM.div);b!=e.uid?(k.placement[0]<=9&&k.placement[1]<=9||k.DOM.div.className.indexOf(V+"expanded")!=-1)&&E.hide():(E.is(":visible")||l("warn","Probable TAG conflict"),E.show())}n.frame.style.position="fixed",n.frame.style.top="0px",n.frame.style.left="0px",x(F),s(v)||x(v)}else{for(var b in __sparkflow)if(b!=e.uid){var k=__sparkflow[b];s(k.file[0].controller)||k.DOM.div.className.indexOf(V+"hidden")!=-1||$jq(k.DOM.div).show()}n.frame.style.position="static",n.frame.style.top="",n.frame.style.left="";for(var b=e.DOM.reposElements.length-1;b>=0;b--){var O=e.DOM.reposElements[b];$jq(O.element).css({display:O.display,visibility:O.visibility,position:O.position,transform:O.transform}).removeClass("sfe"+e.uid)}e.DOM.reposElements=[]}var C=c?"1px":f.width,D=c?"1px":f.height,I=c?"100%":s(f["min-width"])?"":f["min-width"],P=c?"100%":s(f["min-height"])?"":f["min-height"];if(u.position=c?"fixed":f.position,u.zIndex=c?N+6:"auto",X("File: %i - Modal adjust - Ad div - pos",a,{position:u.position,zIndex:u.zIndex},m),S(m,{top:c?"0px":"auto",left:c?"0px":"auto",width:C,height:D,"min-width":I,"min-height":P},h),X("File: %i - Modal adjust - Ad div - dim",a,{width:C,height:D,"min-width":I,"min-height":P},m),S(g,{width:C,height:D,"min-width":I,"min-height":P},h),X("File: $i - Modal adjust - Ad frame - dim",a,{width:C,height:D,"min-width":I,"min-height":P},g),!c&&t.inDapIF&&i.body.id&&parent.dap_Resize)try{parent.dap_Resize(i.body.id,e.placement[0],e.placement[1])}catch(e){l("warn","Failed FIF attempt",e)}}},E=function(r){var o=n.mraid.getResizeProperties();0==d.index&&(s(e.css.width)||(o.width=e.css.width),s(e.css.height)||(o.height=e.css.height),s(e.css["min-width"])||(o["min-width"]=e.css["min-width"]),s(e.css["min-height"])||(o["min-height"]=e.css["min-height"]));var c=p(r||!s(e.css.width)?o.width:n.width),f=p(r||!s(e.css.height)?o.height:n.height),h=p(r||!s(e.css["min-width"])?o["min-width"]||o.width:n.width),v=p(r||!s(e.css["min-height"])?o["min-height"]||o.height:n.height),y=p(r?o.offsetY:0),w=p(r?o.offsetX:0),b={width:c,height:f,"min-width":h,"min-height":v};for(var x in b)s(b[x])&&delete b[x];S(g,b,o.speed),X("File: %i - Resize adjust - Ad frame",a,b);var _=m,k=function(){if(e.nested)try{_=$jq(j()),_[0].style.position="relative"}catch(e){l("error","Iframe",e)}};if(t.inDapIF){var E=function(){var e=parent.document.getElementById(i.body.id);e?(o.push||(e.style.position="absolute",e.style.zIndex=29999),_[0].style.width=c,_[0].style.height=f,_[0].style.minWidth=h,_[0].style.minHeight=v,_=$jq(e),_.closest(".showcasead").css({"z-index":29998})):k()};try{E()}catch(e){k()}}r&&!o.push||(S(F,b,o.speed),X("File: %i - Resize adjust - Plc div",a,b)),"fixed"!=u.position&&(u.position=r?"relative":"static",$jq.extend(b,{top:y,left:w}),X("File: %i - Resize adjust - Extend styles",a,b)),n.sfAPI?r?(n.sfAPI.expand({l:o.offsetX*-1,t:o.offsetY*-1,r:o.width-n.width+o.offsetX,b:o.height-n.height+o.offsetY,push:o.push}),X("File: %i - Resize adjust - sfAPI expand",a)):(n.sfAPI.collapse(),X("File: %i - Resize adjust - sfAPI collapse",a)):(e.nested&&k(),S(_,b,o.speed),X("File: %i - Resize adjust - Ad div",a,b))};this.index=a,this.on=function(e,t){s(f[e])&&(f[e]=[]),f[e].unshift(t)},this.trigger=function(e,t){if(!s(f[e]))for(var i=f[e].length-1;i>=0;i--)f[e][i].call(n,t)},this.setState=function(t){if(X("setState",t),c!=t||"resized"==t){if("expanded"==t)k(!0);else if("resized"==t){var i=n.mraid.getResizeProperties();i.width==-1&&i.height==-1?(ce||n.mraid.lockScroll(!0),k(!0)):E(!0)}else if("default"==t)"resized"==c?E(!1):1==n.width&&1==n.height?(ce||(n.mraid.lockScroll(!0),n.mraid.showClose(!0)),k(!0)):n.width>9&&n.height>9&&k(!1);else if("hidden"!=t||ce){if("floated"==t){n.mraid.lockScroll(!1);var i=n.mraid.getFloatingProperties(),r=i.position.split(" ");1==r.length&&r.push("center");var o={width:p(i.width),height:p(i.height),"min-width":p(i.width),"min-height":p(i.height),top:"center"==r[1]||"top"==r[1]?0:"bottom"==r[1]||r[1].indexOf("-")!=-1?"auto":r[1],bottom:"center"==r[1]||"bottom"==r[1]?0:"top"==r[1]||r[1].indexOf("-")==-1?"auto":r[1].substr(1),left:"center"==r[0]||"left"==r[0]?0:"right"==r[0]||r[0].indexOf("-")!=-1?"auto":r[0],right:"center"==r[0]||"right"==r[0]?0:"left"==r[0]||r[0].indexOf("-")==-1?"auto":r[0].substr(1),margin:"auto",position:"fixed"==i.attachment?"fixed":"absolute","z-index":N+4};0==d.index&&$jq.extend(o,e.css),m.css(o),X("File: %i - Set state: floated - Ad div",a,o)}}else n.readyState=H.HIDDEN,k(!1),m.hide(),1==e.file.length&&F.hide();c=t,e.DOM.div.className=V+"main "+V+t}}},we=function(e,i){var n={},a={},o={},l={width:B.width(),height:B.height(),useCustomClose:!1,isModal:!0},d={sms:!1,tel:!1,calendar:!1,storePicture:!1,inlineVideo:!1},c={allowOrientationChange:!0,forceOrientation:"none"},f=!1,h={speed:250,push:!0,offsetX:0,offsetY:0,customClosePosition:"top-right",allowOffscreen:!0},u="loading",m=!0,g=$jq(i.div),v=$jq(i.frame),y=$jq(i.close),w=$jq(q.getElementsByTagName("html")[0]),b=$jq(q.body),S=function(t,n){if(!s(o[t]))for(var a=o[t].length-1;a>=0;a--)o[t][a].call(i,n);x(e,t)};this.addEventListener=function(e,t){s(o[e])&&(o[e]=[]),o[e].unshift(t)},this.close=function(){this.lockScroll(!1),this.showClose(!1),"expanded"==u||"resized"==u?(this.setState("default"),S("sizeChange",[e.placement[0],e.placement[1]])):("default"==u&&"interstitial"==this.getPlacementType()||"floated"==u)&&this.setState("hidden")},this.expand=function(e){"loading"!=u&&"expanded"!=u&&"hidden"!=u&&(this.lockScroll(!0),this.setState("expanded"),S("sizeChange",[B.width(),B.height()]),this.showClose(!0))},this.getCurrentPosition=function(){var t=i.div,n=q;if(e.nested)try{t=j()[0],n=t.ownerDocument}catch(e){}var a=t.getBoundingClientRect();return{x:a.left+(n.documentElement.scrollLeft||n.body.scrollLeft||0),y:a.top+(n.documentElement.scrollTop||n.body.scrollTop||0),width:t.offsetWidth,height:t.offsetHeight}},this.getDefaultPosition=function(){return{x:F.offset().left,y:F.offset().top,width:e.placement[0],height:e.placement[1]}},this.getExpandProperties=function(){return r(l)},this.getMaxSize=function(){return{width:B.width(),height:B.height()}},this.getOrientationProperties=function(){return r(c)},this.getPlacementType=function(){return le?"interstitial":"inline"},this.getResizeProperties=function(){return r(h)},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(!L)return m=!1;var e=q.documentElement,t=i.div.getBoundingClientRect();return m=!!t&&t.bottom>=0&&t.right>=0&&t.top<=e.clientHeight&&t.left<=e.clientWidth},this.removeEventListener=function(e,t){if(!s(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||s(h.width)||s(h.height)?S("error"):(this.setState("resized"),S("sizeChange",[h.width,h.height]))},this.setExpandProperties=function(e){delete e.isModal,$jq.extend(l,e)},this.setOrientationProperties=function(e){$jq.extend(c,e)},this.setResizeProperties=function(e){$jq.extend(h,e)},this.supports=function(e){return Boolean(d[e])},this.useCustomClose=function(e){l.useCustomClose=e,"none"!=i.close.style.display&&this.showClose(!e)};var _={width:300,height:250,showClose:!1,position:"center center",attachment:"fixed"};this.checkViewable=function(){var e=m;this.isViewable(),m!=e&&S("viewableChange",m)},this["float"]=function(){var e=_;"default"==u&&(this.setState("floated"),S("sizeChange",[e.width,e.height]),this.showClose(e.showClose))},this.getFloatingProperties=function(){return r(_)},this.lockScroll=function(e){if(e){var t=w[0].style,i=b[0].style;a={overflow:t.overflow,height:t.height},w.css({overflow:"hidden",height:"100%"}),n={overflow:i.overflow,height:i.height,"min-height":i.minHeight},b.css({overflow:"hidden",height:"100%","min-height":"100%"})}else b.css(n),w.css(a)},this.setState=function(e){u==e&&"resized"!=e||(u=e,S("stateChange",e)),f||(f=!0,S("ready"))},this.setFloatingProperties=function(e){$jq.extend(_,e)},this.showClose=function(t){t?l.useCustomClose||(i.close.style.display="",""==i.close.innerHTML&&(e.file[0].readyState==H.STARTED?i.close.innerHTML=y.data("img"):e.file[0].controller.on("ads",function(e){"none"!=i.close.style.display&&(i.close.innerHTML=y.data("img"))}))):i.close.style.display="none"},this.setFile=function(t){if(X("MRAID - Set file",t,i),$jq.extend(i,t),s(e.css.width)&&!s(t.width)){var n=p(t.width);X("MRAID - Set file - DOM div width",n,i),e.DOM.div.style.width=n,i.div.style.width=n,i.frame.style.width=n}if(s(e.css.height)&&!s(t.height)){var a=p(t.height);X("MRAID - Set file - DOM div height",a,i),e.DOM.div.style.height=a,i.div.style.height=a,i.frame.style.height=a}},this.setDIV=function(e){X("MRAID - Set div",e,i),g.css(e),v.css(e)}};if(s(ue.__sparkflowNum)&&(ue.__sparkflowNum=0),t._sparkflowLogger&&"function"==typeof t._sparkflowLogger&&(G=function(i){t._sparkflowLogger(e,i,C())}),s(U)||U(function(){M=!0}),e.uid=e.uid+"_"+ue.__sparkflowNum++,oe){var be="";if(s(e.additional)||null===e.additional||"object"!=typeof e.additional)delete e.additional;else{
for(var Se in e.additional){var xe=e.additional[Se];be+="&"+Se+"=",be+=encodeURIComponent(null===xe||"object"!=typeof xe||s(t.JSON)?String(xe):JSON.stringify(xe))}e.additional=be}u("3ps")}!s(n)&&n.waitOnLoad&&"complete"!==i.readyState?(X("Wait on load"),a("load",t,z)):z()}({"system":{"system":"2.17.0","iq":"4.7.2","formats":"4.18.0","studio":"3.5.4","admin":"4.11.0","api-admin":"4.8.0"},"user":{"device":"desktop","browser":"Chrome","version":"50.0.2661.37"},"placement":[1,1],"close":"\/\/sparkflow-a.akamaihd.net\/sparkflow\/cb.png","file":[{"src":"\/\/sparkflow-a.akamaihd.net\/spk\/669\/43838-1519769669\/m67-0.html","width":1,"height":1,"name":"Main"}],"external_id":178198,"id":43838,"format_type":7,"format_id":84,"template_id":0,"company_id":112,"campaign_id":11093,"advertiser_id":669,"placement_id":28556,"vars":{"clicktag1":"https:\/\/admissions.newbrunswick.rutgers.edu\/information-for\/information-for-parents?utm_medium=display&utm_source=undertone&utm_campaign=160rutgersspring18&utm_content=high-impact-general-parents","clicktag2":"https:\/\/admissions.newbrunswick.rutgers.edu\/information-for\/information-for-parents?utm_medium=display&utm_source=undertone&utm_campaign=160rutgersspring18&utm_content=high-impact-general-parents","clicktag3":"https:\/\/admissions.newbrunswick.rutgers.edu\/information-for\/information-for-parents?utm_medium=display&utm_source=undertone&utm_campaign=160rutgersspring18&utm_content=find-your-major-parents","clicktag4":"https:\/\/admissions.newbrunswick.rutgers.edu\/information-for\/information-for-parents?utm_medium=display&utm_source=undertone&utm_campaign=160rutgersspring18&utm_content=visit-now-parents","clicktag5":"https:\/\/admissions.newbrunswick.rutgers.edu\/information-for\/information-for-parents?utm_medium=display&utm_source=undertone&utm_campaign=160rutgersspring18&utm_content=dig-deeper-parents","clicktag6":"https:\/\/admissions.newbrunswick.rutgers.edu\/information-for\/information-for-parents?utm_medium=display&utm_source=undertone&utm_campaign=160rutgersspring18&utm_content=find-your-major-parents","clicktag7":"https:\/\/admissions.newbrunswick.rutgers.edu\/information-for\/information-for-parents?utm_medium=display&utm_source=undertone&utm_campaign=160rutgersspring18&utm_content=visit-now-parents","clicktag8":"https:\/\/admissions.newbrunswick.rutgers.edu\/information-for\/information-for-parents?utm_medium=display&utm_source=undertone&utm_campaign=160rutgersspring18&utm_content=dig-deeper-parents"},"token":"1521682227:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0aW1lc3RhbXAiOjE1MjE2ODIyMjd9.sJs7v4hFrYFBhfxhG9aHwkiYw2rvnI7WCPVHQ33ENgw","uid":"493ad677ffa54c708b2ab6e6464853ca","additional":{"udms":{"rid":"avyeo4r0iwrf3fqpf94bf9k8e","zid":178198,"cid":306726,"bid":1241429}},"time":1},window,document,window._spad?_spad:void 0);