
function initPromo() {
		var _box = $("promo-content");
		var _nav = $("promo-nav");
		if (_box && _nav)
		{
			var fx = new Fx.Styles(_box, {
				duration:1000,
				wait:false
			});
			
			var flinks = _nav.getElements("a");
			flinks.each(function(link, i) {
				link._index = i;
				link.addEvent("mouseenter", function(event){
					new Event(event).stop();
					fx.start({
						'left': 0 - 759*this._index
					});
					flinks.each(function(fl){
						fl.className = fl.className.replace("active", "");
					});
					this.className += " active";
				});
				if (link.className.indexOf("active") != -1)
				{
					fx.start({
						'left': 0 - 759*link._index
					});
				}
			});
		}
}

if (window.addEventListener) {
	window.addEventListener("load", initPromo, false);
}
else if (window.attachEvent) {
	window.attachEvent("onload", initPromo);
}