
//Ian McDonald
//Section Script 
//*****- Education -*****
//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_Camp(count)
{
f = document.getElementById("Camp");
f.style.display = (f.style.display == "none") ? showRow : "none";
}

function Toggle_School(count)
{
f = document.getElementById("School");
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_Forms(count)
{
f = document.getElementById("Forms");
f.style.display = (f.style.display == "none") ? showRow : "none";
}

function Toggle_Roots(count)
{
f = document.getElementById("Roots");
f.style.display = (f.style.display == "none") ? showRow : "none";
}

function Toggle_Conservation(count)
{
f = document.getElementById("Conservation");
f.style.display = (f.style.display == "none") ? showRow : "none";
}
