

ejs_scroll_largeur = 135;
ejs_scroll_hauteur = 200;
ejs_scroll_bgcolor = '#CCECEB';
ejs_scroll_background = "images/spacers/bleuclair.gif";
ejs_scroll_pause_seconde = 3;
ejs_scroll_message = new Array;
ejs_scroll_message[0]='<a href="news.html"><strong>A new President for FERCO</strong> On December 10th in Brussels, the FERCO General Assembly elected as its new President the Austrian Norbert Hummel.</a>';
//ejs_scroll_message[0]='<a href="news.html">FERCO and its social partner EFFAT are fighting against the systematic awarding of food services contracts to the lowest bid. With the support of the EU Commission, the social partners in the contract catering sector have published a <strong>Guide to the economically most advantageous offer</strong>.</a>';
ejs_scroll_message[1]='<a href="../docs/EFFAT_FERCO_agreement_CSR_in_the_CC_sector_EN.doc"></a>';
//ejs_scroll_message[2]='<a href="../pdf/FERCO_Monitoring_2007.pdf">Contract catering at the forefront of the fight  against obesity: the FERCO 2007 report shows how the sector contributes to the EU  Platform for Action on Diet, Physical Activity and Health</a>';
//ejs_scroll_message[2]='<a href="../pdf/contract-catering-fights-against-obesity.pdf">FERCO celebrates 2 years of active contribution to the EU Platform for Action on Diet, Physical activity and Health by publishing a brochure.</a>';
//ejs_scroll_message[1]='<a href="news.html">New Members, New Vice President. The FERCO General Assembly took place on 8 December 2004 in Brussels.</a>';
//ejs_scroll_message[2]='<a href="news.html"><b>The FERCO General Assembly  </b>in Stockholm on June 8th 2004</a>';
//ejs_scroll_message[3]='<b>Social Dialogue: </b><a href="news.html">Guide promoting the criterion of the most economically advantageous offer in public calls for tender </a>';

function d(texte)
	{
	document.write(texte);
	}
d('<DIV ID=ejs_scroll_relativ STYLE="position:relative;width:'+ejs_scroll_largeur+';height:'+ejs_scroll_hauteur+';background-color:'+ejs_scroll_bgcolor+';background-image:url('+ejs_scroll_background+')">');
d('<DIV ID=ejs_scroll_cadre STYLE="position:absolute;width:'+(ejs_scroll_largeur-8)+';height:'+(ejs_scroll_hauteur-8)+';top:2;left:2;clip:rect(0 '+(ejs_scroll_largeur-8)+' '+(ejs_scroll_hauteur-8)+' 0)">');
d('<div id=ejs_scroller_1 style="position:absolute;width:'+(ejs_scroll_largeur-8)+';left:0;top:;" CLASS=ejs_scroll>'+ejs_scroll_message[0]+'</DIV>');
d('<div id=ejs_scroller_2 style="position:absolute;width:'+(ejs_scroll_largeur-8)+';left:0;top:'+ejs_scroll_hauteur+';" CLASS=ejs_scroll>'+ejs_scroll_message[1]+'</DIV>');
d('</DIV></DIV>');
ejs_scroll_mode =1;
ejs_scroll_actuel = 0;
function ejs_scroll_start()
	{
	if(ejs_scroll_mode == 1)
		{
		ejs_scroller_haut = "ejs_scroller_1";
		ejs_scroller_bas = "ejs_scroller_2";
		ejs_scroll_mode = 0;
		}
	else
		{
		ejs_scroller_bas = "ejs_scroller_1";
		ejs_scroller_haut = "ejs_scroller_2";
		ejs_scroll_mode = 1;
		}
	ejs_scroll_nb_message = ejs_scroll_message.length-1;
	if(ejs_scroll_actuel == ejs_scroll_nb_message)
		ejs_scroll_suivant = 0;
	else
		ejs_scroll_suivant = ejs_scroll_actuel+1;
	if(document.getElementById)
		document.getElementById(ejs_scroller_bas).innerHTML = ejs_scroll_message[ejs_scroll_suivant];
	ejs_scroll_top = 0;
	if(document.getElementById)
		setTimeout("ejs_scroll_action()",ejs_scroll_pause_seconde*1000)
	}
function ejs_scroll_action()
	{
	ejs_scroll_top -= 1;
	document.getElementById(ejs_scroller_haut).style.top = ejs_scroll_top;
	document.getElementById(ejs_scroller_bas).style.top = ejs_scroll_top+ejs_scroll_hauteur;
	if((ejs_scroll_top+ejs_scroll_hauteur) > 0)
		setTimeout("ejs_scroll_action()",10)
	else
		ejs_scroll_stop()
	}
function ejs_scroll_stop()
	{
	ejs_scroll_actuel = ejs_scroll_suivant;
	ejs_scroll_start()
	}
window.onload = ejs_scroll_start;

