	/* $Id$ */
	function adjustBoxes()
	{
		var maxheight = 0;
		var floatarray = document.getElementsByClassName('winepreview');
		// find the tallest
		for(var i = 0; i < floatarray.length; i++)
		{
			maxheight = Element.getHeight(floatarray[i]) > maxheight ? Element.getHeight(floatarray[i]) : maxheight;
		}
		// set them
		for(var i = 0; i < floatarray.length; i++)
		{
			$(floatarray[i]).style.height = (maxheight + 'px');
			$(floatarray[i]).style.visibility = 'visible';
		}
	}
	
	window.onload = function() 
					{
						adjustBoxes();
					};