function resize(container){ 

var frame = document.getElementById(container); 

var htmlheight = document.body.parentNode.scrollHeight; 
var windowheight; 
if (parseInt(navigator.appVersion)>3) {
 if (navigator.appName=="Netscape") {
  windowheight = window.innerHeight;
 }
 if (navigator.appName.indexOf("Microsoft")!=-1) {
  windowheight = document.body.offsetHeight;
 }
}


var final;

var height = 0;

    if( typeof( window.innerHeight ) == 'number' ) {
	//Non-IE
	height = window.innerHeight;
    } else if( document.documentElement && document.documentElement.clientHeight ) {
	//IE 6+ in 'standards compliant mode'
	height = document.documentElement.clientHeight;
    } else if( document.body && document.body.clientHeight ) {
	//IE 4 compatible
	height = document.body.clientHeight;                                                                                                                   }
//    return parseInt(height);

//alert(height);
//final = windowheight-260;
final = height-200;
//final = document.body.availHeight;

//alert(final);
	frame.style.height= final + "px";

} 
