function add_to_favs(url,id,box)
{
	$.ajax({
		type: "POST",
		url: url,
		data: {id : id},
		success: function(result){
			$("#"+box).html(result);
		}		
	});
	return false;
}
function remove_from_favs(url,id,box)
{
	$.ajax({
		type: "POST",
		url: url,
		data: {id : id},
		success: function(result){
			$("#"+box).html(result);
		}		
	});
	return false;
}
function add_to_cart(url,id,box)
{
	$.ajax({
		type: "POST",
		url: url,
		data: {id : id},
		success: function(result){
			$("#"+box).html(result);
		}		
	});
	return false;
}
function remove_from_cart(url,id,box)
{
	$.ajax({
		type: "POST",
		url: url,
		data: {id : id},
		success: function(result){
			$("#"+box).html(result);
		}		
	});
	return false;
}
function update_cart(url,id,qty,box)
{
	$.ajax({
		type: "POST",
		url: url,
		data: {id : id, qty: qty},
		success: function(result){
			$("#"+box).html(result);
		}		
	});
	return false;
}
function add_to_compare(url,id,box)
{
	$.ajax({
		type: "POST",
		url: url,
		data: {id : id},
		success: function(result){
			$("#"+box).html(result);
		}		
	});
	return false;
}
function remove_from_compare(url,id,box)
{
	$.ajax({
		type: "POST",
		url: url,
		data: {id : id},
		success: function(result){
			$("#"+box).html(result);
		}		
	});
	return false;
}
function empty_compare(url,box)
{
	$.ajax({
		type: "GET",
		url: url,
		success: function(result){
			$("#"+box).html(result);
		}		
	});
	return false;
}
