Make your own free website on
"); write("

Shopping Cart

"); if (numitems==0) { write("No items ordered."); close(); return; } write(""); for(i=1;i<=numitems;i++) { write("\n"); totalcost += (items[i].price * items[i].quantity); } totalcost = Math.floor(totalcost*100) /100; write("
"); write(""); write("" + items[i].desc); write("" + items[i].price); write("" + (items[i].price * items[i].quantity)); write("
Total Cost:"); write("" + totalcost); write("
"); write(""); write(""); write(""); close(); } } function updatecart() { for (i=1; i<=numitems;i++) { if (numitems == 1) items[i].quantity = parent.cart.document.form1.qty.value; else items[i].quantity = parent.cart.document.form1.qty[i-1].value; } displaycart(); } function complete() {'cart_complete.html','OrdWin'); } Fictional Software Company


The following products are available online. Click the ORDER NOW link to order a product.

Fictional Word Processor 97: Our greatest word processor ever, now with more features and a name that only makes it seem two years old.

Fictional Spreadsheet 97: A powerful spreadsheet including such innovative features as addition, subtraction, multiplication, and division. New to Spreadsheet 97 is a feature that lets you add a list of numbers together.

Fictional Database 97: A newer, bigger, and slower version of our popular database. Now so complex you need a degree to understand it.