<!-- 
var currentid;
var currentbutton;

function change(el)
{
	el.style.backgroundColor = "#cccccc";
	el.style.color = "#ff0000";
}

function changeback(el)
{
	el.style.backgroundColor = "#000000";
	el.style.color = "#ffffff";
}

function tabon(tab)
{
      tab.style.background = "#000000";
	tab.style.borderBottomColor = "#000000";
	tab.style.color = "#cccccc";
}

function taboff(tab)
{
      tab.style.background = "#000000";
	tab.style.borderBottomColor = "#ffffff";
	tab.style.color = "#cccccc";
}

function toggleDiv(button,id)
{
	if (currentid && (currentid != id) )toggleDivOff(currentid);
	if (currentbutton && (currentbutton != button)) taboff(currentbutton) ;

	currentid = id;
	currentbutton = button ;

	toggleDivOn(id);
	tabon(button);

}

function toggleDivOn(id)
{
	var Div = document.getElementById(id);

	if (currentid)
	{
		toggleDivOff(currentid);
	}
	currentid = id;
	
	Div.style.visibility = "visible";
}	

function toggleDivOff(id)
{
	var Div = document.getElementById(id);

	Div.style.visibility = "hidden";
}

-->
