function showDocument(uri) {
  location.href = uri;
  return true;
}

function showUrl(url) {
  window.location.href = url;
  return true;
}

function placeFooter() {
  	if ((h=window.innerHeight-3) || (document.body && (h=document.body.offsetHeight))) {
    	if (gif=document.gifContentHeight) {
	      gif.height = h - document.getElementById("logocontainer").offsetHeight - document.getElementById("topnavcontainer").offsetHeight - document.getElementById("footercontainer").offsetHeight;
	    }
	  }
}


function printPage(url) {
    var wnd = window.open(url, "", "toolbar=no,location=no,menubar=yes,resizable=yes,scrollbars=yes,width=622,height=768");
    if (wnd) {
        wnd.focus();
        wnd.print();
    }
}
