// this code animates the error box and removes it on click

$(document).ready(function() {
		//alert('ready');
		$('.error').fadeIn('slow').animate({opacity: .9}, 20000)
			.fadeIn('slow', function() {
				
   			});
		//remove the error box when the user clicks on it
		$('.error').click(function() {
			//alert('click');
			$('.error').remove();
   			
		});
	});