﻿<!--
/*--------------------------------------------------------------------------
 |	The following script has been modified by Chuan Su for use at 			|
 |	www.anthropology.hawaii.edu.											|
 |																			|
 --------------------------------------------------------------------------*/
           
     window.onload = function() { AdjustColumnsHeight(); }       
         
           function AdjustColumnsHeight()
        {
            // get a reference to the two DIVS that make up the columns
            var leftCol = window.document.getElementById('menu');
            var rightCol = window.document.getElementById('main');
            // calculate the max height
            var hLeftCol = leftCol.offsetHeight;
            var hRightCol = rightCol.offsetHeight;
            var maxHeight = Math.max(hLeftCol, hRightCol);
            // set the height of both DIVS to the max height
            leftCol.style.height = maxHeight + 'px';
            rightCol.style.height = maxHeight + 'px';
        }
-->