function evtLoad(){
	
}


function addItem(thisForm){

    eval ("var t = document.product_" + thisForm + ";");
    //var t = document.product;
    var objRegExp  = /(^-?\d\d*$)/;

   	if (objRegExp.test(t.quantity.value)) {
   	    if (t.quantity.value < 0){
   	        alert('Please amend the quantity amount before continuing.');
		    t.quantity.focus()		    
   	    }else{
   	        t.submit();
   	    }
	} else {
		alert('Please amend the quantity amount before continuing.');
		t.quantity.focus()	
	}
	
    t.submit();
}

function zeroItem(thisItem){
    eval ("document.updatequantity.q_" + thisItem + ".value=0;");
    document.updatequantity.submit();
}
