  function get2ColHeight() {
    var box = new Array("twocolmaincontent","rightsidebar"); //list of DIV ids
    for(x=0;x<box.length-1;x++) { //determine the tallest div
      h = window.document.getElementById(box[x]).offsetHeight;
      for(y=0;y<box.length;y++) {
        test_h = window.document.getElementById(box[y]).offsetHeight;

        if(h<test_h) h = test_h;
      }  
    }
    for(x=0;x<box.length-1;x++) window.document.getElementById(box[x]).style.height = 100 +"%"; //reset the height of all divs to 100%
    for(x=0;x<box.length-1;x++) window.document.getElementById(box[x]).style.height = h +"px"; //set the height of all divs to the tallest
  }
  
  function get3ColHeight() {
    var box = new Array("leftsidebar","threecolmaincontent","rightsidebar"); //list of DIV ids
    for(x=0;x<box.length-1;x++) { //determine the tallest div
      h = window.document.getElementById(box[x]).offsetHeight;
      for(y=0;y<box.length;y++) {
        test_h = window.document.getElementById(box[y]).offsetHeight;

        if(h<test_h) h = test_h;
      }  
    }
    for(x=0;x<box.length-1;x++) window.document.getElementById(box[x]).style.height = 100 +"%"; //reset the height of all divs to 100%
    for(x=0;x<box.length-1;x++) window.document.getElementById(box[x]).style.height = h +"px"; //set the height of all divs to the tallest
  }
