

/* SETS THE TOP NAVIGATION */
function setTopNav(selectedCell, setTopStyle) {
	if(selectedCell != "") { // A top nav is selected
		document.selectedTopNav = selectedCell;
		if(document.getElementById ) {
			thisMenu = document.getElementById(selectedCell);
			thisMenu.className = setTopStyle;
		}
	}
}


/* FUNCTION THAT SETS THE LEFT NAVIGATION LINK */
function setLeftNav(selectedCell, setStyle) {
	if(selectedCell != "") { // A top nav is selected
		document.selectedLeftNav = selectedCell;
		if(document.getElementById ) {
			thisMenu = document.getElementById(selectedCell);
			selectedLink = selectedCell + "Link";
			thisLink = document.getElementById(selectedLink);
			thisMenu.className = setStyle;
			thisLink.className = "LeftNavLinkOn";
		}
	}
}

/* FUNCTION THAT HANDLES LEFT NAVIGATION LINK ROLLIN */
function leftOn(selectedCell, selectedStyle) {
	if(document.selectedLeftNav != selectedCell.id) {
			//selectedLink = selectedCell + "Link";
			selectedCell.className = selectedStyle;
	
			//selectedLink = selectedCell + "Link";
			//thisLink.className = "LeftNavLinkOn";
	}
}

/* FUNCTION THAT HANDLES LEFT NAVIGATION LINK ROLLOUT */
function leftOff(selectedCell) {
	if(document.selectedLeftNav != selectedCell.id) {
			//selectedLink = selectedCell + "Link";
			selectedCell.className = "LeftNavOff";
			//selectedLink = selectedCell + "Link";
			//thisLink.className = "LeftNavLinkOn";
	}
}

/* FUNCTION THAT HANDLES TOP NAVIGATION LINK ROLLIN */
function TopOn(selectedCell) {
	if(document.selectedTopNav != selectedCell.id) {
			//selectedLink = selectedCell + "Link";
			selectedCell.className = "TopNavOn";
			//selectedLink = selectedCell + "Link";
			//thisLink.className = "LeftNavLinkOn";
	}
}

/* FUNCTION THAT HANDLES TOP NAVIGATION LINK ROLLOUT */
function TopOff(selectedCell) {
	if(document.selectedTopNav != selectedCell.id) {
			//selectedLink = selectedCell + "Link";
			selectedCell.className = "TopNavOff";
			//selectedLink = selectedCell + "Link";
			//thisLink.className = "LeftNavLinkOn";
	}
}