function SetUp(optionId)
{
	var x = document.getElementById(optionId);
	x.className = "currentOption";
	x.childNodes[0].className="menuHover";
}

function StartUp()
{
	var x = document.getElementById("page");
	SetUp(x.attributes['name'].value);
}

function Select(url)
{
	document.location = url;
}

function Go(optionId)
{
	var x = document.getElementById(optionId);
	x.className = "selectedOption";
	x.childNodes[0].className="menuHover";
}

function Out(optionId)
{
	var x = document.getElementById(optionId);
	var pageElement = document.getElementById("page");
	actualPageId = pageElement.attributes['name'].value;
	
	if (optionId == actualPageId)
	{
		x.className = "currentOption";
		x.childNodes[0].className="menuHover";
	}
	else
	{
		x.className = "menu";
		x.childNodes[0].className="menu";
	}
}

function ShowLineDrawings()
{
	document.getElementById('thumbs').innerHTML = "<iframe src='linedrawings.html' height='600' width = '100%'></iframe>";
}

function ShowColorDrawings()
{
	document.getElementById('thumbs').innerHTML = "<iframe src='colordrawings.html' height='980' width = '100%'></iframe>";
}

