// Scripts written by Tim Rodriguez (2007) for HighQuest Partners
// 
// Navigation Bar dropdowns in stylesheets.
// 
// Usage: Link off of top-level <a> tag.
// onmouseover="showDrop('aboutDrop');"
// onmouseout="hideDrop('aboutDrop');"
//
// <div id="aboutDrop" onmouseover="showDrop('aboutDrop')"
//                      onmouseout="hideDrop('aboutDrop');">
//      <div id="aboutDrop01" onmouseover="colorDropOver('aboutDrop01');"
//                              onmouseout="colorDropOut('aboutDrop01');"
//                                                    class="navDropDown">
//
// The first div tag is a container for the whole list. The second is used 
// to contain each individual sub-link. This script currently accounts for only
// one level of dropdowns (probably all you need for primary and secondary level
// navigation anwyay).
//

function colorDropOver(elem) {
	document.getElementById(elem).style.background='black';
	document.getElementById(elem).style.color='#FF9900';
}

function colorDropOut(elem) {
	document.getElementById(elem).style.background='#FF9900';
	document.getElementById(elem).style.color='black';
}

function showDrop(elem) {
	document.getElementById(elem).style.visibility='visible';
}

function hideDrop(elem) {
	document.getElementById(elem).style.visibility='hidden';
}		
