Event.observe(window, 'load', function(){
	RollOverImage();
	if($('home')) var sb_home = new SwitchBloc('sb','actu',{SwiActIndice:true,SwiDefilAuto:true,SwiDefilTempo: 5});
	if($('schema')) actionSchema(); 
});
var frmContact = function(){
	param_form = { mep:'msg_global', autoScroll: false, action: 'submit'};
	champs_form = {
		nom_contact: {alerte:'Le nom est obligatoire.'},
		fonction_contact: {alerte:'La fonction est obligatoire.'},                      		
		email_contact: {type:'mel',alerte:'L\'email est obligatoire et doit &ecirc;tre valide.'}  ,
		sujet_contact: {alerte:'Le sujet est obligatoire.'},                      
		message_contact: {alerte:'Le message est obligatoire.'}		
	};
	return formVerif('frm_contact', champs_form, param_form);
};

var actionSchema = function(){
	var tabMap = new Array();
	$$('.schema area').each(function(e,i){
		idP = e.href.substring(e.href.lastIndexOf('#')+1);	
		tabMap.push(idP);
		$(tabMap[i]).hide();
		e.observe('mouseover', function(){	
			$(tabMap[i]).show();
		});
		e.observe('mouseout', function(){	
			$(tabMap[i]).hide();
		});		
	});
};
