var delayFade = 10000;	//30 secs
var delayHover = 0;	//.3 secs

jQuery(document).ready(function(){
	anim();
});

function anim() {
  	jQuery('#bg')
	.animate({ backgroundColor: "#2323be" }, delayFade)
	.animate({ backgroundColor: "#9913a3" }, delayFade)	
	.animate({ backgroundColor: "#ff247c" }, delayFade)
	.animate({ backgroundColor: "#f56d45" }, delayFade)
	.animate({ backgroundColor: "#ffd700" }, delayFade)
	.animate({ backgroundColor: "#21ff75" }, delayFade)
	.animate({ backgroundColor: "#00ffcc" }, delayFade)
	.animate({ backgroundColor: "#16dcff" }, delayFade)
	.animate({ backgroundColor: "#2369df" }, delayFade, function(){
		anim();
	});
}

