 setActiveSection = function(section) {

    // set the section that was clicked to be visible in the main part of the form
    // first, close up sections that need to be closed

    if (section == "all") {
      $('#event_information1').show();
      $('#event_information2').show();
      $('#event_information3').show();
      $('#event_information4').show();
	  $('#event_information5').show();
      setSectionHelp("Enter all information for this event.");
    } else {
      if ($('#tab4bodya').get(0).style.display != "none") {
        $('#tab4bodya').hide();
      }
	  
      if ($('#tab4bodyb').get(0).style.display != "none") {
      $('#tab4bodyb').hide();
      }
	  
      if ($('#tab4bodyc').get(0).style.display != "none") {
        $('#tab4bodyc').hide();
      }
	  
	  if($('#tab4bodyd').get(0).style.display != "none") {
        $('#tab4bodyd').hide();
      }
	  
	  if($('#tab4bodye').get(0).style.display != "none") {
        $('#tab4bodye').hide();
      }
      // show the section that was clicked

      $('#'+section).show();

    }

    // highlight the active one

$('#'+section+'_heading').get(0).style.backgroundColor = "#eee";



  }




