// JavaScript Document
function delete_item(item_id){
	document.location.href='index.php?option=basket&action=remove&basket_item_id='+item_id;		
}

function delete_checkout_item(item_id){
	if(confirm("Do you really want to delete this item from shopping basket?")){
		document.location.href='index.php?option=checkout1&action=remove&basket_item_id='+item_id;		
	}
}

function empty_basket(){
	if(confirm("Do you really want to delete this shopping basket?")){
		document.location.href='index.php?option=basket&action=clear';		
	} 
}
