// 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/200911200787.html',
    slug:'Uganda:',
    headline:'Juba - Building Market Not Way Out for Country'
  };
list[1] =
  { url:'http://allafrica.com/stories/200911180897.html',
    slug:'Sudan:',
    headline:'Big Hopes for Civil Society Input in Darfur Peace Talks'
  };
list[2] =
  { url:'http://allafrica.com/stories/200911200277.html',
    slug:'Nigeria/Sudan:',
    headline:'Footballers\' Union Begs For Worgu'
  };
list[3] =
  { url:'http://allafrica.com/stories/200911191082.html',
    slug:'Sudan:',
    headline:'Media Give Us a Fair Deal - Women'
  };
list[4] =
  { url:'http://allafrica.com/stories/200911190326.html',
    slug:'Central Africa:',
    headline:'UN Condemns LRA on Civilian Attacks'
  };
list[5] =
  { url:'http://allafrica.com/stories/200911180008.html',
    slug:'Central Africa:',
    headline:'UN to Help Protect Civilians From Ugandan Rebels'
  };
list[6] =
  { url:'http://allafrica.com/stories/200911200371.html',
    slug:'Uganda:',
    headline:'Sudan Registers Nationals Ahead of 2010 Elections'
  };
list[7] =
  { url:'http://allafrica.com/stories/200911200321.html',
    slug:'Uganda:',
    headline:'UPDF Kills Another LRA Commander'
  };
list[8] =
  { url:'http://allafrica.com/stories/200911200054.html',
    slug:'East Africa:',
    headline:'DR Congo, Sudan Eager to Join EAC'
  };
list[9] =
  { url:'http://allafrica.com/stories/200911180966.html',
    slug:'Sudan:',
    headline:'SRSG-CAAC Gains First-Hand Assessment of North Darfur'
  };
list[10] =
  { url:'http://allafrica.com/stories/200911180935.html',
    slug:'Sudan:',
    headline:'Southern Minister Injured in Attack'
  };
list[11] =
  { url:'http://allafrica.com/stories/200911180004.html',
    slug:'Sudan:',
    headline:'Darfur Peace Talks To Resume'
  };
list[12] =
  { url:'http://allafrica.com/stories/200911190319.html',
    slug:'East Africa:',
    headline:'Unbs Fails to Monitor Congo, Sudan Borders'
  };
list[13] =
  { url:'http://allafrica.com/stories/200911170988.html',
    slug:'Sudan:',
    headline:'African Union, United Nations and Government  Meet in Khartoum'
  };
list[14] =
  { url:'http://allafrica.com/stories/200911161841.html',
    slug:'Sudan:',
    headline:'Increasing Hunger Could Fuel Conflict in South'
  };
list[15] =
  { url:'http://allafrica.com/stories/200911180360.html',
    slug:'Sudan:',
    headline:'Security Council Press Statement on Lord\'s Resistance Army'
  };
list[16] =
  { url:'http://allafrica.com/stories/200911180035.html',
    slug:'Rwanda:',
    headline:'Sudanese President Donates Computers'
  };
list[17] =
  { url:'http://allafrica.com/stories/200911162049.html',
    slug:'Sudan:',
    headline:'Darfur Activists Press Obama on China'
  };
list[18] =
  { url:'http://allafrica.com/stories/200911161898.html',
    slug:'Sudan:',
    headline:'Efforts to Restore Peace in Shangil Tobaya'
  };
list[19] =
  { url:'http://allafrica.com/stories/200911161897.html',
    slug:'Sudan:',
    headline:'Seventh Meeting of Tripartite Mechanism on Darfur Begins on Monday'
  };
list[20] =
  { url:'http://allafrica.com/stories/200911170888.html',
    slug:'Sudan:',
    headline:'U.S. Special Envoy Gration to Travel to Country'
  };
list[21] =
  { url:'http://allafrica.com/stories/200911170104.html',
    slug:'Sudan:',
    headline:'Churches Express Concern over the Peace Accord'
  };
list[22] =
  { url:'http://allafrica.com/stories/200911161929.html',
    slug:'Sudan:',
    headline:'Country Opens Vote Centre in Kenya, Uganda'
  };
list[23] =
  { url:'http://allafrica.com/stories/200911161420.html',
    slug:'Sudan:',
    headline:'Filipino Civilian Police Receive Peacekeeping Medals'
  };
list[24] =
  { url:'http://allafrica.com/stories/200911160837.html',
    slug:'Sudan:',
    headline:'South Sudan Awaits Oil Bonanza'
  };
list[25] =
  { url:'http://allafrica.com/stories/200911130738.html',
    slug:'Sudan:',
    headline:'Kala Azar \'Epidemic\' in South'
  };
list[26] =
  { url:'http://allafrica.com/stories/200911120982.html',
    slug:'Sudan:',
    headline:'UN Agency Calls for Action on Food Shortages'
  };
list[27] =
  { url:'http://allafrica.com/stories/200911120831.html',
    slug:'Sudan:',
    headline:'The Nuba Mountains - Straddling the North-South Divide'
  };
list[28] =
  { url:'http://allafrica.com/stories/200911130892.html',
    slug:'Sudan:',
    headline:'Letter from U.S. Members of Congress to the President on China\'s Involvement in Sudan'
  };
list[29] =
  { url:'http://allafrica.com/stories/200911130191.html',
    slug:'Rwanda:',
    headline:'Gen. Nyamvumba Decries Logistical Mismatches Within Darfur Mission'
  };

// 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 ( 'Sudan' );
} 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/sudan/" 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>' );






