$(document).ready(function(){
   	
   	var anz = document.cookie;
	
	if (anz && anz.indexOf("info") > -1){
	
		anz = 1;
	
	}else{
	
		anz = null;
	
	}
	
	var jetzt = new Date();
    var verfall = new Date(jetzt.getTime() + 1000*60*60*24);
	
	if(anz == null){	
	
	$('#close>a').click(function(){
	
		document.cookie = "info=1; expires=" + verfall.toGMTString();
	
		$('#black').animate({opacity:'0'},1000,function(){
			
				$(this).remove();
				
			})
			
			$('#black').find('*').animate({opacity:'0'},1000);
			
			return false;
		
		})
	
	}else{
	
		$('#black').remove();
		
	}
   	
   });
