var currentPage = "";

function rollOver(image) {
	image.src=path + 'images/menugauche/' + image.name + '-actif.png';
}

function rollOut(image) {
  image.src= path + 'images/menugauche/' + image.name + '.png';
}


function enteteRollOver(nom) {
var img = document.getElementById("Image_Entete_" + nom);
if (nom != currentPage) img.src = path + "images/entete/" + nom + "-actif.png";
}

function enteteRollOut(nom) {
var img = document.getElementById("Image_Entete_" + nom);
if (nom != currentPage) img.src = path + "images/entete/" + nom + ".png";
}

/*
function load() {
	if (document.images) {
		this.length=load.arguments.length;
		for (var i=0;i<this.length;i++) {
			this[i+1]=new Image();
			this[i+1].src=load.arguments[i];
		}
	}
}
function preload() {
// Cette fonction charge dans le cache toutes les images passées en paramètre
	var temp=new load("image1.gif","image2.gif","image3.gif")
}

*/


function filmOver(idcorpus) {
var soustitre = document.getElementById("soustitre_film_" + idcorpus).firstChild;

var el = document.getElementById("Bloc_Soustitre_Film");
if (soustitre != null) {
el.firstChild.data = soustitre.data;
}
else el.firstChild.data = "";
}

function filmOut(idcorpus) {
var el = document.getElementById("Bloc_Soustitre_Film");
el.firstChild.data = "";
}
