%@ page import="java.util.regex.*"%>
<%@ page import="com.ten.util.*" %>
<%@ page import="java.util.*" %>
<%
String sUserAgent = request.getHeader("User-Agent");
String sAcceptLanguage = request.getHeader("Accept-Language");
if (sUserAgent == null) sUserAgent = "";
if (sAcceptLanguage == null) sAcceptLanguage = "";
String sSplashKeySeed = sUserAgent + sAcceptLanguage;
String sSplashKeyLocal = VCipherRoller.getTicket(sSplashKeySeed);
%><%
String sAlreadyInstalledID = request.getParameter("ai");
if (sAlreadyInstalledID == null) sAlreadyInstalledID = "";
String sMsgFlag = request.getParameter("msg");
if (sMsgFlag == null) sMsgFlag = "";
String sOpCreativeId = request.getParameter("opcreativeid");
if (sOpCreativeId == null) sOpCreativeId = "";
String sOpCreativeLand = request.getParameter("opcreativeland");
if (sOpCreativeLand == null) sOpCreativeLand = "";
String sPurePartnerID=request.getParameter("partner");;
if (sPurePartnerID == null) sPurePartnerID = "";
String sPartnerID = request.getParameter("partner");
if (sPartnerID == null) sPartnerID = "";
String sProductCd = request.getParameter("product");;
if (sProductCd == null) sProductCd = "";
String sWParam = request.getParameter("w");;
if (sWParam == null) sWParam = "";
String sSaValParam = request.getParameter("saVal");;
if (sSaValParam == null) sSaValParam = "";
String sPromoCodeForPoindexterKey = request.getParameter("promocode");;
if (sPromoCodeForPoindexterKey == null) sPromoCodeForPoindexterKey = "";
String sProduct="";
String sImgDir="";
String sSiteDomain="";
String sSiteBarDomain="";
String sPartnerTest="";
boolean bValidTest=false;
boolean bValidTestOptin=false;
String sBucket="";
if (sPartnerID.length() >= 10) {
sBucket = sPartnerID.substring(8,10);
}
if (sBucket.equals("BR") || sBucket.equals("BS") || sBucket.equals("BT")) {
bValidTestOptin=true;
}
if (sProductCd.toUpperCase().endsWith("_MTS")) {
sProduct="My Total Search";
sImgDir="/images/install/fun/mts/";
sSiteDomain="http://mytotalsearch.com";
sSiteBarDomain="http://bar.mytotalsearch.com";
} else if (sProductCd.toUpperCase().endsWith("_FWB") || sProductCd.toUpperCase().endsWith("UP")) {
sProduct="My Web Search";
sImgDir="/images/install/fun/fwb/";
sSiteDomain="http://mywebsearch.com";
sSiteBarDomain="http://bar.mywebsearch.com";
} else {
sProduct="My Web Search";
sImgDir="/images/install/fun/mws/";
sSiteDomain="http://mywebsearch.com";
sSiteBarDomain="http://bar.mywebsearch.com";
}
if (sPartnerID.toUpperCase().startsWith("Z") && sPartnerID.length()>=12) {
sPartnerTest = sPartnerID.substring(8,10);
sPartnerID = sPartnerID.substring(0,8);
}
String sMWSImg="";
String sMWSImgAlreadyInstalled="";
String sHtmlBground="";
String sHtmlLogo="";
String sUrlMyWebSearchHub="";
String sMsgThanks="";
String sMsgBottom="";
String sMsgFooter="";
String sMsgThanksAlreadyInstalled="";
String sMsgBlurbAlreadyInstalled="";
String sMsgOptional="";
String sSuppressThxFlag="false";
String sBgColor="FFFFFF";
String sHelpUrl="";
sHelpUrl="http://help.popswatter.com/";
if (sProductCd.toUpperCase().endsWith("_FWB") || sProductCd.toUpperCase().endsWith("UP")) {
sHelpUrl+="fwb/";
}
sHtmlBground=">";
sHtmlLogo=" You should now see "+sProduct+" - featuring PopSwatter,
";
sUrlMyWebSearchHub="";
sMsgThanks="
and other cool tools - on your Web browser.";
sMsgBottom="
| Enjoy these other fun features - at your fingertips! |
";
} else {
sMWSImg="
";
}
sMWSImgAlreadyInstalled=sMWSImg;
sMsgFooter="AOL ISP users - don't see "+sProduct+"? Click hereHelp & Feedback
";
sMsgThanksAlreadyInstalled="It appears that you already have "+sProduct+" installed on your browser.";
if (sProductCd.toUpperCase().endsWith("_MTS")) {
sMsgBlurbAlreadyInstalled="";
} else {
sMsgBlurbAlreadyInstalled="
To add PopSwatter to your existing "+sProduct+", click here!";
}
if (sProductCd.toUpperCase().endsWith("_MTS") || sProductCd.toUpperCase().endsWith("_FWB") || sProductCd.toUpperCase().endsWith("UP")) {
sMsgBlurbAlreadyInstalled+="";
} else {
sMsgBlurbAlreadyInstalled+="
To download the latest version of PopSwatter click here.";
}
%>
| <%=sHtmlLogo%> |
<% } %>
|
|||||||||
";
} else {
sMWSImg="
";
}
sMWSImgAlreadyInstalled=sMWSImg;
sMsgFooter="AOL ISP users - don't see "+sProduct+"? Click here