<!--
var cart = new Object;	
// This is where all the information is stored
function Item(name, price, quantity) {
	this.name = name;
	this.price = price;
	this.quantity = quantity;
      }
//-->

<!-- 
function recall(){

if (cart["CH"]){
	document.frm.v1.value = cart["CH"].quantity;
     }
if (cart["TR"]){
	document.frm.v2.value = cart["TR"].quantity;
     }
if (cart["DS"]){
	document.frm.v3.value = cart["DS"].quantity;
     }
}
//-->



<!-- 
function checkout(){


var OpenWindow=window.open("", "newwin", "left=190,top=85,location=0,height=425,width=595,scrollbars=1,RESIZABLE=0,status=0");

OpenWindow.document.write("<HTML>");
OpenWindow.document.write("<HEAD>");
OpenWindow.document.write("<TITLE>");
OpenWindow.document.write("Naked Angel Art Order Form");
OpenWindow.document.write("</TITLE>");
OpenWindow.document.write("</HEAD>");
OpenWindow.document.write("<BODY BACKGROUND='angels.gif' LEFTMARGIN='20' RIGHTMARGIN='20' TOPMARGIN='20' ALINK='#336699' BGCOLOR='#FFFFFF' LINK='#336699' VLINK='#336699'>");

OpenWindow.document.write("<FORM METHOD='POST' NAME='Cart' onSubmit='printWindow()'>");

OpenWindow.document.write("<script>");
OpenWindow.document.write("function printWindow() {");
OpenWindow.document.write("bV = parseInt(navigator.appVersion);");
OpenWindow.document.write("if (bV >= 4) window.print();");
OpenWindow.document.write("window.close()");
OpenWindow.document.write("} ");
OpenWindow.document.write("</script>");

OpenWindow.document.write("<center><FONT FACE='tahoma' SIZE=4><B>Naked Angel Art Order Form #");
OpenWindow.document.write("<script>");
OpenWindow.document.write("function getRandomNum(lbound, ubound) {");
OpenWindow.document.write("return (Math.floor(Math.random() * (ubound - lbound)) + lbound);");
OpenWindow.document.write("} ");
OpenWindow.document.write("document.write(getRandomNum(1,999999))");
OpenWindow.document.write("</script></B><BR>");

OpenWindow.document.write("<FONT STYLE='font-family:tahoma;font-size:11'>1008 Tenth Street, PMB #456, Sacramento, CA 95815-3502 | FAX: 1-253-595-0700<BR><a href='d-home.htm'>http://www.rcip.com/nerdgerl</A> | <a href='email.htm'>mailto:nerdgerl@rcip.com</A><HR size=3></center>");
var i;
var linetotal = 0, subtotal = 0;

for ( i in cart){
	OpenWindow.document.write("</center><center><FONT STYLE='font-family:tahoma;font-size:11'><b>To order <B>[" +cart[i].quantity+ "]</B> - " + cart[i].name + ", complete and send this form to:</b></font></center>");
	OpenWindow.document.write("<center><font face='tahoma' size=3 COLOR='8D8D8D'><B>Nicole Miller, 1008 Tenth Street, PMB #456, Sacramento, CA 95815-3502</B></font></center><br><br>");
	OpenWindow.document.write("<font face='tahoma' size=2><B>SHIP TO:</B><BR>Name:_____________________________________________________<BR><BR>Address:___________________________________________________<BR><BR>City, State, & Zip:_____________________________________________<BR><BR>Telephone:(______)___________________________________________</font><BR><br>");
	OpenWindow.document.write("<center><font face='tahoma' size=3>");
	OpenWindow.document.write('<BR>['+cart[i].quantity+ '] - ' + cart[i].name + ' at $'+cart[i].price + '.00');
	linetotal = cart[i].quantity * cart[i].price;
	linetotal = round(linetotal);
	OpenWindow.document.write(" each= <font color='990000'>$"+ linetotal + ".00</font><BR><font size=1>-----------------------------------------------------------------------------------------------------</font>");
	subtotal += linetotal;
	OpenWindow.document.write("</B>");
      }
	OpenWindow.document.write("<BR><FONT STYLE='font-family:tahoma;font-size:11'>(<B>PAYMENT BY <B><U>U.S. MONEY ORDER</U> ONLY.</B> TOTAL AMOUNT ENCLOSED: <font color='99000'><B>$" + subtotal + ".00</B></font> <BR> MADE PAYABLE TO: NICOLE MILLER</B>)</font></center><br>");
function round(num) {            // This simple method rounds
return Math.round(num*100)/100;  // a number to two decimal places.
}

OpenWindow.document.write("<center><INPUT TYPE='submit' STYLE='font-family:ms sans serif;font-size:1' VALUE=' Print '> <INPUT TYPE='button' STYLE='font-family:ms sans serif;font-size:1' VALUE='Cancel' onClick='window.close();'></center>");
OpenWindow.document.write("</FORM>");

}
//-->