// JavaScript Document
	var gintFormID = 0;
	var intQty;
	//FUNCTION TO INCREASE AND DECREASE VALUE OF ITEMS TO BUY
	//ADO 02.14.03
	function increase(frmF)
	{
		if(document.forms[frmF].elements["intQty"].value < 0){
			document.forms[frmF].elements["intQty"].value = 1;
			return;
		}
		document.forms[frmF].elements["intQty"].value = ++document.forms[frmF].elements["intQty"].value
	}
	function decrease(frmF){	
		if(document.forms[frmF].elements["intQty"].value <= 0){
			document.forms[frmF].elements["intQty"].value = 1;
			return;
		}
		document.forms[frmF].elements["intQty"].value = --document.forms[frmF].elements["intQty"].value
	}
	//Add code to increase the qty for each form
	function RemProduct(intProdID, intNewID)
	{
		var strCheck = confirm('Are you sure you wish to remove this product from your cart?');
		if (strCheck == true)
			window.location.href = 'index.asp?PageAction=REMOVEPROD&ProdID=' + intProdID + '&DetailsID=' + intNewID
	}
	function validateUpdateCartDetails(intQty)
	{
		strValidChars = '0123456789.-,'
		if(IsNumeric(document.getElementById(intQty).value)==false)
		{
			alert('Please enter a numeric value for qty');
			document.getElementById(intQty).value = document.getElementById(intQty).defaultValue;
			document.getElementById(intQty).focus();
			document.getElementById(intQty).select();
			return false;
		}
		else if(document.getElementById(intQty).value <= 0){
			alert('The qty must be greater then 0.');
			document.getElementById(intQty).value = document.getElementById(intQty).defaultValue;
			document.getElementById(intQty).focus();
			document.getElementById(intQty).select();
			return false;
		}
		else{
			if(document.getElementById(intQty).value.length > 6)
			{
				alert('You Can Not Enter A Number Greater Then 999,999 For Qty!');
				return false;
			}
		}
	}

