// 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/200911240645.html',
    slug:'Somalia:',
    headline:'Museveni to Visit Mogadishu'
  };
list[1] =
  { url:'http://allafrica.com/stories/200911240842.html',
    slug:'Sudan:',
    headline:'Southerners Still Besieged by Suspected LRA Fighters'
  };
list[2] =
  { url:'http://allafrica.com/stories/200911240004.html',
    slug:'Uganda:',
    headline:'Govt Yet to Okay Sale of Oil Wells to Italian Firm'
  };
list[3] =
  { url:'http://allafrica.com/stories/200911240482.html',
    slug:'Uganda:',
    headline:'Oil Deals Must Be Transparent'
  };
list[4] =
  { url:'http://allafrica.com/stories/200911240477.html',
    slug:'Uganda:',
    headline:'34 Kony Rebels Surrender to Army'
  };
list[5] =
  { url:'http://allafrica.com/stories/200911240234.html',
    slug:'Uganda:',
    headline:'30,000 Babies Born With Aids Annually'
  };
list[6] =
  { url:'http://allafrica.com/stories/200911240233.html',
    slug:'Uganda:',
    headline:'UN Human Rights Body to Review Country'
  };
list[7] =
  { url:'http://allafrica.com/stories/200911240207.html',
    slug:'Uganda:',
    headline:'Public Deals Should Be More Transparent'
  };
list[8] =
  { url:'http://allafrica.com/stories/200911240214.html',
    slug:'Uganda:',
    headline:'Orange Cash for Cecafa Winners'
  };
list[9] =
  { url:'http://allafrica.com/stories/200911240534.html',
    slug:'Uganda:',
    headline:'Political Murders And Commissions of Inquiry'
  };
list[10] =
  { url:'http://allafrica.com/stories/200911240489.html',
    slug:'Uganda:',
    headline:'Why Museveni Can Never Do an Oprah Winfrey'
  };
list[11] =
  { url:'http://allafrica.com/stories/200911240488.html',
    slug:'Uganda:',
    headline:'Gasasira\'s Fate to Be Decided Next Week'
  };
list[12] =
  { url:'http://allafrica.com/stories/200911240487.html',
    slug:'Uganda:',
    headline:'National Scoops Chinese Award'
  };
list[13] =
  { url:'http://allafrica.com/stories/200911240486.html',
    slug:'Uganda:',
    headline:'Besigye Wants Bukenya, Kutesa Arrested Over Chogm Cash Allegations'
  };
list[14] =
  { url:'http://allafrica.com/stories/200911240485.html',
    slug:'Uganda:',
    headline:'Govt Rent Arrears Accumulate to Shs8 Billion'
  };
list[15] =
  { url:'http://allafrica.com/stories/200911240484.html',
    slug:'Uganda:',
    headline:'Donors Want Offenders Charged'
  };
list[16] =
  { url:'http://allafrica.com/stories/200911240483.html',
    slug:'Uganda:',
    headline:'\'Pope\'s Invitation Will Not Have Effect On Anglican Following\''
  };
list[17] =
  { url:'http://allafrica.com/stories/200911240481.html',
    slug:'Uganda:',
    headline:'It Matters to Understand Uniqueness of Gay People'
  };
list[18] =
  { url:'http://allafrica.com/stories/200911240480.html',
    slug:'Uganda:',
    headline:'Amelia Shakes Up Mawokota North'
  };
list[19] =
  { url:'http://allafrica.com/stories/200911240479.html',
    slug:'Uganda:',
    headline:'Shock in Kayunga As Two Bodies Are Stolen'
  };
list[20] =
  { url:'http://allafrica.com/stories/200911240478.html',
    slug:'Uganda:',
    headline:'Teacher Arrested Over Loans'
  };
list[21] =
  { url:'http://allafrica.com/stories/200911240476.html',
    slug:'Uganda:',
    headline:'\'Don\'t Blame Congolese Women for HIV Rise\''
  };
list[22] =
  { url:'http://allafrica.com/stories/200911240475.html',
    slug:'Uganda:',
    headline:'Capital Markets Future is Promising'
  };
list[23] =
  { url:'http://allafrica.com/stories/200911240474.html',
    slug:'Uganda:',
    headline:'Chogm Shoplifters Lived Up to Their Eagle Ways'
  };
list[24] =
  { url:'http://allafrica.com/stories/200911240403.html',
    slug:'Uganda:',
    headline:'\'Unprofessional Accountants Affecting Economy\''
  };
list[25] =
  { url:'http://allafrica.com/stories/200911240402.html',
    slug:'Africa:',
    headline:'Nigeria\'s Geraldine Packs Her Bags'
  };
list[26] =
  { url:'http://allafrica.com/stories/200911240401.html',
    slug:'East Africa:',
    headline:'What Will Uganda Reap From the Common Market?'
  };
list[27] =
  { url:'http://allafrica.com/stories/200911240400.html',
    slug:'Uganda:',
    headline:'Analyst Gives Economy a Clean Bill of Health'
  };
list[28] =
  { url:'http://allafrica.com/stories/200911240399.html',
    slug:'Uganda:',
    headline:'Rain Boosts Tea Production'
  };
list[29] =
  { url:'http://allafrica.com/stories/200911240397.html',
    slug:'Uganda:',
    headline:'Corruption Threatens Global Economic Recovery'
  };

// 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 ( 'Uganda' );
} 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/uganda/" 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>' );






