var name = "#functiemenu";  
var menuYloc = 20;  //offset from top (of #contentwrapper) in px, see also line 156 stylesheet_modules.css

$(window).load(function(){  
	if($(name).css("top")){
	menuYloc = parseInt($(name).css("top").substring(0,$(name).css("top").indexOf("px")))  
	}
						   
	$(window).scroll(function () {   
		var offset=$(document).scrollTop();
		offset = menuYloc+$(document).scrollTop()+"px";
		$(name).animate({top:offset},{duration:500,queue:false});
		});  
	

 }); 




