var agt=navigator.userAgent.toLowerCase();
// *** BROWSER VERSION ***
// Note: On IE5, these return 4, so use is_ie5up to detect IE5.
var is_major = parseInt(navigator.appVersion);
var is_minor = parseFloat(navigator.appVersion);
var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
&& (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
&& (agt.indexOf('webtv')==-1));
var is_nav2 = (is_nav && (is_major == 2));
var is_nav3 = (is_nav && (is_major == 3));
var is_nav4 = (is_nav && (is_major == 4));
var is_nav4up = (is_nav && (is_major >= 4));
var is_navonly      = (is_nav && ((agt.indexOf(";nav") != -1) ||
(agt.indexOf("; nav") != -1)) );
var is_nav5 = (is_nav && (is_major == 5));
var is_nav5up = (is_nav && (is_major >= 5));
var is_ie   = (agt.indexOf("msie") != -1);
var is_ie3  = (is_ie && (is_major < 4));
var is_ie4  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")==-1) );
var is_ie4up  = (is_ie  && (is_major >= 4));
var is_ie5  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")!=-1) );
var is_ie5up  = (is_ie  && !is_ie3 && !is_ie4);
function OffSite (SiteName) {
if (is_ie4up)    {
document.writeln (' <SC' + 'RIPT language="javascript">  ');
document.writeln (' IE4 = (document.all) ? 1 : 0;  ');
document.writeln (' NS4 = (document.layers) ? 1 : 0;  ');
document.writeln (' ver4 = (IE4 || NS4) ? 1 : 0;  ');
document.writeln (' function layerSetup() {  ');
document.writeln (' elMenuLyr = (NS4) ? document.layers["elMenu"] : document.all.elMenu.style;  ');
document.writeln (' elMenuUpLyr = (NS4) ? document.layers["elMenu"].document.layers["elMenuUp"] : document.all.elMenuUp.style;  ');
document.writeln (' elMenuOverLyr = (NS4) ? document.layers["elMenu"].document.layers["elMenuOver"] : document.all.elMenuOver.style;  ');
document.writeln (' canvasLyr = (NS4) ? document.layers["canvasLayer"] : document.all.canvasLayer.style;  ');
document.writeln (' newsdataLyr = (NS4) ? document.layers["elMenu"].document.layers["newsdataLayer"] : document.all.newsdataLayer.style;  ');
document.writeln (' searchdataLyr = (NS4) ? document.layers["elMenu"].document.layers["searchdataLayer"] : document.all.searchdataLayer.style;  ');
document.writeln (' webcastLyr = (NS4) ? document.layers["elMenu"].document.layers["webcastLayer"] : document.all.webcastLayer.style;  ');
document.writeln (' }  ');
document.writeln (' if (ver4) {  ');
document.writeln (' secondIm = "<IMG SRC=\'http\:\/\/www\.enn\.com\/js\/tablight1.gif\' USEMAP=\'#ecoMap\' WIDTH=125 HEIGHT=33 BORDER=0>";  ');
document.writeln (' arPopups = new Array()  ');
document.writeln (' }  ');
document.writeln (' else { secondIm = "" }  ');
document.writeln (' function setBeginEnd(which,from,to) {  ');
document.writeln (' arPopups[which] = new Array();  ');
document.writeln (' arPopups[which][0] = from;  ');
document.writeln (' arPopups[which][1] = to;  ');
document.writeln (' } ');
document.writeln (' if (ver4) {  ');
document.writeln (' setBeginEnd(1,6,44);  ');
document.writeln (' setBeginEnd(2,45,83);  ');
document.writeln (' setBeginEnd(3,84,122);  ');
document.writeln (' }  ');
document.writeln (' clTop = 18;  ');
document.writeln (' clBot = 33;  ');
document.writeln (' function mapOver(which,on) {  ');
document.writeln (' if (!ver4) { return }  ');
document.writeln (' if (IE4) { whichEl = document.all.elMenuOver.style }  ');
document.writeln (' else { whichEl = document.elMenu.document.elMenuOver };  ');
document.writeln (' if (!on) { whichEl.visibility = "hidden"; return }  ');
document.writeln (' clLeft = arPopups[which][0];  ');
document.writeln (' clRight = arPopups[which][1];  ');
document.writeln (' if (NS4) {  ');
document.writeln (' whichEl.clip.left = clLeft;  ');
document.writeln (' whichEl.clip.right = clRight;  ');
document.writeln (' }  ');
document.writeln (' else {  ');
document.writeln (' whichEl.clip = "rect(" + clTop + " " + clRight + " " + clBot + " " + clLeft + ")";  ');
document.writeln (' }  ');
document.writeln (' whichEl.visibility = "visible"   ');
document.writeln (' }  ');
document.writeln (' function sam() {  ');
document.writeln (' if (NS4) {document.writeln("</div>")}  ');
document.writeln (' } ');
document.writeln (' function sam1() {  ');
document.writeln (' if (IE4) {document.writeln("</div>")};  ');
document.writeln (' } ');
document.writeln (' </scr' + 'ipt>  ');
document.writeln (' <STYLE TYPE="text/css">  ');
document.writeln (' <!--  ');
document.writeln (' \#elMenu {position: relative; z-index: 1;}  ');
document.writeln (' \#elMenuUp {position: absolute; z-index: 1;}  ');
document.writeln (' \#elMenuOver {position: absolute; z-index: 1; visibility: hidden;}  ');
document.writeln (' \#canvasLayer {position: absolute; top: 33; z-index: 2; visibility: visible;}  ');
document.writeln (' \#newsdataLayer {position: absolute; top: 45; left: 5; z-index: 3; width: 118; visibility: hidden;}  ');
document.writeln (' \#searchdataLayer {position: absolute; top: 45; left: 5; z-index: 3; width: 118; visibility: hidden;}  ');
document.writeln (' \#webcastLayer {position: absolute; top: 45; left: 5; z-index: 3; width: 118; visibility: hidden;}  ');
document.writeln (' \.links {font-family: arial; font-size: 10px; color: #000000}  ');
document.writeln (' -->  ');
document.writeln (' </STYLE>  ');
document.writeln (' <table cellpadding=0  border=0  >  ');
document.writeln (' <tr>  ');
document.writeln (' <td>  ');
document.writeln (' <DIV ID="elMenu">  ');
document.writeln (' <DIV ID="newsdataLayer">  ');
document.writeln (' <A HREF="http://www.enn.com/news/enn-stories/2001/06/06062001/turtlepier_43883.asp?site=' + SiteName + '" target="enn.com"><FONT SIZE=1 FACE="Arial,Helvetica,Verdana" COLOR="#000000">Proposed Gulf Coast pier threatens world\'s rarest sea turtle</FONT></A><BR><BR>');
document.writeln (' <A HREF="http://www.enn.com/news/enn-stories/2001/06/06062001/txrefuge_43750.asp?site=' + SiteName + '" target="enn.com"><FONT SIZE=1 FACE="Arial,Helvetica,Verdana" COLOR="#000000">Texas refuge provides habitat for endangered species, and humanity</FONT></A><BR><BR>');
document.writeln (' <A HREF="http://www.enn.com/news/enn-stories/2001/06/06062001/shareholder_43785.asp?site=' + SiteName + '" target="enn.com"><FONT SIZE=1 FACE="Arial,Helvetica,Verdana" COLOR="#000000">Shareholder activism</FONT></A><BR><BR>');
document.writeln (' \<a href\=\"http\:\/\/www\.enn\.com\/worldwire\/index\.asp?site=' + SiteName + '\" target="new"\>\<FONT SIZE\=1 FACE\=\"Arial\,Helvetica\,Verdana\" COLOR\=\"\#000000\"\>Breaking News 6/6/2001\<\/FONT\>\<\/a\>  ');
document.writeln (' </DIV>  ');
if (is_nav4up) document.writeln (' <DIV ID="searchdataLayer">  ');
if (is_nav4up) document.writeln (' <font class="links"> ');
if (is_nav4up) document.writeln (' <a href="http://www.enn.com/search/search.asp?site=' + SiteName + '" target="new">Click Here To Search!</a>  ');
if (is_nav4up) document.writeln (' <br><br>Search ENN\'s extensive archive of more than 10,000 environmental articles.  ');
if (is_nav4up) document.writeln (' </font>  ');
if (is_nav4up) document.writeln (' </DIV>  ');
if (is_ie4up) document.writeln (' <DIV ID="searchdataLayer">  ');
if (is_ie4up) document.writeln (' \<FORM ACTION\=\"http\:\/\/www\.enn\.com\/search\/search\-r\.asp?site=' + SiteName + '\" METHOD\=\"POST\" TARGET\=\"NEW\">  ');
if (is_ie4up) document.writeln (' \<table border\=\"0\" cellpadding\=\"0\" cellspacing\=\"0\"\>  ');
if (is_ie4up) document.writeln (' \<tr\>  ');
if (is_ie4up) document.writeln (' \<td\>\<font class\="links"\>\<INPUT TYPE\=\"TEXT\" NAME\=\"SearchString\" SIZE\=\"10\" MAXLENGTH\=\"128\"\>\<\/font\>\<\/td\>\<td valign\=middle\>\<INPUT TYPE\=\"IMAGE\" SRC\=\"http\:\/\/www\.enn\.com\/js\/go\.gif\" alt\=\"go\!\" border\=\"0\"\>\<\/td\>  ');
if (is_ie4up) document.writeln (' \<\/tr\>  ');
if (is_ie4up) document.writeln (' \<\/table\>  ');
if (is_ie4up) document.writeln (' \<font class="links"\>  ');
if (is_ie4up) document.writeln (' Search ENN\'s extensive archive of more than 10\,000 environmental articles\.  ');
if (is_ie4up) document.writeln (' \<\/font\>  ');
if (is_ie4up) document.writeln (' \<\/form\>  ');
if (is_ie4up) document.writeln (' </DIV>  ');
document.writeln (' <DIV ID="webcastLayer">  ');
document.writeln (' \<font class="links"\>  ');
document.writeln (' Tune-in to \<a COLOR\=\"\#FF0000\" href\=\"http\:\/\/www\.enn\.com\/webcasts\/ennnews\/ennnews2\.ram?site\=' + SiteName + '\"\ target=\"enn.com\">ENN\'s multimedia webcast\<\/a\>\ for today\'s environmental news update  ');
document.writeln (' \<br\>\<br\>\Listen to <a COLOR\=\"\#FF0000\" href\=\"http\:\/\/www\.enn\.com\/radio\/index\.asp?site\=' + SiteName + '\"\ target=\"enn.com\">Earth News Radio\<\/a\> with your host Jerry Kay  ');
document.writeln (' \<br\>\<br\>Test your environmental knowledge with ENN\'s latest \<a COLOR\=\"\#FF0000\" href\=\"http\:\/\/www\.enn\.com\/features\/quiz.asp?site\=' + SiteName + '\" target=\"enn.com\">quiz\<\/a\>\  ');
document.writeln (' \<\/font\>  ');
document.writeln (' </DIV>  ');
document.writeln (' <MAP NAME="ecoMap">  ');
document.writeln (' <AREA SHAPE="RECT" COORDS="6,18,44,33"  ');
document.writeln (' HREF="JavaScript:void(null)"  ');
document.writeln (' onClick="mapOver(1,true);  ');
document.writeln (' newsdataLyr.visibility=\'visible\';  ');
document.writeln (' searchdataLyr.visibility=\'hidden\';   ');
document.writeln (' webcastLyr.visibility=\'hidden\'">  ');
document.writeln (' <AREA SHAPE="RECT" COORDS="45,18,83,33"   ');
document.writeln (' HREF="Javascript:void(null)"  ');
document.writeln (' onClick="mapOver(2,true);  ');
document.writeln (' searchdataLyr.visibility=\'visible\';  ');
document.writeln (' newsdataLyr.visibility=\'hidden\';  ');
document.writeln (' webcastLyr.visibility=\'hidden\'">  ');
document.writeln (' <AREA SHAPE="RECT" COORDS="84,18,122,33"   ');
document.writeln (' HREF="Javascript:void(null)"  ');
document.writeln (' onClick="mapOver(3,true);   ');
document.writeln (' webcastLyr.visibility=\'visible\';  ');
document.writeln (' searchdataLyr.visibility=\'hidden\';   ');
document.writeln (' newsdataLyr.visibility=\'hidden\'">  ');
document.writeln (' </MAP>  ');
document.writeln (' <DIV ID="elMenuUp">  ');
document.writeln (' <IMG SRC="http\:\/\/www\.enn\.com\/js\/tabdark1.gif" USEMAP="#ecoMap" WIDTH=125 HEIGHT=33 BORDER=0>  ');
document.writeln (' </DIV>  ');
document.writeln (' <DIV ID="elMenuOver">  ');
document.writeln (' <SC' + 'RIPT LANGUAGE="JavaScript">document.write(secondIm)</SC' + 'RIPT>  ');
document.writeln (' </DIV>  ');
sam();
if (NS4) document.writeln (' <img src="http://www.enn.com/js/transparent.gif" height=245 width=126>  ');
document.writeln (' <DIV ID="canvasLayer">  ');
document.writeln (' <table cellpadding=0 cellspacing=0 border=0 width=125><tr><td bgcolor=#000000 width=1><spacer type=block width=1></td><td bgcolor="#EEEEEE" width=123> ');
document.writeln (' <table cellpadding=3 cellspacing=0 border=0 width=118> ');
document.writeln (' <tr> ');
document.writeln (' <td> ');
document.writeln (' <img src="http://www.enn.com/js/transparent.gif" height=5 width=1> ');
document.writeln (' </td> ');
document.writeln (' </tr> ');
document.writeln (' <tr> ');
document.writeln (' <td> ');
document.writeln (' <A HREF="http://www.enn.com/news/enn-stories/2001/06/06062001/turtlepier_43883.asp?site=' + SiteName + '" target="enn.com"><FONT SIZE=1 FACE="Arial,Helvetica,Verdana" COLOR="#EEEEEE">Proposed Gulf Coast pier threatens world\'s rarest sea turtle</FONT></A><BR><BR>');
document.writeln (' <A HREF="http://www.enn.com/news/enn-stories/2001/06/06062001/txrefuge_43750.asp?site=' + SiteName + '" target="enn.com"><FONT SIZE=1 FACE="Arial,Helvetica,Verdana" COLOR="#EEEEEE">Texas refuge provides habitat for endangered species, and humanity</FONT></A><BR><BR>');
document.writeln (' <A HREF="http://www.enn.com/news/enn-stories/2001/06/06062001/shareholder_43785.asp?site=' + SiteName + '" target="enn.com"><FONT SIZE=1 FACE="Arial,Helvetica,Verdana" COLOR="#EEEEEE">Shareholder activism</FONT></A><BR><BR>');
document.writeln (' \<a href\=\"http\:\/\/www\.enn\.com\/worldwire\/index\.asp?site=' + SiteName + '\" target="new"\>\<FONT SIZE\=1 FACE\=\"Arial\,Helvetica\,Verdana\" COLOR\=\"\#EEEEEE\"\>Breaking News 6/6/2001\<\/FONT\>\<\/a\>  ');
document.writeln (' </td> ');
document.writeln (' </tr> ');
document.writeln (' </table> ');
document.writeln (' </td><td bgcolor=#000000 width=1><spacer type=block width=1></td></tr></table>  ');
document.writeln (' <table cellpadding=0 cellspacing=0 border=0 width=125><tr><td><a href="http://www.enn.com" target="new"><img src="http://www.enn.com/js/endcap1.gif" border="0" width="125"></a></td></tr></table>  ');
document.writeln (' </DIV>  ');
sam1();
if (IE4) document.writeln (' <img src="http://www.enn.com/js/transparent.gif" height=301 width=126>  ');
document.writeln (' </td>  ');
document.writeln (' </tr>  ');
document.writeln (' </table>  ');
document.writeln (' <SC' + 'RIPT LANGUAGE="JavaScript">layerSetup();mapOver(1,true);newsdataLyr.visibility=\'visible\'</SC' + 'RIPT>  ');
document.close ();
}
else {
document.writeln ('<MAP NAME="ecoMap">');
document.writeln ('<AREA SHAPE="RECT" COORDS="6,18,44,33" HREF="http://www.enn.com/news/index.asp" target="new">  ');
document.writeln ('<AREA SHAPE="RECT" COORDS="45,18,83,33" HREF="http://www.enn.com/search/search.asp" target="new"> ');
document.writeln ('<AREA SHAPE="RECT" COORDS="84,18,122,33" HREF="http://www.enn.com/webcasts/ennnews/ennnews2.ram">  ');
document.writeln ('</MAP>');
document.writeln ('<table cellpadding=0 cellspacing=0 border=0 width=125><tr><td colspan=3><IMG SRC="http://www.enn.com/js/tabhead.gif" USEMAP="#ecoMap" WIDTH=125 HEIGHT=33 BORDER=0></td></tr><tr><td bgcolor=#000000 height=195 width=1><spacer type=block width=1 height=195></td><td valign=top bgcolor=#EEEEEE><img height=9 width=123 src="http://www.enn.com/js/transparent.gif"><br>');
document.writeln ('<table cellpadding=2 cellspacing=0 border=0 width=123><tr><td valign=top>');
document.writeln (' <A HREF="http://www.enn.com/news/enn-stories/2001/06/06062001/turtlepier_43883.asp?site=' + SiteName + '" target="enn.com"><FONT SIZE=1 FACE="Arial,Helvetica,Verdana" COLOR="#000000">Proposed Gulf Coast pier threatens world\'s rarest sea turtle</FONT></A><BR><BR>');
document.writeln (' <A HREF="http://www.enn.com/news/enn-stories/2001/06/06062001/txrefuge_43750.asp?site=' + SiteName + '" target="enn.com"><FONT SIZE=1 FACE="Arial,Helvetica,Verdana" COLOR="#000000">Texas refuge provides habitat for endangered species, and humanity</FONT></A><BR><BR>');
document.writeln (' <A HREF="http://www.enn.com/news/enn-stories/2001/06/06062001/shareholder_43785.asp?site=' + SiteName + '" target="enn.com"><FONT SIZE=1 FACE="Arial,Helvetica,Verdana" COLOR="#000000">Shareholder activism</FONT></A><BR><BR>');
document.writeln (' \<a href\=\"http\:\/\/www\.enn\.com\/worldwire\/index\.asp?site=' + SiteName + '\" target="new"\>\<FONT SIZE\=1 FACE\=\"Arial\,Helvetica\,Verdana\" COLOR\=\"\#000000\"\>Breaking News 6/6/2001\<\/FONT\>\<\/a\>  ');
document.writeln ('</td></tr></table>');
document.writeln ('</td><td bgcolor=#000000 height=195 width=1><spacer type=block width=1 height=195></td></tr></table>');
document.writeln ('<table cellpadding=0 cellspacing=0 border=0 width=125><tr><td><a href="http://www.enn.com" target="new"><img src="http://www.enn.com/js/endcap1.gif" border=0 width=125></a></td></tr></table>');
}
}

