function Vignetteon(cadre,vignette) {
	document[cadre].src = vignette;
}

var prixdebase=0;
var prix1=0;
var ajout1=0;
function Affiche(prixdebase,majo) {
	var prixdebase=parseInt(prixdebase);
	prix1=parseInt(majo);
	document.getElementById('prix').innerHTML=prixdebase+prix1 + " &euro;";
	ajout1 = ajout1 + 1;
	document.getElementById('wait').style.visibility= 'hidden';
	document.getElementById('ajout').style.visibility= 'visible';
}

function plusmoins(id,type) {
	var qte = document.forms['ajoutpdt'].elements[id]
	if (type==2) 
		qte.value = parseInt(qte.value) + 1
	if (type==1 && parseInt(qte.value)>0)
		qte.value = parseInt(qte.value) - 1
}

$(function() {
	$("#load").hide();
	$("#load1").hide();
	$("#updtpdt").hide();
	$('a').tooltip({
		track: true,
		delay: 0,
		showURL: false,
		showBody: " - "
	});
	$.localScroll( 2000 );
});

