function ChangeUrl(formulaire)
{
if (formulaire.ListeUrl.selectedIndex != 0)
{
location.href = formulaire.ListeUrl.options[formulaire.ListeUrl.selectedIndex].value;
}
else 
{
alert('Veuillez choisir une destination.');
}
}


function PopupImage(img) 
{
titre="Photo agrandie";
w=open("",'image','width=400,height=400,top=1,left=1,toolbar=no,scrollbars=auto,resizable=yes');
w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE>");
w.document.write("<META HTTP-EQUIV='imagetoolbar' CONTENT='no'>");
w.document.write("</HEAD>");
w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+50,document.images[0].height+50); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
w.document.write("<BODY onload='checksize()' oncontextmenu='window.close();return false' ondragstart='window.close();return false' onselectstart='window.close();return false' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border='0' alt='Cliquez pour fermer la fen&ecirc;tre' onClick='self.close()'>");
w.document.write("");
w.document.write("</BODY></HTML>");
w.document.close();
}



// Fonctions de préload
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];
		}
	}
}

// Cette fonction charge dans le cache toutes les images passées en paramètre
function preload() {
	var temp=new load("images/title.gif","images/title0.gif","images/fd_body.jpg","images/fd_gauche.jpg","images/fd_gauche_mi.jpg","images/fd_gauche_mi_mi.jpg","images/header4.jpg")
}

preload()






function clicie() {
	// Fonction de détection pour Internet Explorer
	if (event.button==2) {
		window.location= "index.php";
	}
}
function clicns(e){
	// Fonction pour Netscape
	if(e.which==3){
		window.location= "index.php";
		return false;
	}
}
if (document.all) {	document.onmousedown=clicie;}
if (document.layers) {document.captureEvents(Event.MOUSEDOWN); document.onmousedown = clicns;}





function hidestatus(){
window.status=''
return true
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus

