// resizes the content area, if screen width is 1200px +
function resize()
{	
	if (getWinWidth() > 1200)
	{		
		document.getElementById("innercontent").style.width = "28em";
	}
}

function getWinWidth() {
  window.onerror=null;
  if (navigator.appVersion.charAt(0)>=4) {
    ww=0; 
    if (document.all) {
      ww=document.body.clientWidth;
    } else if ((document.layers)||(document.getElementById)) {
      ww=window.innerWidth;
    }
   	if (ww != 0)
		return ww;
  }
}