	confirmRental = function(e, button, type, id) 
	{
		var url = '/en/content/members/exchange/index/update-confirmation.php?button='+encodeURIComponent(button) +'&type=' + encodeURIComponent(type) + '&id=' + encodeURIComponent(id);
		if (button == 'reject')
		{
			new Ajax.Request(url, {method: 'get', onSuccess: function(transport){ e.parentNode.parentNode.parentNode.removeChild(e.parentNode.parentNode); } });
		}
		else if (button == 'confirm')
		{
			new Ajax.Request(url, {method: 'get', onSuccess: function(transport){ e.parentNode.parentNode.parentNode.removeChild(e.parentNode.parentNode);alert("Your confirmation has been sent.");} });
		}
		
	}
	
	
	
	
	
	
	confirmRentalPost = function(e, button, type, pmID, rID) 
	{
		var url = '/en/content/members/exchange/index/update-confirmation.php?button='+encodeURIComponent(button) +'&type=' + encodeURIComponent(type) + '&pmID=' + encodeURIComponent(pmID);
		if (button == 'reject')
		{
			new Ajax.Request(url, {method: 'get', onSuccess: function(transport) { e.parentNode.parentNode.removeChild(e.parentNode); } });
		}
		else if (button == 'confirm')
		{
			new Ajax.Request(url, {method: 'get', onSuccess: function(transport)
			{ 
				e.parentNode.parentNode.parentNode.removeChild(e.parentNode.parentNode);alert("Your confirmation has been sent.");
			} });
		}
		
	}
	
	
	
	
	
	
	confirmExchange = function(e, button, type, mID, yID, tID) 
	{
		var url = '/en/content/members/exchange/index/update-confirmation.php?button='+encodeURIComponent(button) +'&type=' + encodeURIComponent(type) + '&id=' + encodeURIComponent(mID);
		url += '&yID=' + encodeURIComponent(yID) + '&tID=' + encodeURIComponent(tID);
		if (button == 'reject')
		{
			new Ajax.Request(url, {method: 'get', onSuccess: function(transport) {e.parentNode.parentNode.removeChild(e.parentNode); } });
		}
		else if (button == 'confirm')
		{
			new Ajax.Request(url, {method: 'get', onSuccess: function(transport) 
				{e.parentNode.parentNode.parentNode.removeChild(e.parentNode.parentNode); alert("Your confirmation has been sent.");} });
		}
		
	}
	