function initHiddenTRs() {
  HideAll();
}

function ExpandAll() {
  showThisTR("alaba");
  showThisTR("alask");
  showThisTR("arizo");
  showThisTR("arkan");
  showThisTR("calif");
  showThisTR("color");
  showThisTR("conne");
  showThisTR("delaw");
  showThisTR("distr");
  showThisTR("flori");
  showThisTR("georg");
  showThisTR("hawai");
  showThisTR("idaho");
  showThisTR("illin");
  showThisTR("india");
  showThisTR("iowa");
  showThisTR("kansa");
  showThisTR("kentu");
  showThisTR("louis");
  showThisTR("maine");
  showThisTR("maryl");
  showThisTR("massa");
  showThisTR("michi");
  showThisTR("minne");
  showThisTR("missi");
  showThisTR("misso");
  showThisTR("monta");
  showThisTR("nebra");
  showThisTR("nevad");
  showThisTR("newha");
  showThisTR("newje");
  showThisTR("newme");
  showThisTR("newyo");
  showThisTR("north");
  showThisTR("norda");
  showThisTR("ohio");
  showThisTR("oklah");
  showThisTR("orego");
  showThisTR("penns");
  showThisTR("rhode");
  showThisTR("south");
  showThisTR("souda");
  showThisTR("tenne");
  showThisTR("texas");
  showThisTR("utah");
  showThisTR("vermo");
  showThisTR("virgi");
  showThisTR("washi");
  showThisTR("westv");
  showThisTR("wisco");
  showThisTR("wyomi");
}

function HideAll() {
  hideThisTR("alaba");
  hideThisTR("alask");
  hideThisTR("arizo");
  hideThisTR("arkan");
  hideThisTR("calif");
  hideThisTR("color");
  hideThisTR("conne");
  hideThisTR("delaw");
  hideThisTR("distr");
  hideThisTR("flori");
  hideThisTR("georg");
  hideThisTR("hawai");
  hideThisTR("idaho");
  hideThisTR("illin");
  hideThisTR("india");
  hideThisTR("iowa");
  hideThisTR("kansa");
  hideThisTR("kentu");
  hideThisTR("louis");
  hideThisTR("maine");
  hideThisTR("maryl");
  hideThisTR("massa");
  hideThisTR("michi");
  hideThisTR("minne");
  hideThisTR("missi");
  hideThisTR("misso");
  hideThisTR("monta");
  hideThisTR("nebra");
  hideThisTR("nevad");
  hideThisTR("newha");
  hideThisTR("newje");
  hideThisTR("newme");
  hideThisTR("newyo");
  hideThisTR("north");
  hideThisTR("norda");
  hideThisTR("ohio");
  hideThisTR("oklah");
  hideThisTR("orego");
  hideThisTR("penns");
  hideThisTR("rhode");
  hideThisTR("south");
  hideThisTR("souda");
  hideThisTR("tenne");
  hideThisTR("texas");
  hideThisTR("utah");
  hideThisTR("vermo");
  hideThisTR("virgi");
  hideThisTR("washi");
  hideThisTR("westv");
  hideThisTR("wisco");
  hideThisTR("wyomi");
}

function hideThisTR(tr_name) {
 if (document.layers) {
	document.layers[tr_name].display = "none";
 }
 else if (document.all) {
	document.all[tr_name].style.display = "none";
 }
 else if (document.getElementById) {
	document.getElementById(tr_name).style.display = "none";
 }
}

function showThisTR(tr_name) {
 if (document.layers) {
	document.layers[tr_name].display = "block";
 }
 else if (document.all) {
	document.all[tr_name].style.display = "block";
 }
 else if (document.getElementById) {
	document.getElementById(tr_name).style.display = "block";
 }
}

function toggleTR(tr_name) {
 initHiddenTRs();
 if (document.layers) {
	current = (document.layers[tr_name].display == 'none') ? 'block' : 'none';
	document.layers[tr_name].display = current;
 }
 else if (document.all) {
	current = (document.all[tr_name].style.display == 'none') ? 'block' : 'none';
	document.all[tr_name].style.display = current;
 }
 else if (document.getElementById) {
	vista = (document.getElementById(tr_name).style.display == 'none') ? 'block' : 'none';
	document.getElementById(tr_name).style.display = vista;
 }
}
