// JavaScript Document
// 2008, Yukon Native Language Centre (dh). open source.
  function fixHeights() {
    var theiframe = document.getElementById('bioframe');
    var body = window.frames['bioframe'].document.body;
      if(body) {
        theiframe.style.height = (body.scrollHeight || body.offsetHeight) + 15 + 'px';
      }
//    }

//function matchDivHeight() { 
var sbarH = document.getElementById('sidebar').offsetHeight;
var sbarS = document.getElementById('sidebar').style;
var cntH = document.getElementById('content').offsetHeight;
var cntS = document.getElementById('content').style;
if (sbarH < cntH) {
sbarS.height = cntH + 'px'
} else {
cntS.height = sbarH + 'px'
}}

