// 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/201007300920.html',
    slug:'Kenya:',
    headline:'Claim Disputed that Trade Measures \'Aid\' Counterfeiters'
  };
list[1] =
  { url:'http://allafrica.com/stories/201007300455.html',
    slug:'East Africa:',
    headline:'Burundi Woos Uganda Investors'
  };
list[2] =
  { url:'http://allafrica.com/stories/201007300971.html',
    slug:'Kenya:',
    headline:'Railways Pensions Scheme on the Spot'
  };
list[3] =
  { url:'http://allafrica.com/stories/201007300947.html',
    slug:'Eritrea:',
    headline:'Development Projects in Nacfa Continue to Gain Momentum'
  };
list[4] =
  { url:'http://allafrica.com/stories/201007300944.html',
    slug:'Eritrea:',
    headline:'Newly Constructed Dam in Dekemhare Inaugurated'
  };
list[5] =
  { url:'http://allafrica.com/stories/201007300932.html',
    slug:'Kenya:',
    headline:'NSE Rallies Ahead of Voting'
  };
list[6] =
  { url:'http://allafrica.com/stories/201007300931.html',
    slug:'Kenya:',
    headline:'Enact Law, Micro and Small Enterprises Urge'
  };
list[7] =
  { url:'http://allafrica.com/stories/201007300930.html',
    slug:'Kenya:',
    headline:'Consumers Reassured Over Fuel Availability'
  };
list[8] =
  { url:'http://allafrica.com/stories/201007300929.html',
    slug:'Kenya:',
    headline:'State Extends Registration of Phone Sim Cards to August 31'
  };
list[9] =
  { url:'http://allafrica.com/stories/201007300825.html',
    slug:'Tanzania:',
    headline:'Business Sector Lacks Competent Professionals'
  };
list[10] =
  { url:'http://allafrica.com/stories/201007300800.html',
    slug:'Tanzania:',
    headline:'TNBC to Promote Kilimo Kwanza at Nane Nane Show'
  };
list[11] =
  { url:'http://allafrica.com/stories/201007300780.html',
    slug:'East Africa:',
    headline:'Comesa Calls for Proposals to End Conflicts'
  };
list[12] =
  { url:'http://allafrica.com/stories/201007300690.html',
    slug:'Uganda:',
    headline:'URA Losses Case Against Businessman'
  };
list[13] =
  { url:'http://allafrica.com/stories/201007300689.html',
    slug:'Africa:',
    headline:'Shs3.6 Billion to Boost Policy Formulation'
  };
list[14] =
  { url:'http://allafrica.com/stories/201007300482.html',
    slug:'Uganda:',
    headline:'Plan for Loan Repayment When Earnings Fall'
  };
list[15] =
  { url:'http://allafrica.com/stories/201007300481.html',
    slug:'Uganda:',
    headline:'Innovation Needed After Losses From Terror Attacks'
  };
list[16] =
  { url:'http://allafrica.com/stories/201007300474.html',
    slug:'Uganda:',
    headline:'Heritage\'s Settlement of Tax Bill Good for Strained Budget'
  };
list[17] =
  { url:'http://allafrica.com/stories/201007300472.html',
    slug:'Uganda:',
    headline:'URA Remains Silent Over Heritage Oil Deal Taxes'
  };
list[18] =
  { url:'http://allafrica.com/stories/201007300454.html',
    slug:'Uganda:',
    headline:'Firms Urged to Support Social Causes'
  };
list[19] =
  { url:'http://allafrica.com/stories/201007300450.html',
    slug:'Uganda:',
    headline:'Eight Pakistanis Deported Over Bomb Blasts'
  };
list[20] =
  { url:'http://allafrica.com/stories/201007300382.html',
    slug:'Uganda:',
    headline:'PWDs Cry Over Loan Discrimination'
  };
list[21] =
  { url:'http://allafrica.com/stories/201007300381.html',
    slug:'Uganda:',
    headline:'National Bank of Commerce in Court'
  };
list[22] =
  { url:'http://allafrica.com/stories/201007300069.html',
    slug:'Uganda:',
    headline:'SMEs Cannot Develop Without Adequate Support'
  };
list[23] =
  { url:'http://allafrica.com/stories/201007291026.html',
    slug:'Kenya:',
    headline:'New Court Set Up for Piracy Suspects'
  };
list[24] =
  { url:'http://allafrica.com/stories/201007291007.html',
    slug:'Mauritius:',
    headline:'Treasure Islands - Mapping the Geography of Corruption'
  };
list[25] =
  { url:'http://allafrica.com/stories/201007290537.html',
    slug:'Kenya:',
    headline:'Cabinet Approves Tea Bill'
  };
list[26] =
  { url:'http://allafrica.com/stories/201007290498.html',
    slug:'Uganda:',
    headline:'Government to Recruit 9,500 Primary Teachers'
  };
list[27] =
  { url:'http://allafrica.com/stories/201007290199.html',
    slug:'Tanzania:',
    headline:'Asia\'s Richest Person Bids for BP Tanzania'
  };
list[28] =
  { url:'http://allafrica.com/stories/201007290005.html',
    slug:'Somalia:',
    headline:'Hijacked Maltese Flagged Merchant Vessel Released'
  };
list[29] =
  { url:'http://allafrica.com/stories/201007281058.html',
    slug:'Uganda:',
    headline:'Company Finds More Oil'
  };

// 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 Business' );
} 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/eastafricabusiness/" 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>' );






