var nb_key=0;

function initSVP(compteur){

	// On initialise tous les blocks ayant besoin d'un sroll vertical custom
	if ($("scroll_vacancies")) new SVP($("scroll_vacancies"),$("vacancies"));
	if ($("scroll_links")) new SVP($("scroll_links"),$("links"));
	if ($("scroll_agenda")) new SVP($("scroll_agenda"),$("agenda"));
	
	if(compteur){
		nb_key=compteur;
		for (var i=0;i<compteur;i++) if ($("scroll_text_"+i)) new SVP($("scroll_text_"+i),$("text_"+i));
	}
	
}