//Set current Greenbytes issue date
var gb_date = "3/18/05";

//styles for Contractible Headers
document.write('' +
'	<style type="text/css">' +
'		span.header{cursor:pointer; font-size:11; text-decoration: underline; color: #0000EE;}' +
'		span.header:hover{color: #548D64;}' +
// adds "+/-" before text on hover
//'		span.header:hover:before{content: " +/- ";}'+
'    </style>');

//write floating front page
document.write('' +
'<table width="95%" border="0" cellspacing="0" cellpadding="1">' +
'  <tr>' + 
'    <td bgcolor="#839BC5">' + 
'		<table width="100%" border="0" cellspacing="0" cellpadding="0">' +
'  			<tr>' +
'     			<td bgcolor="#FFFFFF"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'  			</tr>' +
' 			<tr>' +
'      			<td><img src="http://www.epa.gov/ne/images2/misc/headers/ffp.gif" alt="Floating Front Page"></td>' +
'  			</tr>' +
'  			<tr>' +
'      			<td bgcolor="#FFFFFF"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" height="1" alt=""></td>' +
'  			</tr>' +
'  			<tr>' +
'      			<td><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'  			</tr>' +
'		</table>' +
'      <table width="100%" border="0" cellspacing="0" cellpadding="1">' +
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="6">&nbsp;</td>' +
'          <td width="164"> <p class="smaller"><b><a href="http://www.epa.gov/ne/pr/press.html">Press Releases</a></b></p></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="6">&nbsp;</td>' +
'          <td class="smaller"><b><a href="http://www.epa.gov/ne/index.html#twht" class="sp_link">This Week\'s Hot Topics</a></b></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="6">&nbsp;</td>' +
'          <td class="smaller"><b><a href="http://www.epa.gov/ne/topics/seasonal_issues.html" class="sp_link">Spring Issues</a></b></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="6">&nbsp;</td>' +
'          <td class="smaller"><b><a href="http://www.epa.gov/ne/whatsnew/index.html" class="sp_link">New &amp; Updated Sites</a></b></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'         <td width="6">&nbsp;</td>' +
'          <td class="smaller"><a href="http://www.epa.gov/ne/inthenews/index.html" class="sp_link"><b>In The News</b></a><br>Today\'s top newspaper stories about the NE environment.<br><a href="http://www.epa.gov/ne/inthenews/subscribe.html" class="sp_link">Subscribe Now. Free!</a></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'       <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="6">&nbsp;</td>' +
'          <td class="smaller"><a href="http://www.epa.gov/ne/ra/gb/index.html" class="sp_link"><b>Greenbytes</b></a><br>Weekly newsletter.<br>' + gb_date + ' Edition<br><a href="http://www.epa.gov/ne/ra/gb/subscribe.html" class="sp_link">Subscribe Now. Free!</a></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
// Get Involved Section Starts Here
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'         <td width="6">&nbsp;</td>' +
'          <td class="smaller"><table cellpadding="0" cellspacing="0"><tr><td width="15" valign="middle"><span onClick="toggle(\'expandImage\',\'listOne\');" class="header"><img src="http://www.epa.gov/ne/images2/misc/contract.gif" id="expandImage" width="11" height="11" title="Click here to show/hide the \'What You Can Do\' section."></span></td> <td valign="middle" class="smaller"><b><span onClick="toggle(\'expandImage\',\'listOne\');" class="header" title="Click here to show/hide the \'What You Can Do\' section.">What You Can Do</span></b><td></tr></table></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2">' +
// collapseable section starts here
'        <div id="listOne"> ' +
'	<table border="0" cellpadding="2" cellspacing="0">'+
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="12" class="smaller" align="right"><font color="#839BC5">&#8226;</font></td>' +
'          <td class="smaller"><a href="http://www.epa.gov/ne/pr/2005/mar/dw050301.html" class="sp_link">EPA Seeks Projects for Environmental Justice Small Grants<br>Deadline: 4/4/05</a></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="12" class="smaller" align="right"><font color="#839BC5">&#8226;</font></td>' +
'          <td class="smaller"><a href="http://www.epa.gov/ne/assistance/smallbusiness/index.html" class="sp_link">Nominations for Small Business Awards Due: 3/31/05</a></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="12" class="smaller" align="right"><font color="#839BC5">&#8226;</font></td>' +
'          <td class="smaller"><a href="http://www.epa.gov/ne/eco/drinkwater/ee_award.html" class="sp_link">Nominations for Environmental Educator Award Program Sought<br>Due: 3/30/05</a></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="12" class="smaller" align="right"><font color="#839BC5">&#8226;</font></td>' +
'          <td class="smaller"><a href="http://www.epa.gov/ne/healthcare/index.html" class="sp_link">Mercury Free Medicine Challenge</a></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="12" class="smaller" align="right"><font color="#839BC5">&#8226;</font></td>' +
'          <td class="smaller"><a href="http://www.epa.gov/ne/eco/energy/audiences.html#home" class="sp_link">Energy &amp; You</a></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="12" class="smaller" align="right"><font color="#839BC5">&#8226;</font></td>' +
'          <td class="smaller"><a href="http://www.epa.gov/ne/communities/traveltips.html" class="sp_link">Eco-Friendly Travel Tips</a></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="12" class="smaller" align="right"><font color="#839BC5">&#8226;</font></td>' +
'          <td class="smaller"><a href="http://www.epa.gov/ne/solidwaste/electronic/index.html" class="sp_link">Recycle Your Old PC/Mac</a></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="12" class="smaller" align="right"><font color="#839BC5">&#8226;</font></td>' +
'          <td class="smaller"><a href="http://www.epa.gov/ne/ra/gb/archives/2002/20020423.html" class="sp_link">Benchmark Your Building\'s Energy Use</a></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF" onMouseOver="this.bgColor=\'#E9F1F8\'" onMouseOut="this.bgColor=\'#FFFFFF\'">' + 
'          <td width="12" class="smaller" align="right"><font color="#839BC5">&#8226;</font></td>' +
'          <td class="smaller"><a href="http://www.epa.gov/ne/pr/2004/aug/040809.html" class="sp_link">Best Workplaces for Commuters</a></td>' +
'        </tr>' +
'        <tr valign="top" bgcolor="#FFFFFF">' + 
'          <td colspan="2"><img src="http://www.epa.gov/ne/images2/misc/spacer.gif" width="1" height="1" alt=""></td>' +
'        </tr>' +
'        </td></tr>' +
'	</table>'+
'</div>' +
// collapseable section ends here
'        </tr>' +
'      </table>' +
'    </td>' +
'  </tr>' +
'</table>' +
'<br>' +
'<table width="159" border="0" cellspacing="0" cellpadding="1">' +
'  <tr>' + 
'    <td onMouseOver="this.bgColor=\'#E6E6E6\'" onMouseOut="this.bgColor=\'#FFFFFF\'"><a href="http://www.epa.gov/ne/oarm/foia/index.html"><img src="http://www.epa.gov/ne/images2/misc/foia.gif" width="155" height="20" vspace="2" hspace="1" alt="Submit Freedom of Information Act Requests" title="Submit Freedom of Information Act Requests" border="0"></a></td>' +
'  </tr>' +
'  <tr>' + 
'  <tr>' + 
'    <td onMouseOver="this.bgColor=\'#D1E7CF\'" onMouseOut="this.bgColor=\'#FFFFFF\'"><a href="http://www.epa.gov/ne/espanol/index.html"><img src="http://www.epa.gov/ne/images2/misc/espanol.gif" width="155" height="20" vspace="2" hspace="1" alt="En Espa&ntilde;ol" title="En Espa&ntilde;ol" border="0"></a></td>' +
'  </tr>' +
'  <tr>' + 
'    <td onMouseOver="this.bgColor=\'#D1E2F3\'" onMouseOut="this.bgColor=\'#FFFFFF\'"><a href="http://www.epa.gov/ne/oarm/index.html"><img src="http://www.epa.gov/ne/images2/misc/library.gif" width="155" height="20" vspace="2" hspace="1" alt="Library" title="Library" border="0"></a></td>' +
'  </tr>' +
'  <tr>' + 
'    <td onMouseOver="this.bgColor=\'#EFA3AA\'" onMouseOut="this.bgColor=\'#FFFFFF\'"><a href="http://www.epa.gov/ne/cal/index.html"><img src="http://www.epa.gov/ne/images2/misc/calendar.gif" width="155" height="20" vspace="2" hspace="1" border="0" alt="Calendar"></a></td>' +
'  </tr>' +
'<tr> ' +
'     <td onMouseOver="this.bgColor=\'#D6D6EB\'" onMouseOut="this.bgColor=\'#FFFFFF\'"><a href="http://www.epa.gov/ne/enforcement/water/public-notices.html"><img src="http://www.epa.gov/ne/images2/misc/cwapubnotice.gif" width="155" height="20" vspace="2" hspace="1" alt="Clean Water Act Public Notices" title="Clean Water Act Public Notices" border="0"></a></td>' +
'</tr>' +
'  <tr>' + 
'    <td onMouseOver="this.bgColor=\'#FFDCB9\'" onMouseOut="this.bgColor=\'#FFFFFF\'"><a href="http://www.epa.gov/ne/communities/index.html"><img src="http://www.epa.gov/ne/images2/misc/question.gif" width="155" height="20" vspace="2" hspace="1" border="0" alt="Questions About Your Community and EPA New England" title="Questions About Your Community and EPA New England"></a></td>' +
'  </tr>' +
'</table>');
// go here for full documentation http://www.safalra.com/programming/javascript/collapse.html
//document.getElementById('collapsibleList').style.listStyle="none"; // remove list markers if using <ul id="collapsibleList"></ul> to encapsulate contractible section
document.getElementById('listOne').style.display="block"; // collapse list 
//document.getElementById('listTwo').style.display="none"; // collapse list 
// this function toggles the status of a list 
function toggle(image,list){ 
var listElementStyle=document.getElementById(list).style; 
	if (listElementStyle.display=="none"){ 
	listElementStyle.display="block"; 
	document.getElementById(image).src="http://www.epa.gov/ne/images2/misc/contract.gif"; 
//	document.getElementById(image).alt="Close list"; 
	}else{ 
	listElementStyle.display="none"; 
	document.getElementById(image).src="http://www.epa.gov/ne/images2/misc/expand.gif"; 
//	document.getElementById(image).alt="Open list"; 
	}
 } 
 
function closeTimer() {
	setTimeout("toggle('expandImage','listOne')", 8000);
}

//window.onLoad=closeTimer();
