
//Ian McDonald
//Section Script 
//*****- ZooAnimals -*****
//January 29, 2006
//this is used for internet exlplorer is handles table rows dif than Firefox.

showRow = (navigator.appName.indexOf("Internet Explorer") != -1) ? "block" :
"table-row";

// Functions below are used to show and hide rows in sidebar.


// there is a function for each sidebar main section, i did not have time to make it dynamic.
function Toggle_Exhibits(count)
{
f = document.getElementById("Exhibits");
f.style.display = (f.style.display == "none") ? showRow : "none";
}

function Toggle_Encounters(count)
{
f = document.getElementById("Encounters");
f.style.display = (f.style.display == "none") ? showRow : "none";
}

function Toggle_AnimalFacts(count)
{
f = document.getElementById("AnimalFacts");
f.style.display = (f.style.display == "none") ? showRow : "none";
}

function Toggle_Gallery(count)
{
f = document.getElementById("Gallery");
f.style.display = (f.style.display == "none") ? showRow : "none";
}

