// 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/200911210010.html',
    slug:'Kenya:',
    headline:'Will Politicians Block New Constitution Again?'
  };
list[1] =
  { url:'http://allafrica.com/stories/200911200816.html',
    slug:'Kenya:',
    headline:'Africa\'s Biggest Wind Farm Project Runs Into Stormy Weather'
  };
list[2] =
  { url:'http://allafrica.com/stories/200911191135.html',
    slug:'Kenya:',
    headline:'How President and PM Will Share Power'
  };
list[3] =
  { url:'http://allafrica.com/stories/200911200945.html',
    slug:'Kenya:',
    headline:'Kenyan Youth Shoot for Peace in UN-Backed Football \'Reconciliation Contest\''
  };
list[4] =
  { url:'http://allafrica.com/stories/200911191069.html',
    slug:'Africa:',
    headline:'European Investors Eye Unlisted Firms'
  };
list[5] =
  { url:'http://allafrica.com/stories/200911191138.html',
    slug:'Kenya:',
    headline:'Rangers Demolish Houses in Mau Forest'
  };
list[6] =
  { url:'http://allafrica.com/stories/200911191126.html',
    slug:'Kenya:',
    headline:'Piracy Attacks on Grain Vessels Hit Flour Production'
  };
list[7] =
  { url:'http://allafrica.com/stories/200911191152.html',
    slug:'Kenya:',
    headline:'Mau - Govt to Deploy More Officers'
  };
list[8] =
  { url:'http://allafrica.com/stories/200911191146.html',
    slug:'Kenya:',
    headline:'Top Jurist Denies Hague Plot to Soil Africa'
  };
list[9] =
  { url:'http://allafrica.com/stories/200911191127.html',
    slug:'Kenya:',
    headline:'Treasury Must Urgently Release Stimulus Funds'
  };
list[10] =
  { url:'http://allafrica.com/stories/200911191097.html',
    slug:'Kenya:',
    headline:'Start Drafting the New Laws Now'
  };
list[11] =
  { url:'http://allafrica.com/stories/200911191096.html',
    slug:'Kenya:',
    headline:'Why Graft Still Thrives'
  };
list[12] =
  { url:'http://allafrica.com/stories/200911190154.html',
    slug:'Kenya:',
    headline:'Stigma Hinders Fight Against TB'
  };
list[13] =
  { url:'http://allafrica.com/stories/200911201128.html',
    slug:'Kenya:',
    headline:'First Islamic Book-Fair is Held in Nairobi'
  };
list[14] =
  { url:'http://allafrica.com/stories/200911201129.html',
    slug:'Kenya:',
    headline:'Pope\'s Invitation to Anglicans: Merger, Coalition or Poisoned Chalice?'
  };
list[15] =
  { url:'http://allafrica.com/stories/200911201126.html',
    slug:'Kenya:',
    headline:'Youth Warned Against Joining Somalia War'
  };
list[16] =
  { url:'http://allafrica.com/stories/200911200954.html',
    slug:'Kenya:',
    headline:'Barclays Profit Up to Sh6.6 Billion'
  };
list[17] =
  { url:'http://allafrica.com/stories/200911200953.html',
    slug:'Kenya:',
    headline:'Centum Posts Fall in Earnings'
  };
list[18] =
  { url:'http://allafrica.com/stories/200911200951.html',
    slug:'Kenya:',
    headline:'Man Arrested in Sting Operation With Game Trophies'
  };
list[19] =
  { url:'http://allafrica.com/stories/200911200952.html',
    slug:'Kenya:',
    headline:'New Initiative Seeks to Widen Internet Usage by Kenyans'
  };
list[20] =
  { url:'http://allafrica.com/stories/200911200950.html',
    slug:'Kenya:',
    headline:'Judge Wary Over Protection of Witnesses'
  };
list[21] =
  { url:'http://allafrica.com/stories/200911200949.html',
    slug:'Kenya:',
    headline:'Court Grants Re-Verification to Sugar Firm'
  };
list[22] =
  { url:'http://allafrica.com/stories/200911200948.html',
    slug:'Kenya:',
    headline:'Students Showcase Concern for Climate Change'
  };
list[23] =
  { url:'http://allafrica.com/stories/200911200817.html',
    slug:'Kenya:',
    headline:'Behind the Sins of Country\'s Closet Gays'
  };
list[24] =
  { url:'http://allafrica.com/stories/200911200815.html',
    slug:'Kenya:',
    headline:'Ruto Moves to Clear Name in Poll Chaos Report'
  };
list[25] =
  { url:'http://allafrica.com/stories/200911200312.html',
    slug:'Uganda/Tanzania:',
    headline:'Uganda Cranes, Taifa Stars in Same Group'
  };
list[26] =
  { url:'http://allafrica.com/stories/200911180992.html',
    slug:'Kenya:',
    headline:'New Law Shuts Door to Gay Weddings'
  };
list[27] =
  { url:'http://allafrica.com/stories/200911180878.html',
    slug:'Kenya:',
    headline:'Country Faces Job Losses, Collapsing Sectors in Wake of Doha'
  };
list[28] =
  { url:'http://allafrica.com/stories/200911180866.html',
    slug:'Kenya:',
    headline:'Money Made From Piracy Distorting Property Prices'
  };
list[29] =
  { url:'http://allafrica.com/stories/200911180270.html',
    slug:'Kenya:',
    headline:'Parliament Calls for Quick Action on New Constitution'
  };

// 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 ( 'Kenya' );
} 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/kenya/" 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>' );






