function vJustify(elementName){
	var maxHeight=0;
	$ES(elementName).each(function(el){
	    if (el.offsetHeight>maxHeight) {maxHeight=el.offsetHeight;}
	});
   
	$ES(elementName).each(function(el){
	    el.setStyle('height', maxHeight + "px");
	    if (el.offsetHeight>maxHeight) {
	        el.setStyle('height', (maxHeight-(el.offsetHeight-maxHeight))+"px");
	    }
	});   
}

var Navigation = new Class({
	initialize: function(navName){
		var navEls = $E(navName).getChildren();
		var self = this;
		
		for (var i=0; i<navEls.length; i++) {
			navEls[i].addEvent('mouseenter', function(){
				self.clear(navName);
				this.addClass('current');
			});
		}
	},
	
	clear: function(nav) {
		var navEls = $E(nav).getChildren();
		
		for (var i=0; i<navEls.length; i++) {
			navEls[i].removeClass('current');
		}
	}
});

