document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); function checkForm(form){ var oForm = form || this; var msg = ""; for (var i=0;i'; submitForm(form, "Delete"); } function update_cart() { var form = document.cartForm || document.form1; submitForm(form, "Update"); }