function defile(el,par){
	el.setStyle({position:"relative",left:parseInt(par.getWidth())+"px"});
	
	new PeriodicalExecuter(
		function(pe){
			var pos = parseInt(el.getStyle("left"));
			if(pos<=parseInt(el.getWidth())*-1){
				pos=parseInt(par.getWidth());
			}else{
				pos -=2;	
			}
			el.setStyle({left:pos+"px"});
		}
	,0.05);
}

function showMenu(id){
	$(id).show();
}

function hideMenu(){
	$$("#menu ul li ul").each(function(el){el.hide()});
}
