function selectForm2(frm){

// Select the div containing all the hidden forms
  var hiddenForms2 = document.getElementById("allForms2");

// Select every form within the above div and assign it to an array
  theForm2 = hiddenForms2.getElementsByTagName("form");

// Set the display for each of the above forms to NONE
  for(x=0; x<theForm2.length; x++){
    theForm2[x].style.display = "none";
  }

// If the form selected from the list exists, set its display to BLOCK
  if (theForm2[frm-1]){
    theForm2[frm-1].style.display = "block";
  }
}