function showImage(filename, iWidth, iHeight)
{
	var imageFile = new Image();
	imageFile.src=filename;
	document.write('<img ');
	if (iWidth >= iHeight)
	{
		document.write('width');
	}
	else
	{
		document.write('height');
	}
	document.write('=90% src="'+imageFile.src+'">')
}

