var timeout = 1000;
var myEffects = new Fx.Morph('content', {duration: timeout, transition: Fx.Transitions.Sine.easeOut});
var clickEvent = function(event) {
	event.stop();
	var newhref = this.href;
	//myEffects.start({'height': 447});
	myEffects.start({'paddingTop': 167});
	(function(){window.location.href=newhref;}.delay(timeout));
	return false;
}
$$('a').each(function(item) {
	item.addEvent('click', clickEvent);
});
$('home').removeEvent('click', clickEvent);
