
		var letSubmit = false;
		
		function calc_tot()
		{
			///  Retrieve and check the inputs
			var per_price = 0;
			var qty_total = 0;
			var grandtot = 0;
		
			///  Item listing just find and replace "25value" with whatever
			var qty_25value = parseInt(document.shop.quantity_25value.value);
			if ( isNaN(qty_25value) ) { status = 'Quantity must be a number.';    document.shop.quantity_25value.value = 0;    return; }

			// Price Table
			per_price = document.shop.price_1.value;
			if ( isNaN(per_price) ) { status = 'Price must be a number.';    document.shop.price_1.value = "";    return; }
			
		
			var price_25value =     ( qty_25value * per_price );    //  Change Price Here
			qty_total = qty_total + qty_25value;
			grandtot = ( grandtot + price_25value );
			document.shop.price_25value.value = '$' + dollar(price_25value);
			
			
			
			
			///  Item listing just find and replace "50value" with whatever
			var qty_50value = parseInt(document.shop.quantity_50value.value);
			if ( isNaN(qty_50value) ) { status = 'Quantity must be a number.';    document.shop.quantity_50value.value = 0;    return; }

			// Price Table
			per_price = document.shop.price_2.value;
			if ( isNaN(per_price) ) { status = 'Price must be a number.';    document.shop.price_2.value = "";    return; }
			
		
			var price_50value =     ( qty_50value * per_price );    //  Change Price Here
			qty_total = qty_total + qty_50value;
			grandtot = ( grandtot + price_50value );
			document.shop.price_50value.value = '$' + dollar(price_50value);
			
			
			
			///  Item listing just find and replace "100value" with whatever
			var qty_100value = parseInt(document.shop.quantity_100value.value);
			if ( isNaN(qty_100value) ) { status = 'Quantity must be a number.';    document.shop.quantity_100value.value = 0;    return; }

			// Price Table
			per_price = document.shop.price_3.value;
			if ( isNaN(per_price) ) { status = 'Price must be a number.';    document.shop.price_3.value = "";    return; }
			
		
			var price_100value =     ( qty_100value * per_price );    //  Change Price Here
			qty_total = qty_total + qty_100value;
			grandtot = ( grandtot + price_100value );
			document.shop.price_100value.value = '$' + dollar(price_100value);
			
			
			
		
			
			
			document.shop.grandtot.value = '$' + dollar(grandtot);
		}
		
		///  Format Numbers to fixed two decmals ( ###.## )
		function dollar(number)
		{
			nstr = String(Math.round((number)*100) / 100 + .001);
			return nstr.substring(0,(nstr.indexOf('.') + 3));
		}

	