<!--
function s() { if (parent != self) top.location = self.location;  return true;}

function openNew(address)
{
    win_ref = window.open(address,
                          'main',
                          'toolbar=1,resizable=1,menubar=1,location=1,'+
                          'status=1,scrollbars=1,width=710,height=370,'+
                          'screenX=35,screenY=15');

    win_ref.focus();
    return false;
}

function init()
{
    intrinsicHeight = document.getElementById("content").offsetHeight;
}

function load(offset, bottom)
{
    document.search_form.keywords.focus();
    init();
    position(offset, bottom);
}

function position(offset, bottom)
{
   var height = 0;
   if (bottom) {
      height = 
         Math.max(document.getElementById("w").clientHeight -
                  document.getElementById("topLink").offsetHeight -
                  document.getElementById("botLink").offsetHeight - offset, 
                  200);
   }
   else {
      height =
         Math.min(intrinsicHeight, 
                  Math.max(200,
                           document.getElementById("w").clientHeight -
                           document.getElementById("topLink").offsetHeight -
                           document.getElementById("botLink").offsetHeight - offset));
   
   }
   if (typeof(window.innerHeight) == 'number') {
      height = window.innerHeight -
               document.getElementById("topLink").offsetHeight -
               document.getElementById("botLink").offsetHeight - offset;
   }
   document.getElementById("content").style.height = height;
}
//-->