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


		$("kwicks").addEvent("mouseleave", function(event) {
				$( 'kwick_pink' ).fireEvent( 'mouseenter' );
			})
		}); 

window.addEvent('domready', function(){
	$( 'kwick_pink' ).fireEvent( 'mouseenter' );
	}
);
			
			/*$("kwicks").addEvent("mouseleave", function(event) {
			var o = {};
			kwicks.each(function(kwick, i) {
				if (i != activeKwick) {
					o[i] = {width: [kwick.getStyle("width").toInt(), szSmall]}
				}
				else {
					o[i] = {width: [kwick.getStyle("width").toInt(), szFull]}
				}
				if (isNaN(activeKwick)) o[i] = {width: [kwick.getStyle("width").toInt(), szNormal]}			
			});
			fx.start(o);
		});*/
			

/*
I have no clue if the script below pertains... i was trying out a tutorial, I didnt get it to work

addOnload(initOne);

function addOnload(newFunction) {
	var oldOnload = window.onload;
	
	if(typeof oldOnload == "function") {
		window.onload = function() {
			if (oldOnload) {
				oldOnload;
			}
			newFunction();
		}
	}
	else {
		window.onload = newFunction;
	}
}

function initOne() {
	document.getElementById("pageBody").style.color = "#ff0000";
	
}*/