<!--
function myframedo()
{
  //width of the left side - need to be changed if the first div is different
  var leftsidewidth = 220;
  
  //height and width of the page
  var window_height, window_width;
  
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    window_width = window.innerWidth;
    window_height = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    window_width = document.documentElement.clientWidth;
    window_height = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    window_width = document.body.clientWidth;
    window_height = document.body.clientHeight;
  }

	//ie 3px bug fix
	//if ( is_ie5up == true ) { leftsidewidth = leftsidewidth+3; }

  //changing the height of the iframe
  document.getElementById('my_iframe').height= window_height;
  document.getElementById('my_iframe').width = (window_width - leftsidewidth);
  document.form1.hidIH.value = window_height;
  document.form1.hidIW.value = (window_width - leftsidewidth);
  //var temp1 = 'body.clientwidth='+document.body.clientWidth+'\r\nclientHeight='+document.body.clientHeight+'\r\nscrollWidth='+document.body.scrollWidth+'\r\nscrollHeight='+document.body.scrollHeight+'\r\niframeW='+document.getElementById('my_iframe').width+'\r\niframeH='+document.getElementById('my_iframe').height+'\r\niframeScrollW='+document.getElementById('my_iframe').scrollWidth+'\r\niframeScrollH='+document.getElementById('my_iframe').scrollHeight+'\r\nwindow.innerW'+window.innerWidth+'\r\nwindow.innerH='+window.innerHeight+'\r\noffsetW='+document.body.offsetWidth+'\r\noffsetH='+document.body.offsetHeight;
  //alert('body.clientwidth='+window_width+'\r\nclientHeight='+window_height+'\r\nscrollWidth='+document.body.scrollWidth+'\r\nscrollHeight='+document.body.scrollHeight+'\r\niframeW='+document.getElementById('my_iframe').width+'\r\niframeH='+document.getElementById('my_iframe').height+'\r\niframeScrollW='+document.getElementById('my_iframe').scrollWidth+'\r\niframeScrollH='+document.getElementById('my_iframe').scrollHeight+'\r\nwindow.innerW'+window.innerWidth+'\r\nwindow.innerH='+window.innerHeight+'\r\noffsetW='+document.body.offsetWidth+'\r\noffsetH='+document.body.offsetHeight);
}
//-->

//onload part
	if (window.addEventListener){
		document.addEventListener("DOMContentLoaded", myframedo, false);
		window.addEventListener("load", myframedo, false);
	}
	else if (window.attachEvent)
	{
		window.attachEvent("onload", myframedo);
	}
	else if (document.all || document.getElementById)
	{
		window.onload=myframedo;
	}
//end of onload part

//onresize part
   window.onresize = myframedo;
