

function modifQte(typePrest,idprest,qte)
{
	/*new Ajax.Request('ajax.php',
	{
		method: 'post',
		parameters: 'typePrest='+typePrest+'&idprest='+idprest+'&qte='+qte,
		onSuccess: function(ajax)
		{
			$('qtt_' + typePrest + '_' + idprest).replace(ajax.responseText);
			
		}
	});*/
	
	$.post('ajax.php', 
	{  
	typePrest:typePrest,
	idprest:idprest,
	qte:qte
	}, 
	function(data)
	{ 
		$('#qtt_' + typePrest + '_' + idprest).empty();
		$('#qtt_' + typePrest + '_' + idprest).append(data);
	}  
                           
   
     );  
}

function choice_agglo(id)
{
	/*new Ajax.Request('ajax.php',
	{
		method: 'post',
		parameters: 'ville_id='+id,
		onSuccess: function(ajax)
		{
			$('agglo').replace(ajax.responseText);
			
		}
	});*/
	$.post('ajax.php', 
	{  
	ville_id:id
	}, 
	function(data)
	{ 
		$('#agglo').empty();
		$('#agglo').append(data);
	}  
                           
   
     );  
	
	
}

function choice_presta(id)
{
	/*new Ajax.Request('ajax.php',
	{
		method: 'post',
		parameters: 'rubrique_id='+id,
		onSuccess: function(ajax)
		{
			$('ss_id').replace(ajax.responseText);
			
		}
	});*/
	
	$.post('ajax.php', 
	{  
	rubrique_id:id
	}, 
	function(data)
	{ 
		$('#ss_id').empty();
		$('#ss_id').append(data);
	}  
                           
   
     );  
}

/*function mailKdo()
{
	if (document.formulaire.recevoir_bon.checked==false) $cacher = false;
	else $cacher = true;
	
	new Ajax.Request('ajax.php',
	{
		method: 'post',
		parameters: 'typePrest='+typePrest+'&idprest='+idprest+'&qte='+qte,
		onSuccess: function(ajax)
		{
			$('qtt_' + typePrest + '_' + idprest).replace(ajax.responseText);
			
		}
	});
}*/
