window.addEvent('domready', function() {
	//-vertical
	//SECOND EXAMPLE
	var home = $('[tab]home');
	//Aggiungo l'evento onclik per indirizzarmi alla pagina voluta
	home.addEvent('click', function(){
	    document.location.href='http://animephobia.net';
	});
	
	home.addEvent('mouseover', function(){
		home.tween('height', 60);
		return false; // alternative syntax to stop the event
	});
	
	home.addEvent('mouseout', function(){
		home.tween('height', 37);
		return false; // alternative syntax to stop the event
	});
	
	var forum = $('[tab]forum');
	//Aggiungo l'evento onclik per indirizzarmi alla pagina voluta
	forum.addEvent('click', function(){
	    document.location.href='http://animephobia.net/forum';
	});http://www.tracker.animephobia.net/
	
	forum.addEvent('mouseover', function(){
		forum.tween('height', 60);
		return false; // alternative syntax to stop the event
	});
	
	forum.addEvent('mouseout', function(){
		forum.tween('height', 37);
		return false; // alternative syntax to stop the event
	});
	
	
	var dlink = $('[tab]dlink');
	//Aggiungo l'evento onclik per indirizzarmi alla pagina voluta
	dlink.addEvent('click', function(){
	    document.location.href='http://animephobia.net/page1.html';
	});
	
	dlink.addEvent('mouseover', function(){
		dlink.tween('height', 60);
		return false; // alternative syntax to stop the event
	});
	
	dlink.addEvent('mouseout', function(){
		dlink.tween('height', 37);
		return false; // alternative syntax to stop the event
	});
	
	var tracker = $('[tab]tracker');
	//Aggiungo l'evento onclik per indirizzarmi alla pagina voluta
	tracker.addEvent('click', function(){
	    document.location.href='http://animephobia.net/page0.html';
	});
	
	tracker.addEvent('mouseover', function(){
		tracker.tween('height', 60);
		return false; // alternative syntax to stop the event
	});
	
	tracker.addEvent('mouseout', function(){
		tracker.tween('height', 37);
		return false; // alternative syntax to stop the event
	});
	
	var ed2k = $('[tab]ed2k');
	//Aggiungo l'evento onclik per indirizzarmi alla pagina voluta
	ed2k.addEvent('click', function(){
	    document.location.href='http://animephobia.net/page2.html';
	});

	ed2k.addEvent('mouseover', function(){
		ed2k.tween('height', 60);
		return false; // alternative syntax to stop the event
	});
	
	ed2k.addEvent('mouseout', function(){
		ed2k.tween('height', 37);
		return false; // alternative syntax to stop the event
	});
	
});