// 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/200911231582.html',
    slug:'Ghana:',
    headline:'Oil to Deepen Corruption'
  };
list[1] =
  { url:'http://allafrica.com/stories/200911231581.html',
    slug:'Ghana:',
    headline:'Media Must Maintain Editorial Independence'
  };
list[2] =
  { url:'http://allafrica.com/stories/200911231578.html',
    slug:'Ghana:',
    headline:'Toilets Are Unfriendly to the Disabled'
  };
list[3] =
  { url:'http://allafrica.com/stories/200911231572.html',
    slug:'Ghana:',
    headline:'Consensus On Decentralisation in Sight'
  };
list[4] =
  { url:'http://allafrica.com/stories/200911231580.html',
    slug:'Ghana:',
    headline:'Tobacco - Gateway to Hard Drugs'
  };
list[5] =
  { url:'http://allafrica.com/stories/200911231579.html',
    slug:'Ghana:',
    headline:'Toilet is Serious Business - Deputy Minister'
  };
list[6] =
  { url:'http://allafrica.com/stories/200911231576.html',
    slug:'Ghana:',
    headline:'26 Girls From Akropong Get Scholarship'
  };
list[7] =
  { url:'http://allafrica.com/stories/200911231575.html',
    slug:'Ghana:',
    headline:'Trade Minister Calls Attention to SMEs'
  };
list[8] =
  { url:'http://allafrica.com/stories/200911231574.html',
    slug:'Ghana:',
    headline:'Old Vandals to Launch Magazine'
  };
list[9] =
  { url:'http://allafrica.com/stories/200911231573.html',
    slug:'Ghana:',
    headline:'Catholic Bishops Condemn Pedophilia, Homosexuality in Country'
  };
list[10] =
  { url:'http://allafrica.com/stories/200911231451.html',
    slug:'Ghana:',
    headline:'Road Safety - a Case for Market Intervention And Technology'
  };
list[11] =
  { url:'http://allafrica.com/stories/200911231450.html',
    slug:'Ghana:',
    headline:'Who Speaks for Adenta?'
  };
list[12] =
  { url:'http://allafrica.com/stories/200911231020.html',
    slug:'Ghana:',
    headline:'Presiding Members of Assemblies Need to Be Resourced - Nalag'
  };
list[13] =
  { url:'http://allafrica.com/stories/200911231019.html',
    slug:'Ghana:',
    headline:'Abetifi Constituency NDC Elects 17-Member Executive'
  };
list[14] =
  { url:'http://allafrica.com/stories/200911230980.html',
    slug:'Ghana:',
    headline:'Train Children to Become Future Leaders - Donkoh'
  };
list[15] =
  { url:'http://allafrica.com/stories/200911230969.html',
    slug:'Ghana:',
    headline:'Poor Lifestyles, Cause of High Rate of Diabetes'
  };
list[16] =
  { url:'http://allafrica.com/stories/200911230968.html',
    slug:'Ghana:',
    headline:'Immigration Officers Undergo Intelligence Course'
  };
list[17] =
  { url:'http://allafrica.com/stories/200911230887.html',
    slug:'Nigeria:',
    headline:'Rule of Law or Rawlings?'
  };
list[18] =
  { url:'http://allafrica.com/stories/200911230275.html',
    slug:'Ghana:',
    headline:'2010 Budget to Focus On Agriculture'
  };
list[19] =
  { url:'http://allafrica.com/stories/200911200923.html',
    slug:'Ghana:',
    headline:'Police Urged to Step Up Effort to Fight Human Trafficking'
  };
list[20] =
  { url:'http://allafrica.com/stories/200911200831.html',
    slug:'Ghana:',
    headline:'Enforce Environmental Sanitation Policy'
  };
list[21] =
  { url:'http://allafrica.com/stories/200911200822.html',
    slug:'Ghana:',
    headline:'Child Rights Advocates Call for Increased Efforts to Eliminate Child Soldiers'
  };
list[22] =
  { url:'http://allafrica.com/stories/200911200818.html',
    slug:'Africa:',
    headline:'Opacity Blamed for Bad Oil Deals in Africa'
  };
list[23] =
  { url:'http://allafrica.com/stories/200911200551.html',
    slug:'Ghana:',
    headline:'Not All Police Personnel Are Criminals'
  };
list[24] =
  { url:'http://allafrica.com/stories/200911201039.html',
    slug:'Ghana:',
    headline:'Youths Urged to Go Into Apprenticeship'
  };
list[25] =
  { url:'http://allafrica.com/stories/200911201037.html',
    slug:'Ghana:',
    headline:'Voters Urged to Cast Ballots for Indigenes'
  };
list[26] =
  { url:'http://allafrica.com/stories/200911201038.html',
    slug:'Ghana:',
    headline:'Workshop Held on Poverty Reduction'
  };
list[27] =
  { url:'http://allafrica.com/stories/200911201035.html',
    slug:'Ghana:',
    headline:'Deceptive Suspect Remanded in Custody'
  };
list[28] =
  { url:'http://allafrica.com/stories/200911201036.html',
    slug:'Ghana:',
    headline:'Development More Important Than Dividing Region'
  };
list[29] =
  { url:'http://allafrica.com/stories/200911201034.html',
    slug:'Ghana:',
    headline:'Golden Star Pays U.S.$8 Million Royalties to Govt in 2009'
  };

// 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 ( 'Ghana' );
} 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/ghana/" 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>' );






