function equalHeight(columns) {
	var tallest = 0;
	
	for ( var i in columns )
	{
	var thisHeight = $(columns[i]).height();
		if(thisHeight > tallest) {
			tallest = thisHeight;
			
		}
	}
	tallest += 320;
		$("#mainContent").height(tallest);
		$("#sidebar1").height(tallest);
		//$("#bottomGreyBar").delay(5000).animate({    top: '+=150'  }, 5000, function() {
    // Animation complete.  });


}

/*function addEllipsePath (context, cx, cy, r1, r2, startAngle, endAngle) {
context.save();
context.translate(cx, cy);
context.scale(r1, r2);
context.arc(0, 0, 1, startAngle, endAngle, 0);
context.restore();
}

var c=document.getElementById("myCanvas");
var cxt=c.getContext("2d");
addEllipsePath(cxt, 245, 222, 245, 235, 0, Math.PI * 2);
cxt.fillStyle="#e28934";


cxt.fill();
*/
// Dropdown menu using superfish
jQuery(document).ready(function($) {
	var columnsArray = [ "#mainContent", "#sidebar1" ];
	
	equalHeight(columnsArray);
	
});
