function load() {

  if (document.getElementById('bottom_left')) {
    var bottom_left = document.getElementById('bottom_left');
    var bottom_middle = document.getElementById('bottom_middle');
    var bottom_right = document.getElementById('bottom_right');
    bottom_left.style.height = 'auto';
    bottom_middle.style.height = 'auto';
    bottom_right.style.height = 'auto';
    var bl = bottom_left.offsetHeight;
    var bm = bottom_middle.offsetHeight;
    var br = bottom_right.offsetHeight;
    var h = '';
    if (bl >= bm ) {
      if (bl >= br) { h = bl; }
      if (br >= bl) { h = br; }
    }
    else if (bm >= bl ) {
      if (bm >= br) { h = bm; }
      if (br >= bm) { h = br; }
    }

    bottom_left.style.height = h + "px";
    bottom_middle.style.height = h + "px";
    bottom_right.style.height = h + "px";
  }

  if (document.getElementById('bluebar_subpage')) {
    var bluebar = document.getElementById('bluebar_subpage');
    var greybar = document.getElementById('greybar_subpage');
    bluebar.style.height = 'auto';
    if (document.height){
      bluebar.style.height = (document.height - 350) + "px";
      greybar.style.height = (document.height - 192) + "px";
    }
    else {
      bluebar.style.height = (document.body.scrollHeight - 350) + "px";
      greybar.style.height = (document.body.scrollHeight - 192) + "px";
    }
  }

  var rb = document.getElementById('rb');
  var rbtop = document.getElementById('rbtop');
  var rbbot = document.getElementById('rbbot');
  var rbblue = document.getElementById('rbblue');
  var rbbrown = document.getElementById('rbbrown');
  rb.style.height = 'auto';
  rbtop.style.height = 'auto';
  rbbot.style.height = 'auto';
  rbblue.style.height = 'auto';
  rbbrown.style.height = 'auto';
  rb.style.width = 'auto';
  if (document.height){
    var h = document.height - 210;
    rb.style.height = (h) + "px";
    rb.style.width = (document.width - 829 - 37) + "px";
    var h2 = rbtop.style.height;
    rbtop.style.height = 154 + "px";
    rbbot.style.height = h - 154 + "px";
    rbblue.style.height = 154 + "px";
    rbbrown.style.height = h - 154 + "px";
  }
  else {
    var h = document.body.scrollHeight - 210;
    rb.style.height = (h) + "px";
    rb.style.width = (document.body.scrollWidth - 829 - 37) + "px";
    var h2 = rbtop.style.height;
    rbtop.style.height = 155 + "px";
    rbbot.style.height = h - 155 + "px";
    rbblue.style.height = 155 + "px";
    rbbrown.style.height = h - 155 + "px";
  }

  initRollovers();
}


/*
	Standards Compliant Rollover Script
	Author : Daniel Nolan
	http://www.bleedingego.co.uk/webdev.php
*/

function initRollovers() {
	if (!document.getElementById) return
	var aPreLoad = new Array();
	var sTempSrc;
	var aImages = document.getElementsByTagName('img');
	for (var i = 0; i < aImages.length; i++) {

		if (aImages[i].className == 'imgover') {
			var src = aImages[i].getAttribute('src');
			var ftype = src.substring(src.lastIndexOf('.'), src.length);
			var hsrc = src.replace(ftype, '_on'+ftype);
			aImages[i].setAttribute('hsrc', hsrc);
			aPreLoad[i] = new Image();
			aPreLoad[i].src = hsrc;
			aImages[i].onmouseover = function() {
				sTempSrc = this.getAttribute('src');
				this.setAttribute('src', this.getAttribute('hsrc'));
			}
			aImages[i].onmouseout = function() {
				if (!sTempSrc) sTempSrc = this.getAttribute('src').replace('_on'+ftype, ftype);
				this.setAttribute('src', sTempSrc);
			}
		}
 }
}


