﻿// Common JavaSript functions
// by Brandon McKinney  -  updated Nov 14 2007



// toggles the visibility of a div element by setting its height to 0 or auto
function toggleDiv(id){
  obj = document.getElementById(id);
  if (obj.style.height != "auto") {
    obj.style.height = "auto";
  } else {
    obj.style.height = "0px";
  }
}
