// Lien vers page pour  demo statique : Sur le type="button" du formulaire

function va(nom) {
	document.location.href=nom;
}

// preload barre de navigation
var boutons=new Array();

boutons[0]="url image,largeur,hauteur";
boutons[1]="../images/btn_pro_hover.png,21,24";

function preLoadImages() {
	for (i=0;i<boutons.length;i++) {
		img=boutons[i].split(",");
		tmp=new Image(img[1],img[2]);
		tmp.src=img[0];
	}
	return true;
} // Fin preload


function rollOver(elm,img) {
	return elm.src="../images/"+img+"_hover.png";
}

function rollOut(elm,img) {
	return elm.src="../images/"+img+".png";
}

function rollDown(elm,img) {
	return elm.src="../images/"+img+"_active.png";
}

function getElement(id) {
	if (document.getElementById)
	    // Moz, IE5+, Opera, NN6+
		return document.getElementById(id);
	else if (document.all)
	    // IE4
		return eval("document.all."+id);
	else if (document.layers)
	    // NN4
	    return eval("document."+id);
}

function toggleDisplay(id) {
	return getElement(id).style.display=(getElement(id).style.display == "none" ? "block" : "none");
}

function showElement(id) {
	return getElement(id).style.display="block";
}

function hideElement(id) {
	return getElement(id).style.display="none";
}

function popUp(href,title,width,height) {
	pop=window.open(href,title,"top=0,left=0,width="+width+",height="+height+",toolbar=0,location=0,menubar=0,status=0,scrollbars=1,resizable=1");
	if(pop.window.focus){pop.window.focus();}
}

//Ferme un pop up et reload la page mère . Sur le lien : onClick="closeWindow()"
function closeReload() 
{
	window.close();
	this.opener.location.reload();
}

<!--
  function montre(id) {
    showElement(id);
  }

 function cache(id) {
   hideElement(id);
 }
//-->