function add_cart(item_id, quantity, tot) {
	params = "add="+item_id;
	if(quantity != "")
		params += "&nb="+quantity;
	if(tot != "")
		params += "&montant="+tot;
	$.post('/boutique/actions.php', params, function(data){$('#widg_panier').html(data);});
	open_box();
}
function remove_from_cart(item_id) {
		$.post('/boutique/actions.php', "remove="+item_id, function(data){$('#widg_panier').html(data);});
		open_box();
}

function open_box(){
	$("#box_panier").css('display', 'block');	
}
