// 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/201007300904.html',
    slug:'Côte d\'Ivoire:',
    headline:'Yellow Fever, Dengue Kill at Least Three'
  };
list[1] =
  { url:'http://allafrica.com/stories/201007300399.html',
    slug:'Zimbabwe:',
    headline:'Junior Sables in Final'
  };
list[2] =
  { url:'http://allafrica.com/stories/201007290665.html',
    slug:'Côte d\'Ivoire:',
    headline:'Media Report for 2009'
  };
list[3] =
  { url:'http://allafrica.com/stories/201007280022.html',
    slug:'Côte d\'Ivoire:',
    headline:'Court Convicts Journalists for Refusing to Disclose Sources'
  };
list[4] =
  { url:'http://allafrica.com/stories/201007280724.html',
    slug:'Zimbabwe:',
    headline:'Young Sables Open With Win'
  };
list[5] =
  { url:'http://allafrica.com/stories/201007261147.html',
    slug:'Côte d\'Ivoire:',
    headline:'Whistleblower Arrested'
  };
list[6] =
  { url:'http://allafrica.com/stories/201007261475.html',
    slug:'Côte d\'Ivoire:',
    headline:'Journalists Go Free'
  };
list[7] =
  { url:'http://allafrica.com/stories/201007271157.html',
    slug:'Côte d\'Ivoire:',
    headline:'Ivorian judge issues fine, suspension for story on leaked documents'
  };
list[8] =
  { url:'http://allafrica.com/stories/201007261267.html',
    slug:'Tanzania/Côte d\'Ivoire:',
    headline:'TFF Confuses Heroes Match Date to Face Cote d\'Ivoire On Sunday'
  };
list[9] =
  { url:'http://allafrica.com/stories/201007230885.html',
    slug:'Côte d\'Ivoire:',
    headline:'Swiss Firm Fined a Million in Toxic Waste Case'
  };
list[10] =
  { url:'http://allafrica.com/stories/201007220802.html',
    slug:'Africa:',
    headline:'Better Prevention Needed for HIV-Exposed Babies'
  };
list[11] =
  { url:'http://allafrica.com/stories/201007220785.html',
    slug:'West Africa:',
    headline:'Journalists Face Jail for Refusing to Reveal Sources'
  };
list[12] =
  { url:'http://allafrica.com/stories/201007231039.html',
    slug:'Côte d\'Ivoire:',
    headline:'Trafigura found guilty in toxic waste dumping tragedy'
  };
list[13] =
  { url:'http://allafrica.com/stories/201007221064.html',
    slug:'Côte d\'Ivoire:',
    headline:'Black Pod Hits Cocoa Harvest in Southwest'
  };
list[14] =
  { url:'http://allafrica.com/stories/201007191814.html',
    slug:'Côte d\'Ivoire:',
    headline:'Three Journalists Held Over Corruption Report'
  };
list[15] =
  { url:'http://allafrica.com/stories/201007200450.html',
    slug:'Zimbabwe:',
    headline:'Young Sables Off to Cote d\'Ivoire'
  };
list[16] =
  { url:'http://allafrica.com/stories/201007191128.html',
    slug:'Sierra Leone:',
    headline:'\'Ivorian Govt More Accommodative to RUF Than Taylor\' - Former Rebel Leader Testifies'
  };
list[17] =
  { url:'http://allafrica.com/stories/201007190425.html',
    slug:'Angola:',
    headline:'Thrash Côte d\'Ivoire, Win Gold in Rabat'
  };
list[18] =
  { url:'http://allafrica.com/stories/201007160745.html',
    slug:'Côte d\'Ivoire:',
    headline:'Police Detain Three Journalists'
  };
list[19] =
  { url:'http://allafrica.com/stories/201007150213.html',
    slug:'Côte d\'Ivoire:',
    headline:'Newspaper Fined for Publishing Results of Opinion Polls'
  };
list[20] =
  { url:'http://allafrica.com/stories/201007161147.html',
    slug:'Côte d\'Ivoire:',
    headline:'Jailed Ivorian trio charged; ailing reporter on hunger strike'
  };
list[21] =
  { url:'http://allafrica.com/stories/201007150262.html',
    slug:'Namibia:',
    headline:'Rugby Youth Off to Ivory Coast'
  };
list[22] =
  { url:'http://allafrica.com/stories/201007140128.html',
    slug:'Sierra Leone:',
    headline:'Rebel Leader Says Cote d\'Ivoire Gave Refuge During War'
  };
list[23] =
  { url:'http://allafrica.com/stories/201007110123.html',
    slug:'Africa:',
    headline:'Why Did Ghana Succeed Where Others Failed?'
  };
list[24] =
  { url:'http://allafrica.com/stories/201007090756.html',
    slug:'Africa:',
    headline:'Who Are Continent\'s Top 10 World Cup Players?'
  };
list[25] =
  { url:'http://allafrica.com/stories/201007120432.html',
    slug:'Côte d\'Ivoire:',
    headline:'Ordination of Bishop Raymond Ahoua'
  };
list[26] =
  { url:'http://allafrica.com/stories/201007060017.html',
    slug:'Africa:',
    headline:'New Cocoa Agreement Is a Sweet One, Producers Say'
  };
list[27] =
  { url:'http://allafrica.com/stories/201007060085.html',
    slug:'Angola:',
    headline:'Relations With Cote d\'Ivoire "Excellent" - Ambassador'
  };
list[28] =
  { url:'http://allafrica.com/stories/201007051024.html',
    slug:'Tanzania:',
    headline:'Stockler Plots Cote d\'Ivoire Downfall'
  };
list[29] =
  { url:'http://allafrica.com/stories/201007010342.html',
    slug:'Africa:',
    headline:'What Went Wrong at the World Cup'
  };

// 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 ( 'Côte d\'Ivoire' );
} 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/cotedivoire/" 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>' );






