// JavaScript Document

var group1Checked, group2Checked, group3Checked, choice 

var list= new Array()

function createInformation(product1, product1Link, prod1desc, prod1price, product2, product2Link, prod2desc, prod2price, product3, product3Link, prod3desc, prod3price)
{
 //alert(product1Link);
  var product1url = "window.open(\"" + product1Link + "\" , \"_self\");";
  var product2url = "window.open(\"" + product2Link + "\" , \"_self\");";
  var product3url = "window.open(\"" + product3Link + "\" , \"_self\");";

  
  var linkage = "<div id='choice1' onclick='" +  product1url + "'><strong>" + product1 + "</strong><br />" + prod1desc + "<br /><span class='pricered'>" + prod1price + "</span> <span class='myindent'>(<a href='" + product1Link + "'>click to buy</a>)</span> </div><div id='choice2' onclick='" +  product2url + "'><strong>" + product2 + "</strong><br />" + prod2desc + "<br /><span class='pricered'>" + prod2price + "</span>  <span class='myindent'>(<a href='" + product2Link + "'>click to buy</a>)</span> </div><div id='choice3' onclick='" +  product3url + "'><strong>" + product3 + "</strong><br />" + prod3desc + "<br /><span class='pricered'>" + prod3price + "</span>  <span class='myindent'>(<a href='" + product3Link + "'>click to buy</a>)</span> </div>" ;

  return linkage;

}





function whichButton() {



var singlecardplanbasic = "Single Card Plan, Basic";
var singlecardplanbasicdesc = "Entitles you to basic Formulator functionality and to other features available in DRF Print";

var singlecardenhanced = "Single Card Plan, Enhanced";
var singlecardenhancedesc = "Entitles you to enhanced Formulator functionality including the Trainer Pattern Tool, Moss Pace Figures, the ability to access result charts from within the PPs, and more.";

var singlecardplandeluxe = "Single Card Plan, Deluxe";
var singlecardplandeluxedesc = "Entitles you to enhanced Formulator functionality plus the ability to access 10 video replays from within the PPs";

var singlecarddeluxeunlimitedreplays = "Single Card Plan, Deluxe with Unlimited Replays";
var singlecarddeluxeunlimitedreplaysdesc = "Entitles you to enhanced Formulator functionality plus the ability to access unlimited video replays from within the PPs";

var singlecardplandeluxe10replays = "Single Card Plan, Deluxe with 10 Replays";
var singlecardplandeluxe10replaysdesc = "Entitles you to enhanced Formulator functionality plus the ability to access 10 video replays from within the PPs";

var singlecardplandeluxe20replays = "Single Card Plan, Deluxe with 20 Replays";
var singlecardplandeluxe20replaysdesc = "Entitles you to enhanced Formulator functionality plus the ability to access 20 video replays from within the PPs";



var dailyplanbasic = "Daily Plan, Basic";
var dailyplandesc = "Entitles you to basic Formulator functionality and to other features available in DRF Print <br>  Allows you to access three cards of the same racing day  <br>  Price: $5.95";


var dailyplanenhanced = "Daily Plan, Enhanced";
var dailyplanenhancedesc = "Entitles you to enhanced Formulator functionality including the Trainer Pattern Tool, Moss Pace Figures, the ability to access result charts from within the PPs, and more.<br> Allows you to access three cards of the same racing day <br> Price: $8.95";



var monthly10cardplanbasic = "Monthly 10-Card Plan, Basic";
var monthly10cardplanbasicdesc = "Entitles you to basic Formulator functionality and to other features available in DRF Print<br> Allows access to 10 racecards within 30 days from the time of purchase <br> Price: $24.95";

var monthly10cardplanenhanced = "Monthly 10-Card Plan, Enhanced";
var monthly10cardplanenhancedesc = "Entitles you to enhanced Formulator functionality including the Trainer Pattern Tool, Moss Pace Figures, the ability to access result charts from within the PPs, and more. <br>Allows access to 10 racecards within 30 days from the time of purchase <br> Price: $37.95";

var monthly10cardplandeluxe = "Monthly 10-Card Plan, Deluxe";
var monthly10cardplandeluxedesc = "Entitles you to enhanced Formulator functionality plus the ability to access 10 video replays from within each racecard <br>Allows access to 10 racecards within 30 days from the time of purchase <br> Price: $49.95";



var monthly20cardplanbasic = "Monthly 20-Card Plan, Basic";
var monthly20cardplanbasicdesc = "Entitles you to basic Formulator functionality and to other features available in DRF Print <br> Allows access to 20 racecards within 30 days from the time of purchase<br>Price: $38.95";



var monthly20cardplanenhanced = "Monthly 20-Card Plan, Enhanced";
var monthly20cardplanenhancedesc = "Entitles you to enhanced Formulator functionality including the Trainer Pattern Tool, Moss Pace Figures, the ability to access result charts from within the PPs, and more.<br>Allows access to 20 racecards within 30 days from the time of purchase<br>Price: $59.95";

var monthly20cardplandeluxe = "Monthly 20-Card Plan, Deluxe";
var montly20cardplandeluxedesc = "Entitles you to enhanced Formulator functionality plus the ability to access 10 video replays from within each racecard <br> Allows access to 20 racecards within 30 days from the time of purchase <br> Price: $78.95";


var monthly60cardplanbasic = "Monthly 60-Card Plan, Basic";
var montly60cardplanbasicdesc = "Entitles you to basic Formulator functionality and to other features available in DRF Print <br>Allows access to 60 racecards within 30 days from the time of purchase <br>Price: $81.95 ";

var monthly60cardplandeluxe = "Monthly 60-Card Plan, Deluxe with 10 replays";
var monthly60cardplandeluxedesc = "Entitles you to enhanced Formulator functionality plus the ability to access 10 video replays from within each racecard<br>Allows access to 60 racecards within 30 days from the time of purchase<br>Price: $117.95";

var monthly60cardplanenhanced = "Monthly 60-Card Plan, Enhanced";
var monthly60cardplanenhancedesc = "Entitles you to enhanced Formulator functionality including the Trainer Pattern Tool, Moss Pace Figures, the ability to access result charts from within the PPs, and more.<br>Allows access to 60 racecards within 30 days from the time of purchase<br>Price: $147.95";

var monthlyunlimitedcardplanbasic = "Monthly Unlimited-Card Plan, Basic";
var monthlyunlimitedcardplanbasicdesc = "Entitles you to basic Formulator functionality and to other features available in DRF Print<br>Allows unlimited access to all racecards within 30 days from the time of purchase<br>Price: $99.95";


var monthlyunlimitedcardplanenhanced = "Monthly Unlimited-Card Plan, Enhanced";
var monthlyunlimitedcardplanenhancedesc = "Entitles you to enhanced Formulator functionality including the Trainer Pattern Tool, Moss Pace Figures, the ability to access result charts from within the PPs, and more.<br>Allows unlimited access to all racecards within 30 days from the time of purchase<br>Price: $149.95";


var monthlyunlimitedcardplandeluxe10replays = "Monthly Unlimited-Card Plan, Deluxe with 10 replays";
var monthlyunlimitedcardplandeluxe10replaysdesc = "Entitles you to enhanced Formulator functionality plus the ability to access 10 video replays from within each racecard<br>Allows unlimited access to all racecards within 30 days from the time of purchase<br>Price: $174.95";

var quartely30cardplandeluxe = "Quartely 30-Card Plan, Deluxe";
var quartely30cardplandeluxedesc = "Entitles you to enhanced Formulator functionality plus the ability to access 10 video replays from within each racecard <br>Allows access to 30 racecards within 90 days from the time of purchase <br> Price: $131.95";


var quartelyunlimitedcardplanbasic = "Quarterly Unlimited-Card Plan, Basic";
var quartelyunlimitedcardplanbasicdesc = "Entitles you to basic Formulator functionality and to other features available in DRF Print<br>Allows unlimited access to all racecards within 90 days from the time of purchase<br>Price: $269.95";


var quartelyunlimitedcardplanenhanced = "Quarterly Unlimited-Card Plan, Enhanced";
var quartelyunlimitedcardplanenhancedesc = "Entitles you to enhanced Formulator functionality including the Trainer Pattern Tool, Moss Pace Figures, the ability to access result charts from within the PPs, and more.<br>Allows unlimited access to all racecards within 90 days from the time of purchase<br>Price: $349.95";


var quartelyunlimitedcardplandeluxe10replays = "Quarterly Unlimited-Card Plan, Deluxe with 10 replays";
var quartelyunlimitedcardplandeluxe10replaysdesc = "Entitles you to enhanced Formulator functionality plus the ability to access 10 video replays from within each racecard<br>Allows unlimited access to all racecards within 90 days from the time of purchase<br>Price: $409.95"




var annual60cardbasic = "Annual 60-Card Plan, Basic";
var annual60cardbasicdesc = "Entitles you to basic Formulator functionality and to other features available in DRF Print<br> Allows access to 60 racecards within one year from the time of purchase <br> Price: $119.95";


var annual60cardenhanced = "Annual 60-Card Plan, Enhanced";
var annual60cardenhancedesc ="Entitles you to enhanced Formulator functionality including the Trainer Pattern Tool, Moss Pace Figures, the ability to access result charts from within the PPs, and more.<br> Allows access to 60 racecards within one year from the time of purchase <br> Price: $179.95";



var annual120cardbasic = "Annual 120-Card Plan, Basic";
var annual120cardbasicdesc = "Entitles you to basic Formulator functionality and to other features available in DRF Print <br>Allows access to 120 racecards within one year from the time of purchase <br> Price: $234.95";

var annual120cardenhanced = "Annual 120-Card Plan, Enhanced";
var annual120cardenhancedesc = "Entitles you to enhanced Formulator functionality including the Trainer Pattern Tool, Moss Pace Figures, the ability to access result charts from within the PPs, and more.<br>Allows access to 120 racecards within one year from the time of purchase<br>Price: $355.95";


var annual120carddeluxe = "Annual 120-Card Plan, Deluxe";
var annual120carddeluxedesc = "Entitles you to enhanced Formulator functionality plus the ability to access 10 video replays from within each racecard <br>Allows access to 120 racecards within one year from the time of purchase <br> Price: $488.95";


var annual120carddeluxe10replays = "Annual 120-Card Plan, Deluxe with 10 replays";
var annual120carddeluxe10replaysdesc = "";


var annual240cardbasic = "Annual 240-Card Plan, Basic";
var annual240cardbasicdesc = "Entitles you to basic Formulator functionality and to other features available in DRF Print <br>Allows access to 240 racecards within on year from the time of purchase<br>Price: $375.95";

var annual240cardenhanced = "Annual 240-Card Plan, Enhanced";
var annual240cardenhanceddesc = "Entitles you to enhanced Formulator functionality including the Trainer Pattern Tool, Moss Pace Figures, the ability to access result charts from within the PPs, and more.<br>Allows access to 240 racecards within one year from the time of purchase<br>Price: $596.95";


var annual240carddeluxe = "Annual 240-Card Plan, Deluxe";
var annual240carddeluxedesc = "Entitles you to enhanced Formulator functionality plus the ability to access 10 video replays from within each racecard<br>Allows access to 240 racecards within one year from the time of purchase<br>Price: $780.95";

var annualunlimitedcardplanbasic = "Annual Unlimited-Card Plan, Basic";
var annualunlimitedcardplanbasicdesc = "Entitles you to basic Formulator functionality and to other features available in DRF Print<br>Allows unlimited access to all racecards within one year from the time of purchase<br>Price: $999.95";


var annualunlimitedcardplanenhanced = "Annual Unlimited-Card Plan, Enhanced";
var annualunlimitedcardplanenhancedesc = "Entitles you to enhanced Formulator functionality including the Trainer Pattern Tool, Moss Pace Figures, the ability to access result charts from within the PPs, and more.<br>Allows unlimited access to all racecards within one year from the time of purchase<br>Price: $1,249.95";


var annualunlimitedcardplandeluxe10replays = "Annual Unlimited-Card Plan, Deluxe with 10 replays";
var annualunlimitedcardplandeluxe10replaysdesc = "Entitles you to enhanced Formulator functionality plus the ability to access 10 video replays from within each racecard<br> Allows unlimited access to all racecards within one year from the time of purchase<br>Price: $1,490.95";

var annualunlimitedcardplandeluxe20replays = "Annual Unlimited-Card Plan, Deluxe with 20 replays";
var annualunlimitedcardplandeluxe20replaysdesc = "Entitles you to enhanced Formulator functionality plus the ability to access 20 video replays from within each racecard<br> Allows unlimited access to all racecards within one year from the time of purchase<br>Price: $1,549.95";

var annualunlimitedcardplandeluxe30replays = "Annual Unlimited-Card Plan, Deluxe with 30 replays";
var annualunlimitedcardplandeluxe30replaysdesc = "Entitles you to enhanced Formulator functionality plus the ability to access 30 video replays from within each racecard <br>Allows unlimited access to all racecards within one year from the time of purchase<br>Price: $1,599.95";

// Variables for prices per card

var _027Price = "Price Per Card: $0.27 (based on 10 cards/day)";
var _030Price = "Price Per Card: $0.30 (based on 10 cards/day)";
var _033Price = "Price Per Card: $0.33 (based on 10 cards/day)";
var _034Price = "Price Per Card: $0.34 (based on 10 cards/day)";
var _038Price = "Price Per Card: $0.38 (based on 10 cards/day)";
var _041Price = "Price Per Card: $0.41 (based on 10 cards/day)";
var _042Price = "Price Per Card: $0.42 (based on 10 cards/day)";
var _044Price = "Price Per Card: $0.44 (based on 10 cards/day)";
var _045Price = "Price Per Card: $0.45 (based on 10 cards/day)";
var _049Price = "Price Per Card: $0.49 (based on 10 cards/day)";
var _057Price = "Price Per Card: $0.57 (based on 10 cards/day)";

var _mb10Price = "Price Per Card: $2.50";
var _mb20Price = "Price Per Card: $1.95";
var _mb60Price = "Price Per Card: $1.37";
var _me10Price = "Price Per Card: $3.80";
var _me20Price = "Price Per Card: $3.00";
var _me60Price = "Price Per Card: $1.95";
var _md10Price = "Price Per Card: $5.00";
var _md20Price = "Price Per Card: $3.95";
var _md60Price = "Price Per Card: $2.47";

var _qb30Price = "Price Per Card: $2.20";
var _qb60Price = "Price Per Card: $1.73";
var _qb180Price = "Price Per Card: $1.22";
var _qe30Price = "Price Per Card: $3.40";
var _qe60Price = "Price Per Card: $2.75";
var _qe180Price = "Price Per Card: $1.77";
var _qd30Price = "Price Per Card: $4.44";

var _ab60Price = "Price Per Card: $2.00";
var _ab120Price = "Price Per Card: $1.96";
var _ab240Price = "Price Per Card: $1.57";
var _ae60Price = "Price Per Card: $3.00";
var _ae120Price = "Price Per Card: $2.97";
var _ae240Price = "Price Per Card: $2.49";
var _ad120Price = "Price Per Card: $4.07";
var _ad240Price = "Price Per Card: $3.25";

// some of the ones below are no longer in use.
//var _125Price = "Price Per Card: $1.25";
var _198Price = "Price Per Card: $1.98";
var _216Price = "Price Per Card: $2.16";
var _240Price = "Price Per Card: $2.40";
var _267Price = "Price Per Card: $2.67";
var _283Price = "Price Per Card: $2.83";
var _295Price = "Price Per Card: $2.95";   
var _298Price = "Price Per Card: $2.98";
var _300Price = "Price Per Card: $3.00";
var _315Price = "Price Per Card: $3.15";
var _354Price = "Price Per Card: $3.54";
var _367Price = "Price Per Card: $3.67";
var _400Price = "Price Per Card: $4.00";
var _450Price = "Price Per Card: $4.50" ; 
var _550Price = "Price Per Card: $5.50";
var _650Price = "Price Per Card: $6.50";
var _1050Price = "Price Per Card: $10.50";



list["aaa"] = createInformation(singlecardplanbasic, "http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Basic_P1607C1037.cfm", singlecardplanbasicdesc, _295Price, dailyplanbasic, "http://store.drf.com/acb/stores/1/Daily_Plan_-_3_Tracks_-_Basic_P147C1037.cfm", dailyplandesc,_198Price, singlecardenhanced, "http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Premium_P5734C1037.cfm", singlecardenhancedesc ,  _450Price);

list["aab"] = createInformation(singlecardenhanced,"http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Premium_P5734C1037.cfm",
singlecardenhancedesc, _450Price, singlecardplandeluxe, "http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Deluxe_with_P19976.cfm",singlecardplandeluxedesc,_550Price,dailyplanenhanced,
"http://store.drf.com/acb/stores/1/Daily_Plan_-_3_Tracks_-_Premiu_P4726C1037.cfm",dailyplanenhancedesc, _298Price)


list["aac"] = createInformation(singlecarddeluxeunlimitedreplays, "http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Deluxe_with_P19974.cfm", singlecarddeluxeunlimitedreplaysdesc, _1050Price, singlecardplandeluxe20replays, "http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Deluxe_with_P19975.cfm", singlecardplandeluxe20replaysdesc, _650Price, singlecardplandeluxe10replays, "http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Deluxe_with_P19976.cfm",singlecardplandeluxe10replaysdesc, _550Price)

list["aba"] = createInformation(singlecardplanbasic, "http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Basic_P1607C1037.cfm",  singlecardplanbasicdesc, _295Price, monthly10cardplanbasic, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P227C1046.cfm",monthly10cardplanbasicdesc, _mb10Price, annual60cardbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_60_Racecards_-_B_P20064C1048.cfm",annual60cardbasicdesc, _ab60Price)


list["abb"] = createInformation(singlecardenhanced, "http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Premium_P5734C1037.cfm",singlecardenhancedesc,_450Price, monthly10cardplanenhanced, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P5735C1046.cfm",monthly10cardplanenhancedesc, _me10Price, annual60cardenhanced, "http://store.drf.com/acb/stores/1/Annual_Plan_-_60_Racecards_-_E_P20065C1048.cfm",annual60cardenhancedesc, _ae60Price)


list["abc"] = createInformation(singlecardplandeluxe, "http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Deluxe_with_P19976.cfm", singlecardplandeluxedesc, _550Price, monthly10cardplandeluxe , "http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P19939C1046.cfm",monthly10cardplandeluxedesc, _md10Price, quartely30cardplandeluxe, "http://store.drf.com/acb/stores/1/Quarterly_Plan_-_30_Racecards__P19961C1047.cfm",quartely30cardplandeluxedesc, _qd30Price)



list["aca"] = createInformation(annual60cardbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_60_Racecards_-_B_P20064C1048.cfm", annual60cardbasicdesc, _ab60Price, annual120cardbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_120_Racecards_-__P232C1048.cfm",annual120cardbasicdesc, _ab120Price, monthly10cardplanbasic, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P227C1046.cfm", monthly10cardplanbasicdesc, _mb10Price) 



list["acb"] = createInformation(annual60cardenhanced, "http://store.drf.com/acb/stores/1/Annual_Plan_-_60_Racecards_-_E_P20065C1048.cfm",annual60cardenhancedesc, _ae60Price, annual120cardenhanced , "http://store.drf.com/acb/stores/1/Annual_Plan_-_120_Racecards_-__P5745C1048.cfm", annual120cardenhancedesc, _ae120Price, monthly10cardplanenhanced, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P5735C1046.cfm",monthly10cardplanenhancedesc, _me10Price) 



list["acc"] = createInformation(annual120carddeluxe, "http://store.drf.com/acb/stores/1/Annual_Plan_-_120_Racecards_-__P19973C1048.cfm",annual120carddeluxedesc, _ad120Price, quartely30cardplandeluxe, "http://store.drf.com/acb/stores/1/Quarterly_Plan_-_30_Racecards__P19961C1047.cfm", quartely30cardplandeluxedesc, _qd30Price, monthly10cardplandeluxe, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P19939C1046.cfm",monthly10cardplandeluxedesc, _md10Price) 



list["ada"] = createInformation(annual120cardbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_120_Racecards_-__P232C1048.cfm",annual120cardbasicdesc, _ab120Price, annual240cardbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_240_Racecards_-__P1637C1048.cfm",annual240cardbasicdesc, _ab240Price, monthly10cardplanbasic, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P227C1046.cfm",monthly10cardplanbasicdesc, _mb10Price) 


list["adb"] = createInformation(annual120cardenhanced, "http://store.drf.com/acb/stores/1/Annual_Plan_-_120_Racecards_-_P5745C1048.cfm",annual120cardenhancedesc,
_ae120Price,annual240cardenhanced,"http://store.drf.com/acb/stores/1/Annual_Plan_-_240_Racecards_-_P5746C1048.cfm",annual240cardenhanceddesc,_ae240Price,monthly10cardplanenhanced,"http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-_P5735C1046.cfm",monthly10cardplanenhancedesc,_me10Price                                                                                                                               ) 


list["adc"] = createInformation(annual120carddeluxe," http://store.drf.com/acb/stores/1/Annual_Plan_-_120_Racecards_-__P19973C1048.cfm",annual120carddeluxedesc, _ad120Price, annual240carddeluxe, " http://store.drf.com/acb/stores/1/Annual_Plan_-_240_Racecards_-__P19970C1048.cfm",annual240carddeluxedesc, _ad240Price, monthly10cardplandeluxe, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P19939C1046.cfm",monthly10cardplandeluxedesc, _md10Price) 

list["aea"] = createInformation(annualunlimitedcardplanbasic, " http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P233C1048.cfm",annualunlimitedcardplanbasicdesc, _027Price, quartelyunlimitedcardplanbasic , " http://store.drf.com/acb/stores/1/Quarterly_Plan_-_Unlimited_Rac_P231C1047.cfm", quartelyunlimitedcardplanbasicdesc,_030Price,monthlyunlimitedcardplanbasic, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_Unlimited_Racec_P229C1046.cfm",monthlyunlimitedcardplanbasicdesc,_033Price) 

list["aeb"] = createInformation(annualunlimitedcardplanenhanced, " http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P5748C1048.cfm",annualunlimitedcardplanenhancedesc,_034Price,quartelyunlimitedcardplanenhanced, " http://store.drf.com/acb/stores/1/Quarterly_Plan_-_Unlimited_Rac_P5744C1047.cfm",quartelyunlimitedcardplanenhancedesc,_038Price, monthlyunlimitedcardplanenhanced , " http://store.drf.com/acb/stores/1/Monthly_Plan_-_Unlimited_Racec_P5738C1046.cfm",monthlyunlimitedcardplanenhancedesc,_049Price ) 

list["aec"] = createInformation(annualunlimitedcardplandeluxe10replays, " http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P19964C1048.cfm", annualunlimitedcardplandeluxe10replaysdesc, _041Price,annualunlimitedcardplandeluxe20replays, " http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P19963C1048.cfm",annualunlimitedcardplandeluxe20replaysdesc, _042Price, annualunlimitedcardplandeluxe30replays, " http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P19962C1048.cfm",annualunlimitedcardplandeluxe30replaysdesc,_044Price) 

 
list["baa"] = createInformation(dailyplanbasic, " http://store.drf.com/acb/stores/1/Daily_Plan_-_3_Tracks_-_Basic_P147C1037.cfm", dailyplandesc, _198Price, dailyplanenhanced, " http://store.drf.com/acb/stores/1/Daily_Plan_-_3_Tracks_-_Premiu_P4726C1037.cfm",dailyplanenhancedesc, _298Price, singlecardplanbasic, " http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Basic_P1607C1037.cfm",singlecardplanbasicdesc,_295Price) 

list["bab"] = createInformation(dailyplanenhanced, " http://store.drf.com/acb/stores/1/Daily_Plan_-_3_Tracks_-_Premiu_P4726C1037.cfm",dailyplanenhancedesc,_298Price, monthly10cardplanenhanced, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P5735C1046.cfm",monthly10cardplanenhancedesc, _me10Price, singlecardenhanced, " http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Premium_P5734C1037.cfm",singlecardenhancedesc,_450Price) 

list["bac"] = createInformation(monthly10cardplandeluxe, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P19939C1046.cfm",monthly10cardplandeluxedesc,_md10Price,singlecarddeluxeunlimitedreplays, " http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Deluxe_with_P19974.cfm",singlecarddeluxeunlimitedreplaysdesc, _1050Price, singlecardplandeluxe20replays, " http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Deluxe_with_P19975.cfm",singlecardplandeluxe20replaysdesc,_650Price) 

list["bba"] = createInformation(annual60cardbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_60_Racecards_-_B_P20064C1048.cfm",annual60cardbasicdesc, _ab60Price, monthly10cardplanbasic, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P227C1046.cfm",monthly10cardplanbasicdesc, _mb10Price, dailyplanbasic, " http://store.drf.com/acb/stores/1/Daily_Plan_-_3_Tracks_-_Basic_P147C1037.cfm",dailyplandesc,_198Price) 

list["bbb"] = createInformation(annual60cardenhanced, "http://store.drf.com/acb/stores/1/Annual_Plan_-_60_Racecards_-_E_P20065C1048.cfm",annual60cardenhancedesc, _ae60Price,monthly10cardplanenhanced, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P5735C1046.cfm",monthly10cardplanenhancedesc, _me10Price, dailyplanenhanced, " http://store.drf.com/acb/stores/1/Daily_Plan_-_3_Tracks_-_Premiu_P4726C1037.cfm",dailyplanenhancedesc,_298Price) 

list["bbc"] = createInformation(quartely30cardplandeluxe, "http://store.drf.com/acb/stores/1/Quarterly_Plan_-_30_Racecards__P19961C1047.cfm",quartely30cardplandeluxedesc, _qd30Price,monthly20cardplandeluxe, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_20_Racecards_-__P19941C1046.cfm",montly20cardplandeluxedesc,_md20Price,monthly10cardplandeluxe, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P19939C1046.cfm",monthly10cardplandeluxedesc,_md10Price) 

list["bca"] = createInformation(annual240cardbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_240_Racecards_-__P1637C1048.cfm",annual240cardbasicdesc,_ab240Price, annual120cardbasic, " http://store.drf.com/acb/stores/1/Annual_Plan_-_120_Racecards_-__P232C1048.cfm",annual120cardbasicdesc,_ab120Price, monthly20cardplanbasic, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_20_Racecards_-__P1580C1046.cfm",monthly20cardplanbasicdesc,_mb20Price) 

list["bcb"] = createInformation(annual240cardenhanced, "http://store.drf.com/acb/stores/1/Annual_Plan_-_240_Racecards_-__P5746C1048.cfm",annual240cardenhanceddesc, _ae240Price, annual120cardenhanced, " http://store.drf.com/acb/stores/1/Annual_Plan_-_120_Racecards_-__P5745C1048.cfm",annual120cardenhancedesc, _ae120Price,  monthly20cardplanenhanced, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_20_Racecards_-__P5736C1046.cfm",monthly20cardplanenhancedesc,_me20Price) 

list["bcc"] = createInformation(annual240carddeluxe, "http://store.drf.com/acb/stores/1/Annual_Plan_-_240_Racecards_-__P19970C1048.cfm",annual240carddeluxedesc,_ad240Price, annual120carddeluxe, " http://store.drf.com/acb/stores/1/Annual_Plan_-_120_Racecards_-__P19973C1048.cfm",annual120carddeluxedesc,_ad120Price, monthly20cardplandeluxe, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_20_Racecards_-__P19941C1046.cfm",montly20cardplandeluxedesc,_md20Price) 

list["bda"] = createInformation(annualunlimitedcardplanbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P233C1048.cfm",annualunlimitedcardplanbasicdesc,_027Price, annual240cardbasic, " http://store.drf.com/acb/stores/1/Annual_Plan_-_240_Racecards_-__P1637C1048.cfm",annual240cardbasicdesc,_ab240Price, monthly20cardplanbasic, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_20_Racecards_-__P1580C1046.cfm",monthly20cardplanbasicdesc,_mb20Price) 
 
list["bdb"] = createInformation(annualunlimitedcardplanenhanced, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P5748C1048.cfm",annualunlimitedcardplanenhancedesc,_034Price, annual240cardenhanced, " http://store.drf.com/acb/stores/1/Annual_Plan_-_240_Racecards_-__P5746C1048.cfm", annual240cardenhanceddesc,_ae240Price,monthly20cardplanenhanced, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_20_Racecards_-__P5736C1046.cfm", monthly20cardplanenhancedesc,_me20Price) 

list["bdc"] = createInformation(annualunlimitedcardplandeluxe10replays, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P19964C1048.cfm", annualunlimitedcardplandeluxe10replaysdesc, _041Price, annual240carddeluxe, " http://store.drf.com/acb/stores/1/Annual_Plan_-_240_Racecards_-__P19970C1048.cfm", annual240carddeluxedesc, _ad240Price,monthly20cardplandeluxe, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_20_Racecards_-__P19941C1046.cfm", montly20cardplandeluxedesc, _md20Price) 

list["bea"] = createInformation(annualunlimitedcardplanbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P233C1048.cfm", annualunlimitedcardplanbasicdesc, _027Price, monthlyunlimitedcardplanbasic, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_Unlimited_Racec_P229C1046.cfm",monthlyunlimitedcardplanbasicdesc, _033Price,  monthly60cardplanbasic, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_60_Racecards_-__P228C1046.cfm",montly60cardplanbasicdesc,_mb60Price) 
 
 
list["beb"] = createInformation(annualunlimitedcardplanenhanced, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P5748C1048.cfm",annualunlimitedcardplanenhancedesc, _034Price, monthlyunlimitedcardplanenhanced, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_Unlimited_Racec_P5738C1046.cfm",monthlyunlimitedcardplanenhancedesc, _049Price,monthly60cardplanenhanced, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_60_Racecards_-__P5737C1046.cfm",monthly60cardplanenhancedesc, _me60Price) 

list["bec"] = createInformation(annualunlimitedcardplandeluxe10replays, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P19964C1048.cfm", annualunlimitedcardplandeluxe10replaysdesc, _041Price, monthlyunlimitedcardplandeluxe10replays, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_Unlimited_Racec_P19949C1046.cfm",monthlyunlimitedcardplandeluxe10replaysdesc, _057Price, monthly60cardplandeluxe, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_60_Racecards_-__P19946C1046.cfm",monthly60cardplandeluxedesc,_md60Price) 

list["caa"] = createInformation(dailyplanbasic, "http://store.drf.com/acb/stores/1/Daily_Plan_-_3_Tracks_-_Basic_P147C1037.cfm",dailyplandesc, _198Price,  dailyplanenhanced, "http://store.drf.com/acb/stores/1/Daily_Plan_-_3_Tracks_-_Premiu_P4726C1037.cfm",  dailyplanenhancedesc, _298Price, singlecardplanbasic, "http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Basic_P1607C1037.cfm",singlecardplanbasicdesc,_295Price) 

list["cab"] = createInformation(dailyplanenhanced, "http://store.drf.com/acb/stores/1/Daily_Plan_-_3_Tracks_-_Premiu_P4726C1037.cfm",dailyplanenhancedesc, _298Price, monthly10cardplanenhanced, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P5735C1046.cfm",monthly10cardplanenhancedesc, _me10Price, singlecardenhanced, " http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Premium_P5734C1037.cfm",singlecardenhancedesc,_450Price) 

list["cac"] = createInformation(monthly10cardplandeluxe, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P19939C1046.cfm",monthly10cardplandeluxedesc, _md10Price, singlecarddeluxeunlimitedreplays, "http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Deluxe_with_P19974.cfm",singlecarddeluxeunlimitedreplaysdesc, _1050Price, singlecardplandeluxe20replays, " http://store.drf.com/acb/stores/1/Single_Card_Plan_-_Deluxe_with_P19975.cfm",singlecardplandeluxe20replaysdesc,_650Price) 
 
list["cba"] = createInformation(annual60cardbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_60_Racecards_-_B_P20064C1048.cfm",annual60cardbasicdesc, _ab60Price, annual120cardbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_120_Racecards_-__P232C1048.cfm",annual120cardbasicdesc, _ab120Price,monthly20cardplanbasic, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_20_Racecards_-__P1580C1046.cfm",monthly20cardplanbasicdesc,_mb20Price)


list["cbb"] = createInformation(annual60cardenhanced,"http://store.drf.com/acb/stores/1/Annual_Plan_-_60_Racecards_-_E_P20065C1048.cfm", annual60cardenhancedesc,_ae60Price,annual120cardenhanced,"http://store.drf.com/acb/stores/1/Annual_Plan_-_120_Racecards_-__P5745C1048.cfm", annual120cardenhancedesc,_ae120Price,monthly20cardplanenhanced,"http://store.drf.com/acb/stores/1/Monthly_Plan_-_20_Racecards_-__P5736C1046.cfm",monthly20cardplanenhancedesc,_me20Price)

 
list["cbc"] = createInformation(annual120carddeluxe, "http://store.drf.com/acb/stores/1/Annual_Plan_-_120_Racecards_-__P19973C1048.cfm",annual120carddeluxedesc, _ad120Price, monthly20cardplandeluxe, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_20_Racecards_-__P19941C1046.cfm", montly20cardplandeluxedesc , _md20Price,  monthly10cardplandeluxe, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_10_Racecards_-__P19939C1046.cfm",monthly10cardplandeluxedesc,_md10Price) 

list["cca"] = createInformation(annualunlimitedcardplanbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P233C1048.cfm",annualunlimitedcardplanbasicdesc, _027Price, annual240cardbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_240_Racecards_-__P1637C1048.cfm",annual240cardbasicdesc,_ab240Price, monthly20cardplanbasic, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_20_Racecards_-__P1580C1046.cfm",monthly20cardplanbasicdesc,_mb20Price)  

list["ccb"] = createInformation(annualunlimitedcardplanenhanced, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P5748C1048.cfm",annualunlimitedcardplanenhancedesc ,_034Price, annual240cardenhanced, " http://store.drf.com/acb/stores/1/Annual_Plan_-_240_Racecards_-__P5746C1048.cfm",annual240cardenhanceddesc,_ae240Price, monthly20cardplanenhanced, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_20_Racecards_-__P5736C1046.cfm",monthly20cardplanenhancedesc,_me20Price)  

list["ccc"] = createInformation(annualunlimitedcardplandeluxe10replays, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P19964C1048.cfm",annualunlimitedcardplandeluxe10replaysdesc, _041Price, annual240carddeluxe , "http://store.drf.com/acb/stores/1/Annual_Plan_-_240_Racecards_-__P19970C1048.cfm",annual240carddeluxedesc,_ad240Price, monthly20cardplandeluxe, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_20_Racecards_-__P19941C1046.cfm",montly20cardplandeluxedesc,_md20Price)  
 
 
list["cda"] = createInformation(annualunlimitedcardplanbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P233C1048.cfm",annualunlimitedcardplanbasicdesc,_027Price ,monthlyunlimitedcardplanbasic, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_Unlimited_Racec_P229C1046.cfm",monthlyunlimitedcardplanbasicdesc,_033Price, monthly60cardplanbasic, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_60_Racecards_-__P228C1046.cfm",montly60cardplanbasicdesc,_mb60Price)  

list["cdb"] = createInformation(annualunlimitedcardplanenhanced, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P5748C1048.cfm",annualunlimitedcardplanenhancedesc,_034Price, monthlyunlimitedcardplanenhanced, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_Unlimited_Racec_P5738C1046.cfm",monthlyunlimitedcardplanenhancedesc,_049Price, monthly60cardplanenhanced, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_60_Racecards_-__P5737C1046.cfm",monthly60cardplanenhancedesc,_me60Price)   

list["cdc"] = createInformation(annualunlimitedcardplandeluxe10replays, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P19964C1048.cfm",annualunlimitedcardplandeluxe10replaysdesc,_041Price, monthlyunlimitedcardplandeluxe10replays, "http://store.drf.com/acb/stores/1/Monthly_Plan_-_Unlimited_Racec_P19949C1046.cfm",monthlyunlimitedcardplandeluxe10replaysdesc,_057Price, monthly60cardplandeluxe, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_60_Racecards_-__P19946C1046.cfm",monthly60cardplandeluxedesc,_md60Price)   

list["cea"] = createInformation(annualunlimitedcardplanbasic, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P233C1048.cfm",annualunlimitedcardplanbasicdesc,_027Price, quartelyunlimitedcardplanbasic, "http://store.drf.com/acb/stores/1/Quarterly_Plan_-_Unlimited_Rac_P231C1047.cfm",quartelyunlimitedcardplanbasicdesc,_030Price, monthlyunlimitedcardplanbasic, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_Unlimited_Racec_P229C1046.cfm",monthlyunlimitedcardplanbasicdesc,_033Price)   
 
 
list["ceb"] = createInformation(annualunlimitedcardplanenhanced, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P5748C1048.cfm",annualunlimitedcardplanenhancedesc,_034Price, quartelyunlimitedcardplanenhanced, "http://store.drf.com/acb/stores/1/Quarterly_Plan_-_Unlimited_Rac_P5744C1047.cfm",quartelyunlimitedcardplanenhancedesc,_038Price,monthlyunlimitedcardplanenhanced, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_Unlimited_Racec_P5738C1046.cfm",monthlyunlimitedcardplanenhancedesc,_049Price)  

list["cec"] = createInformation(annualunlimitedcardplandeluxe10replays, "http://store.drf.com/acb/stores/1/Annual_Plan_-_Unlimited_Raceca_P19964C1048.cfm",annualunlimitedcardplandeluxe10replaysdesc,_041Price, quartelyunlimitedcardplandeluxe10replays, "http://store.drf.com/acb/stores/1/Quarterly_Plan_-_Unlimited_Rac_P19953C1047.cfm ",quartelyunlimitedcardplandeluxe10replaysdesc, _045Price, monthlyunlimitedcardplandeluxe10replays, " http://store.drf.com/acb/stores/1/Monthly_Plan_-_Unlimited_Racec_P19949C1046.cfm",monthlyunlimitedcardplandeluxe10replaysdesc,_057Price)  
  

 
 

	for (var i=0; i<document.myform.group1.length; i++) {
	
		if (document.myform.group1[i].checked) {
		group1Checked = document.myform.group1[i].value
		
		}
		
	}
	
	
	for (var i=0; i<document.myform.group2.length; i++) {
	
		if (document.myform.group2[i].checked) {
		group2Checked = document.myform.group2[i].value
		}
		
	}
	
	
	
	for (var i=0; i<document.myform.group3.length; i++) {
	
		if (document.myform.group3[i].checked) {
		group3Checked = document.myform.group3[i].value
		}
		
	}
	
	
	
	
	if(!group1Checked || !group2Checked || !group3Checked){ //if group1Checked does not equal null
	alert("Please select one option in each category")
	}
	else{
	choice = group1Checked+group2Checked+group3Checked	
	printnewpage();
	}
	
	
	
}


function printnewpage() { 
document.getElementById("heading").innerHTML = "YOUR PERSONALIZED RESULTS";
document.getElementById("desc").innerHTML = "<p>Here are the three best-priced options for you. If you’d still like to see a list of all DRF.com past performance options, <a class='body' href='http://store.drf.com/acb/stores/1/Past_Performances_C1037.cfm'>click here</a>. Or, if you're a new member, purchase the <a class='body' href='http://store.drf.com/acb/stores/1/Trial_Plan_P141.cfm'>Trial Plan</a>.</p>";


var content2 = list[choice];
var backbtn_content = '<p id="backbtn"><a href="index.html"><img src="images/tryagainbtn.jpg" width="161" height="48" alt="Try the questionaire again" /></a></p>'; 
var viewallbtn_content = '<p><a href="http://store.drf.com/acb/stores/1/Past_Performances_C1037.cfm"><img src="images/viewallbtn.jpg" width="254" height="48" alt="View all PPs" /></a></p>';


//document.write(content1 + content2 + content3);
document.getElementById("formcontent").style.display = "none";
document.getElementById("resultsect").innerHTML = content2 + backbtn_content;
document.getElementById("viewallbtnsect").innerHTML = viewallbtn_content;

}


function backbtn(){
  document.getElementById("resultsect").style.display = "none";
  document.getElementById("formcontent").style.display = "none";
	
}
