// jQuery is required

function toggleDiv (id) {
	$("#"+id).toggle();
}

function hideDiv (id) {
	$("#"+id).hide();
}

function showDiv (id) {
	$("#"+id).show();
}

function makeSameHeight (div_ids) {
	var divs = div_ids.split(",");
	var height = 0;
	var max_height = 0;
	for (x in divs) {
		height = $(divs[x]).height();
		if (height > max_height) max_height = height;
	}
	$(div_ids).height(max_height);
}
