function changeQuantity(offset) {
	var formname = 'q' + offset;
	var selectname = 'quantity_' + offset;
	var f = document.forms[formname];
	var val = f.elements[selectname].value;
	f.new_quantity.value = val;
	// alert("formname = " + formname + ", val = " + val);
	f.submit();
}

function confirmCart() {
	var msg = "Are you sure that you want to place this item in your\n" +
		"Cart without requesting a proof?\n\n" +
		"If you wish to view a proof before purchasing this\n" +
		"item, simply click the 'Cancel' button, then click\n" +
		"the 'Request a Proof' button.\n\n"+
		"If you do not want a proof, click the 'OK' button.";;
	return confirm(msg);		
}
