$(document).ready(function() {
	var blank = "#fff"
	var red = "#ed1a23";
	var menuCycles = 0.5;
	var menuDuration = 700;
	var menuSpeed = 0.1;
	var menuColorMouseOut = [
		{param:"background", fromColor:blank, toColor:red, cycles:menuCycles, duration:menuDuration},
		{param:"color", fromColor:red, toColor:blank, cycles:menuCycles, duration:menuDuration}
	];
	var menuColorMouseOver = [
		{param:"background", fromColor:red, toColor:blank, cycles:menuCycles, duration:menuDuration},
		{param:"color", fromColor:blank, toColor:red, cycles:menuCycles, duration:menuDuration}
	];
	
	$(".cap li a").css("background", blank);
	
	$(".cap li a").mouseover(function(){
		$(this).colorBlend(menuColorMouseOver);
	});
	$(".cap li a").mouseout(function(){
		$(this).colorBlend(menuColorMouseOut);
	});
	
	window.setTimeout(function() {
		$(".cap-1").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*1);
	
	window.setTimeout(function() {
		$(".cap-2").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*2);
	
	window.setTimeout(function() {
		$(".cap-3").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*3);
	
	window.setTimeout(function() {
		$(".cap-4").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*4);
	
	window.setTimeout(function() {
		$(".cap-5").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*5);
	
	window.setTimeout(function() {
		$(".cap-6").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*6);
	
	window.setTimeout(function() {
		$(".cap-7").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*7);
	
	window.setTimeout(function() {
		$(".cap-8").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*8);
	
	window.setTimeout(function() {
		$(".cap-9").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*9);
	
	window.setTimeout(function() {
		$(".cap-10").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*10);
	
	window.setTimeout(function() {
		$(".cap-11").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*11);
	
	window.setTimeout(function() {
		$(".cap-12").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*12);
	
	window.setTimeout(function() {
		$(".cap-13").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*13);
	
	window.setTimeout(function() {
		$(".cap-14").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*14);
	
	window.setTimeout(function() {
		$(".cap-15").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*15);
	
	window.setTimeout(function() {
		$(".cap-16").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*16);
	
	window.setTimeout(function() {
		$(".cap-17").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*17);
	
	window.setTimeout(function() {
		$(".cap-18").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*18);
	
	window.setTimeout(function() {
		$(".cap-19").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*19);
	
	window.setTimeout(function() {
		$(".cap-20").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*20);
	
	window.setTimeout(function() {
		$(".cap-21").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*21);
	
	window.setTimeout(function() {
		$(".cap-22").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*22);
	
	window.setTimeout(function() {
		$(".cap-23").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*23);
	
	window.setTimeout(function() {
		$(".cap-24").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*24);
	
	window.setTimeout(function() {
		$(".cap-25").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*25);
	
	window.setTimeout(function() {
		$(".cap-26").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*26);
	
	window.setTimeout(function() {
		$(".cap-27").colorBlend(menuColorMouseOut);
	}, menuDuration*menuSpeed*27);
});