
var tweenIN = function(item){
	item.target.tween('background-color','#ffffff');
	
}

var tweenOUT1= function(item){
	item.target.tween('background-color','#222222');
}

var tweenOUT= function(item){
	item.target.tween('background-color','#000000');
}

var tweenOUT2= function(item){
	item.target.tween('background-color','#000000');
}

window.addEvent('domready', function() {
	$('t1').addEvent('mouseover', tweenIN);
	$('t1').addEvent('mouseout', tweenOUT);
	$('t2').addEvent('mouseover', tweenIN);
	$('t2').addEvent('mouseout', tweenOUT);
	$('t3').addEvent('mouseover', tweenIN);
	$('t3').addEvent('mouseout', tweenOUT);
	$('t4').addEvent('mouseover', tweenIN);
	$('t4').addEvent('mouseout', tweenOUT);
	$('t5').addEvent('mouseover', tweenIN);
	$('t5').addEvent('mouseout', tweenOUT);
	$('t6').addEvent('mouseover', tweenIN);
	$('t6').addEvent('mouseout', tweenOUT);
	
	$('e1').addEvent('mouseover', tweenIN);
	$('e1').addEvent('mouseout', tweenOUT2);
	$('e2').addEvent('mouseover', tweenIN);
	$('e2').addEvent('mouseout', tweenOUT2);
	$('e3').addEvent('mouseover', tweenIN);
	$('e3').addEvent('mouseout', tweenOUT2);
	$('e4').addEvent('mouseover', tweenIN);
	$('e4').addEvent('mouseout', tweenOUT2);
	$('e5').addEvent('mouseover', tweenIN);
	$('e5').addEvent('mouseout', tweenOUT2);
	
	$('a1').addEvent('mouseover', tweenIN);
	$('a1').addEvent('mouseout', tweenOUT1);
	$('a2').addEvent('mouseover', tweenIN);
	$('a2').addEvent('mouseout', tweenOUT1);
	$('a3').addEvent('mouseover', tweenIN);
	$('a3').addEvent('mouseout', tweenOUT1);
	$('a4').addEvent('mouseover', tweenIN);
	$('a4').addEvent('mouseout', tweenOUT1);
	$('a5').addEvent('mouseover', tweenIN);
	$('a5').addEvent('mouseout', tweenOUT1);
	$('a6').addEvent('mouseover', tweenIN);
	$('a6').addEvent('mouseout', tweenOUT1);
	$('a7').addEvent('mouseover', tweenIN);
	$('a7').addEvent('mouseout', tweenOUT1);
	$('a8').addEvent('mouseover', tweenIN);
	$('a8').addEvent('mouseout', tweenOUT1);
	$('a9').addEvent('mouseover', tweenIN);
	$('a9').addEvent('mouseout', tweenOUT1);
	$('a10').addEvent('mouseover', tweenIN);
	$('a10').addEvent('mouseout', tweenOUT1);
	$('a11').addEvent('mouseover', tweenIN);
	$('a11').addEvent('mouseout', tweenOUT1);
	$('a12').addEvent('mouseover', tweenIN);
	$('a12').addEvent('mouseout', tweenOUT1);
	$('a13').addEvent('mouseover', tweenIN);
	$('a13').addEvent('mouseout', tweenOUT1);
	$('a14').addEvent('mouseover', tweenIN);
	$('a14').addEvent('mouseout', tweenOUT1);
	$('a15').addEvent('mouseover', tweenIN);
	$('a15').addEvent('mouseout', tweenOUT1);
	$('a16').addEvent('mouseover', tweenIN);
	$('a16').addEvent('mouseout', tweenOUT1);
	$('a17').addEvent('mouseover', tweenIN);
	$('a17').addEvent('mouseout', tweenOUT1);
	$('a18').addEvent('mouseover', tweenIN);
	$('a18').addEvent('mouseout', tweenOUT1);
	$('a19').addEvent('mouseover', tweenIN);
	$('a19').addEvent('mouseout', tweenOUT1);
	$('a20').addEvent('mouseover', tweenIN);
	$('a20').addEvent('mouseout', tweenOUT1);
	$('a21').addEvent('mouseover', tweenIN);
	$('a21').addEvent('mouseout', tweenOUT1);
	$('a22').addEvent('mouseover', tweenIN);
	$('a22').addEvent('mouseout', tweenOUT1);
	$('a23').addEvent('mouseover', tweenIN);
	$('a23').addEvent('mouseout', tweenOUT1);
	$('a24').addEvent('mouseover', tweenIN);
	$('a24').addEvent('mouseout', tweenOUT1);
	$('a25').addEvent('mouseover', tweenIN);
	$('a25').addEvent('mouseout', tweenOUT1);
	$('a26').addEvent('mouseover', tweenIN);
	$('a26').addEvent('mouseout', tweenOUT1);
	$('a27').addEvent('mouseover', tweenIN);
	$('a27').addEvent('mouseout', tweenOUT1);	
	
	
});


