// tab constants needed in the main page
//var colorTabOff = "#c0c0c0";
//var colorTabOn  = "#A74745";
//var colorTabMouseOver = "#ffff66";
//var tabCount = 6

function TabClick(n)
{	  
	for (var i=1; i<=tabCount; i++)
	{
		if (i == n)
		{ 
			document.getElementById('t'+i+'_l').style.background = colorTabOn
			document.getElementById('t'+i+'_m').style.background = colorTabOn
			document.getElementById('t'+i+'_r').style.background = colorTabOn
			document.getElementById('tab'+i+'_div').style.visibility = "visible"
		}
		else
		{
			document.getElementById('t'+i+'_l').style.background = colorTabOff
			document.getElementById('t'+i+'_m').style.background = colorTabOff
			document.getElementById('t'+i+'_r').style.background = colorTabOff
			document.getElementById('tab'+i+'_div').style.visibility = "hidden"
		}
	}
}

function TabOut(t)
{
	document.getElementById("t"+t+"_m").style.color = "";
}

function TabIn(t)
{
	document.getElementById("t"+t+"_m").style.color = colorTabMouseOver;
	document.all("t"+t+"_m").style.cursor='hand';
}

