var menuImagePath = "http://www.authoringsolutions.co.uk/graphics/menu/"

var menuImagesOff = new Array()
var menuImagesRoll = new Array()
var menuImagesOn = new Array()

for (i=1; i<=27; i++)
{
	menuImagesOff[i] = new Image()
	menuImagesRoll[i] = new Image()
	menuImagesOn[i] = new Image()
	menuImagesOff[i].src = menuImagePath + i + ".gif"
	menuImagesRoll[i].src = menuImagePath + i + "roll.gif"
	menuImagesOn[i].src = menuImagePath + i + "on.gif"
}

function rollover(i)
{
	if (i != currentSelection)
	{
		document.images["mb"+i].src = menuImagesRoll[i].src
	}
}

function rollout(i)
{
	if (i != currentSelection)
	{
		document.images["mb"+i].src = menuImagesOff[i].src
	}
}