
var pStart = new Array();

pStart[30] = "http://www.hrblock.com/loginRedirect.html?TaxType=TCL&FV=T&HT=F&";
pStart[32] = "http://www.hrblock.com/loginRedirect.html?TaxType=OPP&FV=T&HT=F&";
pStart[80] = "http://www.hrblock.com/loginRedirect.html?TaxType=OPS&FV=T&HT=F&";
pStart[33] = "http://www.hrblock.com/loginRedirect.html?TaxType=SIG&FV=T&HT=F&";
pStart[62] = "http://www.hrblock.com/loginRedirect.html?TaxType=PTS&FV=T&HT=F&";
pStart[44] = "http://www.hrblock.com/loginRedirect.html?TaxType=TCL&FV=T&HT=F&Target=ATA&";
pStart[69] = "http://www.hrblock.com/loginRedirect.html?TaxType=TCL&HT=F&FV=F&OtpExt=1&";

function productStartNow(requestedProductId)
{ 
    // Read the TCPartnerCookie to retrieve (if available) the otpPartnerId and other parms
    // that may have been passed into inital visit to taxcut.com.  The TCPartnerCookie is
    // written by code that is located in footer_taxcut_std.html.
    
    // if no cookie value is found, use otpPartnerId=2246&CID=XXXXXX
    
    var cookieValue = getBrowserCookie("taxcutQSCookie");    
    
    // Sometimes we pass additional name/value pairs to start now links which
    // need to be appended to the target start now link. 
    // Add additional parms to this method following one of these two methods:
    // productStartNow(31,"&newparm1=newvalue1","&newparm2=newvalue2");
    // productStartNow(31,"&newparm1=newvalue1&newparm2=newvalue2");
    
    var additionalParms = "";
    
    var args    = productStartNow.arguments;
    var argsLen = productStartNow.arguments.length;
            
    for(var i=0; i<argsLen; i++) 
    {       
        if (args[i].toString().charAt(0)=="&")
        { 
            additionalParms = args[i];
        }
    }
    
    var parms = "";
    
    parms += cookieValue;
    parms += additionalParms;
    parms += getLinkshareData("siteID", true, "time_entered", true);
    
    document.location = pStart[requestedProductId] + parms;

}