function animateWarning() {
	$("#warning").animate({ opacity: 0.5 }, 2000, function() {
    	$("#warning").animate({ opacity: 1 }, 2000, function() {
    		animateWarning();
  		});
  	});
}

$(document).ready(function() {
	if (!$.browser.webkit) {
		$("header").css({"color":"rgba(82,96,117,0.5)","background-color":"transparent","text-shadow":"none"});
		$("article").css({"color":"rgba(82,96,117,0.5)","background-color":"transparent","text-shadow":"none"});
		$("footer").css({"color":"rgba(82,96,117,0.5)","background-color":"transparent","text-shadow":"none"});
		$("a").css({"color":"rgba(45,54,67,0.5)","background-color":"transparent","text-shadow":"none"});
		$("a").hover(function () {
    			$(this).css({"color":"rgba(26,32,40,0.5)"});
  			}, 
  			function () {
    			$(this).css({"color":"rgba(45,54,67,0.5)"});
  		});
  		$("footer").append('<br /><span id="warning">For a better experience, please use Safari or Chrome!</span>');
  		animateWarning();
	}
});
