$(document).ready(function(){
	var h1F = function() {
		$("h1")
			.animate({ backgroundColor: "#DF1F26" }, 400)
			.animate({ backgroundColor: "#c1de1f" }, 20000)
			.animate({ backgroundColor: "#1fdeb8" }, 20000)
			.animate({ backgroundColor: "#1f82de" }, 20000)
			.animate({ backgroundColor: "#a61fde" }, 20000)
			.animate({ backgroundColor: "#de981f" }, 20000)
			.animate({ backgroundColor: "#DF1F26" }, 20000)
	}
	
	var emF = function() {
		$("em")
			.animate({ color: "#DF1F26" }, 400)
			.animate({ color: "#c1de1f" }, 20000)
			.animate({ color: "#1fdeb8" }, 20000)
			.animate({ color: "#1f82de" }, 20000)
			.animate({ color: "#a61fde" }, 20000)
			.animate({ color: "#de981f" }, 20000)
			.animate({ color: "#DF1F26" }, 20000)
	}
	
	h1F();
	emF();
});