function changeImage(obj,path) {
	obj.src=path;
}
function boutonOver(action,id) {
	var objLien=window.document.getElementById(id);
	var objImg=window.document.getElementById(id+"_img");
	if(action=="over") {
		objLien.className="contactezNous_over";
		objImg.src="/images/pack/accueil/fleche_vert.png";
	}
	else {
		objLien.className="contactezNous";
		objImg.src="/images/pack/accueil/fleche_blanc.png";
	}
}
function menuOver(action,id,img) {
	var objGauche=window.document.getElementById("imgMenu_"+id+"_gauche");
	var objLien=window.document.getElementById("linkMenu_"+id);
	var objDroite=window.document.getElementById("imgMenu_"+id+"_droite");
	if(action=="over") {
		objGauche.src="/images/menu/gauche_blanc.png";
		if(img=="noir") {
			objLien.className="menuSite_over";
		}
		else {
			objLien.className="menuSI_over";
		}
		objDroite.src="/images/menu/droite_blanc.png";
	}
	else {
		objGauche.src="/images/menu/gauche_"+img+".png";
		if(img=="noir") {
			objLien.className="menuSite";
		}
		else {
			objLien.className="menuSI";
		}
		objDroite.src="/images/menu/droite_"+img+".png";
	}
}
function GAstart() {
	/*
	_gaq.push(['_setAccount', tagAnalytics]);
	_gaq.push(['_trackPageview']);
	*/
	if(typeof(_gat)=="object") {
		pageTracker = _gat._getTracker(tagAnalytics);
		pageTracker._initData();
		pageTracker._trackPageview();
	}
}
function GAtrackPage(url) {
	pageTracker._trackPageview(url);
}
function GAtrackEvent(categorie,action,option_label,option_value) {
	option_value = typeof(option_value) != 'undefined' ? option_value : 1;
	//_gaq.push(['_trackEvent', 'name', value]);	
	pageTracker._trackEvent(categorie,action,option_label,option_value);
}
function lien(url,type) {
	if(type=="popup") {
		window.open(url,"","");
	}
	else {
		window.document.location.href=url;	
	}
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

