function addAnswers (theform) { 
var yesTotal = 0;
  for (i=0; i < theform.elements.length; i++) {
    if (theform.elements[i].checked && theform.elements[i].value ==10) {
        yesTotal = yesTotal + 1;
    }
  }
  theform.pointScore.value = yesTotal;
  if (theform.name =="red") {document.scoreGrid.redScore.value = yesTotal;}
  if (theform.name =="orange") {document.scoreGrid.orangeScore.value = yesTotal;}
  if (theform.name =="magenta") {document.scoreGrid.magentaScore.value = yesTotal;}
  if (theform.name =="yellow") {document.scoreGrid.yellowScore.value = yesTotal;}
  if (theform.name =="tanlogical") {document.scoreGrid.tanlogicalScore.value = yesTotal;}
  if (theform.name =="tanenv") {document.scoreGrid.tanenvScore.value = yesTotal;}
  if (theform.name =="tansensitive") {document.scoreGrid.tansensitiveScore.value = yesTotal;}
  if (theform.name =="tanabstract") {document.scoreGrid.tanabstractScore.value = yesTotal;}
  if (theform.name =="green") {document.scoreGrid.greenScore.value = yesTotal;}
  if (theform.name =="blue") {document.scoreGrid.blueScore.value = yesTotal;}
  if (theform.name =="violet") {document.scoreGrid.violetScore.value = yesTotal;}
  if (theform.name =="lavender") {document.scoreGrid.lavenderScore.value = yesTotal;}
  if (theform.name =="crystal") {document.scoreGrid.crystalScore.value = yesTotal;}
  if (theform.name =="indigo") {document.scoreGrid.indigoScore.value = yesTotal;}
  if (theform.name =="redoverlay") {document.scoreGrid.redoverlayScore.value = yesTotal;}
}