window.onload = function () {
	/*var menuLoadArr = new Array("home","contact","contact","infotrace","licensing","support","training");
	var ranImg = new Array("submit1.png");
	
	var dummyMenuArr1 = new Array();
	var dummyRanArr1 = new Array();
	
	for (var i=0; i < menuLoadArr.length; i++) {
		dummyMenuArr1[i] = new Image();
		dummyMenuArr1[i].src = "/assets/images/menu/" + menuLoadArr[i] + "1.png";
	}
	for (var i=0; i < ranImg.length; i++) {
		dummyRanArr1[i] = new Image();
		dummyRanArr1[i].src = "/assets/images/" + ranImg[i];
	}*/
	reset_div_heights();
}
function reset_div_heights() {
/*	// If the div.mid is smaller than the left column (the top and bottom bits are 30px combined), increase height of the right column to that of the left column
	if ($("#sCRight div.mid").height() + 30 <= $("#sCLeft").height()) {
	//	$("#sCRight").height($("#sCLeft").height());
		$('#sCRight').animate({ height: $("#sCLeft").height() }, '400');
		
		$("#sCRight div.mid").css('height', '100%');
	} else {
		// Alternatively if the left column is smaller than the right column...
		// This works because div.mid will shrink to the height of its containing text and so we set the height of the whole right column to this + top/bottom bits
		// The 15's represent the top and bottom
		var min_height = 15 + 15 + $("#sCRight div.mid div.profile_info").height() +  $("#sCRight div.mid div.profile_photo").height() + 35 + $("#sCRight div.mid div.poll_wrapper").height();
		if ($("#sCRight").height() == 0) {
			// On page load height = 0 and so set this explicitly
			$('#sCRight').animate({ height: $("#sCRight div.mid").height() + 26 }, '400');
			//$("#sCRight").height($("#sCRight div.mid").height() + 26);
		} else {
			// If something on the page changes, we just set the whole height of the right column to the height of the left column
			if ($("#sCLeft").height() < min_height) {
				//$("#sCRight").height(min_height);
				$('#sCRight').animate({ height: min_height }, '400');
			} else {
				$('#sCRight').animate({ height: $("#sCLeft").height() }, '400');
				//$("#sCRight").height($("#sCLeft").height());
			}
		}
	}*/
	
}