function resizecontent() {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement &&
      ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth - 32;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
  	
	var cellWidth = (myWidth - 32) ;
	var innerflashwidth = 962 + ((myWidth - 962 )/2);
	var offset =  ((myWidth - 962 )/2);
	if(offset < 0){offset = 0;}
	if(innerflashwidth < 220){innerflashwidth = 220;}
	if(innerflashwidth > cellWidth){innerflashwidth = cellWidth;}
	var innerflashwidth = parseInt(innerflashwidth);
	var offset = parseInt(offset);
//	alert(cellWidth + ' vs ' + innerflashwidth);
	//document.getElementById('flashcontainer').style.width = cellWidth;//document.getElementById('calculatewidth').style.width;
	//cellWidth+'px';
	document.getElementById('innerflashcontainer').style.width =  (innerflashwidth + offset)+'px';
	document.getElementById('innerflashoffset').style.width =  offset+'px';
}

