jQuery(function($) {
	$('.acceptInvitations a').before('<div class="acceptInvitationsFlash"></div>');
	var bg = $('.acceptInvitationsFlash');
	bg.width($('.acceptInvitations').width());
	$('.acceptInvitations a').css({ position: "absolute" });
	bg.css({ opacity: 0 });
	var doFlash = function() {
		bg.animate({ opacity: 1 },500, function() {
			bg.animate({ opacity: 0 },500, function() {
				doFlash();
			});
		});
	}
	doFlash();
});
