// //Get search string from script tag var searchString_sw = "vWebmd=1&itype=99&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 PIN=0; //MT setup //http://survey.o.webmd.com/in/DM_RedirectToURL_gfk14.asp?surl=https://deploy.ztelligence.com/start/index.jsp&split=split&PIN=' + PIN + '&vWebmd=1&itype=99&hostName=www.surveywriter.net //if (itype_sw=='1') {popUpOdds_sw = 50;PIN="168T8HGW5HTTN";testType_sw=0;} //GFK Setup //http://survey.o.webmd.com/in/DM_RedirectToURL_gfk14.asp?surl=http://www.surveys.com/s.aspx&split=split&Project=M710Clear&id=x&vWebmd=1&itype=99&hostName=www.surveywriter.net //if (itype_sw=='1') {popUpOdds_sw = 20;TriggerLogic_sw="TrackingAdViews_sw < 1";popupDelay_sw=15;TriggerLogic_sw="adViews_sw > 1";isExit_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;testType_sw=1;} if (itype_sw=='1') {popUpOdds_sw = 0;testType_sw=0;} if (isExit_sw=='1') { 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_2012037P_AT1x.asp"; //document.write('