// JavaScript Document

//-------------------------------------------
// Updates the number of items in the cart.
function update_cart_count(){
	$('#cart_count').load('/lib/tools/ajax.php?FUNC=cart_count');
	return;
}

//-----------------------------------------------
// Removes and hides an item from the wishlist.
function remove_wishitem(User, Product){
	$.post('/lib/tools/ajax.php?FUNC=wishlist', {USER: User, PRODUCT: Product}, function(response){ $('div.wishitem_'+Product).slideToggle('fast'); });
	return;
}
