var d=document;
function run_ajax(_1,_2,_3){
$(_1).innerHTML="<img src='/p-"+version+"/wait.gif' width=25 height=23 alt=''>";
this.container=_1;
var _4=_3.onComplete||Prototype.emptyFunction;
_3.onComplete=(function(){
_4();
}).bind(this);
_3.onFailure=function(t){
alert(msg_ajax_error_failure+t.status+" - "+t.statusText+").");
};
_3.on403=function(t){
alert(msg_ajax_error_403);
};
_3.on404=function(t){
alert(msg_ajax_error_404);
};
var _8=new Date();
t=Date.parse(_8);
_3["parameters"]+="&timestamp="+t;
var _9=new Ajax.Updater(_1,_2,_3);
}
function lang_submit(){
var v=d.f_lang.lang.value;
switch(v){
case "FRA":
d.location="http://www.lafourchettepro.com";
break;
case "SPA":
d.location="http://www.info-eltenedor.es";
break;
}
}
var increment = 1;
var lf_rest_init = false;
var lf_rest;
function scroll() {
	if (document.getElementById('rest_lf')) {
		if (! lf_rest_init) {
			lf_rest = document.getElementById('rest_lf');
			lf_rest_init = true;
		}
		var pos = lf_rest.scrollTop;
		lf_rest.scrollTop+= increment;
		if (lf_rest.scrollTop == pos) increment = -increment;
	}
}
window.setInterval("scroll()", 35);

