/**
 * ProdList.js
 * Product Info (Currently just prices)
 *
 * This file contains a ProductInfo Javascript class, and defines an array of ProductInfo
 * classes (ProdList).  Currently, this is only used for the two retail prices (1-24CY and
 * 25+CY).  In the future we may be putting contractor prices as well as product descriptions
 * here.
 * 
 * Add a new product to the ProdList array as follows:
 *
 * ProdList["Key"] = new ProdInfo( "RetailPrice1", "RetailPrice2" );
 * 
 * ...where Key is the product name (e.g., Acid Lovers Compost) and RetailPrice1/RetailPrice2 are
 * the 1-24CY and 25CY+ retail prices (e.g., $47.85) respectively.  Example:
 * 
 * ProdList["Acid Lovers Compost"] 			= new ProdInfo( "$47.85", "$42.78" );
 *
 * If the product only has one price, set the second price to "":
 * ProdList["Baseball Diamond Clay"]		 	= new ProdInfo( "$37.70", "" );
 * 
 * If the product is "call for pricing", use the string "call for pricing" as the first
 * price, and make the second price "":
 *
 * ProdList["Acid Lovers Tree Mix"] 			= new ProdInfo( "call for pricing", "" );
 *
 * To make things easier to find, please keep this list alphabetized by Key.  
 */

/**
 *                                                                      small      large
 *                                                                      load       load
 */

var ProdList = new Array();

ProdList["Acid Lovers Compost"] 							= new ProdInfo( "$47.85", "$42.78" );
ProdList["Acid Lovers Tree Mix"] 							= new ProdInfo( "$47.85", "$42.78" );
ProdList["Acidified Super Fine Mulch"] 						= new ProdInfo( "$36.25", "$33.35" );
ProdList["Azalea Mix"] 										= new ProdInfo( "$39.75", "$39.75" );
ProdList["Baseball Diamond Clay"]		 					= new ProdInfo( "$37.70", "" );
ProdList["Black Dirt"] 										= new ProdInfo( "$26.10", "" );
ProdList["Bois D'arc Red Mulch"]		 					= new ProdInfo( "$43.50", "$42.05" );
ProdList["Cedar Mulch"] 									= new ProdInfo( "$31.90", "$25.38" );
ProdList["Colorized Mulch"] 								= new ProdInfo( "$29.73", "$24.65" );
ProdList["Concrete Sand"] 									= new ProdInfo( "$35.53", "" );
ProdList["Crushed Granite 1 Inch"] 							= new ProdInfo( "$44.23", "" );
ProdList["Crushed Granite 1-1/2 Inch Base"] 				= new ProdInfo( "$36.25", "" );
ProdList["Crushed Granite 2 Inch"] 							= new ProdInfo( "$43.50", "" );
ProdList["Crushed Granite 2-1/2 Inch Base"] 				= new ProdInfo( "$43.50", "" );
ProdList["Crushed Granite 3/8 Inch"] 						= new ProdInfo( "$44.23", "" );
ProdList["Crushed Granite 3/4 Inch"] 						= new ProdInfo( "$44.23", "" );
ProdList["Crushed Limestone 1 Inch"] 						= new ProdInfo( "$35.53", "" );
ProdList["Crushed Limestone 1-1/2 Inch"] 					= new ProdInfo( "$35.53", "" );
ProdList["Crushed Limestone 3/8 Inch"] 						= new ProdInfo( "$33.35", "" );
ProdList["Crushed Limestone 3/8 Inch and down"] 			= new ProdInfo( "$32.63", "" );
ProdList["Crushed Concrete Flex Base"] 						= new ProdInfo( "$24.65", "" );
ProdList["Crushed Concrete 3/8 Inch"] 						= new ProdInfo( "$22.48", "" );
ProdList["Crushed Concrete 1-1/2 Inch down to 3/4 Inch"] 	= new ProdInfo( "$26.10", "" );
ProdList["Crushed Concrete 3 Inch down to 1-1/2 Inch"] 		= new ProdInfo( "$31.90", "" );
ProdList["Crushed Concrete 1/2 Inch"] 						= new ProdInfo( "$36.25", "" );
ProdList["Cushion Sand"] 									= new ProdInfo( "$23.93", "" );
ProdList["Dairy Compost"] 									= new ProdInfo( "$44.95", "$40.60" );
ProdList["Decomposed Granite"] 								= new ProdInfo( "$53.00", "" );
ProdList["Enriched Top Soil"] 								= new ProdInfo( "$26.83", "$23.20" );
ProdList["Erosion Control"] 								= new ProdInfo( "$39.15", "$34.80" );
ProdList["Expanded Shale"] 									= new ProdInfo( "$39.00", "$39.00" );
ProdList["Fill Dirt"] 										= new ProdInfo( "$23.20", "" );
ProdList["Fill Sand"] 										= new ProdInfo( "$21.03", "" );
ProdList["Filter Berm Compost"] 							= new ProdInfo( "$39.15", "$34.80" );
ProdList["Fine Cut Hardwood Mulch"] 						= new ProdInfo( "$28.28", "$22.48" );
ProdList["Fine Cut Native Wood Mulch"] 						= new ProdInfo( "$26.10", "$20.30" );
ProdList["Granite Sand"] 									= new ProdInfo( "$30.45", "" );
ProdList["Green Earth Blended Compost"] 					= new ProdInfo( "$34.80", "$31.90" );
ProdList["Green Earth Ready-To-Plant"] 						= new ProdInfo( "$32.63", "$31.18" );
ProdList["Gumbo Buster"] 									= new ProdInfo( "$52.20", "$47.85" );
ProdList["Hardwood Playground Cushion Material"] 			= new ProdInfo( "call for pricing", "" );
ProdList["HydraFlo Plus Acid pH Deep Tree Mix"] 			= new ProdInfo( "$58.00", "$53.65" );
ProdList["HydraFlo Plus Bedding Soil"] 						= new ProdInfo( "$47.85", "$44.95" );
ProdList["HydraFlo Plus Deep Tree Mix"] 					= new ProdInfo( "$47.85", "$44.95" );
ProdList["HydraFlo Plus Turf Soil"] 						= new ProdInfo( "$47.85", "$44.95" );
ProdList["HydraFlo Plus"] 									= new ProdInfo( "$47.85", "$44.95" );
ProdList["Lava Sand"] 										= new ProdInfo( "$78.00","$78.00" );
ProdList["Lightweight Rock 1/2 Inch"] 						= new ProdInfo( "$94.25", "" );
ProdList["Limestone Sand"] 									= new ProdInfo( "$30.45", "" );
ProdList["Mortar Sand"] 									= new ProdInfo( "$40.60", "" );
ProdList["Native Rock 1 Inch"] 								= new ProdInfo( "$34.08", "" );
ProdList["Native Rock 2 Inch"] 								= new ProdInfo( "$35.53", "" );
ProdList["Hardwood Fine Cut Mulch"] 						= new ProdInfo( "$28.28", "$22.48" );
ProdList["Hardwood Rustic Cut Mulch"]						= new ProdInfo( "$25.38", "$20.30" );
ProdList["Native Wood Fine Cut Mulch"] 						= new ProdInfo( "$26.10", "$20.30" );
ProdList["Native Wood Rustic Cut Mulch"]					= new ProdInfo( "$22.48", "$17.40" );
ProdList["New Lawn Mix"] 									= new ProdInfo( "$36.25", "$33.35" );
ProdList["New Life Compost"] 								= new ProdInfo( "$31.90", "$30.45" );
ProdList["Pea Gravel 3/8 Inch"] 							= new ProdInfo( "$37.70", "" );
ProdList["Pea Gravel 5/8 Inch"] 							= new ProdInfo( "$39.88", "" );
ProdList["Pea Mix"] 										= new ProdInfo( "$39.88", "" );
ProdList["pH Balanced Compost"] 							= new ProdInfo( "$36.25", "$33.35" );
ProdList["pH Balanced Ready-To-Plant"] 						= new ProdInfo( "$36.25", "$33.35" );
ProdList["pH Balanced Revitalizer"] 						= new ProdInfo( "$36.25", "$33.35" );
ProdList["pH Balanced Tree Mix"] 							= new ProdInfo( "$36.25", "$33.35" );
ProdList["Pine Playground Cushion Chips"] 					= new ProdInfo( "$31.50", "" );
ProdList["Professional Grade Compost"] 						= new ProdInfo( "$26.83", "$23.20" );
ProdList["Professional Ready-To-Plant"] 					= new ProdInfo( "$26.83", "$23.20" );
ProdList["Professional Revitalizer"] 						= new ProdInfo( "$26.83", "$23.20" );
ProdList["Re-Mix"] 											= new ProdInfo( "$39.88", "" );
ProdList["River Rock 1 Inch"] 								= new ProdInfo( "$34.08", "" );
ProdList["River Rock 2 Inch"] 								= new ProdInfo( "$35.53", "" );
ProdList["Rough Cut Mulch"] 								= new ProdInfo( "$18.85", "$14.50" );
ProdList["Rustic Cut Hardwood Mulch"] 						= new ProdInfo( "$25.38", "$20.30" );
ProdList["Rustic Cut Native Wood Mulch"] 					= new ProdInfo( "$22.48", "$17.40" );
ProdList["Screened Cushion Sand"] 							= new ProdInfo( "$23.93", "" );
ProdList["Screened Loamy Sand"] 							= new ProdInfo( "$23.93", "" );
ProdList["Super Fine Acidified Mulch"] 						= new ProdInfo( "$36.25", "$33.35" );
ProdList["Super Fine Hardwood Mulch"] 						= new ProdInfo( "$29.00", "$23.20" );
ProdList["Texas Greensand"] 								= new ProdInfo( "$78.00", "$78.00" );
ProdList["Top Dressing"] 									= new ProdInfo( "$44.95", "$40.60" );
ProdList["TxDOT Compost"] 									= new ProdInfo( "$44.95", "$40.60" );
ProdList["TxDOT Erosion Control"] 							= new ProdInfo( "$39.15", "$34.80" );
ProdList["TxDOT Filter Berm Compost"] 						= new ProdInfo( "$39.15", "$34.80" );
ProdList["TxDOT Double Grind Mulch"] 						= new ProdInfo( "$26.10", "$20.30" );
ProdList["Washed Concrete Sand"] 							= new ProdInfo( "$35.53", "" );
ProdList["Washed Mortar Sand"] 								= new ProdInfo( "$40.60", "" );

// Uncomment the following debugging code to make sure the right key is being referenced in the 
// datasheets and product lists.
/*
for ( sKey in ProdList )
{
	ProdList[sKey].setRetailPrice1( sKey + " Price 1" );
	ProdList[sKey].setRetailPrice2( sKey + " Price 2" );
}
*/
	
function ProdInfo( sRetailPrice1, sRetailPrice2 )
{
	this.getRetailPrice1 = function() { return sRetailPrice1; }
	this.getRetailPrice2 = function() { return sRetailPrice2; }
	
	this.setRetailPrice1 = function( sVal )
	{
		sRetailPrice1 = sVal;
	}
	
	this.setRetailPrice2 = function( sVal )
	{
		sRetailPrice2 = sVal;
	}

	return this;
}


