function resizeWindows()
{
	var nr_images = 5;
	var currentImageSize = [900, 602];
	var heightScreen = document.documentElement.clientHeight;
	var containerHeight = heightScreen - (20 + 160);
	for (i=1;i<=nr_images;i++)
	{
		if (containerHeight > currentImageSize[1])
			containerHeight = currentImageSize[1]
		percent = currentImageSize[1] / containerHeight; 
		containerWidth = currentImageSize[0] / percent;

		document.getElementById("rotator_img_"+i).style.height = containerHeight + "px";
		document.getElementById("rotator_img_"+i).style.width = Math.round(containerWidth) + "px";
		document.getElementById("rotator").style.height = (containerHeight + 2) + "px";
		document.getElementById("rotator").style.width = Math.round(containerWidth + 2) + "px";
	}
	setTimeout("resizeWindows()", 100);
}
