function recalculate_price(bic_id)
{
	new Request({
		url: '/winkelwagen/ajax/changeAmount/'+bic_id+'/'+$('item_amount_'+bic_id).value+'/',
		method: 'get',
		onRequest: function()
		{
			$$('.shopping_cart_overview').each(function(el) {
				el.addClass('loading');
			});
			
			$$('.price_total').each(function(el) {
				el.addClass('loading');
			});
			
		},
		onComplete: function()
		{
			$('main_container').innerHTML = this.response.text;
			
			new Request({
				url: '/winkelwagen/getShort/',
				method: 'get',
				onRequest: function()
				{
				},
				onComplete: function()
				{
					$('winkelmandje').innerHTML = this.response.text;
				}
			}).send();
			
		}
	}).send();
}

function removeShoppingCartRow(bic_id)
{
	new Request({
		url: '/winkelwagen/ajax/removeItem/'+bic_id+'/',
		onRequest: function()
		{
			$$('.shopping_cart_overview').each(function(el) {
				el.addClass('loading');
			});
		},
		onComplete: function()
		{
			$('main_container').innerHTML = this.response.text;
			
			new Request({
				url: '/winkelwagen/getShort/',
				method: 'get',
				onRequest: function()
				{
				},
				onComplete: function()
				{
					$('winkelmandje').innerHTML = this.response.text;
				}
			}).send();
			
		}
	}).send();
}

