function calculateReviewWidth()
{
	var e = $('latestcustomerreview');
	
	if(!e)
		return;
		
	var range_width = 176;
		
	if(Prototype.Browser.IE)
	{
		if(!window.XMLHttpRequest)
			range_width = 172;
	}	
		
	var n = $('manufacturersummary').getWidth()/range_width;
	var x = Math.floor(n)-2;
	
	e.style.width = (n-x)*range_width+'px';
}

Event.observe(window,'load',
function()
{
	calculateReviewWidth();
});

Event.observe(window,'resize',
function()
{
	calculateReviewWidth();
});