function sHH(){
   document.hh.a1.value = "EA";
   document.hh.a2.value = "GLE";
   document.hh.b1.value = "PID";
   document.hh.b2.value = "GEON";
   document.hh.c1.value = "BLUE";
   document.hh.c2.value = "JAY";
   document.hh.d1.value = "CAR";
   document.hh.d2.value = "DINAL";
   document.hh.e1.value = "GOLD";
   document.hh.e2.value = "FINCH";
   document.hh.f1.value = "OS";
   document.hh.f2.value = "PREY";
   document.hh.g1.value = "CA";
   document.hh.g2.value = "NARY";
   document.hh.h1.value = "PAR";
   document.hh.h2.value = "ROT";
   document.hh.i1.value = "BLACK";
   document.hh.i2.value = "BIRD";
   document.hh.j1.value = "CON";
   document.hh.j2.value = "DOR";
   document.hh.k1.value = "BLUE";
   document.hh.k2.value = "BIRD";
   document.hh.l1.value = "RO";
   document.hh.l2.value = "BIN";
   document.hh.m1.value = "PELI";
   document.hh.m2.value = "CAN";
   document.hh.n1.value = "FAL";
   document.hh.n2.value = "CON";
   document.hh.o1.value = "TUR";
   document.hh.o2.value = "KEY";
   document.hh.p1.value = "PARA";
   document.hh.p2.value = "KEET";
   document.hh.q1.value = "ORI";
   document.hh.q2.value = "OLE";
   document.hh.r1.value = "STAR";
   document.hh.r2.value = "LING";
   document.hh.s1.value = "PHEA";
   document.hh.s2.value = "SANT";
   document.hh.t1.value = "E";
   document.hh.t2.value = "GRET";
  }

function rHH(){
 
  var deysed = new Array();
  deysed[0] = document.hh.a1.value.toUpperCase() + document.hh.a2.value.toUpperCase();
  deysed[1] = document.hh.b1.value.toUpperCase() + document.hh.b2.value.toUpperCase();
  deysed[2] = document.hh.c1.value.toUpperCase() + document.hh.c2.value.toUpperCase();
  deysed[3] = document.hh.d1.value.toUpperCase() + document.hh.d2.value.toUpperCase();
  deysed[4] = document.hh.e1.value.toUpperCase() + document.hh.e2.value.toUpperCase();
  deysed[5] = document.hh.f1.value.toUpperCase() + document.hh.f2.value.toUpperCase();
  deysed[6] = document.hh.g1.value.toUpperCase() + document.hh.g2.value.toUpperCase();
  deysed[7] = document.hh.h1.value.toUpperCase() + document.hh.h2.value.toUpperCase();
  deysed[8] = document.hh.i1.value.toUpperCase() + document.hh.i2.value.toUpperCase();
  deysed[9] = document.hh.j1.value.toUpperCase() + document.hh.j2.value.toUpperCase();
  deysed[10] = document.hh.k1.value.toUpperCase() + document.hh.k2.value.toUpperCase();
  deysed[11] = document.hh.l1.value.toUpperCase() + document.hh.l2.value.toUpperCase();
  deysed[12] = document.hh.m1.value.toUpperCase() + document.hh.m2.value.toUpperCase();
  deysed[13] = document.hh.n1.value.toUpperCase() + document.hh.n2.value.toUpperCase();
  deysed[14] = document.hh.o1.value.toUpperCase() + document.hh.o2.value.toUpperCase();
  deysed[15] = document.hh.p1.value.toUpperCase() + document.hh.p2.value.toUpperCase();
  deysed[16] = document.hh.q1.value.toUpperCase() + document.hh.q2.value.toUpperCase();
  deysed[17] = document.hh.r1.value.toUpperCase() + document.hh.r2.value.toUpperCase();
  deysed[18] = document.hh.s1.value.toUpperCase() + document.hh.s2.value.toUpperCase();
  deysed[19] = document.hh.t1.value.toUpperCase() + document.hh.t2.value.toUpperCase();
  
  var allright = new Array();
  allright[0] = "EAGLE";
  allright[1] = "PIDGEON";
  allright[2] = "BLUEJAY";
  allright[3] = "CARDINAL";
  allright[4] = "GOLDFINCH";
  allright[5] = "OSPREY";
  allright[6] = "CANARY";
  allright[7] = "PARROT";
  allright[8] = "BLACKBIRD";
  allright[9] = "CONDOR";
  allright[10] = "BLUEBIRD";
  allright[11] = "ROBIN";
  allright[12] = "PELICAN";
  allright[13] = "FALCON";
  allright[14] = "TURKEY";
  allright[15] = "PARAKEET";
  allright[16] = "ORIOLE";
  allright[17] = "STARLING";
  allright[18] = "PHEASANT";
  allright[19] = "EGRET";

  tik = 0;
  
  while (tik != deysed.length){
     tok = 0;
     while (tok != allright.length){
       if (deysed[tik] == allright[tok]){
          allright[tok] = "OK";
          }
       tok++;
       }
     tik++;
     }
  
  dOh = 0;
  tik = 0;
  while (tik != deysed.length){
     if (allright[tik] != "OK"){
        dOh++;
        }
     tik++;
     }
  
  if (dOh){
     alert ("You've got " + (20 - dOh) +  " out of 20 correct.");
     }else{
     alert ("All Correct!");
     }
  }

function sCC(){
  document.cc.a.selectedIndex = 1;
  document.cc.b.selectedIndex = 1;
  document.cc.c.selectedIndex = 3;
  } 

function rCC(){
  var yep = 0;
  if (document.cc.a.selectedIndex == 1) {yep++;}
  if (document.cc.b.selectedIndex == 1) {yep++;}
  if (document.cc.c.selectedIndex == 3) {yep++;}
  if (yep == 3){
     alert("All Correct!");
     }else{
     alert("You've got " + yep + " out of 3 correct");
     }
   } 

function sDD(){
  document.dd.a.selectedIndex = 3;
  document.dd.b.selectedIndex = 1;
  document.dd.c.selectedIndex = 5;
  document.dd.d.selectedIndex = 6;
  document.dd.e.selectedIndex = 2;
  document.dd.f.selectedIndex = 4;
  } 

function rDD(){
  var yep = 0;
  if (document.dd.a.selectedIndex == 3) {yep++;}
  if (document.dd.b.selectedIndex == 1) {yep++;}
  if (document.dd.c.selectedIndex == 5) {yep++;}
  if (document.dd.d.selectedIndex == 6) {yep++;}
  if (document.dd.e.selectedIndex == 2) {yep++;}
  if (document.dd.f.selectedIndex == 4) {yep++;}
  if (yep == 6){
     alert("All Correct!");
     }else{
     alert("You've got " + yep + " out of 6 correct");
     }
   } 
