// (C) 2006 williamz.net - all rights reserved.  You may not copy or adapt this code without permission in writing
// and payment of any appropriate licensing fees.

// This file will change from site to site as it holds the coordinates for menu changes.  Try to aviod including 
// anything that could be used in general pages here.


function menuBgOff()
{
	elNotViz('box1LTag');
	document.getElementById('link1').style.backgroundColor = "#FFFFFF";
	document.getElementById('link1').style.color = "#000000";
	// Note the next 2 lines fix a random display issue in IE. In all boxes!?!!
//	document.getElementById('link1').style.borderTop = "dotted";
//	document.getElementById('link1').style.borderWidth = "1px";
	elNotViz('box2LTag')
	document.getElementById('link2').style.backgroundColor = "#FFFFFF";
	document.getElementById('link2').style.color = "#000000";
	elNotViz('box3LTag')
	document.getElementById('link3').style.backgroundColor = "#FFFFFF";
	document.getElementById('link3').style.color = "#000000";
	elNotViz('box4LTag')
	document.getElementById('link4').style.backgroundColor = "#FFFFFF";
	document.getElementById('link4').style.color = "#000000";
	elNotViz('box5LTag')
	document.getElementById('link5').style.backgroundColor = "#FFFFFF";
	document.getElementById('link5').style.color = "#000000";
	elNotViz('box6LTag')
	document.getElementById('link6').style.backgroundColor = "#FFFFFF";
	document.getElementById('link6').style.color = "#000000";

	if (curPage !="")
	{
		elViz(curPage);
	}
}

function menuBgChange(elementToChange)
{
	menuBgOff();
	elementToChange.style.backgroundColor = "#99CCFF";
	elementToChange.style.color = "#FFFF99";
	
	var tagOn = elementToChange.className + "LTag";
	elViz (tagOn);
}

function tagWinkOn(elem)
{
	document.getElementById(elem).style.backgroundColor = "#FFAAAA";
}

function tagWinkOff(elem)
{
	document.getElementById(elem).style.backgroundColor = "#FF0000";
}