// 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/201002081699.html',
    slug:'Africa:',
    headline:'Behind Scenes of Gadaffi\'s Bid for New Term as AU Chair'
  };
list[1] =
  { url:'http://allafrica.com/stories/201002081437.html',
    slug:'Africa:',
    headline:'As Malawi Takes Over Africa'
  };
list[2] =
  { url:'http://allafrica.com/stories/201002050139.html',
    slug:'Tanzania:',
    headline:'Discussions to Solve Malawi Border Conflict Soon'
  };
list[3] =
  { url:'http://allafrica.com/stories/201002040917.html',
    slug:'Africa:',
    headline:'President Mutharika Got It Right'
  };
list[4] =
  { url:'http://allafrica.com/stories/201002020446.html',
    slug:'Africa:',
    headline:'AU Displays a Rare Glimpse of Courage'
  };
list[5] =
  { url:'http://allafrica.com/stories/201002030942.html',
    slug:'Africa:',
    headline:'Election of Dr. Bingu Wa Mutharika, President of Malawi, as Chairperson of the AU'
  };
list[6] =
  { url:'http://allafrica.com/stories/201001290912.html',
    slug:'Malawi:',
    headline:'Condemnation of Country\'s Discriminatory Laws'
  };
list[7] =
  { url:'http://allafrica.com/stories/201001280054.html',
    slug:'Malawi:',
    headline:'Govt Bans Advertising in Newspaper'
  };
list[8] =
  { url:'http://allafrica.com/stories/201001270843.html',
    slug:'Africa:',
    headline:'Gaddafi Plots Against Malawi over AU Chairmanship'
  };
list[9] =
  { url:'http://allafrica.com/stories/201001240002.html',
    slug:'Malawi:',
    headline:'Aquaculture Initiative Gives Cause for Quiet Hope'
  };
list[10] =
  { url:'http://allafrica.com/stories/201001220594.html',
    slug:'Rwanda:',
    headline:'Malawi Releases Genocide Fugitive'
  };
list[11] =
  { url:'http://allafrica.com/stories/201001181497.html',
    slug:'Malawi:',
    headline:'Love That Dares to Speak Its Name'
  };
list[12] =
  { url:'http://allafrica.com/stories/201001181495.html',
    slug:'Mali/Malawi:',
    headline:'The Flames Burn Out at Nations Cup'
  };
list[13] =
  { url:'http://allafrica.com/stories/201001180151.html',
    slug:'Africa:',
    headline:'Over-Achieving Malawi Reach Out for More'
  };
list[14] =
  { url:'http://allafrica.com/stories/201001181411.html',
    slug:'Africa:',
    headline:'Angolans Go Wild after Victory against Malawi'
  };
list[15] =
  { url:'http://allafrica.com/stories/201001140879.html',
    slug:'Angola/Malawi:',
    headline:'Redemption for Palancas Negras'
  };
list[16] =
  { url:'http://allafrica.com/stories/201001150945.html',
    slug:'Malawi:',
    headline:'Zain Malawi Launches Mobile Commerce Service'
  };
list[17] =
  { url:'http://allafrica.com/stories/201001140837.html',
    slug:'Africa:',
    headline:'Zain Expands \'Zap\' Mobile Commerce Service to Malawi, Niger And Sierra Leone'
  };
list[18] =
  { url:'http://allafrica.com/stories/201001140618.html',
    slug:'Malawi:',
    headline:'Former International Player Highlights Need to Beat Malawi'
  };
list[19] =
  { url:'http://allafrica.com/stories/201001140607.html',
    slug:'Angola/Malawi:',
    headline:'Skipper Considers Winning Desire as "Asset" to Beat Malawi'
  };
list[20] =
  { url:'http://allafrica.com/stories/201001140697.html',
    slug:'Southern Africa:',
    headline:'Chihuri Hails Sarpccog Team'
  };
list[21] =
  { url:'http://allafrica.com/stories/201001120037.html',
    slug:'Malawi:',
    headline:'Green Belt Initiative Taking Shape'
  };
list[22] =
  { url:'http://allafrica.com/stories/201001111589.html',
    slug:'Algeria/Malawi:',
    headline:'\'Whipping Boys\' Inflict Shock Defeat on World Cup Team'
  };
list[23] =
  { url:'http://allafrica.com/stories/201001120974.html',
    slug:'Malawi:',
    headline:'Drop Charges Against Same-Sex Couple - Government Should Respect Privacy Rights of All Malawians'
  };
list[24] =
  { url:'http://allafrica.com/stories/201001080697.html',
    slug:'Southern Africa:',
    headline:'SADC Reiterates Support for Malawi AU Bid'
  };
list[25] =
  { url:'http://allafrica.com/stories/201001070057.html',
    slug:'Rwanda:',
    headline:'Genocide Fugitive Arrested in Malawi'
  };
list[26] =
  { url:'http://allafrica.com/stories/201001080699.html',
    slug:'Mozambique:',
    headline:'Country Supports Victims of Earthquake in Malawi'
  };
list[27] =
  { url:'http://allafrica.com/stories/201001060891.html',
    slug:'Malawi:',
    headline:'Amnesty International calls for the unconditional release of gay couple'
  };
list[28] =
  { url:'http://allafrica.com/stories/201001060296.html',
    slug:'South Africa:',
    headline:'Multichoice Malawi Court Trouble Over Subscription Fee'
  };

// 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 ( 'Malawi' );
} 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/malawi/" 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>' );






