﻿//This is the Javascript which makes up for CSS short comings

//When the DOM is ready
$(document).ready(function() {
	
	// Get the height of the content.
	// Set vars
	// Content height
	var contentHeight = $("#main-content-inside").height();
	var menuHeight = $("#left-menu-gradient").height();
	
	// If the content is heigher than the Menu. Make the menu match.
	if(contentHeight  > menuHeight )
	{
		$("#left-menu-gradient").height(contentHeight);
	}
	// If the Menu is Heighter. Make the content match.
	else{
		$("#main-content-inside").height(menuHeight);
	}
	
	
	
});
