/*
 timeline_data.js
 Last updated 03/20/2008
 For Western Governors Association
 By Rick Bauman
 ARBIS Internet Solutions, inc.
 www.ARBISinc.com
*/
/*  Define Variables */
var int_total_timeline_items	= 0;
var int_index					= 0;

var arrGridDevelopment			= new Array(); 		// LEFT Column of data - Grid Development
var arrRowSpan1					= new Array(); 		// Number of rows of data for THIS year
var arrYearOfActivity			= new Array(); 		// YEAR Column
var arrRowSpan2					= new Array(); 		// Number of rows of data for THIS year
var arrGridManagementOrg		= new Array(); 		// Right Column of data - Grid Management Organization (FERC, NERC, WECC)
var arrRowSpan3					= new Array(); 		// Number of rows of data for THIS year
var arrGridWIRAB				= new Array(); 		// WIRAB Column of data
var arrRowSpan4					= new Array(); 		// Number of rows of data for THIS year

var txtPreviousYear				= "";				// Used to know when a new year of data is found
var txtDisplayYear				= "";				// Used to display the Year only 1 time if multiple lines of data for that year.
var txt_grid_year				= "";				// Used to print the Year above the Grid Development data
var txt_mgmt_year				= "";				// Used to print the Year above the Grid Management Organization data
var txt_WIRAB_year				= "";				// Used to print the Year above the WIRAB data
var txt_temp_year_cell			= "";				// Used to display the cell containing the YEAR. This will contain a ROWSPAN if more than 1 row of data for a year.
var txtTimeLineTable			= "";				// This will contain the Entire Table
var txt_temp_column_headers		= "";				// Contains the column headers the timeline tables
var txt_temp_HTML				= "";				// Used to format a row to display in the Timeline table.
var txt_top_spacing				= '';				// used for double spacing the items (per year)
var txt_top_table_links			= '';				// links to the 3 tables below

var txt1963_1995_HTML			= "";				// first time block
var txt1996_2004_HTML			= "";				// second time block
var txt2005_present_HTML		= "";				// third time block

//var txt1963_1995_Header			= "WSCC transmission owners club of vertically-integrated utilities";			// first time block - Header
var txt1963_1995_Header			= "WSCC Era (1963-1994)";																		// first time block - Header
var txt1996_2004_Header			= "Transition Period (1995-2004)";																// second time block - Header
var txt2005_present_Header		= "Mandatory Standards Era (2005-today)";														// third time block - Header

var txt_Column1_Header			= "Grid Events";
var txt_Column2_Header			= "Year";
var txt_Column3_Header			= "Grid Management Organization";
var txt_Column4_Header			= "WIRAB";

var txt_top_table_links			= '';

/*	Populate Varriables */
txt_top_table_links							= '<tr>';
txt_top_table_links						   += 		'<td align="center" valign="top" colspan="4">';
txt_top_table_links						   += 			'<table cellspacing="0" cellpadding="0" border="0" style="padding-top:10px; padding-bottom:10px;">';
txt_top_table_links						   += 			'<tr>';
txt_top_table_links						   += 				'<td align="left" valign="top"><a href="#thru_1995">'  + txt1963_1995_Header + '</a></td>';
txt_top_table_links						   += 				'<td align="left" valign="top"><b>&nbsp;|&nbsp;</b></td>';
txt_top_table_links						   += 				'<td align="left" valign="top"><a href="#thru_2004">'  + txt1996_2004_Header + '</a></td>';
txt_top_table_links						   += 				'<td align="left" valign="top"><b>&nbsp;|&nbsp;</b></td>';
txt_top_table_links						   += 				'<td align="left" valign="top"><a href="#thru_today">' + txt2005_present_Header + '</a></td>';
txt_top_table_links						   += 			'</tr>';
txt_top_table_links						   += 			'</table>';
txt_top_table_links						   += 		'</td>';
txt_top_table_links						   += '</tr>';

txt_temp_column_headers					    = '<tr>';
txt_temp_column_headers					   += 		'<td align="right" style="padding-right:10px; border-bottom: 2px solid #000000;"><b>'+txt_Column1_Header+'</b></td>';
txt_temp_column_headers					   += 		'<td align="center" width="50" style="border-right: 1px solid #000000;border-left: 1px solid #000000; border-bottom: 2px solid #000000;"><b>'+txt_Column2_Header+'</b></td>';
txt_temp_column_headers					   += 		'<td align="left" colspan="2" style="padding-left:10px; border-bottom: 2px solid #000000;"><b>'+txt_Column3_Header+'</b></td>';
txt_temp_column_headers					   += '</tr>';

txt_temp_HTML							   += '<tr><a name="thru_1995"></a>';
txt_temp_HTML							   += 		'<td colspan="4" align="center" valign="top" class="header_box" bgcolor="#666600">';
txt_temp_HTML							   += 			'<font color="#FFFFFF">'+txt1963_1995_Header+'</font>';
txt_temp_HTML							   += 		'</td>';
txt_temp_HTML							   += '</tr>';
txt1963_1995_HTML							= txt_temp_HTML + txt_temp_column_headers;

txt_temp_HTML							    = '<tr><a name="thru_2004"></a>';
txt_temp_HTML							   += 		'<td colspan="4" align="right" valign="top">';
txt_temp_HTML							   += 			'<a href="#top"><span style="color: #000000; font-size:10pt; text-decoration:none;">Return To Top</span></a><br><br>';
txt_temp_HTML							   += 		'</td>';
txt_temp_HTML							   += '</tr>';
txt_temp_HTML							   += '<tr>';
txt_temp_HTML							   += 		'<td colspan="4" align="center" valign="top" class="header_box" bgcolor="#0000BB">';
txt_temp_HTML							   += 			'<font color="#FFFFFF">'+txt1996_2004_Header+'</font>';
txt_temp_HTML							   += 		'</td>';
txt_temp_HTML							   += '</tr>';
txt1996_2004_HTML							= txt_temp_HTML + txt_temp_column_headers;

txt_temp_column_headers					    = '<tr>';
txt_temp_column_headers					   += 		'<td align="right" style="padding-right:10px; border-bottom: 2px solid #000000;"><b>'+txt_Column1_Header+'</b></td>';
txt_temp_column_headers					   += 		'<td align="center" width="50" style="border-right: 1px solid #000000;border-left: 1px solid #000000; border-bottom: 2px solid #000000;"><b>'+txt_Column2_Header+'</b></td>';
txt_temp_column_headers					   += 		'<td align="left" style="padding-left:10px; border-bottom: 2px solid #000000;"><b>'+txt_Column3_Header+'</b></td>';
txt_temp_column_headers					   += 		'<td align="left" style="padding-left:10px; border-left: 1px solid #000000; border-bottom: 2px solid #000000;"><b>'+txt_Column4_Header+'</b></td>';
txt_temp_column_headers					   += '</tr>';

txt_temp_HTML							    = '<tr><a name="thru_today"></a>';
txt_temp_HTML							   += 		'<td colspan="4" align="right" valign="top">';
txt_temp_HTML							   += 			'<a href="#top"><span style="color: #000000; font-size:10pt; text-decoration:none;">Return To Top</span></a><br><br>';
txt_temp_HTML							   += 		'</td>';
txt_temp_HTML							   += '</tr>';
txt_temp_HTML							   += '<tr>';
txt_temp_HTML							   += 		'<td colspan="4" align="center" valign="top" class="header_box" bgcolor="#EE0000">';
txt_temp_HTML							   += 			'<font color="#FFFFFF">'+txt2005_present_Header+'</font>';
txt_temp_HTML							   += 		'</td>';
txt_temp_HTML							   += '</tr>';
txt2005_present_HTML						= txt_temp_HTML + txt_temp_column_headers;

int_index									= 0;
int_index++;arrGridDevelopment[int_index]	= "Four Corners power plant built. ";	
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1963";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1964";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "Northeast blackout (30 million customers).";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1965";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";	
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "Glen Canyon Dam comes on-line";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1966";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1967";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "Western Systems Coordinating Council (WSCC) formed.";	
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "Pacific Intertie AC line energized.";	
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1968";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "National Electric Reliability Council formed.";		
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "First test of integrated system as Pacific AC lost resulting in controlled load ";
			arrGridDevelopment[int_index]  += "shedding as far away as Montana and Utah.";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1969";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";	
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "Pacific DC line energized.";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1970";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";	
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "Sylmar earthquake disables Pacific DC intertie for a year.";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1971";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";	
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1972";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "One plant comes online.";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1973";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1974";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "Power plants come on-line:";
			arrGridDevelopment[int_index]  += "<br> Jim Bridger";
			arrGridDevelopment[int_index]  += "<br> Navajo";
			arrGridDevelopment[int_index]  += "<br> Colstrip";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1975";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1976";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1977";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1978";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1979";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1980";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1981";	
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "NERC changes name to North American Electric Reliability Council in recognition of Canadian participation.";	
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1982";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1983";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1984";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1985";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "IPP comes on-line";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1986";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1987";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1988";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "Siberian Express hits West";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1989";	
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "Western Electricity Coordinating Council (WECC) adopts recommendations to address severe winter weather.";	
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1990";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1991";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1992";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1993";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "Northridge earthquake leads to widespread disturbances.";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1994";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";	
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "2";
			arrYearOfActivity[int_index]	= "1995";
			arrRowSpan2[int_index]			= "2";
			arrGridManagementOrg[int_index]	= "WECC Unscheduled Flow Mitigation Plan implemented.";	
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "2";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "";
			arrYearOfActivity[int_index]	= "1995";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "Western Regional Transmission Association (WRTA), Southwest Regional Transmission Association (SWRTA), ";		
			arrGridManagementOrg[int_index]+= "Northwest Regional Transmission Association (NRTA) formed.  ";		
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "Major western blackouts on July 2 and August 10";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "1996";
			arrRowSpan2[int_index]			= "3";
			arrGridManagementOrg[int_index]	= "WECC starts evaluating a Reliability Management System (RMS) to makes standards enforcement via contracts.";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "3";
int_index++;arrGridDevelopment[int_index]	= "FERC Order 888 fosters competition and disintegration of vertically integrated utilities ";
			arrGridDevelopment[int_index]  += "of vertically integrated utilities.";
			arrRowSpan1[int_index]			= "2";
			arrYearOfActivity[int_index]	= "1996";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "WECC Security Coordinators established.";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "";
			arrYearOfActivity[int_index]	= "1996";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "FERC issued Order 888 requiring open transmission access.";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "2";
			arrYearOfActivity[int_index]	= "1997";
			arrRowSpan2[int_index]			= "2";
			arrGridManagementOrg[int_index]	= "Western Governors' Association adopted policy on mandatory grid reliability standards ";
			arrGridManagementOrg[int_index]+= "overseen by states or jointly by states and federal government.";
			arrRowSpan3[int_index]			= "2";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "2";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "";
			arrYearOfActivity[int_index]	= "1997";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "DOE formed Task Force on Electric-System Reliability.";
			arrRowSpan3[int_index]			= "";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "2";
			arrYearOfActivity[int_index]	= "1998";
			arrRowSpan2[int_index]			= "2";
			arrGridManagementOrg[int_index]	= "RMS phase-in begins";
			arrRowSpan3[int_index]			= "2";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "2";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "";
			arrYearOfActivity[int_index]	= "1998";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "NRTA, SWRTA, WRTA issue transmission plan.";
			arrRowSpan3[int_index]			= "";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "4";
			arrYearOfActivity[int_index]	= "1999";
			arrRowSpan2[int_index]			= "4";
			arrGridManagementOrg[int_index]	= "WICF holds workshops on how to better structure western institutions ";
			arrRowSpan3[int_index]			= "4";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "4";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "";
			arrYearOfActivity[int_index]	= "1999";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "WSCC adds a Market Interface Committee standing committee to the existing ";
			arrGridManagementOrg[int_index]+= "Operating and Planning Committees.";
			arrRowSpan3[int_index]			= "";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "";
			arrYearOfActivity[int_index]	= "1999";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "CREPC, WSCC and RTAs form alliance to negotiate with NERC on content of federal reliability ";
			arrGridManagementOrg[int_index]+= "legislation. CREPC considers separate Western Interconnection ERO proposal.";
			arrRowSpan3[int_index]			= "";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "";
			arrYearOfActivity[int_index]	= "1999";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "Western Governors adopt position on content of federal reliability legislation.";
			arrRowSpan3[int_index]			= "";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "2";
			arrYearOfActivity[int_index]	= "2000";
			arrRowSpan2[int_index]			= "2";
			arrGridManagementOrg[int_index]	= "Draft proposal for a new Western Interconnection Organization.";
			arrRowSpan3[int_index]			= "2";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "2";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "";
			arrYearOfActivity[int_index]	= "2000";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "FERC issues Order 2000 pushing formation of Regional Transmission Organizations (RTOs).";
			arrRowSpan3[int_index]			= "";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "2001";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "WRTA, SWRTA and WSCC merged to form WECC.";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "2";
			arrYearOfActivity[int_index]	= "2002";
			arrRowSpan2[int_index]			= "2";
			arrGridManagementOrg[int_index]	= "Senator Thomas amendment adopted on Senate floor includes Regional Advisory Bodies.";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "2";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "";
			arrYearOfActivity[int_index]	= "2002";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "NAESB formed.";	
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "Midwest-Northeast blackout";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "2003";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "Westwing substation fire";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "2004";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "2005";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "EPAct enacted making grid reliability standards enforceable in the U.S. ";
			arrGridWIRAB[int_index]		   += "and establishing ERO/Regional Entity structure, including rebuttable ";
			arrGridWIRAB[int_index]		   += "presumption language for WECC and ERCOT.";
			arrRowSpan4[int_index]			= "1";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "3";
			arrYearOfActivity[int_index]	= "2006";
			arrRowSpan2[int_index]			= "3";
			arrGridManagementOrg[int_index]	= "FERC Order 672 establishes ERO structure";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "In April, ten Governors form WIRAB with invitation to other states/ ";
			arrGridWIRAB[int_index]		   += "provinces in Western Interconnection and Mexico.";
			arrRowSpan4[int_index]			= "3";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "";
			arrYearOfActivity[int_index]	= "2006";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "FERC Order approving NERC as the ERO";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "";
			arrYearOfActivity[int_index]	= "2006";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "FERC Order approving WIRAB";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "Southern California fires knock out transmission in San Diego";
			arrRowSpan1[int_index]			= "3";
			arrYearOfActivity[int_index]	= "2007";
			arrRowSpan2[int_index]			= "3";
			arrGridManagementOrg[int_index]	= "FERC Order 693 approving 83 mandatory standards";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "3";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "";
			arrYearOfActivity[int_index]	= "2007";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "FERC approves 8 WECC regional standards";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "";
			arrYearOfActivity[int_index]	= "2007";
			arrRowSpan2[int_index]			= "";
			arrGridManagementOrg[int_index]	= "FERC approves WECC/NERC delegation agreement";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "";
int_index++;arrGridDevelopment[int_index]	= "";
			arrRowSpan1[int_index]			= "1";
			arrYearOfActivity[int_index]	= "2008";
			arrRowSpan2[int_index]			= "1";
			arrGridManagementOrg[int_index]	= "";
			arrRowSpan3[int_index]			= "1";
			arrGridWIRAB[int_index]			= "";
			arrRowSpan4[int_index]			= "1";

int_total_timeline_items					= int_index;							// Save the TOTAL number of timeline items


for (int_index=1; int_index<=int_total_timeline_items; int_index++) {
	if ((arrGridDevelopment[int_index]		!= "") ||
		(arrGridManagementOrg[int_index]	!= "") ||
		(arrGridWIRAB[int_index] 			!= "")  ) {
		txtRowSpan1_HTML						= '';								// default rowspan to NONE
		txtRowSpan2_HTML						= '';								// default rowspan to NONE
		txtRowSpan3_HTML						= '';								// default rowspan to NONE
		txtRowSpan4_HTML						= '';								// default rowspan to NONE
		txtDisplayYear							= '';								// default year to be BLANK
		if ((arrRowSpan1[int_index] != '') && (arrRowSpan1[int_index] > '1') ) {
			txtRowSpan1_HTML					= 'rowspan="'+arrRowSpan1[int_index]+'"';
		}
		if ((arrRowSpan2[int_index] != '') && (arrRowSpan2[int_index] > '1') ) {
			txtRowSpan2_HTML					= 'rowspan="'+arrRowSpan2[int_index]+'"';
		}
		if ((arrRowSpan3[int_index] != '') && (arrRowSpan3[int_index] > '1') ) {
			txtRowSpan3_HTML					= 'rowspan="'+arrRowSpan3[int_index]+'"';
		}
		if ((arrRowSpan4[int_index] != '') && (arrRowSpan4[int_index] > '1') ) {
			txtRowSpan4_HTML					= 'rowspan="'+arrRowSpan4[int_index]+'"';
		}
		if (txtPreviousYear	!= arrYearOfActivity[int_index]) {						// If this is a new Year to display
			txtDisplayYear						= arrYearOfActivity[int_index];		//		populate the field to show the Year
			txtPreviousYear						= arrYearOfActivity[int_index];
		//	if (int_index > 1) {
		//		txt_top_spacing					= '<br><br>';						// put 2 blank lines above the item, except for 1st row
		//	}
		}
		txt_top_spacing							= '<br><br>';						// put 2 blank lines above the item, except for 1st row
		txt_grid_year							= '';
		txt_mgmt_year							= '';
		txt_WIRAB_year							= '';
//		if ( 	(arrRowSpan1[int_index] != '') ||
//				(arrRowSpan2[int_index] != '') ||
//				(arrRowSpan3[int_index] != '') ||
//				(arrRowSpan4[int_index] != '') 	) {
		if ((arrRowSpan2[int_index] != '') && (arrRowSpan2[int_index] >= '1') ) {
			txt_temp_year_cell 					= '<td align="center" valign="top" width="50" '+txtRowSpan2_HTML+' style="border-right: 1px solid #000000;border-left: 1px solid #000000;">';
			txt_temp_year_cell 				   += '<b>'+txtDisplayYear+'</b></td>';
		} else {
			txt_temp_year_cell					= '';
		}
			
		if (arrYearOfActivity[int_index]	<= "1994") {
			txt_temp_HTML					    = '<tr>';
			if (arrRowSpan1[int_index] != '') {
				txt_temp_HTML				   += 		'<td align="right" valign="top" class="cell_data" '+txtRowSpan1_HTML+' style="padding-right:8px;">';
				txt_temp_HTML				   += 			arrGridDevelopment[int_index]+txt_top_spacing;
				txt_temp_HTML				   += 		'</td>';
			}
			txt_temp_HTML					   += 		txt_temp_year_cell;
			if (arrRowSpan3[int_index] != '') {
				txt_temp_HTML				   += 		'<td align="left" valign="top" class="cell_data" '+txtRowSpan3_HTML+' style="padding-left:8px;" colspan="2">';
				txt_temp_HTML				   += 			arrGridManagementOrg[int_index]+txt_top_spacing;
				txt_temp_HTML				   += 		'</td>';
			}
			txt_temp_HTML					   += '</tr>';
			txt1963_1995_HTML				   += txt_temp_HTML;
		}
		if ((arrYearOfActivity[int_index] >= "1995") && (arrYearOfActivity[int_index]	<= "2004")) {
			txt_temp_HTML					    = '<tr>';
			if (arrRowSpan1[int_index] != '') {
				txt_temp_HTML				   += 		'<td align="right" valign="top" class="cell_data" '+txtRowSpan1_HTML+' style="padding-right:8px;">';
				txt_temp_HTML				   += 			arrGridDevelopment[int_index]+txt_top_spacing;
				txt_temp_HTML				   += 		'</td>';
			}
			txt_temp_HTML					   += 		txt_temp_year_cell;
			if (arrRowSpan3[int_index] != '') {
				txt_temp_HTML				   += 		'<td align="left" valign="top" class="cell_data" '+txtRowSpan3_HTML+' style="padding-left:8px;" colspan="2">';
				txt_temp_HTML				   += 			arrGridManagementOrg[int_index]+txt_top_spacing;
				txt_temp_HTML				   += 		'</td>';
			}
			txt_temp_HTML					   += '</tr>';
			txt1996_2004_HTML				   += txt_temp_HTML;
		}
		if (arrYearOfActivity[int_index] >= "2005") {
			txt_temp_HTML					    = '<tr>';
			if (arrRowSpan1[int_index] != '') {
				txt_temp_HTML					   += 		'<td align="right" valign="top" class="cell_data" '+txtRowSpan1_HTML+' style="padding-right:8px;">';
				txt_temp_HTML					   += 			arrGridDevelopment[int_index]+txt_top_spacing;
				txt_temp_HTML					   += 		'</td>';
			}
			txt_temp_HTML					   += 		txt_temp_year_cell;
			if (arrRowSpan3[int_index] != '') {
				txt_temp_HTML					   += 		'<td align="left" valign="top" class="cell_data" '+txtRowSpan3_HTML+' style="padding-left:8px;">';
				txt_temp_HTML					   += 			arrGridManagementOrg[int_index]+txt_top_spacing;
				txt_temp_HTML					   += 		'</td>';
			}
			if (arrRowSpan4[int_index] != '') {
				txt_temp_HTML					   += 		'<td align="left" valign="top" class="cell_data" '+txtRowSpan4_HTML+' style="border-left: 1px solid #000000;padding-left:8px;">';
				txt_temp_HTML					   += 			arrGridWIRAB[int_index]+txt_top_spacing;
				txt_temp_HTML					   += 		'</td>';
			}
			txt_temp_HTML					   += '</tr>';
			txt2005_present_HTML			   += txt_temp_HTML;
		}
		txt_top_spacing							= '';	// reset to single spacing
	}  	// end IF (do we have any data with the year...
}		// End FOR

txtTimeLineTable							= '<a name="top"></a>';
txtTimeLineTable						   += '<table width="75%" align="left" cellspacing="0" cellpadding="0" border="0">';

txtTimeLineTable						   += txt_top_table_links;
txtTimeLineTable						   += txt1963_1995_HTML;
txtTimeLineTable						   += txt1996_2004_HTML;
txtTimeLineTable						   += txt2005_present_HTML;

txtTimeLineTable						   += '<tr>';
txtTimeLineTable						   += 		'<td colspan="4" align="right" valign="top">';
txtTimeLineTable						   += 		'<a href="#top"><span style="color: #000000; font-size: 10pt;font-family: arial;text-decoration:none;">Return To Top</span></a><br><br>';
txtTimeLineTable						   += 		'</td>';
txtTimeLineTable						   += '</tr>';
txtTimeLineTable						   += "</table>";
/* timeline_data.js   - -  END */

