// if(typeof jQuery == 'undefined'){ var script = document.createElement('script'); parent.parent.document.head.appendChild(script); script.type = 'text/javascript'; script.src = "//ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"; script.onload = function(){ } } //Get imgage pixel tracking bit var imgTrackExposed=""; //Get search string from script tag var searchString_sw = "itype=3&hostName=surveywriter.net"; var strReferrer=document.referrer; strReferrer=strReferrer.replace("http://",""); strReferrer=strReferrer.replace("https://",""); var arrayReferrer=strReferrer.split("/"); var varReferrer=arrayReferrer[0]; var isTest_sw = query_sw('test'); var isExit_sw = query_sw('exit'); var itype_sw = query_sw('itype'); var TriggerLogic_sw="1==1"; var popupDelay_sw="0"; var popUpOdds_sw=0; var testType_sw=0; //Control=0 ; Exposed=1 var popupDelayR_sw=0; var PIN=0; var tpix=''; var adViewsTotal_sw=0; var deviceType_sw=''; var pimMode=0; var uri_sw=''; var referrer_sw=''; var utm_medium_sw=''; var utm_source_sw=''; searchString_sw = searchString_sw + "&ivar=itype~" + itype_sw; var dmp_id=''; if (typeof zd != "undefined") { var dmp_id=zd.core.config.cookieSwapCodes.evdyConsumerDomains.parser(); }else{ dmp_id="not_available"; } if (dmp_id==null) {dmp_id="not_available";} searchString_sw = searchString_sw + "&ivar=dmp_id~" + dmp_id; uri_sw=window.location.href; searchString_sw = searchString_sw + "&ivar=uri~" + uri_sw; referrer_sw=document.referrer; searchString_sw = searchString_sw + "&ivar=referrer~" + referrer_sw; //if (itype_sw=='1') {popUpOdds_sw = 20;TriggerLogic_sw="TrackingAdViews_sw < 1";popupDelay_sw=15;TriggerLogic_sw="adViews_sw > 1";isExit_sw=1;isExit_sw=2;popupDelayR_sw=10;pimMode=1;} //TriggerLogic_sw="if (adViews_sw > 1) {popupDelay_sw=0;AdViewFlag_sw=1;}else{popupDelay_sw=10;AdViewFlag_sw=1;}";} //Modify popup odds. A 1 means 1% of the hits, 10=10%, etc... //Keep the 99 itype as is if (itype_sw=='99') {popUpOdds_sw=0;TriggerLogic_sw="adViews_sw>0";testType_sw=1;} if (itype_sw=='3') {popUpOdds_sw=0;popupDelay_sw=10;testType_sw=1;TriggerLogic_sw="adViews_sw>0";} if (itype_sw=='4') {popUpOdds_sw=0;popupDelay_sw=10;testType_sw=1;TriggerLogic_sw="adViews_sw>0";} if (itype_sw=='5') {popUpOdds_sw=0;popupDelay_sw=10;testType_sw=1;TriggerLogic_sw="adViews_sw>0";} if (itype_sw=='6') {popUpOdds_sw=0;popupDelay_sw=10;testType_sw=1;TriggerLogic_sw="adViews_sw>0";} if ((deviceType_sw==0) || (deviceType_sw.length==0)) { deviceType_sw=getDevice_sw(navigator.userAgent||navigator.vendor||window.opera); } if (isExit_sw > '0') { var winType=2; } else { var winType=1; } if (1!=1) { } else if ((1!=1) && (top != self) && (location.href.toUpperCase().indexOf('SWILINK.HTML') == -1) && (parent.location.pathname!=location.pathname)){ searchString_sw = searchString_sw + "&sname=C5511_P2023005_AT1x.asp"; //document.write('