text: var name1;var name2;var name3;var name4;
  
  var freq = [0,0,0,0];
  
  //310
  function person3101(data){
      if(freq[0]%2 === 0){
          var change = document.getElementById("person3101");
          change.style.backgroundColor = "#6495ed";
          freq[0] += 1;
          
          name1 = data.value;
      }
      else{
          var change = document.getElementById("person3101");
          change.style.backgroundColor = "#f0ffff";
          freq[0] += 1;
          
          name1 = "";
      }
  }
  
  function person3102(data){
      if(freq[1]%2 === 0){
          var change = document.getElementById("person3102");
          change.style.backgroundColor = "#6495ed";
          freq[1] += 1;
          
          name2 = data.value;
      }
      else{
          var change = document.getElementById("person3102");
          change.style.backgroundColor = "#f0ffff";
          freq[1] += 1;
          
          name2 = "";
      }
  }
  function person3103(data){
      if(freq[2]%2 === 0){
          var change = document.getElementById("person3103");
          change.style.backgroundColor = "#6495ed";
          freq[2] += 1;
          
          name3 = data.value;
      }
      else{
          var change = document.getElementById("person3103");
          change.style.backgroundColor = "#f0ffff";
          freq[2] += 1;
          
          name3 = "";
      }
  }
  function person3104(data){
      if(freq[3]%2 === 0){
          var change = document.getElementById("person3104");
          change.style.backgroundColor = "#6495ed";
          freq[3] += 1;
          
          name4 = data.value;
      }
      else{
          var change = document.getElementById("person3104");
          change.style.backgroundColor = "#f0ffff";
          freq[3] += 1;
          
          name4 = "";
      }
  }