function sendTo(formName)
{
    // This function is used to forward requests to Digital River.
    // If this function receives a second parm, it is a boolean indicating if this is a learn more request instead of add to cart
    
    var bLearnMore  = false;
    
    if (arguments.length == 2)
    {
        bLearnMore = arguments[1];  // valid values for the second parm is true or false
    }
    
    var destURL = "window.location";
    
    var linkshareParms  = getLinkshareData("API2", true, "time_entered", false);


    var std_only_dl         = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1303304&PID=&PN=1&SP=10034&SID=1478&CUR=840&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var std_only_cd         = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1303305&PID=&PN=1&SP=10034&SID=1478&CUR=840&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var std_only_learn      = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=666835&PID=666835&PN=1&SP=10023&SID=1478&CUR=840";
    
    var del_only_dl         = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1412427&PID=&PN=1&SP=10034&SID=1478&CUR=840&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var del_only_cd         = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1412428&PID=&PN=1&SP=10034&SID=1478&CUR=840&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var del_only_learn      = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=772487&PID=772487&PN=1&SP=10023&SID=1478&CUR=840";
    
    var pre_only_dl         = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1412432&PID=&PN=1&SP=10034&SID=1478&CUR=840&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var pre_only_cd         = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1303309&PID=&PN=1&SP=10034&SID=1478&CUR=840&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var pre_only_learn      = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=772491&PID=772491&PN=1&SP=10023&SID=1478&CUR=840";
    
    var del_plus_dl         = "http://store.taxcut.com/dr/v2/ec_MAIN.Entry17c?CID=0&SID=1478&SP=10007&PN=21&PID=1420217";
    var del_plus_cd         = "http://store.taxcut.com/dr/v2/ec_MAIN.Entry17c?CID=0&SID=1478&SP=10007&PN=21&PID=1420218";
    var del_plus_learn      = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=666836&PID=666836&PN=1&SP=10023&SID=1478&CUR=840";
    
    var pre_plus_dl         = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1303308&PID=&PN=1&SP=10034&SID=1478&CUR=840&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var pre_plus_cd         = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1303309&PID=&PN=1&SP=10034&SID=1478&CUR=840&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var pre_plus_learn      = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=666837&PID=666837&PN=1&SP=10023&SID=1478&CUR=840";

    var bus_plus_dl         = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1303312&PID=&PN=1&SP=10034&SID=1478&CUR=840&CID=0&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var bus_plus_cd         = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1303313&PID=&PN=1&SP=10034&SID=1478&CUR=840&CID=0&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var bus_plus_learn      = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=666839&PID=666839&PN=1&SP=10023&SID=1478&CUR=840&CID=0";
    
    var dedpro_only_dl      = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1303315&PID=&PN=1&SP=10034&SID=1478&CUR=840&CID=0&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var dedpro_only_cd      = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1303316&PID=&PN=1&SP=10034&SID=1478&CUR=840&CID=0&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var dedpro_only_learn   = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=666841&PID=666841&PN=1&SP=10023&SID=1478&CUR=840&CID=0";
    
    var legalpro_only_dl    = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1413397&PID=&PN=1&SP=10034&SID=1478&CUR=840&CID=0&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var legalpro_only_cd    = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=1413398&PID=&PN=1&SP=10034&SID=1478&CUR=840&CID=0&S1=NOPRICESELLSAVTXTSTOCKQTY";
    var legalpro_only_learn = "http://store.taxcut.com/dr/v2/ec_Main.Entry17c?V1=773196&PID=773196&PN=1&SP=10023&SID=1478&CUR=840&CID=0";

    if (formName=="standard_only")
    {   
        if (bLearnMore)
        {
            destURL = tagOnPartnerCID(std_only_learn);
        }
        else if (document.getElementById('std_only_dl').checked==true)
        {   destURL = tagOnPartnerCID(std_only_dl);
        }
        else if (document.getElementById('std_only_cd').checked==true)
        {   destURL = tagOnPartnerCID(std_only_cd);
        }
    }
    else if (formName=="deluxe_only")
    {
        if (bLearnMore)
        {
            destURL = tagOnPartnerCID(del_only_learn);
        }
        else if (document.getElementById('del_only_dl').checked==true)
        {   destURL = tagOnPartnerCID(del_only_dl);
        }
        else if (document.getElementById('del_only_cd').checked==true)
        {   destURL = tagOnPartnerCID(del_only_cd);
        }
    }
    else if (formName=="premium_only")
    {
        if (bLearnMore)
        {
            destURL = tagOnPartnerCID(pre_only_learn);
        }
        else if (document.getElementById('pre_only_dl').checked==true)
        {   destURL = tagOnPartnerCID(pre_only_dl);
        }
        else if (document.getElementById('pre_only_cd').checked==true)
        {   destURL = tagOnPartnerCID(pre_only_cd);
        }
    }
    else if (formName=="deluxe_plus")
    {
        if (bLearnMore)
        {
            destURL = tagOnPartnerCID(del_plus_learn);
        }
        else if (document.getElementById('del_plus_dl').checked==true)
        {   destURL = tagOnPartnerCID(del_plus_dl);
        }
        else if (document.getElementById('del_plus_cd').checked==true)
        {   destURL = tagOnPartnerCID(del_plus_cd);
        }
    }
    else if (formName=="premium_plus")
    {
        if (bLearnMore)
        {
            destURL = tagOnPartnerCID(pre_plus_learn);
        }
        else if (document.getElementById('pre_plus_dl').checked==true)
        {   destURL = tagOnPartnerCID(pre_plus_dl);
        }
        else if (document.getElementById('pre_plus_cd').checked==true)
        {   destURL = tagOnPartnerCID(pre_plus_cd);
        }

    }
    else if (formName=="business_plus")
    {
        if (bLearnMore)
        {
            destURL = bus_plus_learn;
        }
        else if (document.getElementById('bus_plus_dl').checked==true)
        {   destURL = bus_plus_dl;
        }
        else if (document.getElementById('bus_plus_cd').checked==true)
        {   destURL = bus_plus_cd;
        }
    }
    else if (formName=="dedpro_only")
    {
        if (bLearnMore)
        {
            destURL = dedpro_only_learn;
        }
        else if (document.getElementById('dedpro_only_dl').checked==true)
        {   destURL = dedpro_only_dl;
        }
        else if (document.getElementById('dedpro_only_cd').checked==true)
        {   destURL = dedpro_only_cd;
        }
    }
    else if (formName=="legalpro_only")
    {
        if (bLearnMore)
        {
            destURL = legalpro_only_learn;
        }
        else if (document.getElementById('legalpro_only_dl').checked==true)
        {   destURL = legalpro_only_dl;
        }
        else if (document.getElementById('legalpro_only_cd').checked==true)
        {   destURL = legalpro_only_cd;
        }
    }
    
    window.location = destURL + linkshareParms;    
    
}