Site hosted by Angelfire.com: Build your free website today!

Transformer Order Invoice
<\/h1>
'; invoice+= ''; invoice+= ""; invoice+= ""; invoice+= ""; invoice+= "<\/tr>"; parseInt(document.orderform.quantity0.value); parseInt(document.orderform.quantity1.value); parseInt(document.orderform.quantity2.value); parseInt(document.orderform.quantity3.value); invoice+= ""; checkquanop=(document.orderform.quantity0.value); if (checkquanop < 0 || (checkquanop != Math.floor(checkquanop))){ window.alert( "Are you crazy! " + checkquanop + " is not a valid number!"); valid= false; //don't create invoice yet } if (checkquanop >= 1){ if(document.orderform.Opgrade[0].checked){ priced=price[0]-price[0]*fair; invoice+=""; } var price0=(document.orderform.quantity0.value*priced); shipping += (document.orderform.quantity0.value*shipitem); total+=price0; quant = parseInt(document.orderform.quantity0.value); totquan = parseInt(totquan); totquan+=quant; checkquanme=(document.orderform.quantity1.value); if (checkquanme < 0 || (checkquanme != Math.floor(checkquanme))){ window.alert( "Are you crazy! " + checkquanme + " is not a valid number!"); valid= false; //don't create invoice yet } if (checkquanme >= 1){ if(document.orderform.Megrade[0].checked){ priced=price[1]-price[1]*fair; invoice+=""; } //priced= priced - (qdiscount*priced/100) - cdiscount; //final price after discounts total = total-cdiscount; invoice+= ""; invoice+= ""; invoice+= ""; total+= total*0.0625; //final price with sales tax total+=shipping; invoice+= "
Customer Name: <\/td>"+document.orderform.customer.value+"<\/td>"; invoice+= "<\/tr>
Address: <\/td>"+document.orderform.address.value+"<\/td>"; invoice+= "<\/tr>
Phone: <\/td>"+document.orderform.phone.value+"<\/td>"; if(document.orderform.address.value=="" && document.orderform.customer.value==""){ window.alert("Can't you even give me a name and address, after all we've been through..."); valid= false; //don't create invoice yet } if(document.orderform.address.value=="" && document.orderform.customer.value!=""){ window.alert("I can't mail you toys without an address..."); valid= false; //don't create invoice yet } if(document.orderform.address.value!="" && document.orderform.customer.value==""){ window.alert("Please! I must know your name!"); bgsound = "pics/meghello.wav" valid= false; //don't create invoice yet } invoice+= "<\/tr>
Name: Grde: Amt.*Qty:<\/td><\/td>"; //radio controls all named grades invoice+= "<\/tr>
Opt Fair " + money(priced) + " * " + document.orderform.quantity0.value + "<\/td>"; } if(document.orderform.Opgrade[1].checked){ priced=price[0]-price[0]*good; invoice+="Opt Good " + money(priced) + " * " + document.orderform.quantity0.value + "<\/td>"; } if(document.orderform.Opgrade[2].checked){ priced=price[0]; invoice+="Opt Mint " + money(priced) + " * " + document.orderform.quantity0.value + "<\/td>"; } var price0=(document.orderform.quantity0.value*priced); price0 = money(price0); invoice+="" + price0 + "<\/td><\/tr>
Meg Fair " + money(priced) + " * " + document.orderform.quantity1.value + "<\/td>"; } if(document.orderform.Megrade[1].checked){ priced=price[1]-price[1]*good; invoice+="Meg Good " + money(priced) + " * " + document.orderform.quantity1.value + "<\/td>"; } if(document.orderform.Megrade[2].checked){ priced=price[1]; invoice+="Meg Mint " + money(priced) + " * " + document.orderform.quantity1.value + "<\/td>"; } var price1=(document.orderform.quantity1.value*priced); price1 = money(price1); invoice+="" + price1 + "<\/td><\/tr>"; // totquan+=(document.orderform.quantity1.value); } var price1=(document.orderform.quantity1.value*priced); shipping += (document.orderform.quantity1.value*shipitem); total+=price1; //totquan+=(document.orderform.quantity1.value); quant = parseInt(document.orderform.quantity1.value); totquan+=quant; checkquanai=(document.orderform.quantity2.value); if (checkquanai < 0 || (checkquanai != Math.floor(checkquanai))){ window.alert( "Are you crazy! " + checkquanai + " is not a valid number!"); valid= false; //don't create invoice yet } if (checkquanai >= 1){ if(document.orderform.Aigrade[0].checked){ priced=price[2]-price[2]*fair; invoice+="Air Fair " + money(priced) + " * " + document.orderform.quantity2.value + "<\/td>"; } if(document.orderform.Aigrade[1].checked){ priced=price[2]-price[2]*good; invoice+="Air Good " + money(priced) + " * " + document.orderform.quantity2.value + "<\/td>"; } if(document.orderform.Aigrade[2].checked){ priced=price[2]; invoice+="Air Mint " + money(priced) + " * " + document.orderform.quantity2.value + "<\/td>"; } var price2=(document.orderform.quantity2.value*priced); price2 = money(price2); invoice+="" + price2 + "<\/td><\/tr>"; } var price2=(document.orderform.quantity2.value*priced); shipping += (document.orderform.quantity2.value*shipitem); total+=price2; quant = parseInt(document.orderform.quantity2.value); totquan+=quant; checkquansn=(document.orderform.quantity3.value); if (checkquansn < 0 || (checkquansn != Math.floor(checkquansn))){ window.alert( "Are you crazy! " + checkquansn + " is not a valid number!"); valid= false; //don't create invoice yet } if (checkquansn >= 1){ if(document.orderform.Sngrade[0].checked){ priced=price[3]-price[3]*fair; invoice+="Snrl Fair " + money(priced) + " * " + document.orderform.quantity3.value + "<\/td>"; } if(document.orderform.Sngrade[1].checked){ priced=price[3]-price[3]*good; invoice+="Snrl Good " + money(priced) + " * " + document.orderform.quantity3.value + "<\/td>"; } if(document.orderform.Sngrade[2].checked){ priced=price[3]; invoice+=("Snrl Mint " + money(priced) + " * " + document.orderform.quantity3.value + "<\/td>");} var price3=(document.orderform.quantity3.value*priced); price3 = money(price3); invoice+="" + price3 + "<\/td><\/tr>"; } var price3=(document.orderform.quantity3.value*priced); shipping += (document.orderform.quantity3.value*shipitem); total+=price3; quant = parseInt(document.orderform.quantity3.value); totquan+=quant; cdiscount= 0; //discount for coupon if(document.orderform.coupon.value.toLowerCase() == "beast"){ cdiscount= discount*total; invoice+= "Coupon Discount:( 5% ) <\/td>" + "-" + money(cdiscount) + "<\/td>"; invoice+= "<\/tr>

Purchase Price: <\/td>

" + money(total) + "<\/td>"; shipping = totquan*shipitem; invoice+= "<\/tr>
Sales Tax Amount: <\/td>" + money(total*0.0625) + "<\/td>"; invoice+= "<\/tr>
Shipping Charge: <\/td>" + money(shipping) + "<\/td>"; invoice+= "<\/tr>
Total Price: <\/b><\/td>" + money(total) + "<\/b><\/td>"; invoice+= "<\/tr><\/table>
<\/td>

Thanks for shopping!!!

<\/td><\/tr><\/table><\/center><\/font><\/body>"; if(valid) //valid entry? window.open('new.htm','dog','left=1, top=1,width=425,height=530,resizable=1').document.write(invoice); } //end of display() function //-->
Transformer Order Form
Please fill out the following form and make your selections. Then click at the bottom to view your order.
Name
Address

ship to address.
Phone

optional.

Click on the pictues to see robot mode!

Prices are listed for mint. Prices for good are 10% off. Prices for fair are 15% off. If you type in the correct coupon code, you get an additional 5% off your total order. Shipping is $1.50 for each item.

Optimus!!!

Beast Toy Price: $25.00. Type in quantity:

Grade
Fair
Good
Mint
Megatron!!!

Beast Toy Price: $25.00. Type in quantity:

Grade
Fair
Good
Mint
Airazor

Toy Price: $18.00. Type in quantity:

Grade  
Fair
Good
Mint
Snarl

Toy Price: $13.00. Type in quantity:

Grade  
Fair
Good
Mint
Coupon Code
 (Because we love our customers we'll GIVE you the code. Just type in beast)