// JavaScript Document

function adjustIFrameSize (iframeWindow) {
	var iframeElement;
	var frameWidth;

	if (iframeWindow.name != 'framemNU')
		{	frameWidth = 764;
		}
		else
		{	frameWidth = 770;
		}


  if (iframeWindow.document.height) {
	iframeElement = document.getElementById(iframeWindow.name);
	iframeElement.style.height=0 +'px';
var the_height=iframeElement.contentWindow.document.body.scrollHeight;
var the_width=iframeElement.contentWindow.document.body.scrollWidth;
iframeElement.style.height=the_height +20+'px';
//iframeElement.style.width=0+'px';
the_height=0;
  }
  
  else if (document.all) {
    var iframeElement = document.all[iframeWindow.name];
    if (iframeWindow.document.compatMode &&
         iframeWindow.document.compatMode != 'BackCompat') 
    {
     iframeElement.style.height =iframeWindow.document.documentElement.scrollHeight + 100+ 'px';
   // iframeElement.style.width = iframeWindow.document.documentElement.scrollWidth + + 'px';
    }
    else {
      iframeElement.style.height =iframeWindow.document.body.scrollHeight + 0 + 'px';
      iframeElement.style.width = frameWidth + 'px';
	  
    }
  }
  
}


