// 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/200911180967.html',
    slug:'Algeria/Egypt:',
    headline:'Desert Foxes Beat Pharaohs to Reach World Cup'
  };
list[1] =
  { url:'http://allafrica.com/stories/200911180241.html',
    slug:'Egypt:',
    headline:'Over the Top With Anti-Swine Flu Steps'
  };
list[2] =
  { url:'http://allafrica.com/stories/200911190560.html',
    slug:'Africa:',
    headline:'Algeria Beat Egypt to Africa\'s Last Ticket'
  };
list[3] =
  { url:'http://allafrica.com/stories/200911161557.html',
    slug:'Africa:',
    headline:'Continent\'s Best Soccer Teams Head For World Cup'
  };
list[4] =
  { url:'http://allafrica.com/stories/200911180533.html',
    slug:'Uganda:',
    headline:'Notu Twins With Egyptians'
  };
list[5] =
  { url:'http://allafrica.com/stories/200911170297.html',
    slug:'Tanzania/Egypt:',
    headline:'Maximo Speaks Out, Defends Goalie Bathez'
  };
list[6] =
  { url:'http://allafrica.com/stories/200911170048.html',
    slug:'Egypt/Rwanda:',
    headline:'Kanamugire in Cairo for Coaching Course'
  };
list[7] =
  { url:'http://allafrica.com/stories/200911160382.html',
    slug:'Uganda/Egypt:',
    headline:'From Cameroon to France, Egypt to Portugal, Do It for Enke And His Kind'
  };
list[8] =
  { url:'http://allafrica.com/stories/200911160306.html',
    slug:'Nigeria:',
    headline:'DRTS Warns Against Damage to Solar Street Lights'
  };
list[9] =
  { url:'http://allafrica.com/stories/200911120012.html',
    slug:'Egypt:',
    headline:'Rendition Redux?'
  };
list[10] =
  { url:'http://allafrica.com/stories/200911100497.html',
    slug:'Nigeria:',
    headline:'Unicef to Raise N22 Million For Egyptian Street Children'
  };
list[11] =
  { url:'http://allafrica.com/stories/200911091498.html',
    slug:'Egypt:',
    headline:'Museveni Commends China At Egypt Meet'
  };
list[12] =
  { url:'http://allafrica.com/stories/200911091152.html',
    slug:'Nigeria:',
    headline:'Okhai Heads Jury At Cairo International Film Festival'
  };
list[13] =
  { url:'http://allafrica.com/stories/200911091006.html',
    slug:'Liberia:',
    headline:'Ellen Off to Sharm El-Sheikh for Focac Confab'
  };
list[14] =
  { url:'http://allafrica.com/stories/200911090115.html',
    slug:'Rwanda:',
    headline:'Kagame Tours Egyptian Model Farm'
  };
list[15] =
  { url:'http://allafrica.com/stories/200911060111.html',
    slug:'Egypt:',
    headline:'President Kagame Visits Egypt'
  };
list[16] =
  { url:'http://allafrica.com/stories/200911060759.html',
    slug:'Gambia:',
    headline:'Local Journalist Leaves for Journalism Training in Egypt'
  };
list[17] =
  { url:'http://allafrica.com/stories/200911050087.html',
    slug:'East Africa:',
    headline:'Egypt Speaks Out On River Nile Disagreement'
  };
list[18] =
  { url:'http://allafrica.com/stories/200911050287.html',
    slug:'South Africa:',
    headline:'Minister Welcomes Arrest of Egyptians'
  };
list[19] =
  { url:'http://allafrica.com/stories/200911050183.html',
    slug:'Uganda:',
    headline:'We Did Not Block River Nile Deals - Egypt'
  };

// 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 ( 'Egypt' );
} 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/egypt/" 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>' );






