
<!--

var state = 'none';

function showhide(layer_ref) {

if (state == 'block') {
state = 'none';
}
else {
state = 'block';
}
if (document.all) { //IS IE 4 or 5 (or 6 beta)
eval( "document.all." + layer_ref + ".style.display = state");
}
if (document.layers) { //IS NETSCAPE 4 or below
document.layers[layer_ref].display = state;
}
if (document.getElementById &&!document.all) {
hza = document.getElementById(layer_ref);
hza.style.display = state;
}
}

function updateFields(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   form1.bottomComposed.value = "";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vBottom = HIDDEN;
   if (pick == "") {
     vBottom = HIDDEN;
	 form1.bottomComposed.value = "";
   }
   else if (pick == "y") {
     vBottom = HIDDEN;
	 form1.bottomComposed.value = "";
   } else if (pick == "n") {
   	 vBottom = VISIBLE;
   }
   var bottomElem = document.getElementById("bottom");

   if (bottomElem != null) {
     bottomElem.style.visibility = vBottom;
   }
}

function updateOverflow(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vOverflow = HIDDEN;
   if (pick == "") {
     vOverflow = HIDDEN;
   }
   else if (pick == "y") {
     vOverflow = VISIBLE;
   } else if (pick == "n") {
   	 vOverflow = HIDDEN;
   }
   var overflowElem = document.getElementById("overflow");

   if (overflowElem != null) {
     overflowElem.style.visibility = vOverflow;
   }
}

function updateAerator(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vAerator = HIDDEN;
   if (pick == "") {
     vAerator = HIDDEN;
   }
   else if (pick == "y") {
     vAerator = VISIBLE;
   } else if (pick == "n") {
   	 vAerator = HIDDEN;
   }
   var aeratorElem = document.getElementById("aerator");

   if (aeratorElem != null) {
     aeratorElem.style.visibility = vAerator;
   }
}

function updateElectricity(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vElectricity = HIDDEN;
   if (pick == "") {
     vElectricity = HIDDEN;
   }
   else if (pick == "y") {
     vElectricity = HIDDEN;
   } else if (pick == "n") {
   	 vElectricity = VISIBLE;
   }
   var electricityElem = document.getElementById("electricityDistance");

   if (electricityElem != null) {
     electricityElem.style.visibility = vElectricity;
   }
}

function updateBerm(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vBerm = HIDDEN;
   if (pick == "") {
     vBerm = HIDDEN;
   }
   else if (pick == "y") {
     vBerm = VISIBLE;
   } else if (pick == "n") {
   	 vBerm = HIDDEN;
   }
   var bermElem = document.getElementById("berm");

   if (bermElem != null) {
     bermElem.style.visibility = vBerm;
   }
}

function updateTree(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vTree = HIDDEN;
   if (pick == "") {
     vTree = HIDDEN;
   }
   else if (pick == "y") {
     vTree = VISIBLE;
   } else if (pick == "n") {
   	 vTree = HIDDEN;
   }
   var treeElem = document.getElementById("tree");

   if (treeElem != null) {
     treeElem.style.visibility = vTree;
   }
}

function updateChemistry(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vChemistry = HIDDEN;
   if (pick == "") {
     vChemistry = HIDDEN;
   }
   else if (pick == "y") {
     vChemistry = VISIBLE;
   } else if (pick == "n") {
   	 vChemistry = HIDDEN;
   }
   var chemistryElem = document.getElementById("chemistry");

   if (chemistryElem != null) {
     chemistryElem.style.visibility = vChemistry;
   }
}

function updateFoul(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vFoul = HIDDEN;
   if (pick == "") {
     vFoul = HIDDEN;
   }
   else if (pick == "y") {
     vFoul = VISIBLE;
   } else if (pick == "n") {
   	 vFoul = HIDDEN;
   }
   var foulElem = document.getElementById("foul");

   if (foulElem != null) {
     foulElem.style.visibility = vFoul;
   }
}

function updateDuckweed(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vDuckweed = HIDDEN;
   if (pick == "") {
     vDuckweed = HIDDEN;
   }
   else if (pick == "y") {
     vDuckweed = VISIBLE;
   } else if (pick == "n") {
   	 vDuckweed = HIDDEN;
   }
   var duckweedElem = document.getElementById("duckweed");

   if (duckweedElem != null) {
     duckweedElem.style.visibility = vDuckweed;
   }
}

function updateAlgae(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vAlgae = HIDDEN;
   if (pick == "") {
     vAlgae = HIDDEN;
   }
   else if (pick == "y") {
     vAlgae = VISIBLE;
   } else if (pick == "n") {
   	 vAlgae = HIDDEN;
   }
   var algaeElem = document.getElementById("problemAlgae");

   if (algaeElem != null) {
     algaeElem.style.visibility = vAlgae;
   }
}

function updateCoontail(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vCoontail = HIDDEN;
   if (pick == "") {
     vCoontail = HIDDEN;
   }
   else if (pick == "y") {
     vCoontail = VISIBLE;
   } else if (pick == "n") {
   	 vCoontail = HIDDEN;
   }
   var coontailElem = document.getElementById("problemCoontail");

   if (coontailElem != null) {
     coontailElem.style.visibility = vCoontail;
   }
}

function updateBullrush(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vBullrush = HIDDEN;
   if (pick == "") {
     vBullrush = HIDDEN;
   }
   else if (pick == "y") {
     vBullrush = VISIBLE;
   } else if (pick == "n") {
   	 vBullrush = HIDDEN;
   }
   var bullrushElem = document.getElementById("problemBullrush");

   if (bullrushElem != null) {
     bullrushElem.style.visibility = vBullrush;
   }
}

function updateLily(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vLily = HIDDEN;
   if (pick == "") {
     vLily = HIDDEN;
   }
   else if (pick == "y") {
     vLily = VISIBLE;
   } else if (pick == "n") {
   	 vLily = HIDDEN;
   }
   var lilyElem = document.getElementById("problemLily");

   if (lilyElem != null) {
     lilyElem.style.visibility = vLily;
   }
}

function updateFish(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vFish = HIDDEN;
   if (pick == "") {
     vFish = HIDDEN;
   }
   else if (pick == "y") {
     vFish = VISIBLE;
   } else if (pick == "n") {
   	 vFish = HIDDEN;
   }
   var fishElem = document.getElementById("problemFish");

   if (fishElem != null) {
     fishElem.style.visibility = vFish;
   }
}

function updateFishFeed(selectObj) {
   var VISIBLE = "visible";
   var HIDDEN = "hidden";
   var index= selectObj.selectedIndex;
   var pick = selectObj.options[index].value;
  
   var vFishFeed = HIDDEN;
   if (pick == "") {
     vFishFeed = HIDDEN;
   }
   else if (pick == "y") {
     vFishFeed = VISIBLE;
   } else if (pick == "n") {
   	 vFishFeed = HIDDEN;
   }
   var fishFeedElem = document.getElementById("feedFishFood");

   if (fishFeedElem != null) {
     fishFeedElem.style.visibility = vFishFeed;
   }
}
//--> 


