<!--

function doResize() {

	/* we need to scale the container div as workaround for 
	   IE's lack of support for min-, max- in CSS */
	w=document.documentElement.clientWidth;
	h=document.documentElement.clientHeight;
	if (w<824) 
	{
		document.getElementById('width_restrict_main').style.width='700px';
		document.getElementById('width_restrict_footer').style.width='700px';
	}
	else if (w>1176)
	{
		document.getElementById('width_restrict_main').style.width='1000px';
		document.getElementById('width_restrict_footer').style.width='1000px';
	}
	else
	{	
		document.getElementById('width_restrict_main').style.width='85%';
		document.getElementById('width_restrict_footer').style.width='85%';
	}
	
	/* fix 1px rounding issue in IE (for right-floating corner image) */
	document.getElementById('content_corner_left').style.marginLeft = '-3px';
	document.getElementById('content_corner_right').style.marginRight = '-1px';
	
}


//-->