// JavaScript Document
<!--
window.onresize = alertSize;
window.onload = alertSize;

if (document.addEventListener) {
  document.addEventListener("DOMContentLoaded", alertSize, false);
}

function alertSize() {
var myWidth = 0, myHeight = 0, broswerType = "unknown";
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
	broswerType = "notIE";
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
	broswerType = "IE";
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
	broswerType = "IE";
  }
  	//window.alert( 'Width = ' + myWidth );
	//window.alert( 'Height = ' + myHeight );
	sizeHandler(myWidth,broswerType);
}

function sizeHandler (myWidth,broswerType)
{
	if(myWidth>960)
	{
		if(broswerType == "notIE")
		{
			
		}
		else
		{
			document.documentElement.style.overflowX = 'hidden';
		}
	}
	else
	{
		if(broswerType == "notIE")
		{
			
		}
		else
		{
			document.documentElement.style.overflowX = 'auto';
		}
	}
}
-->

