// JavaScript Document
var count = 0;
function navOver(identity){
	var idname = identity;
	document.getElementById(idname).style.background = "#000";
	count++;
	}

function navOut(identity){
	var idname = identity;
	count--;
	if(count == 0){
		document.getElementById(idname).style.background = "transparent";
		}
	}

function subNavOver(identity){
	var theId = identity;
	document.getElementById(theId).style.background = "#ffc866 url(images/nav-arrows.gif) no-repeat right";
	document.getElementById(theId).style.borderTop = "1px solid #fff";
	document.getElementById(theId).style.borderBottom = "1px solid #fff";
	}

function subNavOut(identity){
	var theId = identity;
	document.getElementById(theId).style.background = "url(images/nav-arrows.gif) no-repeat right";
	document.getElementById(theId).style.border = "none";
	}
