// Install this file as "ratings.js" in the scripts/ directory

// STAR AND BAR CHART RATINGS
//
var AdultRatings = new Array(NumPlans+1);
var ChildRatings = new Array(NumPlans+1);
var ExpRatings = new Array(NumPlans+1);

var AdultStars = new Array(NumPlans+1);
var ChildStars = new Array(NumPlans+1);
var ExpStars = new Array(NumPlans+1);

// Order of values in quotes:  "big problems, small problems,  no problems"
AdultStars[1] = new Array(1,2,1,1,2,1,1); // adult stars for plan 1, topics 1-7
AdultRatings[1] = new Array(
  "41,19,40", // Topic 1 adult ratings for plan 1
  "38,22,40", // Topic 2 adult ratings for plan 1
  "19,20,61", // Topic 3 adult ratings for plan 1
  "24,28,48", // Topic 4 adult ratings for plan 1
  "16,17,67", // Topic 5 adult ratings for plan 1
  "47,21,32", // Topic 6 adult ratings for plan 1
  "25,34,41" // Topic 7 adult ratings for plan 1
);
AdultStars[2] = new Array(3,2,2,3,3,3,2); // adult stars for plan 2, topics 1-7
AdultRatings[2] = new Array(
  "31,20,49", // Topic 1 adult ratings for plan 2
  "36,28,36", // Topic 2 adult ratings for plan 2
  "14,19,67", // Topic 3 adult ratings for plan 2
  "16,23,61", // Topic 4 adult ratings for plan 2
  "11,17,72", // Topic 5 adult ratings for plan 2
  "29,24,47", // Topic 6 adult ratings for plan 2
  "24,33,43" // Topic 7 adult ratings for plan 2
);
AdultStars[3] = new Array(1,1,1,2,2,1,2); // adult stars for plan 3, topics 1-7
AdultRatings[3] = new Array(
  "45,18,37", // Topic 1 adult ratings for plan 3
  "46,26,28", // Topic 2 adult ratings for plan 3
  "22,17,61", // Topic 3 adult ratings for plan 3
  "21,25,54", // Topic 4 adult ratings for plan 3
  "18,13,69", // Topic 5 adult ratings for plan 3
  "47,17,36", // Topic 6 adult ratings for plan 3
  "25,34,41" // Topic 7 adult ratings for plan 3
);
AdultStars[4] = new Array(3,2,3,3,3,2,3); // adult stars for plan 4, topics 1-7
AdultRatings[4] = new Array(
  "26,17,57", // Topic 1 adult ratings for plan 4
  "37,25,38", // Topic 2 adult ratings for plan 4
  "13,11,76", // Topic 3 adult ratings for plan 4
  "14,31,55", // Topic 4 adult ratings for plan 4
  "14,20,66", // Topic 5 adult ratings for plan 4
  "39,23,38", // Topic 6 adult ratings for plan 4
  "18,30,52" // Topic 7 adult ratings for plan 4
);
ChildStars[1] = new Array(1,1,1,2,2,1,1); // child stars for plan 1, topics 1-7
ChildRatings[1] = new Array(
  "30,21,49", // Topic 1 child ratings for plan 1
  "34,26,40", // Topic 2 child ratings for plan 1
  "13,15,72", // Topic 3 child ratings for plan 1
  "13,26,61", // Topic 4 child ratings for plan 1
  "11,17,72", // Topic 5 child ratings for plan 1
  "44,27,29", // Topic 6 child ratings for plan 1
  "20,33,47" // Topic 7 child ratings for plan 1
);
ChildStars[2] = new Array(3,2,3,3,2,3,2); // child stars for plan 2, topics 1-7
ChildRatings[2] = new Array(
  "20,18,62", // Topic 1 child ratings for plan 2
  "30,28,42", // Topic 2 child ratings for plan 2
  "9,10,81", // Topic 3 child ratings for plan 2
  "8,21,71", // Topic 4 child ratings for plan 2
  "11,16,73", // Topic 5 child ratings for plan 2
  "29,17,54", // Topic 6 child ratings for plan 2
  "21,22,57" // Topic 7 child ratings for plan 2
);
ChildStars[3] = new Array(1,2,1,1,2,1,2); // child stars for plan 3, topics 1-7
ChildRatings[3] = new Array(
  "31,16,53", // Topic 1 child ratings for plan 3
  "27,27,46", // Topic 2 child ratings for plan 3
  "15,16,69", // Topic 3 child ratings for plan 3
  "22,20,58", // Topic 4 child ratings for plan 3
  "12,15,73", // Topic 5 child ratings for plan 3
  "47,21,32", // Topic 6 child ratings for plan 3
  "23,20,57" // Topic 7 child ratings for plan 3
);
ChildStars[4] = new Array(3,3,2,3,3,2,3); // child stars for plan 4, topics 1-7
ChildRatings[4] = new Array(
  "22,15,63", // Topic 1 child ratings for plan 4
  "26,27,47", // Topic 2 child ratings for plan 4
  "10,15,75", // Topic 3 child ratings for plan 4
  "13,21,66", // Topic 4 child ratings for plan 4
  "9,13,78", // Topic 5 child ratings for plan 4
  "39,21,40", // Topic 6 child ratings for plan 4
  "16,21,63" // Topic 7 child ratings for plan 4
);
ExpStars[1] = new Array(2,1,2,1,1,1,1); // exp stars for plan 1, topics 1-7
ExpRatings[1] = new Array(
  "25,34,41", // Topic 1 exp ratings for plan 1
  "47,21,32", // Topic 2 exp ratings for plan 1
  "16,17,67", // Topic 3 exp ratings for plan 1
  "24,28,48", // Topic 4 exp ratings for plan 1
  "19,20,61", // Topic 5 exp ratings for plan 1
  "38,22,40", // Topic 6 exp ratings for plan 1
  "41,19,40" // Topic 7 exp ratings for plan 1
);
ExpStars[2] = new Array(2,3,3,3,2,2,3); // exp stars for plan 2, topics 1-7
ExpRatings[2] = new Array(
  "24,33,43", // Topic 1 exp ratings for plan 2
  "29,24,47", // Topic 2 exp ratings for plan 2
  "11,17,72", // Topic 3 exp ratings for plan 2
  "16,23,61", // Topic 4 exp ratings for plan 2
  "14,19,67", // Topic 5 exp ratings for plan 2
  "36,28,36", // Topic 6 exp ratings for plan 2
  "31,20,49" // Topic 7 exp ratings for plan 2
);
ExpStars[3] = new Array(2,1,2,2,1,1,1); // exp stars for plan 3, topics 1-7
ExpRatings[3] = new Array(
  "25,34,41", // Topic 1 exp ratings for plan 3
  "47,17,36", // Topic 2 exp ratings for plan 3
  "18,13,69", // Topic 3 exp ratings for plan 3
  "21,25,54", // Topic 4 exp ratings for plan 3
  "22,17,61", // Topic 5 exp ratings for plan 3
  "46,26,28", // Topic 6 exp ratings for plan 3
  "45,18,37" // Topic 7 exp ratings for plan 3
);
ExpStars[4] = new Array(3,3,2,3,3,2,3); // exp stars for plan 4, topics 1-7
ExpRatings[4] = new Array(
  "18,30,52", // Topic 1 exp ratings for plan 4
  "39,23,38", // Topic 2 exp ratings for plan 4
  "14,20,66", // Topic 3 exp ratings for plan 4
  "14,31,55", // Topic 4 exp ratings for plan 4
  "13,11,76", // Topic 5 exp ratings for plan 4
  "37,25,38", // Topic 6 exp ratings for plan 4
  "26,17,57" // Topic 7 exp ratings for plan 4
);

