// 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/201007300919.html',
    slug:'Southern Africa:',
    headline:'Realising Trade in Virtual Water'
  };
list[1] =
  { url:'http://allafrica.com/stories/201007300054.html',
    slug:'South Africa:',
    headline:'The Power of Cellphones in the Classroom'
  };
list[2] =
  { url:'http://allafrica.com/stories/201007300027.html',
    slug:'South Africa:',
    headline:'Public Sector Strike Likely to Get Bigger'
  };
list[3] =
  { url:'http://allafrica.com/stories/201007300636.html',
    slug:'South Africa:',
    headline:'Aquarius May Close Mine for Months'
  };
list[4] =
  { url:'http://allafrica.com/stories/201007300055.html',
    slug:'South Africa:',
    headline:'Traffic Agency Bosses Face Charges'
  };
list[5] =
  { url:'http://allafrica.com/stories/201007300038.html',
    slug:'South Africa:',
    headline:'Anglo Faces R3,7 Billion in Overruns at Brazil Mine'
  };
list[6] =
  { url:'http://allafrica.com/stories/201007300009.html',
    slug:'South Africa:',
    headline:'SAA Faces Probe Over Cargo Price-Fixing'
  };
list[7] =
  { url:'http://allafrica.com/stories/201007300952.html',
    slug:'Zimbabwe:',
    headline:'SEC Surprise - Fees and a Raft of Changes'
  };
list[8] =
  { url:'http://allafrica.com/stories/201007300951.html',
    slug:'Zimbabwe:',
    headline:'Country Needs U.S.$264 Million for Grain Imports - CFU'
  };
list[9] =
  { url:'http://allafrica.com/stories/201007300950.html',
    slug:'Zimbabwe:',
    headline:'Hopes Buoy Local Bourse'
  };
list[10] =
  { url:'http://allafrica.com/stories/201007300949.html',
    slug:'Zimbabwe:',
    headline:'Shares Leave Masiyiwa Whistling Merrily'
  };
list[11] =
  { url:'http://allafrica.com/stories/201007300948.html',
    slug:'Zimbabwe:',
    headline:'Tobacco Sales Exceed U.S.$300 Million'
  };
list[12] =
  { url:'http://allafrica.com/stories/201007300934.html',
    slug:'South Africa:',
    headline:'Swiss Confederation Seal Energy Agreement'
  };
list[13] =
  { url:'http://allafrica.com/stories/201007300886.html',
    slug:'Angola:',
    headline:'Nation and Congo Brazzaville Set Up Inter-State Joint Oil Exploration Organ'
  };
list[14] =
  { url:'http://allafrica.com/stories/201007300884.html',
    slug:'Angola:',
    headline:'Producers Aim to Collect Over 700 Tons of \'Coffee Cherries\''
  };
list[15] =
  { url:'http://allafrica.com/stories/201007300883.html',
    slug:'Angola:',
    headline:'ANIP Co-Ordinator Meets With Japanese Entrepreneurs'
  };
list[16] =
  { url:'http://allafrica.com/stories/201007300875.html',
    slug:'Angola:',
    headline:'Luanda Customers Owe Power Supplier Akz 1.0 Billion'
  };
list[17] =
  { url:'http://allafrica.com/stories/201007300874.html',
    slug:'Angola:',
    headline:'Chevron Holds Seminar on Investment Projects in Cabinda'
  };
list[18] =
  { url:'http://allafrica.com/stories/201007300872.html',
    slug:'Angola:',
    headline:'Cabinet Council Analyses Economic Issues'
  };
list[19] =
  { url:'http://allafrica.com/stories/201007300836.html',
    slug:'Namibia:',
    headline:'Economic Vision Renewal'
  };
list[20] =
  { url:'http://allafrica.com/stories/201007300832.html',
    slug:'Namibia:',
    headline:'Villagers Urged to Use Multimedia Centres for Economic Benefits'
  };
list[21] =
  { url:'http://allafrica.com/stories/201007300831.html',
    slug:'Namibia:',
    headline:'Swakopmund\'s New Municipal Complex Nears Completion'
  };
list[22] =
  { url:'http://allafrica.com/stories/201007300830.html',
    slug:'South Africa:',
    headline:'Inflation Ticks Down to Middle of Target Band'
  };
list[23] =
  { url:'http://allafrica.com/stories/201007300829.html',
    slug:'Namibia:',
    headline:'FNB\'s N$98 Option Helps Clients Plan Monthly Expenses'
  };
list[24] =
  { url:'http://allafrica.com/stories/201007300828.html',
    slug:'Namibia:',
    headline:'Communal Farmers Should Treat Farming As a Business - Mutorwa'
  };
list[25] =
  { url:'http://allafrica.com/stories/201007300827.html',
    slug:'Namibia:',
    headline:'Geingob to Lead Agoa Forum Delegation'
  };
list[26] =
  { url:'http://allafrica.com/stories/201007300820.html',
    slug:'Angola:',
    headline:'Union to Hold Fourth Congress in September'
  };
list[27] =
  { url:'http://allafrica.com/stories/201007300817.html',
    slug:'Angola:',
    headline:'Public Administration Minister Expected in Bengo On Friday'
  };
list[28] =
  { url:'http://allafrica.com/stories/201007300814.html',
    slug:'Angola:',
    headline:'Cape Verdean President Highlights Co-Operation'
  };
list[29] =
  { url:'http://allafrica.com/stories/201007300783.html',
    slug:'Zambia:',
    headline:'FRA Releases K1 Billion to Pay Solwezi Farmers'
  };

// 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 Business' );
} 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/southernafricabusiness/" 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>' );






