		window.addEvent('domready', function(){
			var szNormal = 120, szSmall  = 120, szFull   = 390;
			
			var portals = $$("#portals .portal");
			var fx = new Fx.Elements(portals, {wait: false, duration: 300, transition: Fx.Transitions.Back.easeOut});
			portals.each(function(portal, i) {
				portal.addEvent("mouseenter", function(event) {
					var o = {};
					o[i] = {width: [portal.getStyle("width").toInt(), szFull]}
					portals.each(function(other, j) {
						if(i != j) {
							var w = other.getStyle("width").toInt();
							if(w != szSmall) o[j] = {width: [w, szSmall]};
						}
					});
					fx.start(o);
				});
			});
			
			$("portals").addEvent("mouseleave", function(event) {
				var o = {};
				portals.each(function(portal, i) {
					o[i] = {width: [portal.getStyle("width").toInt(), szNormal]}
				});
				fx.start(o);
			})
			
		}); 
