// 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/201201271581.html',
    slug:'Tunisia:',
    headline:'Controversial Rapper Arrested'
  };
list[1] =
  { url:'http://allafrica.com/stories/201201271481.html',
    slug:'Zambia:',
    headline:'Maiko Zulu U-Turns, Continues As Zam President'
  };
list[2] =
  { url:'http://allafrica.com/stories/201201271182.html',
    slug:'Namibia:',
    headline:'Smokey Back Determined'
  };
list[3] =
  { url:'http://allafrica.com/stories/201201271179.html',
    slug:'Namibia:',
    headline:'Benny Mwanamwali Releases Debut Album'
  };
list[4] =
  { url:'http://allafrica.com/stories/201201270820.html',
    slug:'Gambia:',
    headline:'All Set for Music O\'s Stars Album Release'
  };
list[5] =
  { url:'http://allafrica.com/stories/201201270810.html',
    slug:'Gambia:',
    headline:'DA Ladies Riddim Launched'
  };
list[6] =
  { url:'http://allafrica.com/stories/201201270623.html',
    slug:'Gambia:',
    headline:'Bakau\'s Jali Nyama Suso Gambia\'s Legendary Kora Player'
  };
list[7] =
  { url:'http://allafrica.com/stories/201201270345.html',
    slug:'Angola:',
    headline:'Singers Big Nelo, C4 Pedro Perform Show in Lubango'
  };
list[8] =
  { url:'http://allafrica.com/stories/201201261439.html',
    slug:'South Africa:',
    headline:'Accolades for Princess of Africa'
  };
list[9] =
  { url:'http://allafrica.com/stories/201201261111.html',
    slug:'South Africa:',
    headline:'WEF Award for Yvonne Chaka Chaka'
  };
list[10] =
  { url:'http://allafrica.com/stories/201201250218.html',
    slug:'Zimbabwe:',
    headline:'Reduce Cds Price to Avert Piracy'
  };
list[11] =
  { url:'http://allafrica.com/stories/201201260222.html',
    slug:'Zimbabwe:',
    headline:'Sulu to Unveil New Songs'
  };
list[12] =
  { url:'http://allafrica.com/stories/201201260219.html',
    slug:'Zimbabwe:',
    headline:'\'Today\'s Music Lacks Soul, Message\''
  };
list[13] =
  { url:'http://allafrica.com/stories/201201260181.html',
    slug:'Rwanda:',
    headline:'Cameroonian Opera Singer Takes Kigali By Storm'
  };
list[14] =
  { url:'http://allafrica.com/stories/201201251093.html',
    slug:'Uganda:',
    headline:'Senegal\'s Ismael Lo Coming to Country'
  };
list[15] =
  { url:'http://allafrica.com/stories/201201250916.html',
    slug:'Tunisia:',
    headline:'Duo\'s Rise to Stardom - The Si Lemhaf Story'
  };
list[16] =
  { url:'http://allafrica.com/stories/201201250816.html',
    slug:'Namibia:',
    headline:'Talent Competition Offers Aspiring Artists Chance'
  };
list[17] =
  { url:'http://allafrica.com/stories/201201250655.html',
    slug:'Nigeria:',
    headline:'A Stickler for Soul Hop'
  };
list[18] =
  { url:'http://allafrica.com/stories/201201250445.html',
    slug:'Rwanda:',
    headline:'Upcoming Rapper Making Waves On Local Music Scene'
  };
list[19] =
  { url:'http://allafrica.com/stories/201201250432.html',
    slug:'Rwanda:',
    headline:'Eric Mucyo\'s New Track Wibabara Out'
  };
list[20] =
  { url:'http://allafrica.com/stories/201201250251.html',
    slug:'Rwanda:',
    headline:'Celebrity Watch - DMS'
  };
list[21] =
  { url:'http://allafrica.com/stories/201201250214.html',
    slug:'Zimbabwe:',
    headline:'Allan Chimbetu Passes the Torch to Son Douglas'
  };
list[22] =
  { url:'http://allafrica.com/stories/201201250186.html',
    slug:'Ghana:',
    headline:'Local Music Award 2012 Launched'
  };
list[23] =
  { url:'http://allafrica.com/stories/201201250103.html',
    slug:'Zimbabwe:',
    headline:'Taso Breaks Silence, Releases Album'
  };
list[24] =
  { url:'http://allafrica.com/stories/201201241286.html',
    slug:'Ethiopia:',
    headline:'Idol Judge Seeks Critique of Upcoming Album'
  };
list[25] =
  { url:'http://allafrica.com/stories/201201241261.html',
    slug:'Zambia:',
    headline:'A Tribute to Piano Maestro Tony Maonde'
  };
list[26] =
  { url:'http://allafrica.com/stories/201201241247.html',
    slug:'Angola:',
    headline:'Djan-C Prepares First Compact Disc'
  };
list[27] =
  { url:'http://allafrica.com/stories/201201230451.html',
    slug:'Egypt:',
    headline:'Vodafone Egypt Launches Mvno Bladna Targeted At Diaspora Living in Italy'
  };
list[28] =
  { url:'http://allafrica.com/stories/201201241177.html',
    slug:'South Africa:',
    headline:'Single-File Running Order Announced for Up the Creek 2012'
  };
list[29] =
  { url:'http://allafrica.com/stories/201201240881.html',
    slug:'Gambia:',
    headline:'Musicians Gather for \'Back to Africa\' Festival'
  };

// 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 ( 'Music' );
} 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/music/" 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>' );



