	function AddToCart(productid)
	{
		if(!isInteger(document.getElementById("count_" + productid).value) || document.getElementById("count_" + productid).value == 0)
		{
			alert("Please enter valid quantity!!");
			document.getElementById("count_" + productid).focus();
			return false;
		}

		document.frmViewCart.actionVal.value = "update";
		document.frmViewCart.item.value = productid;
		return true;
	}
	
	function ConfirmOrder()
	{
		var flag;
		flag = confirm("Are You Sure! You Want to place the order?");
		if (flag==true)
		{
			location='https://ssl.sixbyte.net/dlperkins/checkout.php';
			return true;
		
		}
		else
		{
			return false;		
		}
	}
