	// function to match heights to two divs that are next to each other
	function matchHeights(arr) {
		var maxHeight = 0;
		var curHeight = 0;
		for(i=0;i<arr.length;i++) {
			curHeight = document.getElementById(arr[i]).offsetHeight;
			if(curHeight > maxHeight) {
				maxHeight = curHeight;
			}
		}

		maxHeight = maxHeight - 10;
		for(i=0;i<arr.length;i++) {
			document.getElementById(arr[i]).style.height = maxHeight + "px";
		}
	}
