// 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/200911240391.html',
    slug:'Uganda:',
    headline:'Kampala Marathon - the Good, Bad And Ugly'
  };
list[1] =
  { url:'http://allafrica.com/stories/200911240212.html',
    slug:'Uganda:',
    headline:'Kusuro Heads for Obudu Race'
  };
list[2] =
  { url:'http://allafrica.com/stories/200911230914.html',
    slug:'Uganda:',
    headline:'MTN Marathon - Run for It'
  };
list[3] =
  { url:'http://allafrica.com/stories/200911230795.html',
    slug:'Uganda:',
    headline:'No Place for Faint Hearts'
  };
list[4] =
  { url:'http://allafrica.com/stories/200911230610.html',
    slug:'Uganda:',
    headline:'Local Athletes Miss Sh10 Million'
  };
list[5] =
  { url:'http://allafrica.com/stories/200911230607.html',
    slug:'Uganda:',
    headline:'The Next MTN Marathon Can Be Better'
  };
list[6] =
  { url:'http://allafrica.com/stories/200911230602.html',
    slug:'Uganda:',
    headline:'Marathon Still Faces High Hurdles'
  };
list[7] =
  { url:'http://allafrica.com/stories/200911230601.html',
    slug:'Uganda:',
    headline:'Corporate 10km Race Remains Most Popular'
  };
list[8] =
  { url:'http://allafrica.com/stories/200911230541.html',
    slug:'Uganda:',
    headline:'Athletes Fitness Gear Set for Launch'
  };
list[9] =
  { url:'http://allafrica.com/stories/200911230253.html',
    slug:'Kenya:',
    headline:'Bolt, Richards Are Top Athletes'
  };
list[10] =
  { url:'http://allafrica.com/stories/200911230149.html',
    slug:'Uganda:',
    headline:'Drug Tests to be Administered at Kampala Run'
  };
list[11] =
  { url:'http://allafrica.com/stories/200911200853.html',
    slug:'Namibia:',
    headline:'Fredericks Foundation Gives Back'
  };
list[12] =
  { url:'http://allafrica.com/stories/200911200513.html',
    slug:'Namibia:',
    headline:'A Look Back At a Fulfilling Career'
  };
list[13] =
  { url:'http://allafrica.com/stories/200911200314.html',
    slug:'Uganda:',
    headline:'Musani to Battle Kenyans in MTN Race'
  };
list[14] =
  { url:'http://allafrica.com/stories/200911200113.html',
    slug:'West Africa:',
    headline:'First ECOWAS International Cycling Tour - Team Nigeria Sure of Victory'
  };
list[15] =
  { url:'http://allafrica.com/stories/200911190565.html',
    slug:'Nigeria:',
    headline:'All Set For Akwa Ibom, Mobil Zonal Athletics'
  };
list[16] =
  { url:'http://allafrica.com/stories/200911190524.html',
    slug:'Uganda:',
    headline:'Kiprono Finishes Second in Netherlands'
  };
list[17] =
  { url:'http://allafrica.com/stories/200911190182.html',
    slug:'Uganda:',
    headline:'Inzikuru Out to Reclaim MTN Crown'
  };
list[18] =
  { url:'http://allafrica.com/stories/200911190020.html',
    slug:'Rwanda:',
    headline:'Athletes Could Miss Kampala Marathon'
  };
list[19] =
  { url:'http://allafrica.com/stories/200911180212.html',
    slug:'Uganda:',
    headline:'Security Tight at MTN Kampala Marathon'
  };
list[20] =
  { url:'http://allafrica.com/stories/200911180108.html',
    slug:'Nigeria:',
    headline:'All Set for Akwa Ibom, Mobil Zonal Athletics Finals'
  };
list[21] =
  { url:'http://allafrica.com/stories/200911180060.html',
    slug:'Rwanda:',
    headline:'Veteran Urges Athletes Over London Games'
  };
list[22] =
  { url:'http://allafrica.com/stories/200911171048.html',
    slug:'Kenya:',
    headline:'Elite Stars to Grace Safaricom Race'
  };
list[23] =
  { url:'http://allafrica.com/stories/200911161998.html',
    slug:'Kenya:',
    headline:'AK Sets Regional Meet for Next April'
  };
list[24] =
  { url:'http://allafrica.com/stories/200911161503.html',
    slug:'Uganda:',
    headline:'MTN Kampala Race Rolls Off Today'
  };
list[25] =
  { url:'http://allafrica.com/stories/200911160938.html',
    slug:'Tanzania:',
    headline:'Government Vows to Support Kilimanjaro Marathon'
  };
list[26] =
  { url:'http://allafrica.com/stories/200911160525.html',
    slug:'Uganda:',
    headline:'Wheelchair Race Today'
  };
list[27] =
  { url:'http://allafrica.com/stories/200911160412.html',
    slug:'Kenya:',
    headline:'Former Cross Country Star Wins Lorupe Peace Run'
  };
list[28] =
  { url:'http://allafrica.com/stories/200911120122.html',
    slug:'Uganda:',
    headline:'Busienei Back to Running'
  };
list[29] =
  { url:'http://allafrica.com/stories/200911120064.html',
    slug:'Rwanda:',
    headline:'Sprint Champion to Miss Rendezvous National'
  };

// 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 ( 'Athletics' );
} 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/athletics/" 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>' );






