function selectForm1(frm){

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

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

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

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