// JavaScript Document

// Mini Basket Functions ~~ inc_shoppingbasket.asp
function CheckRemoveItemMiniBasket(ID,thecat,thescat,thegsearch,thepage,ID){
	if (confirm("Are you sure wish to remove this item from you basket?\n\n")){
		document.location.href='?a=deletecartitem&TheKey=' + ID	+ '&cat=' + thecat + '&scat=' + thescat + '&gsearch=' + thegsearch + '&page=' + thepage + '&ID=' + ID;
	}
}

// Big Basket Functions ~~ basket.asp
function UpdateMainBasket(Key,TheQuant,thecat,thescat,thegsearch,page){
	//alert(Key)
	if (confirm("Are you sure you want to update your basket...")) {
		//alert("Test Test")
		document.location.href="?action=edititemBASKET&TheKey=" + Key + "&NewQuant=" + TheQuant + "&cat=" + thecat + "&scat=" + thescat + "&gsearch=" + thegsearch  + "&page=" + page;
	}
}
