/* 	Author: 	Yassen Bakalov (ybakalov@icfconsulting.com) | ICF Consulting
	Created: 	June, 2004
	Code based on RECON.xls, developed by ICF Consulting
*/
/* declare and populate all global variables 				
 			note: use the tilda (~) as element delimiter 	*/
var g_Materials = "Aluminum Cans~Steel Cans~Copper Wire~Glass~HDPE~LDPE~PET~Corrugated Cardboard~Magazines/Third-class Mail~Newspaper~Office Paper~Phonebooks~Textbooks~Dimensional Lumber~Medium-density Fiberboard~Miscellaneous Metals~Miscellaneous Plastics";
var g_Materials_Examples = "Any type of aluminum product~Ferrous and non-ferrous metals, iron~Electrical copper wire of varying gauges~Glass-based products~HDPE~LDPE~PET~Cardboard, boxboard, kraft paper~Coated paper~Newspaper~Office paper, high grade paper~Phonebooks~Textbooks~Any solid wood materials~Fiberboard~Mixture of metal types, Al, Cu, Fe, Tn~PVC, rubber, textiles, unknown plastics";
// g_Tbl_Headers1 and g_Tbl_Headers2 contain the headers for the two tables of the ReCon Input Sheet
var g_Tbl_Headers1 = "Material Purchased~Corresponding Material (or Surrogate)<sup><a href='#note1' style='color:white'>1</a></sup>~Amount Purchased (pounds)~Amount Purchased (tons)~Example Materials for Which This Material can be Used as a Surrogate";
var g_Tbl_Headers2 = "Material Purchased~Surrogate Material~Baseline Recycled Content (percent)~Alternate Recycled Content (percent)~Use Default for Baseline Recycled Content <input type='button' class='tblHeader' style='border:0; font-weight:bold; text-decoration:underline; cursor:hand;' value='[set all]' onclick='SetDefaultAll(this.form)'>~Recycled Content Range (percent)"
var g_Recycled_Range = "5 - 60~20 - 50~0 - 10~5 - 30~0 - 15~0 - 15~0 - 10~10 - 75~0 - 30~0 - 60~0 - 35~0 - 10~0 - 15~NA~NA~0 - 50~0 - 10";
var g_GHG_Factors = new Array();	// array containing all GHG factors/constants
/* the seven GHG factors per material are as follows:
	RMAM 100% Virgin MTCE/ton (col.B) ~ RMAM 100% Recycled MTCE/ton (col.C) ~ Forest C Seq. MTCE/ton (col.D) 
	~ Default Recycled Content (percent) (col.G) ~ Baseline Recovery Loss Adj. (percent) (the Constant used to calculate col.P)
	~ Landfilling EF Nat. Ave (MTCE/ton) (col.R) ~ Combustion EF (MTCE/ton) (col.S) ~ 
*/
g_GHG_Factors[0] = "4.265310477~0.303572023~0~51~0.934142924~0.010364710~0.016662493~93.4142924"; //Aluminum Cans
g_GHG_Factors[1] = "1.006143670~0.506885749~0~28~0.980000000~0.010364710~-0.418328460~0.98"; //Steel Cans
g_GHG_Factors[2] = "2.019509820~1.655090400~0~5~0.813698630~0.010364710~0.014936305~81.36986301"; //Copper Wire
g_GHG_Factors[3] = "0.176132655~0.089827416~0~23.07~0.878048780~0.010364710~0.013900592~97.5609756"; //Glass
g_GHG_Factors[4] = "0.536017708~0.047531347~0~10~0.777202073~0.010364710~0.253298668~86.3557858"; //HDPE
g_GHG_Factors[5] = "0.642091735~0.047531347~0~4~0.777202073~0.010364710~0.253298668~86.3557858"; //LDPE
g_GHG_Factors[6] = "0.587206850~0.047531347~0~3~0.777202073~0.010364710~0.295106889~86.3557858"; //PET
g_GHG_Factors[7] = "0.226561243~0.252740634~-0.833488850~34.9~0.934579439~0.109175797~-0.177110530~93.4579439"; //Corrugated Cardboard
g_GHG_Factors[8] = "0.461160804~0.455366347~-0.833488850~4.1~0.673758865~-0.082112596~-0.127810605~70.9219858"; //Magazines Third-class Mail
g_GHG_Factors[9] = "0.579157611~0.342992672~-0.549871116~23~0.895381715~-0.236772787~-0.202160968~94.2507069"; //Newspaper
g_GHG_Factors[10] = "0.279189267~0.372312468~-0.833488850~4.1~0.596721311~0.529776795~-0.170399112~65.5737705"; //Office Paper
g_GHG_Factors[11] = "0.679293998~0.422406417~-0.549871116~0~0.678571429~-0.236772787~-0.202160968~71.4285714"; //Phonebooks
g_GHG_Factors[12] = "0.602034575~0.580548234~-0.833488850~4.1~0.659722222~0.529776795~-0.170399112~69.4444444"; //Textbooks
g_GHG_Factors[13] = "0.048212365~0.074812943~-0.691076267~0~0.799920000~-0.133002833~-0.211827620~91"; //Dimensional Lumber
g_GHG_Factors[14] = "0.101928491~0.123065476~-0.691076267~0~0.799920000~-0.133002833~-0.211827620~91"; //Medium-density Fiberboard
g_GHG_Factors[15] = "1.964722143~0.447087594~0~34.764705882~0.969220676~0.010364710~-0.290389944~1"; //Mixed Metals
g_GHG_Factors[16] = "0.571841642~0.047531347~0~6.339805825~0.777202073~0.010364710~0.269940776~86.3557858"; //Mixed Plastics
var g_Energy_Factors = new Array();	// array containing all Energy factors/constants
/* the seven Energy factors per material are as follows:
	RMAM 100% Virgin MMBtu/ton (col. B) ~ RMAM 100% Recycled MMBtu/ton (col. C)~ Forest C Seq. (col. D) 
	~ Default Recycled Content (percent) (col. G)~ Baseline Recovery Loss Adj. (percent) (the Constant used to calculate col.P - which is taken from the GHG_MSTR.xls spreadsheet, Loss Rates Sheet.  Specific Cell numbers are noted in the ReconTool.xls Data & Calcs Sheet in Column P )
	~ Landfilling EnF Nat. Ave (MMBtu/ton) (col. R) ~ Combustion EnF (MMBtu/ton) (col. S) ~ Last number is 1
*/
g_Energy_Factors[0] = "238.881389268~17.906403268~0~51~0.934142924~0.5274~0.416045590~1"; //Aluminum Cans
g_Energy_Factors[1] = "36.493004807~16.119330268~0~28~0.980000000~0.5274~-17.238712984~1"; //Steel Cans
g_Energy_Factors[2] = "123.295875268~103.532095268~0~5~0.813698630~0.5274~0.393760965~1"; //Copper Wire
g_Energy_Factors[3] = "8.092877592~5.672271964~0~23.07~0.878048780~0.5274~0.380390190~1"; //Glass
g_Energy_Factors[4] = "70.232253752~4.735737772~0~10~0.777202073~0.5274~-6.366324598~1"; //HDPE
g_Energy_Factors[5] = "76.802368581~4.735737772~0~4~0.777202073~0.5274~-6.366324598~1"; //LDPE
g_Energy_Factors[6] = "72.712842158~4.735737772~0~3~0.777202073~0.5274~-3.162686908~1"; //PET
g_Energy_Factors[7] = "26.760498657~12.848810121~0~34.90~0.934579439~0.228800544~-2.214609822~1"; //Corrugated Cardboard
g_Energy_Factors[8] = "33.250777602~32.233126404~0~4.10~0.673758865~0.406832929~-1.578160932~1"; //Magazines Third-class Mail
g_Energy_Factors[9] = "40.682656559~22.270452406~0~23~0.895381715~0.421260979~-2.538004300~1"; //Newspaper
g_Energy_Factors[10] = "37.274171817~20.380125907~0~4.10~0.596721311~0.007140640~-2.127967200~1"; //Office Paper
g_Energy_Factors[11] = "39.868569514~23.040046873~0~0~0.678571429~0.421260979~-2.538004300~1"; //Phonebooks
g_Energy_Factors[12] = "35.333220214~34.530222175~0~4.10~0.659722222~0.007140640~-2.127967200~1"; //Textbooks
g_Energy_Factors[13] = "3.529542520~4.264542520~0~0~0.799920000~0.373099803~-2.662798200~1"; //Dimensional Lumber		
g_Energy_Factors[14] = "11.505361024~12.578361024~0~0~0.799920000~0.373099803~-2.662798200~1"; //Medium-density Fiberboard			
g_Energy_Factors[15] = "90.700145531~16.644939974~0~34.764705882~0.966512625~0.527400000~0.384584943~1"; //Mixed Metals
//For Mixed Metals, "Column P" value is calculated from the GHG_MSTR.xls spreadsheet, using the worksheet called "Assumptions" and the worksheet called "Loss Rates":
// ((LossRates H6 * Assumptions D66) / Assumptions D84)	+ ((Loss Rates F7 * Assumptions D67) / Assumtions D84)		
g_Energy_Factors[16] = "31.290498274~4.735737772~0~6.339805825~0.777202073~0.5274~-5.091090178~1"; //Mixed Plastics
//for Mixed Plastics (above), "Column P" value is taken from GHG_MSTR.xls-LossRates(sheet) cell H9 		
var g_Disposal_Scenario = new Array(); 		// LF (percent) and Comb (percent) constants
g_Disposal_Scenario[0] = (55.7/70.4)*100;	// LF (percent)
g_Disposal_Scenario[1] = (14.7/70.4)*100;	// Comb (percent)
/*
	g_Unit_Converter contains the Material Unit Weight Table; each new material type is separated by @;
	All columns (i.e., EachMaterial Type ~ Example Material ~ Weight (lbs) ~ Unit Explanation/Notes) are separated by ~
*/
var g_Unit_Converter = "Aluminum Cans~1 aluminum can~0.035~average of two weights provided~1 aluminum ingot~50~ingot weights vary greatly@Steel Cans~55-gal steel drum~41~lbs. per drum (avg of two wts provided)~Steel Rebar~13.36~1 bar, 13 mm dia., 20 ft long~Steel Rebar~318.79~1 bar 36 mm dia., 60 ft long~Filing Cabinet~126~2-drawer letter~Filing Cabinet~133~2-drawer legal~Filing Cabinet~205~4-drawer letter~Filing Cabinet~219~4-drawer legal@Copper Wire~4 Gauge Wire~0.1264~lbs. per foot~12 Gauge Wire~0.01977~lbs. per foot~16 Gauge Wire~0.007818~lbs. per foot~24 Gauge Wire~0.001223~lbs. per foot@Glass~1 12 oz. Glass bottle~0.67~lbs. per bottle~1 16 oz. Glass bottle~1.04~lbs. per bottle@HDPE~Flat plastic rectangle~6~1/4&quot;x 23 3/4&quot;x 24 1/2&quot; ~0.6 in. diameter tube~0.082~lbs. per foot~3.5 in. diameter tube~2.5~lbs. per foot~55-gal plastic drum~21~lbs. per drum@LDPE~1 sq. foot bubble wrap~0.03~lbs. per sq. foot~0.6 in. diameter tube~0.04~lbs. per foot~2.5 in. diameter tube~0.41~lbs. per foot@PET~1 16 oz. Soda bottle~0.10~lbs. per bottle~1 20 oz. Soda bottle~0.10~lbs. per bottle~1 2-liter soda bottle~0.15~lbs. per bottle@Corrugated Cardboard~1 cubic yard, loose~300~lbs. per cubic yard (not compacted)~Standard single wall  (3mm)~0.13~lbs. per sq. foot~2'x2'x2' box, 3mm SW~3.11~lbs. per box@Magazines/Third-class Mail~1 magazine~0.63~0.3 in thick@Newspaper~1 newspaper~0.8125~weekday edition of Wall Street Journal@Newsprint~Pre-press stock~0.11~lbs. per sq. meter~Pre-press stock~0.02~lbs. per sq. foot@Office Paper~Post-it notes, 1 pack of 12~0.41~1 3/8&quot; x 1 7/8&quot;~Post-it notes, 1 pack of 12~1.18~2 7/8&quot; x 2 7/8&quot;~Post-it notes, 1 pack of 12~1.90~2 7/8&quot; x 4 7/8&quot;~Printer paper, 1 ream~5.00~letter 8 1/2&quot; x 11&quot;, 500 sheets~10 Kraft envelopes~0.49~10&quot; x 13&quot;~50 white business envelopes~0.63~Box of No. 10 (4 1/8&quot; x 9 1/2&quot;)@Phonebooks~1 book~2.50~2.75 in. thick book@Textbooks~1 textbook~3.64~average H.S. physics textbook@Dimensional Lumber~Spruce/Pine/Fir, board~1.65~lbs. per board-foot~Treated lumber~3.00~lbs. per board-foot@Medium-density Fiberboard~5/8&quot; particle board~2.40~lbs. per sq. foot~3/8&quot; particle board~1.35~lbs. per sq. foot@";
var g_Tbl_Color = "black"; 					// the border color for all tables; make it "white" for no border
var g_Output_CSS = '<link rel="stylesheet" href="../../../styles/topnavstyles.css" type="text/css">'; // CSS definitions for the input and output pages

