			function bottomalert() {
						blur();						alert ('Please use the bottom form for making changes. If you need to, you can reset the fields on this form.');
										} 







var buyshelf = "Plant Shelf";
var quantityshelf = 0;
var priceshelf;
			

			function shelfFunction() {
						
						document.planthanger.plantitem.value=buyshelf;
						document.finalsubmit.plantitem.value=buyshelf;						
						document.planthanger.plantqty.value=++quantityshelf;
						document.finalsubmit.plantqty.value=document.planthanger.plantqty.value;
						
						
						if (quantityshelf<=4) { priceshelf=quantityshelf*25 }
						else {priceshelf=quantityshelf*15 }
						
						document.planthanger.plantprice.value = "$" + priceshelf + " ";
						document.finalsubmit.plantprice.value = "$" + priceshelf + " ";
														
												}


var buysmallhanger = "Small Plant Hanger";
var quantitysmallhanger = 0;
var pricesmallhanger;

			function smallhangerFunction()	{
						
						document.planthanger.plantitem2.value=buysmallhanger;
						document.finalsubmit.plantitem2.value=buysmallhanger;

						document.planthanger.plantqty2.value=++quantitysmallhanger;
						document.finalsubmit.plantqty2.value=document.planthanger.plantqty2.value;

						if (quantitysmallhanger<=4) { pricesmallhanger=quantitysmallhanger*20 }
						else {pricesmallhanger=quantitysmallhanger*10 }
						
						document.planthanger.plantprice2.value = "$" + pricesmallhanger + " ";
						document.finalsubmit.plantprice2.value = "$" + pricesmallhanger + " ";
							
												}


var buylargehanger = "Large Plant Hanger";
var quantitylargehanger = 0;
var pricelargehanger;

			function largehangerFunction()	{
						
						document.planthanger.plantitem3.value=buylargehanger;
						document.finalsubmit.plantitem3.value=buylargehanger;


						document.planthanger.plantqty3.value=++quantitylargehanger;
						document.finalsubmit.plantqty3.value=document.planthanger.plantqty3.value;


						if (quantitylargehanger<=4) { pricelargehanger=quantitylargehanger*25 }
						else {pricelargehanger=quantitylargehanger*15 }
						
						document.planthanger.plantprice3.value = "$" + pricelargehanger + " ";
						document.finalsubmit.plantprice3.value = "$" + pricelargehanger + " ";
							
												}
												
			function allPlantQuantities()	{
						quantityshelf=0;
						quantitysmallhanger=0;
						quantitylargehanger=0;
						
						document.finalsubmit.plantitem.value="";
						document.finalsubmit.plantqty.value="";
						document.finalsubmit.plantprice.value="";
						
						document.finalsubmit.plantitem2.value="";
						document.finalsubmit.plantqty2.value="";
						document.finalsubmit.plantprice2.value="";
						
						document.finalsubmit.plantitem3.value="";
						document.finalsubmit.plantqty3.value="";
						document.finalsubmit.plantprice3.value="";
						
						
												}

var buysilverset = "Black and Silver Chess Set";
var quantitysilverset = 0;
var pricesilverset;

			function chesssilverFunction()	{
						
						document.chessset.chessitem.value=buysilverset;
						document.finalsubmit.chessitem.value=buysilverset;

					document.chessset.chessqty.value=++quantitysilverset;
					document.finalsubmit.chessqty.value=document.chessset.chessqty.value;
					
						if (quantitysilverset<=2) { pricesilverset=quantitysilverset*145 }
						else {pricesilverset=quantitysilverset*85 }
						
						document.chessset.chessprice.value = "$" + pricesilverset + " ";
						document.finalsubmit.chessprice.value = "$" + pricesilverset + " ";
							
												}
												
var buygoldset = "Black and Gold Chess Set";
var quantitygoldset = 0;
var pricegoldset;

			function chessgoldFunction()	{
						
						document.chessset.chessitem2.value=buygoldset;
						document.finalsubmit.chessitem2.value=buygoldset;

						document.chessset.chessqty2.value=++quantitygoldset;
						document.finalsubmit.chessqty2.value=document.chessset.chessqty2.value;

						if (quantitygoldset<=2) { pricegoldset=quantitygoldset*145 }
						else {pricegoldset=quantitygoldset*85 }
						
						document.chessset.chessprice2.value = "$" + pricegoldset + " ";
						document.finalsubmit.chessprice2.value = "$" + pricegoldset + " ";
							
												}

			function allChessQuantities()	{
						quantitysilverset=0;
						quantitygoldset=0;

						document.finalsubmit.chessitem.value="";
						document.finalsubmit.chessqty.value="";
						document.finalsubmit.chessprice.value="";
											
						document.finalsubmit.chessitem2.value="";
						document.finalsubmit.chessqty2.value="";
						document.finalsubmit.chessprice2.value="";
						
												}



var buyclockOne = "Clock Style One";
var quantityclockOne = 0;
var priceclockOne;

			function clockOneFunction()	{
						
						document.clock.clockitem.value=buyclockOne;
						document.finalsubmit.clockitem.value=buyclockOne;


						document.clock.clockqty.value=++quantityclockOne;
						document.finalsubmit.clockqty.value=document.clock.clockqty.value;

						if (quantityclockOne<=4) { priceclockOne=quantityclockOne*35 }
						else {priceclockOne=quantityclockOne*25 }
						
						document.clock.clockprice.value = "$" + priceclockOne + " ";
						document.finalsubmit.clockprice.value = "$" + priceclockOne + " ";
							
												}


var buyclockTwo = "Clock Style Two";
var quantityclockTwo = 0;
var priceclockTwo;

			function clockTwoFunction()	{
						
						document.clock.clockitem2.value=buyclockTwo;
						document.finalsubmit.clockitem2.value=buyclockTwo;

						document.clock.clockqty2.value=++quantityclockTwo;
						document.finalsubmit.clockqty2.value=document.clock.clockqty2.value;

						if (quantityclockTwo<=4) { priceclockTwo=quantityclockTwo*40 }
						else {priceclockTwo=quantityclockTwo*30 }
						
						document.clock.clockprice2.value = "$" + priceclockTwo + " ";
						document.finalsubmit.clockprice2.value = "$" + priceclockTwo + " ";
							
												}
												

var buyclockThree = "Clock Style Three";
var quantityclockThree = 0;
var priceclockThree;

			function clockThreeFunction()	{
						
						document.clock.clockitem3.value=buyclockThree;
						document.finalsubmit.clockitem3.value=buyclockThree;

						document.clock.clockqty3.value=++quantityclockThree;
						document.finalsubmit.clockqty3.value=document.clock.clockqty3.value;

						if (quantityclockThree<=4) { priceclockThree=quantityclockThree*45 }
						else {priceclockThree=quantityclockThree*35 }
						
						document.clock.clockprice3.value = "$" + priceclockThree + " ";
						document.finalsubmit.clockprice3.value = "$" + priceclockThree + " ";
							
												}												

			function allClockQuantities()	{
						quantityclockOne=0;
						quantityclockTwo=0;
						quantityclockThree=0;
						document.finalsubmit.clockitem.value="";
						document.finalsubmit.clockqty.value="";
						document.finalsubmit.clockprice.value="";
						document.finalsubmit.clockitem2.value="";
						document.finalsubmit.clockqty2.value="";
						document.finalsubmit.clockprice2.value="";

						document.finalsubmit.clockitem3.value="";
						document.finalsubmit.clockqty3.value="";
						document.finalsubmit.clockprice3.value="";
												}
							
var buywindmill = "Windmill";
var quantitywindmill = 0;
var pricewindmill;

			function windmillFunction()	{
						
						document.windmill.winditem.value=buywindmill;
						document.finalsubmit.winditem.value=buywindmill;

						document.windmill.windqty.value=++quantitywindmill;
						document.finalsubmit.windqty.value=document.windmill.windqty.value;

						if (quantitywindmill<=4) { pricewindmill=quantitywindmill*35 }
						else {pricewindmill=quantitywindmill*25 }
						
						document.windmill.windprice.value = "$" + pricewindmill + " ";
						document.finalsubmit.windprice.value = "$" + pricewindmill + " ";
														
												}			

var buysteelie = "Steelie";
var quantitysteelie=0;

var pricesteelie;

			function steelieFunction()	{
						
						document.windmill.steelieitem.value=buysteelie;
						document.finalsubmit.steelieitem.value=buysteelie;
									
						document.windmill.steelieqty.value=++quantitysteelie;
						document.finalsubmit.steelieqty.value=document.windmill.steelieqty.value;

						pricesteelie=quantitysteelie*40
						
						document.windmill.steelieprice.value = "$" + pricesteelie + " ";
						document.finalsubmit.steelieprice.value = "$" + pricesteelie + " ";
							
												}	
												

		function makeBoth()	{
						quantitysteelie=0;	
						quantitywindmill=0;
						document.finalsubmit.steelieitem.value="";
						document.finalsubmit.steelieqty.value="";
						document.finalsubmit.steelieprice.value="";
						document.finalsubmit.winditem.value="";
						document.finalsubmit.windqty.value="";
						document.finalsubmit.windprice.value="";
		}
								
								
var buynameplate = "Nameplate";
var quantitynameplate = 0;
var pricenameplate;

			function nameplateFunction()	{
						
						document.nameplate.nameitem.value=buynameplate;
						document.finalsubmit.nameitem.value=buynameplate;

						document.nameplate.nameqty.value=++quantitynameplate;
						document.finalsubmit.nameqty.value=document.nameplate.nameqty.value;

						pricenameplate=quantitynameplate*40
						
						document.nameplate.nameprice.value = "$" + pricenameplate + " ";
						document.finalsubmit.nameprice.value = "$" + pricenameplate + " ";
							
				
							
												}		

			function resetNameplate() {
						quantitynameplate=0;
						document.finalsubmit.nameitem.value="";
						document.finalsubmit.nameqty.value="";
						document.finalsubmit.nameprice.value="";
						
						}


function totalFunction() {

a=document.finalsubmit.plantqty.value;
b=document.finalsubmit.plantqty2.value;
c=document.finalsubmit.plantqty3.value;
d=document.finalsubmit.chessqty.value;
e=document.finalsubmit.chessqty2.value;
f=document.finalsubmit.clockqty.value;
g=document.finalsubmit.clockqty2.value;
h=document.finalsubmit.clockqty3.value;
i=document.finalsubmit.windqty.value;
j=document.finalsubmit.steelieqty.value;
k=document.finalsubmit.nameqty.value;

++a;
++b;
++c;
++d;
++e;
++f;
++g;
++h;
++i;
++j;
++k;
addqty=a+b+c+d+e+f+g+h+i+j+k-11;
							document.finalsubmit.totalqty.value=addqty;
							
Aremove = /\$/g;
Aremove2 = (document.finalsubmit.plantprice.value);
A=Aremove2.replace(Aremove, "");

Bremove = /\$/g;
Bremove2 = (document.finalsubmit.plantprice2.value);
B=Bremove2.replace(Bremove, "");

Cremove = /\$/g;
Cremove2 = (document.finalsubmit.plantprice3.value);
C=Cremove2.replace(Cremove, "");

Dremove = /\$/g;
Dremove2 = (document.finalsubmit.chessprice.value);
D=Dremove2.replace(Dremove, "");

Eremove = /\$/g;
Eremove2 = (document.finalsubmit.chessprice2.value);
E=Eremove2.replace(Eremove, "");

Fremove = /\$/g;
Fremove2 = (document.finalsubmit.clockprice.value);
F=Fremove2.replace(Fremove, "");

Gremove = /\$/g;
Gremove2 = (document.finalsubmit.clockprice2.value);
G=Gremove2.replace(Gremove, "");

Hremove = /\$/g;
Hremove2 = (document.finalsubmit.clockprice3.value);
H=Hremove2.replace(Hremove, "");

Iremove = /\$/g;
Iremove2 = (document.finalsubmit.windprice.value);
I=Iremove2.replace(Iremove, "");

Jremove = /\$/g;
Jremove2 = (document.finalsubmit.steelieprice.value);
J=Jremove2.replace(Jremove, "");

Kremove = /\$/g;
Kremove2 = (document.finalsubmit.nameprice.value);
K=Kremove2.replace(Kremove, "");

++A;
++B;
++C;
++D;
++E;
++F;
++G;
++H;
++I;
++J;
++K;
INTprice=A+B+C+D+E+F+G+H+I+J+K-11;
addprice=('$'+INTprice+'');
							document.finalsubmit.totalprice.value=addprice;

							}
