//function calcHeight()
//{
  //find the height of the internal page
//  var the_height=
 //   document.getElementById('the_iframe').contentWindow.
//      document.body.scrollHeight;
//
  //change the height of the iframe
//  document.getElementById('the_iframe').height=
//      the_height;
//document.write(document.getElementById('the_iframe').height+ "test");
//}

function calcHeight()
{
  //find the height of the internal page
  var the_height=
    document.getElementById('the_iframe').contentWindow.
      document.body.scrollHeight;

if(the_height < 160) the_height =30;
if(the_height > 500) the_height =80;

  //change the height of the iframe
  document.getElementById('the_iframe').height=
      the_height;
}


function iframeheight() {
 if(document.getElementById && !(document.all)) {

  h = document.getElementById('moreinf').contentDocument.body.scrollHeight;
if(h < 160) h =30;
if(h > 500) h =80;
  document.getElementById('moreinf').style.height = h;

 }
 else if(document.all) {
  h = document.frames('moreinf').document.body.scrollHeight;
if(h < 160) h =30;
if(h > 500) h =80;
  document.all.moreinf.style.height = h;
 }

}
