startList = function() {
var topNavArray = new Array("topNav");
for (x=0; x<1; x++) {
	if (document.all&&document.getElementById) {
		topNavRoot = document.getElementById(topNavArray[x]);
		for (i=0; i<topNavRoot.childNodes.length; i++) {
			node = topNavRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() { this.className+="over"; }
						node.onmouseout=function() {
						this.className=this.className.replace("over", "");
					}
				}
			}
		}
	}
MM_preloadImages('images/products_b.gif','images/community_b.gif','images/work_b.gif','images/retail_b.gif');
}
window.onload=startList;

function changeClassName(i,cn){
	document.getElementById(i).className = cn;
}

function changeClass(i){
	document.getElementById(i).className = "over";
}

function clearClass(i){
	document.getElementById(i).className = "";
}

function toggleSection(i){
	var toggle = document.getElementById(i + "_toggle");
	
	if(document.getElementById(i).style.display == "block") {
		document.getElementById(i).style.display = "none";
		if (toggle != null)
			if (toggle.innerHTML.length < 5)
				toggle.innerHTML = "+";
			else
				toggle.innerHTML = "More...";
	} else {
		document.getElementById(i).style.display = "block";
		if (toggle != null)
			if (toggle.innerHTML.length < 5)
				toggle.innerHTML = "-";
			else
				toggle.innerHTML = "Less...";
	}
}

