// 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/201007300938.html',
    slug:'Sudan:',
    headline:'Security Council Extends Darfur Peacekeepers\' Mandate'
  };
list[1] =
  { url:'http://allafrica.com/stories/201007300906.html',
    slug:'Kenya:',
    headline:'New Constitution Divides Nation'
  };
list[2] =
  { url:'http://allafrica.com/stories/201007300058.html',
    slug:'Somalia:',
    headline:'New Group Fights African Union Peacekeepers'
  };
list[3] =
  { url:'http://allafrica.com/stories/201007300977.html',
    slug:'Kenya:',
    headline:'Reform Cleric Slams Church in Constitution Row'
  };
list[4] =
  { url:'http://allafrica.com/stories/201007300928.html',
    slug:'Somalia:',
    headline:'UN Refugee Agency Calls on Saudi Arabia to Stop Deporting Somalis'
  };
list[5] =
  { url:'http://allafrica.com/stories/201007300907.html',
    slug:'Kenya:',
    headline:'Land Issues That Just Won\'t Go Away'
  };
list[6] =
  { url:'http://allafrica.com/stories/201007300905.html',
    slug:'Kenya:',
    headline:'Odinga Accused of Insulting Language'
  };
list[7] =
  { url:'http://allafrica.com/stories/201007300812.html',
    slug:'Kenya:',
    headline:'\'Yes\' Commands 68 Percent Referendum Vote- Poll'
  };
list[8] =
  { url:'http://allafrica.com/stories/201007300464.html',
    slug:'Uganda:',
    headline:'Toxic Algae Hits Lake Victoria Waters'
  };
list[9] =
  { url:'http://allafrica.com/stories/201007300030.html',
    slug:'Uganda:',
    headline:'Medical Union Boss Jailed Over Wife\'s Death'
  };
list[10] =
  { url:'http://allafrica.com/stories/201007300973.html',
    slug:'Kenya:',
    headline:'President Assures Rift Valley Residents on Land Issues in Constitution'
  };
list[11] =
  { url:'http://allafrica.com/stories/201007300920.html',
    slug:'Kenya:',
    headline:'Claim Disputed that Trade Measures \'Aid\' Counterfeiters'
  };
list[12] =
  { url:'http://allafrica.com/stories/201007300916.html',
    slug:'Sudan:',
    headline:'Unamid Helicopter Pilot Still Unaccounted For'
  };
list[13] =
  { url:'http://allafrica.com/stories/201007300910.html',
    slug:'East Africa:',
    headline:'Horn Once Again Polio-Free, Say Unicef and Partners'
  };
list[14] =
  { url:'http://allafrica.com/stories/201007300903.html',
    slug:'Somalia:',
    headline:'Displacement as Military Moves into Hiran Region'
  };
list[15] =
  { url:'http://allafrica.com/stories/201007300902.html',
    slug:'Somalia:',
    headline:'\'We Are Not Involved in Puntland Clashes\', Says Al-Shabaab'
  };
list[16] =
  { url:'http://allafrica.com/stories/201007300896.html',
    slug:'Sudan:',
    headline:'Government, Arab League Delegation Tours Darfur'
  };
list[17] =
  { url:'http://allafrica.com/stories/201007300895.html',
    slug:'Sudan:',
    headline:'Unamid Conducts Darfur-Wide Clean-Up Campaign'
  };
list[18] =
  { url:'http://allafrica.com/stories/201007300894.html',
    slug:'Sudan:',
    headline:'Security Situation Update'
  };
list[19] =
  { url:'http://allafrica.com/stories/201007300893.html',
    slug:'Sudan:',
    headline:'Unamid Pilot Found, Safe'
  };
list[20] =
  { url:'http://allafrica.com/stories/201007300838.html',
    slug:'Somalia:',
    headline:'The Power Struggle At the A.U. Summit'
  };
list[21] =
  { url:'http://allafrica.com/stories/201007300822.html',
    slug:'Somalia:',
    headline:'British Government Calls to Deploy Pledged AU Troops Soon'
  };
list[22] =
  { url:'http://allafrica.com/stories/201007300816.html',
    slug:'Kenya:',
    headline:'Divided By the Colours of a New Constitution'
  };
list[23] =
  { url:'http://allafrica.com/stories/201007300460.html',
    slug:'Uganda:',
    headline:'Voters Weigh-in On MPs Performance'
  };
list[24] =
  { url:'http://allafrica.com/stories/201007300458.html',
    slug:'Uganda:',
    headline:'MPs Scorecard is a Welcome Move'
  };
list[25] =
  { url:'http://allafrica.com/stories/201007300455.html',
    slug:'East Africa:',
    headline:'Burundi Woos Uganda Investors'
  };
list[26] =
  { url:'http://allafrica.com/stories/201007300452.html',
    slug:'Uganda:',
    headline:'UPDF Kills 16 Karimojong Rustlers'
  };
list[27] =
  { url:'http://allafrica.com/stories/201007300451.html',
    slug:'Uganda:',
    headline:'Museveni Orders On Election Violence'
  };
list[28] =
  { url:'http://allafrica.com/stories/201007300169.html',
    slug:'Somalia:',
    headline:'Nation is \'Top Priority\', Says UK Minister for Africa'
  };
list[29] =
  { url:'http://allafrica.com/stories/201007300975.html',
    slug:'Kenya:',
    headline:'Supreme Court Will Be Set Up Within One Year'
  };

// 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 ( 'East Africa' );
} 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/eastafrica/" 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>' );






