var numberImages = 9;

function ShowImage(path)
{
	if (document.images)
	{
		var imgNumber = Math.ceil(Math.random() * numberImages);
		var imgMain = new Image();
		eval("imgMain.src = '" + path + "pic-" + imgNumber + ".jpg'");
		document.writeln('<td rowspan="2" width="0%"><img name="imgMain" src="' + imgMain.src + '" width="220" height="136" border="0" alt=""></td>');
	}
	else
		document.writeln('<td rowspan="2" width="0%"><img name="imgMain" src="' + path + 'pic-1.jpg" width="220" height="136" border="0" alt=""></td>');
}
