function resizeImages()
{
	var count		= document.images.length;
	var i			= 0;
	var imageid		= "";
	var maxWidth	= 90;
	var resizedImages = 0;

	while(count > i)
	{ 
		imageid = document.images[i].id;
		
//		alert(imageid);
		if (imageid && imageid.indexOf("image_") != -1)
		{
			width = document.images[i].width;
			height = document.images[i].height;
			if (width > maxWidth)
			{
				percentage	= (maxWidth / width) * 100;
				width	= maxWidth;
				height	= (height / 100) * percentage;
				height  = height.toFixed(0);
				//alert("New: " + width + " : " + height);
				document.images[i].width = width;
				document.images[i].height = height;
				resizedImages++;
			}
		}
		i++; 
	}

	if (resizedImages)
	{
		window.status = "Resized " + resizedImages + " images";
	}
}