
function getRandomLeft()
{
	var images = new Array();
	images[0] = 'menu-left-1.jpg';
	images[1] = 'menu-left-2.jpg';
	document.write(getRandom(images));
}

function getRandomRight()
{
	var images = new Array();
	images[0] = 'menu-right-1.jpg';
	images[1] = 'menu-right-2.jpg';
	document.write(getRandom(images));
}

function getRandom(array)
{
	var index = Math.round(Math.random()*(array.length-1));
	return '<img src="images/' + array[index] + '" />';
}
