function init() {
  /* Force sidebars to grow to content area */

  /* Get the content area and columns */
  var col1_container = YAHOO.util.Dom.getElementsByClassName('sidebar', 'div', 'left');
  var col2_container = YAHOO.util.Dom.getElementsByClassName('sidebar', 'div', 'right');

  /* Get the area and heights for all columns */
  var content_area = YAHOO.util.Dom.getRegion('main');
  var content_height = content_area.bottom - content_area.top;

  var col1_area = YAHOO.util.Dom.getRegion('left');
  var col1_area_height = col1_area.bottom - col1_area.top;

  var search_area = YAHOO.util.Dom.getRegion('search');
  var search_area_height = search_area.bottom - search_area.top;

  var col2_area = YAHOO.util.Dom.getRegion('right');
  var col2_area_height = col2_area.bottom - col1_area.top;

  if (content_height) {
    if ((content_height > col1_area_height) && (content_height > col2_area_height)) { 
      var col1_height = content_height-search_area_height-30 + "px";
      var col2_container_height = content_height-20 + "px";

      YAHOO.util.Dom.setStyle(col1_container[0], 'height', col1_height);
      YAHOO.util.Dom.setStyle(col2_container[0], 'height', col2_container_height);
    } else if(col1_area_height > col2_area_height) {
      col1_area_height -= 20;
      col1_area_height += "px";
      YAHOO.util.Dom.setStyle(col2_container[0], 'height', col1_area_height);
  } else {
    col2_area_height -= 10;
    col2_area_height -= search_area_height;
    col2_area_height += "px";

    YAHOO.util.Dom.setStyle(col1_container[0], 'height', col2_area_height); 
  }
}

YAHOO.util.Dom.setStyle('brilliant_futures', 'display', 'block');
}

YAHOO.util.Event.onDOMReady(init);
