// //Get search string from script tag var searchString_sw = "vWebmd=1&itype=1&prg=%5BInsertProgramCode%5D&eaid=58319954&ecid=85660661594&esid=3312554&epid=25312274&pt=1761&hcent=&scent=&leaf=&art=60180&uri=&pvid=143998780131204122&hostName=www.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; //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;} //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;testType_sw=1;} if (itype_sw=='1') {popUpOdds_sw = 40;popupDelay_sw=20;testType_sw=1;} if (isExit_sw > '0') { var winType=2; } else { var winType=1; } if (1!=1) { } else if ((top != self) && (location.href.toUpperCase().indexOf('SWILINK.HTML') == -1) && (parent.location.href!=location.href)){ searchString_sw = searchString_sw + "&sname=C5213_2015902_AT1x.asp"; //document.write('