<!--

// Load all images
PreloadButton1Out =	new Image(144,22);
PreloadButton1Out.src =	"images/but1.gif";
PreloadButton1Over =	new Image(144,22);
PreloadButton1Over.src =	"images/but1On.gif";

PreloadButton2Out =	new Image(144,22);
PreloadButton2Out.src =	"images/but2.gif";
PreloadButton2Over =	new Image(144,22);
PreloadButton2Over.src =	"images/but2On.gif";

PreloadButton3Out =	new Image(144,22);
PreloadButton3Out.src =	"images/but3.gif";
PreloadButton3Over =	new Image(144,22);
PreloadButton3Over.src =	"images/but3On.gif";

PreloadButton4Out =	new Image(144,22);
PreloadButton4Out.src =	"images/but4.gif";
PreloadButton4Over =	new Image(144,22);
PreloadButton4Over.src =	"images/but4On.gif";

PreloadButton5Out =	new Image(144,22);
PreloadButton5Out.src =	"images/but5.gif";
PreloadButton5Over =	new Image(144,22);
PreloadButton5Over.src =	"images/but5On.gif";

PreloadButton6Out =	new Image(144,22);
PreloadButton6Out.src =	"images/but6.gif";
PreloadButton6Over =	new Image(144,22);
PreloadButton6Over.src =	"images/but6On.gif";

PreloadButton7Out =	new Image(144,22);
PreloadButton7Out.src =	"images/but7.gif";
PreloadButton7Over =	new Image(144,22);
PreloadButton7Over.src =	"images/but7On.gif";

PreloadButton8Out =	new Image(144,22);
PreloadButton8Out.src =	"images/but8.gif";
PreloadButton8Over =	new Image(144,22);
PreloadButton8Over.src =	"images/but8On.gif";

PreloadButton9Out =	new Image(144,22);
PreloadButton9Out.src =	"images/but9.gif";
PreloadButton9Over =	new Image(144,22);
PreloadButton9Over.src =	"images/but9On.gif";

// Holds the last tab button that was clicked: on initialization, it is the first
var LastButtonPressed = 0;

// Set to true if all the buttons are not pressed (when the menu of the top is activated)
var ButtonsCleared = true;

ns4 = (document.layers) ? true:false
ie4 = (document.all) ? true:false;

function ShowObject(obj)
{
	 if (ns4) obj.visibility = "show"
	 else if (ie4) obj.visibility = "visible"
}

function ButtonOver(ButtonIndex)
{
	if ((ButtonIndex != LastButtonPressed) || (ButtonsCleared == true))
	{
		var ButtonOn = eval('PreloadButton' + ButtonIndex + 'Over' + '.src');
		document['Button' + ButtonIndex].src = ButtonOn;
	}
}

function ButtonOut(ButtonIndex)
{
	if ((ButtonIndex != LastButtonPressed) || (ButtonsCleared == true))
	{
		var ButtonOff = eval('PreloadButton' + ButtonIndex + 'Out' + '.src');
		document['Button' + ButtonIndex].src = ButtonOff;
	}
}

function ButtonClick(ButtonIndex)
{
	if ((ButtonIndex != LastButtonPressed) || (ButtonsCleared == true))
	{
		var ButtonClick = eval('PreloadButton' + ButtonIndex + 'Click' + '.src');
		document['Button' + ButtonIndex].src = ButtonClick;
		
		if (ButtonsCleared == false)
		{
			var ButtonOff = eval('PreloadButton' + LastButtonPressed + 'Out' + '.src');
			document['Button' + LastButtonPressed].src = ButtonOff;
		}

		LastButtonPressed = ButtonIndex;
		ButtonsCleared = false;
	}
}

function ButtonClear()
{
	if (ButtonsCleared == false)
	{
		var ButtonOff = eval('PreloadButton' + LastButtonPressed + 'Out' + '.src');
		document['Button' + LastButtonPressed].src = ButtonOff;
	
		// Mark that no button in the tab is pressed
		ButtonsCleared = true;
	}
}

//-->
