	function get_js_section(go_link,go_back_path,sep_to_use,ext_to_use,url_and_param_name) {
		var section,chemin,undefined;
		section = "";
		/* Default values or init */
		if (go_back_path == undefined) { go_back_path = 1; }
		if (sep_to_use == undefined) { sep_to_use = "/"; }
		if ((sep_to_use != "/") && (ext_to_use == undefined)) { ext_to_use = ".html"; } else if (sep_to_use == "/") { ext_to_use = ""; }
		if ((ext_to_use != undefined) && (ext_to_use.length>0) && (ext_to_use.indexOf('.') == -1)) { ext_to_use = "."+ext_to_use; }
		if (url_and_param_name == undefined) { url_and_param_name = ""; } else { url_and_param_name=ext_to_use+"?"+url_and_param_name+"="; ext_to_use="";}
		chemin = document.location.pathname.split('/');

		for(var i = 2; i <= go_back_path+1; i++) { section = chemin[(chemin.length)-i]+sep_to_use+section; }
		if (sep_to_use != "/") { section = section.slice(0,section.length-1); }

		var go_url = go_link+url_and_param_name+section+ext_to_use;
		return go_url;
	}


	function addBP() {
		// Récup nom du modèle
		tag_span = document.getElementsByTagName('SPAN');
		for (var i=0,j=tag_span.length; i<j; i++) { 
			if (tag_span[i].className == 'active') { var mod = tag_span[i].firstChild.data; }
		}
		var niceMod = mod.replace("/","-");
		niceMod = niceMod.replace(" ","-");
		//alert(niceMod);
		// Init var
		var baseURL = "http://www2.yamaha-motor.fr/actu/spip.php?article";
		var bpID = "";
		// Set ID article en fonction du modèle
		switch(niceMod) {
		case "TDM900-ABS":
			// BP motos
			bpID = "2435";
			break;
		case "XT125R":
		case "YBR125-Custom":
			// BP 125
			bpID = "2444";
			break;
		}
		// Si ID article set on lance la modif
		if (bpID!="") {
			var obj = document.getElementById("product_visual");
			texte = document.createTextNode("Les bons plans du réseau");
		
			stuff = document.createElement("div");
			stuff.setAttribute("style", "margin:10px;text-align:center;font-weight:bold;color:red");
		
			link = document.createElement("a");
			link.setAttribute("href", baseURL+bpID);
		
			pict = document.createElement("img");
			pict.setAttribute("src", "http://www2.yamaha-motor.fr/09/bons-plans/"+niceMod+".jpg");
			pict.setAttribute("title", "Les bons plans du réseau Yamaha");
			pict.setAttribute("border", "1");
			pict.setAttribute("width", "170");
			pict.setAttribute("height", "142");
		
			link.appendChild(pict);
		
			stuff.appendChild(link);
		
			var divChild = obj.getElementsByTagName("div");
		
			divChild[2].appendChild(stuff);
		}
	}