$(document).ready(function() {
	var heights = new Array();
	var parent = '';

	// Prepare height for sequence that is for a 3 col layout (left and right nav)
	$('.vt-narrow').children('div.cell').each(function() {
		parent = $(this).parent().attr('id');
		if (!heights[parent]) { heights[parent] = 0; }
		if (parent != '' && $(this).height() > heights[parent]) {
			heights[parent] = $(this).height();
		}
	});
	$('.vt-narrow').children('div.cell').each(function() {
		parent = $(this).parent().attr('id');
		$(this).height(heights[parent]);
	});
	
	// Prepare height for sequence that is for a 2 col layout (left nav only)
	$('.vt-wide').children('div.cell').each(function() {
		parent = $(this).parent().attr('id');
		if (!heights[parent]) { heights[parent] = 0; }
		if (parent != '' && $(this).height() > heights[parent]) {
			heights[parent] = $(this).height();
		}
	});
	$('.vt-wide').children('div.cell').each(function() {
		parent = $(this).parent().attr('id');
		$(this).height(heights[parent]);
	});

});