	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];}}
	}

	function MM_swapImgRestore() { //v3.0
	  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}

	function MM_findObj(n, d) { //v4.01
	  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	  if(!x && d.getElementById) x=d.getElementById(n); return x;
	}

	function MM_swapImage() { //v3.0
	  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}

	function MM_reloadPage(init) {  //reloads the window if Nav4 resized
	  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
		document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
	  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
	}

	MM_reloadPage(true);

	function verif_rollover(calque,bouton){
		if (document.getElementById) {
			if (document.getElementById(calque).style.display == "none") {
				MM_swapImgRestore();
			}
		}
		if (document.all && !document.getElementById) {
			if (document.all[calque].style.display == "none") {
				MM_swapImgRestore();
			}
		}
		if (document.layers) {
			if (document.layers[calque].display == "none") {
				MM_swapImgRestore();
			}
		}
	}

	function show(calque,bouton){
		if (document.getElementById) {
			document.getElementById(calque).style.display="";
			document.getElementById(bouton).src= "graph/navigation_panier/" + bouton + "_on.gif";
		}
		if (document.all && !document.getElementById) {
			document.all[calque].style.display="";
			document.all[calque].src= "graph/navigation_panier/" + bouton + "_on.gif";
		}
		if (document.layers) {
			document.layers[calque].display="";
			document.layers[calque].src= "graph/navigation_panier/" + bouton + "_on.gif";
		}
	}

	function hide(calque,bouton){
		if (document.getElementById) {
			document.getElementById(calque).style.display="none";
			document.getElementById(bouton).src= "graph/navigation_panier/" + bouton + "_off.gif";
		}
		if (document.all && !document.getElementById) {
			document.all[calque].style.display="none";
			document.all[calque].src= "graph/navigation_panier/" + bouton + "_off.gif";
		}
		if (document.layers) {
			document.layers[calque].display="none";
			document.layers[calque].src= "graph/navigation_panier/" + bouton + "_off.gif";
		}
	}

	function confirmation_action(nom_formulaire,action) {
		if (confirm('Etes vous sûr de vouloir ' + action + ' cet élément ?')) document.forms[nom_formulaire].submit();
	}

	function redimensionne_fenetre(valeur_x,valeur_y) {
		var resolution_hauteur = screen.width;
		var resolution_largeur = screen.height;

		var position_x = (screen.width - valeur_x) / 2;
		var position_y = (screen.height - valeur_y) /2;
		
		window.resizeTo(valeur_x,valeur_y);
		window.moveTo(position_x,position_y);

		window.focus();
	}

	function Agrandissement(){
		window.moveTo(0,0);
		if (document.all) {
			top.window.resizeTo(screen.availWidth,screen.availHeight);
		} else if (document.layers||document.getElementById) {
			if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
				top.window.outerHeight = screen.availHeight;
				top.window.outerWidth = screen.availWidth;
			}
		}
	}

	function ouvre_popup(nUrl,nNom,w,h,nScroll) {
		// nUrl = url
		// nNom = nom de la fenetre
		// w = largeur
		// h = hauteur
		// nScroll = affichage barre de défilement

		// Centrer le popUp
		var winl = (screen.width) ? (screen.width-w)/2 : 0;
		var wint = (screen.height) ? (screen.height-h)/2 : 0;
		var options = 'width='+w+',height='+h+',top='+wint+',left='+winl+',scrollbars='+nScroll+',resizable=no';

		// Ouvrir le popUp
		nouvelle_fenetre = window.open(nUrl,nNom,options);

		// Forcer le focus sur un PopUp déjà ouvert
		if(nouvelle_fenetre.window.focus){
			nouvelle_fenetre.window.focus();
		}
	}

	function fermeture(url_refresh) {
		if (url_refresh != '') window.opener.location.href = url_refresh;
		window.opener = self;
		top.close();
	}

	function fermeture2() {
		window.opener = self;
		top.close();
	}

	function objet() {
		this.length = objet.arguments.length;
		for (var i = 0; i < this.length; i++) this[i+1] = objet.arguments[i];
	}

	var nom = new objet ("guitare-img1.JPG", "guitare-img2.JPG", "guitare-img3.JPG", "guitare-img4.JPG", "guitare-img5.JPG", "guitare-img6.JPG", "guitare-img7.JPG", "guitare-img8.jpg", "guitare-img9.JPG", "guitare-img10.JPG");
	var numero = 1;

	function changer() {
		document.image_rotative.src = "elements/images_dynamiques/"+nom[numero];
		numero += 1;
		if (numero == nom.length + 1) numero = 1;
		setTimeout("changer()", 1500);
	}
