
		var name = "#menu_fix";
		var menuYloc = null;
		
		$(document).ready(function(){

			var a_all_cookies = document.cookie.split( ';' );
var a_temp_cookie = '';
var cookie_name = '';
var exist = false;
for ( i = 0; i < a_all_cookies.length; i++ ) {
		a_temp_cookie = a_all_cookies[i].split( '=' );

		cookie_name = a_temp_cookie[0].replace(/^\s+|\s+$/g, '');

		if ( cookie_name == "voeux") {
			exist = true;
			break;
		}

}

if(!exist) {
	//$('#voeux').lightBox();

	var date = new Date();
	date.setTime(date.getTime()+(2*24*60*60*1000));
	var expires = date.toGMTString();

	document.cookie = "voeux=ok"+expires+"; path=/";
}

			menuYloc = parseInt($(name).css("top").substring(0,$(name).css("top").indexOf("px")));
			
			
			$(window).scroll(function () { 
			
				contenu_content_footer_pos = $('#contenu_content_footer').findPos();
				menu_fix_pos = $(name).findPos();
				offset = menuYloc+$(document).scrollTop()+"px";
			
				if( (menuYloc+$(document).scrollTop()) < (contenu_content_footer_pos.y-280))
				{
					$(name).animate({top:offset },{duration:500,queue:false});
				}
			});
		}); 

