function confirmChoice(quantity, item)
{
docName = document.URL;
query = docName.indexOf("?");
docName = docName.substring(0,query);

if (quantity==1)
{
if (confirm("Warning this will remove the item from the shopping cart!"))
{
//window.location.href=docName + "?action=del&item=" + itemNo + "&count=1";
window.location.href="cart.asp?action=del&item=" + item + "&count=1";
}
}
else
{
//window.location.href=docName + "?action=del&item=" + itemNo + "&count=1";
window.location.href="cart.asp?action=del&item=" + item + "&count=1";
}
}
