FL_dead_zone=200;
FL_start_timeout=25;
FL_max_scroll=10000;
function FL_Start_Scroll(){
	if(parseInt(document.getElementById('main_menu').style.top)!=(document.body.scrollTop-FL_dead_zone)){
		flag=0;
		dy=1;
		if(parseInt(document.getElementById('main_menu').style.top)<(document.body.scrollTop-FL_dead_zone)){
			if(parseInt(document.getElementById('main_menu').style.top)<FL_max_scroll){
				delta=parseInt(document.getElementById('main_menu').style.top)-(document.body.scrollTop-FL_dead_zone);
				if(delta<-50){dy=3;}
				if(delta<-100){dy=6;}
				if(delta<-200){dy=12;}
				if(delta<-300){dy=24;}
				flag=1;
				document.getElementById('main_menu').style.top=parseInt(document.getElementById('main_menu').style.top)+dy+'px';
			}
		}
		else if(parseInt(document.getElementById('main_menu').style.top)>40){
			delta=parseInt(document.getElementById('main_menu').style.top);
			if(delta>50){dy=3;}
			if(delta>100){dy=6;}
			if(delta>200){dy=12;}
			if(delta>300){dy=24;}
			flag=1;
			document.getElementById('main_menu').style.top=parseInt(document.getElementById('main_menu').style.top)-dy+'px';
		}
		if(flag==1){
			setTimeout('FL_Start_Scroll()',FL_start_timeout);
		}
	}else{
		document.getElementById('main_menu').style.top=parseInt(document.body.scrollTop-FL_dead_zone)+'px';
	}
}
