// JavaScript Document

/*
Tabs Menu (mouseover)- By Dynamic Drive
For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
This credit MUST stay intact for use
*/

var submenu=new Array()

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.
 
submenu[0]='<center><a href="coaches.php">Coaches Profiles</a> | <a href="officers.php">Officer Profiles</a> | <a href="profile.php">Cougar Crew Roster</a> | <a href="recruit.php">Recruiting</a> | <a href="fundraising.php">Fundraising</a> | <a href="facilities.php">Facilities</a> | <a href="http://community.cougarcrew.com" target="_blank">Officers Only</a> | <a href="/directions.php">Directions</a></center>'

submenu[1]='<center><a href="0910schedule.php">2009-2010</a> | <a href="0809schedule.php">2008-2009</a> | <a href="0708schedule.php">2007-2008</a> | <a href="0607schedule.php">2006-2007</a> | <a href="0506schedule.php">2005-2006</a> | <a href="0405schedule.php">2004-2005</a></center>'

submenu[2]='<center><a href="historyofthecrew.php">Club History</a> | <a href="/honors.php">Team Honors</a> | <a href="news_archive_main.php">News Archive</a> | <a href="pullhard_archives.php">The Pull Hard Archives</a></center>'

submenu[3]='<center><a href="ccdays.php">Cougar Crew Days</a> | <a href="meet_the_board.php">Meet the CCAA Board</a> | <a href="community_contact.php">Register with CCAA</a> | <a href="pdf/ccaa_bylaws.pdf" target="_blank">CCAA By-Laws</a> | <a href="/ccaaminutes.php">Board Meeting Minutes</a></center>'

submenu[4]='<center><a href="coachcontact.php">Coaches</a> | <a href="officercontact.php">Club Officers</a> | <a href="alumofficercontact.php">CCAA Officers</a> | <a href="admincontact.php">Website Administration</a></center>'

submenu[5]='<center><a href="/ccdays.php">Cougar Crew Days</a> | <a href="booster.php">Parent Booster Club</a> | <a href="directions.php">Directions</a></center>'

//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=500


/////No need to edit beyond here

var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""

function showit(which){
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}

function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}