function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImagesArray(array) {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<array.length; i+=2) {
			document[array[i]].src = array[i+1];
		}
	}
}

function changeImages() {
	changeImagesArray(changeImages.arguments);
}

function toggleImages() {
	for (var i=0; i<toggleImages.arguments.length; i+=2) {
		if (selected == toggleImages.arguments[i])      changeImagesArray(toggleImages.arguments[i+1]);
	}
}

var selected = '';
var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		id01_home_04_over = newImage("/images/01_home_04-over.gif");
		id01_home_04_sel = newImage("/images/01_home_04-sel.gif");
		id01_home_05_over = newImage("/images/01_home_05-over.gif");
		id01_home_05_sel = newImage("/images/01_home_05-sel.gif");
		id01_home_06_over = newImage("/images/01_home_06-over.gif");
		id01_home_06_sel = newImage("/images/01_home_06-sel.gif");
		id01_home_07_over = newImage("/images/01_home_07-over.gif");
		id01_home_07_sel = newImage("/images/01_home_07-sel.gif");
		id01_home_08_over = newImage("/images/01_home_08-over.gif");
		id01_home_08_sel = newImage("/images/01_home_08-sel.gif");
		id01_home_09_over = newImage("/images/01_home_09-over.gif");
		id01_home_09_sel = newImage("/images/01_home_09-sel.gif");
		preloadFlag = true;
	}
}

// function setHeight call: setInterval("setHeight('content-left-top','content-left-bottom','content-right')",1);

// This function when called via the above statement forces the left column and body column to the same height, if the body column would have otherwise been of greater height than the left column.

// To work the left-top, left-bottom, and body column tables must have a name as passed to function in the first parameter.

function setHeight(element1,element2,element3){
var height1=document.getElementById(element1).offsetHeight;
var height2=document.getElementById(element2).offsetHeight;
var height3=document.getElementById(element3).offsetHeight;
var height4=(height1 + height2) + 4
var height5=(height3 - height2) - 4

if (height4<height3){document.getElementById(element1).style.height=height5+'px';}

{return;}
}