// build the first part of the header for a mirant.com page - absolute links
function buildHeader1() {
	var header1Text = "";
	
	header1Text += "<script language='javascript' src='http://www.mirant.com/_script/general.js'></script>\n";
	header1Text += "<form name='search' id='search' method='GET' action='http://www.mirant.com/mirant_search/searchresults.jsp'>\n";
	header1Text += "<table width='760' border='0' cellpadding='0' cellspacing='0' align='center'>\n";
	header1Text += "<tr>\n";
	header1Text += "<td valign='bottom'>\n"; 
	header1Text += "<div style='position: relative; bottom: 17px; left: 0px'><input type='text' value='Search' name='search' onFocus='if(this.value==\"Search\")this.value=\"\";' class='bnavInput' size='9' style='vertical-align: middle'>\n";
	header1Text += "<input type='image' src='http://www.mirant.com/images/but_go.gif' border='0' name='image' style='vertical-align: middle; margin-top: -2px; padding-left: 2px'></div>\n";
	document.writeln(header1Text);
}

// build the second part of the header for a page
function buildHeader2() {
	var header2Text = "";
	
	header2Text += "</td>\n";
	header2Text += "<td width='175'>\n"; 
	header2Text += "<div align='right'><a href='http://www.mirant.com/index.html'><img src='http://www.mirant.com/images/mirant_logo.gif' alt='Mirant' align='bottom' vspace='4' border='0'></a></div>\n";
	header2Text += "</td>\n";
	header2Text += "</tr>\n";
	header2Text += "</table>\n";
	header2Text += "</form>\n";	
	document.writeln(header2Text);
}