// JavaScript Document

window.onload=window.onresize=function scrollCenter() {
  
  var myWidth = 0;
  var myScroll = 0;
  var goodWidth = 1060;
  var minWidth = 960;

  //get window width
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
  }

  //scroll	
  if(myWidth <= goodWidth && myWidth > minWidth) { 	
    myScroll = ((goodWidth - myWidth+20)/2);
	window.scroll(myScroll,0); 
  }
}



