function get_height(targetId) {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement &&
      ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
  //window.alert( 'Width = ' + myWidth );
  //window.alert( 'Height = ' + myHeight );
  //window.alert(myHeight);

ie4 = (document.all)? true:false
ns6 = (!document.all && document.getElementById)?true:false
if (ie4) { 
	frame = document.all["side"];
	contentdiv = document.all["content"];
}
else if (ns6) {
	frame = document.getElementById("side"); 
	contentdiv = document.getElementById("content"); 
}
if(document.getElementById){
contentheight = contentdiv.offsetHeight;
}
else if (document.layers){
contentheight = document.layers[side].clip.height;
}
//contentheight = contentdiv.offsetHeight;
contentheight2 = contentheight + 110;
var htmlheight = document.body.parentNode.scrollHeight; 
var windowheight = myHeight;//window.innerHeight; 
if (contentheight2 <= myHeight) { frame.style.height = myHeight + "px"; } 
else { frame.style.height = contentheight2 + "px"; } 
//window.alert(myHeight +" "+ document.body.parentNode.scrollHeight);
}

var newwindow;
function poptastic(url)
{
	newwindow=window.open(url,'std','scrollbar=no,resizable=yes,status=no,menubar=no,location=no,height=290,width=300');
	if (window.focus) {newwindow.focus()}
}
