conheight = YAHOO.util.Dom.getDocumentHeight() - 45; document.getElementById('container').style.height = conheight + "px"; } <?php $onload .= "onload_helper();"; ?> </script> </head> <body style="overflow: auto;" class="yui-skin-sam" id="main" onLoad="<?php echo $onload; ?> " > <?php echo $yui->get_body(); ?> <?php $page->printHeader(); ?> <div id="container" style="position: absolute; top: 50; left: 0; width: 100%; bottom: 0; ; " ></div> <div id="container2" style="position: absolute; top: 50; right: 0; background: #fff; bottom: 0; width: 0%;display: none" ></div> <!-- <iframe src="welcome.php" style="width: 100%; height: 100%; position: absolute; left: 0; top: 75; border: none;" id="main_iframe"></iframe> --> <!-- <div id="searchdiv" style="position: absolute; top: 10; right: 20; width: 150px; height: 20px;">