// 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/201007300980.html',
    slug:'Zimbabwe:',
    headline:'Party Leaders Claim New Progress Made on Political Agreement'
  };
list[1] =
  { url:'http://allafrica.com/stories/201007300981.html',
    slug:'Zimbabwe:',
    headline:'\'Impunity-Riddled,\' in Spite of Govt - Report'
  };
list[2] =
  { url:'http://allafrica.com/stories/201007300979.html',
    slug:'Malawi:',
    headline:'Innovative Campaigning by Women Candidates'
  };
list[3] =
  { url:'http://allafrica.com/stories/201007300940.html',
    slug:'Southern Africa:',
    headline:'U.S. Congress Considers New Law on Zimbabwe'
  };
list[4] =
  { url:'http://allafrica.com/stories/201007300919.html',
    slug:'Southern Africa:',
    headline:'Realising Trade in Virtual Water'
  };
list[5] =
  { url:'http://allafrica.com/stories/201007300054.html',
    slug:'South Africa:',
    headline:'The Power of Cellphones in the Classroom'
  };
list[6] =
  { url:'http://allafrica.com/stories/201007300027.html',
    slug:'South Africa:',
    headline:'Public Sector Strike Likely to Get Bigger'
  };
list[7] =
  { url:'http://allafrica.com/stories/201007300002.html',
    slug:'South Africa:',
    headline:'Minister Warns of \'Terror\' Threat for Joining AU Forces'
  };
list[8] =
  { url:'http://allafrica.com/stories/201007300785.html',
    slug:'Zambia:',
    headline:'Agriculture and Commercial Show Takes Place'
  };
list[9] =
  { url:'http://allafrica.com/stories/201007300724.html',
    slug:'Namibia:',
    headline:'Murder Suspect in Court'
  };
list[10] =
  { url:'http://allafrica.com/stories/201007300642.html',
    slug:'South Africa:',
    headline:'A Flair for Science Blended With a Taste for Good Food'
  };
list[11] =
  { url:'http://allafrica.com/stories/201007300636.html',
    slug:'South Africa:',
    headline:'Aquarius May Close Mine for Months'
  };
list[12] =
  { url:'http://allafrica.com/stories/201007300596.html',
    slug:'Zimbabwe:',
    headline:'Bulawayo Water Project Takes Off'
  };
list[13] =
  { url:'http://allafrica.com/stories/201007300398.html',
    slug:'Zimbabwe:',
    headline:'Sabina Mugabe - Heroine From Zvimba'
  };
list[14] =
  { url:'http://allafrica.com/stories/201007300168.html',
    slug:'South Africa:',
    headline:'Impact of the Recession on the Hospitality Industry'
  };
list[15] =
  { url:'http://allafrica.com/stories/201007300063.html',
    slug:'South Africa:',
    headline:'Millions of Litres of Water \'Flushed Away\''
  };
list[16] =
  { url:'http://allafrica.com/stories/201007300057.html',
    slug:'South Africa:',
    headline:'Thousands Join Fast in Support of School Libraries'
  };
list[17] =
  { url:'http://allafrica.com/stories/201007300055.html',
    slug:'South Africa:',
    headline:'Traffic Agency Bosses Face Charges'
  };
list[18] =
  { url:'http://allafrica.com/stories/201007300038.html',
    slug:'South Africa:',
    headline:'Anglo Faces R3,7 Billion in Overruns at Brazil Mine'
  };
list[19] =
  { url:'http://allafrica.com/stories/201007300009.html',
    slug:'South Africa:',
    headline:'SAA Faces Probe Over Cargo Price-Fixing'
  };
list[20] =
  { url:'http://allafrica.com/stories/201007300003.html',
    slug:'South Africa:',
    headline:'Ruling Party Intent on Tough Media Watchdog Plan'
  };
list[21] =
  { url:'http://allafrica.com/stories/201007300833.html',
    slug:'Namibia:',
    headline:'Brave Gladiators in Germany for 2010 Women\'s World Cup'
  };
list[22] =
  { url:'http://allafrica.com/stories/201007300311.html',
    slug:'Namibia/Ghana:',
    headline:'Coach\'s Age Comment Stirs Controversy'
  };
list[23] =
  { url:'http://allafrica.com/stories/201007300984.html',
    slug:'Zimbabwe:',
    headline:'Police Trying to Block MDC Hwange Rally'
  };
list[24] =
  { url:'http://allafrica.com/stories/201007300983.html',
    slug:'Zimbabwe:',
    headline:'Controversy Over Joshua Nkomo Statue Rumbles On'
  };
list[25] =
  { url:'http://allafrica.com/stories/201007300982.html',
    slug:'Zimbabwe:',
    headline:'Government Wants to Be \'Main Player\' in Aid Distribution'
  };
list[26] =
  { url:'http://allafrica.com/stories/201007300954.html',
    slug:'Zimbabwe:',
    headline:'Former England Player Lynch to Coach Rocks'
  };
list[27] =
  { url:'http://allafrica.com/stories/201007300953.html',
    slug:'Zimbabwe:',
    headline:'ZSE, Survival, Solidity the Priorities - Mguquka'
  };
list[28] =
  { url:'http://allafrica.com/stories/201007300952.html',
    slug:'Zimbabwe:',
    headline:'SEC Surprise - Fees and a Raft of Changes'
  };
list[29] =
  { url:'http://allafrica.com/stories/201007300951.html',
    slug:'Zimbabwe:',
    headline:'Country Needs U.S.$264 Million for Grain Imports - CFU'
  };

// 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 ( 'Southern Africa' );
} 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/southernafrica/" 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>' );






