// make sure the optional variables are set (FIX: add all variables to this
// with reasonable defaults?)
if ( aa_new_window == null ) {
 var aa_new_window = false;
}

// which browser are we: netscape 4 dies with
// in-line styles and javascript combined
var aa_not_nscape = navigator.appName.indexOf("Netscape") == -1;

//
// fill the array 
//
var list = new Array();
list[0] =
  { url:'http://allafrica.com/stories/201002090245.html',
    slug:'Ethiopia:',
    headline:'New Authority to Rejuvenate Rift Lakes'
  };
list[1] =
  { url:'http://allafrica.com/stories/201002090428.html',
    slug:'Nigeria:',
    headline:'Reducing Disaster Risks in The Country'
  };
list[2] =
  { url:'http://allafrica.com/stories/201002090402.html',
    slug:'Uganda:',
    headline:'Kaveera - Whose Agenda is Mutagamba Articulating?'
  };
list[3] =
  { url:'http://allafrica.com/stories/201002090889.html',
    slug:'Uganda:',
    headline:'Norway to Support Tree Planting'
  };
list[4] =
  { url:'http://allafrica.com/stories/201002090808.html',
    slug:'Tunisia:',
    headline:'Coutnry to Send Action Plan to UN Convention On Climate Change to Reduce Emissions'
  };
list[5] =
  { url:'http://allafrica.com/stories/201002090562.html',
    slug:'Nigeria:',
    headline:'Thunder Kills 12 Women in Rivers'
  };
list[6] =
  { url:'http://allafrica.com/stories/201002090360.html',
    slug:'Nigeria:',
    headline:'Emirs, Obas And Chiefs Tasked On Environment'
  };
list[7] =
  { url:'http://allafrica.com/stories/201002090357.html',
    slug:'Nigeria:',
    headline:'Petrol Pipelines Pollute Water Boreholes in Lagos Community'
  };
list[8] =
  { url:'http://allafrica.com/stories/201002090284.html',
    slug:'Nigeria:',
    headline:'FCTA to Close New Chelsea Hotel'
  };
list[9] =
  { url:'http://allafrica.com/stories/201002090277.html',
    slug:'Nigeria:',
    headline:'FG Releases N5 Billion for Afforestation'
  };
list[10] =
  { url:'http://allafrica.com/stories/201002090219.html',
    slug:'South Africa:',
    headline:'Blaze Burning Back Over Mountain'
  };
list[11] =
  { url:'http://allafrica.com/stories/201002080234.html',
    slug:'South Africa:',
    headline:'Co-Generation Could Delay Need for  New Power Plant, Says WWF'
  };
list[12] =
  { url:'http://allafrica.com/stories/201002081432.html',
    slug:'Nigeria:',
    headline:'It is Another Season For Rains'
  };
list[13] =
  { url:'http://allafrica.com/stories/201002081144.html',
    slug:'Nigeria:',
    headline:'Firm to Revolutionise Gas Industry in The Country'
  };
list[14] =
  { url:'http://allafrica.com/stories/201002081108.html',
    slug:'Nigeria:',
    headline:'FG Releases N5 Billion to Tackle Deforestation'
  };
list[15] =
  { url:'http://allafrica.com/stories/201002081038.html',
    slug:'Nigeria:',
    headline:'Deforestation - British High Commission Recycles Paper'
  };
list[16] =
  { url:'http://allafrica.com/stories/201002080878.html',
    slug:'Nigeria:',
    headline:'British Council Partners FCMB On Fight Against Environmental Degradation'
  };
list[17] =
  { url:'http://allafrica.com/stories/201002080720.html',
    slug:'Nigeria:',
    headline:'Experts Advise Abia On Waste-to-Wealth Policy'
  };
list[18] =
  { url:'http://allafrica.com/stories/201002080611.html',
    slug:'Nigeria:',
    headline:'FERMA Carries Out Vegetation Control Along Nasarawa Roads'
  };
list[19] =
  { url:'http://allafrica.com/stories/201002080606.html',
    slug:'Uganda:',
    headline:'Kabale Pharmacist Held Over Missing Vaccines'
  };
list[20] =
  { url:'http://allafrica.com/stories/201002080433.html',
    slug:'Nigeria:',
    headline:'NCMM Boss Protests Invasion of Archeological Sites'
  };
list[21] =
  { url:'http://allafrica.com/stories/201002080408.html',
    slug:'Rwanda:',
    headline:'Children Awarded for Environmental Campaign'
  };
list[22] =
  { url:'http://allafrica.com/stories/201002080405.html',
    slug:'Rwanda:',
    headline:'Population Growth Threat to Environment-REMA'
  };
list[23] =
  { url:'http://allafrica.com/stories/201002080147.html',
    slug:'South Africa:',
    headline:'Robben Island Rabbit Cull On Track'
  };
list[24] =
  { url:'http://allafrica.com/stories/201002080139.html',
    slug:'Namibia:',
    headline:'Grants for Eco Projects Communities in the Driving Seat'
  };
list[25] =
  { url:'http://allafrica.com/stories/201002050917.html',
    slug:'Seychelles:',
    headline:'Keeping Wetlands From Becoming Wastelands'
  };
list[26] =
  { url:'http://allafrica.com/stories/201002050340.html',
    slug:'Africa:',
    headline:'Africa And Global Warming'
  };
list[27] =
  { url:'http://allafrica.com/stories/201002040829.html',
    slug:'South Africa:',
    headline:'Cyclist Drives Home Green Message With Bike'
  };
list[28] =
  { url:'http://allafrica.com/stories/201002050875.html',
    slug:'Nigeria:',
    headline:'Imo Identifies 400 Erosion Sites'
  };
list[29] =
  { url:'http://allafrica.com/stories/201002050519.html',
    slug:'Nigeria:',
    headline:'World Bank, US Hail Cross River\'s Forestry Programme'
  };

// open the table
document.write ( '<table bgcolor="' );
document.write ( aa_outside_color );
document.write ( '" ' );
if ( aa_width != null ) {
  document.write ( 'width="' + aa_width + '" ' );
}
document.write ( 'cellspacing="0" cellpadding="1" border="0"><tr><td>' );

document.write ( '<table width="100%" bgcolor="' );
document.write ( aa_stripe_color_1 );
document.write ( '" cellspacing="0" cellpadding="0" border="0">' );
document.write ( "\n" );

// header ifdefing for netscape idiocy to do font stuff
document.write ( '<tr><td><table width="100%" bgcolor="' );
document.write ( aa_outside_color );
document.write ( '" cellspacing="0" cellpadding="4" border="0"><tr><td align="center">' );
if ( aa_not_nscape ) {
document.write ( '<span style="font-family:arial,sans-serif;font-size:12pt;font-weight:bold;color=' + aa_header_color + '">' );
} else {
document.write ( '<font face="arial,sans-serif" point-size="12" color="' + aa_header_color + '"><strong>' );
}
if ( aa_header == null ) {
document.write ( 'Environment' );
} else {
  document.write ( aa_header );
}
if ( aa_not_nscape ) {
document.write ( '</span>' );
} else {
document.write ( '</strong></font>' );
}
document.write ( '</td></tr></table></td></tr>' );
document.write ( "\n" );

// interior table
document.write ( '<tr><td><table width="100%" cellspacing="0" cellpadding="3" border="0">' );

// javascript loop
for ( var i=0; i<aa_how_many; i++ ) {
if ( list[i] == null ) { break; }
document.write ( '<tr><td bgcolor="' );
if ( i%2 != 0 ) {
document.write ( aa_stripe_color_2 );
} else {
document.write ( aa_stripe_color_1 );
}
document.write ( '"><a ' );
if ( aa_not_nscape ) {
  document.write ( 'style="font-family:arial,sans-serif;font-size:11pt;text-decoration:none;" ' );
}
document.write ( 'href="' );
document.write ( list[i].url );
document.write ( '"' );
if ( aa_new_window ) {
  document.write ( ' target="_blank"' );
}
document.write ( '"><font face="arial,sans-serif" point-size="11">' );
if ( aa_display_category ) {
document.write ( '<u><strong>' );
document.write ( list[i].slug );
document.write ( '</strong></u> ' );
}
document.write ( list[i].headline );
document.write ( '</font></a> </td></tr>');
document.write ( "\n" );
}

// powered-by text at bottom
document.write ( '<tr><td align="right">');
if ( aa_not_nscape ) {
  document.write ( '<span style="font-family:arial,sans-serif;font-size:9pt;text-decoration:none;">' );
} else {
  document.write ( '<font face="arial,sans-serif" point-size="9">' );
}
document.write ( 'powered by allAfrica.com <br />' );
document.write ( '<a href="http://allafrica.com/environment/" target="_blank">more news</a> &gt;&gt; ' );
if ( aa_not_nscape ) {
  document.write ( '</span>' ); 
} else {
  document.write ( '</font>' );
}
document.write ( '</td></tr>' );

// close up the tables
document.write ( '</table></td></tr>' );
document.write ( '</table>' );
document.write ( '</td></tr></table>' );






