window.addEvent('domready', function(){
	var szNormal = 30, szSmall = 30, szFull = 100;	 
	var items = $$(".items li");
	
	var fx = new Fx.Elements(items, {wait: false, duration: 300, transition: Fx.Transitions.Back.easeOut});
	items.each(function(item, i) {
		item.addEvent("mouseenter", function(event) {
			var o = {};
			o[i] = {height: [item.getStyle("height").toInt(), szFull], color: '#000'}
			items.each(function(other, j) {
				if(i != j) {
					var w = other.getStyle("height").toInt();
					if(w != szSmall) o[j] = {height: [w, szSmall], color: '#1e6bac'};
				}
			});
			fx.start(o);
		});
	});
	 
	$("content").addEvent("mouseleave", function(event) {
		var o = {};
		items.each(function(item, i) {
			o[i] = {height: [item.getStyle("height").toInt(), szNormal], color: '#1e6bac'}
		});
		fx.start(o);
	});
});