// shows and hides divs

function showHide(objID) {

	var ind = objID + "i";

	if (document.getElementById) {
		if (document.getElementById(objID).style.display == 'none') {
			document.getElementById(objID).style.display = 'block';
			if (document.getElementById(ind)) {
				document.getElementById(ind).src = "i/arrow2.gif";
			}
		} else {
			document.getElementById(objID).style.display = 'none';
			if (document.getElementById(ind)) {
				document.getElementById(ind).src = "i/arrow.gif";
			}
		}
	}
}

// drop-down menus for IE

startList = function() {
	if (document.all && document.getElementById && (navigator.appVersion.indexOf("MSIE 5.0")==-1) && navigator.userAgent.indexOf('Opera') == -1) {
		navRoot = document.getElementById("toplevel");
		for (i = 0; i < navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName == "LI") {
				node.onmouseover = function() {
					this.className += " over";
				}
				node.onmouseout = function() {
					this.className = this.className.replace(" over", "");
				}
			}
		}
	}
}

window.onload = startList;
