function deleteAllCart(color, id_session)
{
	//document.location.href	= 'delete.php';
	oPile.addItem(new oPileElement('GET', __URL__ + '/process/delete.php', 'color='+color+'&all=1'+id_session , 'cartDeleted(this.lItem.responseText)'));
	affDiv("id",'cart_wait',null);
}

function deleteCart(color, idp, id_session)
{
	oPile.addItem(new oPileElement('GET', __URL__ + '/process/delete.php', 'color='+color+'&idp='+idp+id_session , 'cartDeleted(this.lItem.responseText)'));
	affDiv("id",'cart_wait',null);
}

function cartDeleted(str)
{
	set_class_div("id",'cart_wait',null,'invisible');
	setCont('id','cart_contents',null,str);
}
