var ALT = new Array(
	"Average_Hourly_Earnings_Total_Private_Industries",
	"Corporate_Profits_After_Tax",
	"Consumer_Price_Index",
	"Effective_Federal_Funds_Rate",
	"New_Orders_Durable_Goods",
	"Real_Disposable_Personal_Income",
	"Federal_Consumption_Expenditures",
	"Fixed_Private_Investment",
	"Gross_Domestic_Product",
	"Real_Gross_Domestic_Product",
	"Real_Gross_Private_Domestic_Investment",
	"Industrial_Production_Index",
	"M2_Money_Stock",
	"ISM_Manufacturing",
	"Balance_on_Current_Account",
	"Nonfarm_Business_Sector_Output_Per_Hour_of_All_Persons",
	"Personal_Consumption_Expenditures",
	"Real_Personal_Consumption_Expenditures",
	"New_Private_Housing_Units_Authorized_by_Building_Permit",
	"Personal_Income",
	"Retail_Sales_Total_Excluding_Food_Services",
	"Civilian_Unemployment_Rate"
	);


var TITULO = new Array(
	"AHETPI","CP","CPIAUCSL","DFF","DGORDER","DPIC96","FGCE","FPI","GDP","GDPC96","GPDIC1","INDPRO",
	"M2","NAPM","NETFI","OPHNFB","PCE","PCEC96","PERMIT","PI","RSXFS","UNRATE"
	);

function RutinaParaMap(indice){
//-----------------------------
	document.writeln("<html><head>");
	document.writeln("<link rel=\"stylesheet\" href=\"../../estilo8.css\" >");
	document.writeln("<title>Market</title>");
	document.writeln("<SCRIPT  src=\"./R-Economia.js\" type=\"text/javascript\" ></SCRIPT>");
	document.writeln("</head><body bgcolor=\"#77aaff\" >");

	document.writeln("<table ><tr><td bgcolor=\"#9999ff\" ><form name=\"ff\"  >");

	for(i=0; i<ALT.length; i++) {
	document.writeln("<input style=\"font: 8pt; background: #ccccff; \" type=submit value=\" "+TITULO[i]+"\"	onmouseup=RutinaParaMap("+i+") title=\""+ALT[i]+"\" />");
		}
	document.writeln("</form></td></tr>");

	document.writeln(" <Applet ");
	document.writeln("code=AppEconomia.class ");
	document.writeln("archive=../CreaApplet/AppEconomia.jar");
	document.writeln("name=AppEconomia");
	document.writeln("width = 835 height = 510 >");

	document.writeln("<PARAM name=filaName 	value=\""+ALT[indice]+".txt\" >");
	document.writeln("<PARAM name=ID 		value=\""+TITULO[indice]+"\" >");
	document.writeln("<PARAM name=Units 	value=\"Thousands of Units\" >");
	document.writeln("</applet>");
	document.writeln("</table>");
	document.writeln("</body></html>");
	window.location.reload();
	}






