// 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/200911231949.html',
    slug:'Kenya:',
    headline:'Testing Drive On to Fight Aids'
  };
list[1] =
  { url:'http://allafrica.com/stories/200911240476.html',
    slug:'Uganda:',
    headline:'\'Don\'t Blame Congolese Women for HIV Rise\''
  };
list[2] =
  { url:'http://allafrica.com/stories/200911240314.html',
    slug:'Nigeria:',
    headline:'HIV/Aids - The Real Issues'
  };
list[3] =
  { url:'http://allafrica.com/stories/200911240234.html',
    slug:'Uganda:',
    headline:'30,000 Babies Born With Aids Annually'
  };
list[4] =
  { url:'http://allafrica.com/stories/200911240206.html',
    slug:'Uganda:',
    headline:'Barclays Helps Mothers'
  };
list[5] =
  { url:'http://allafrica.com/stories/200911240203.html',
    slug:'Uganda:',
    headline:'\'I Will Remain a Virgin Till I Make a Big Impact in the HIV Fight\''
  };
list[6] =
  { url:'http://allafrica.com/stories/200911240202.html',
    slug:'Uganda:',
    headline:'He Broke the Silence, Gave HIV At Workplace a Positive Face'
  };
list[7] =
  { url:'http://allafrica.com/stories/200911240158.html',
    slug:'Nigeria:',
    headline:'Borno HIV/Aids Fighting Agency Donates Materials to School'
  };
list[8] =
  { url:'http://allafrica.com/stories/200911231967.html',
    slug:'Zimbabwe:',
    headline:'Global Fund Gives NAC Grace Period'
  };
list[9] =
  { url:'http://allafrica.com/stories/200911231965.html',
    slug:'Zimbabwe:',
    headline:'HIV Support Groups Bank on Sport to Change Attitudes'
  };
list[10] =
  { url:'http://allafrica.com/stories/200911231789.html',
    slug:'Lesotho:',
    headline:'Mountain Clinics Bring HIV Services to Remote Villages'
  };
list[11] =
  { url:'http://allafrica.com/stories/200911231626.html',
    slug:'Nigeria:',
    headline:'UNFPA to Partner Benue On HIV/AIDS, Others'
  };
list[12] =
  { url:'http://allafrica.com/stories/200911231397.html',
    slug:'Nigeria:',
    headline:'12 NGOs to Receive N36 Million Grant to Fight HIV in Delta'
  };
list[13] =
  { url:'http://allafrica.com/stories/200911230520.html',
    slug:'South Africa:',
    headline:'Life Expectancy Drops'
  };
list[14] =
  { url:'http://allafrica.com/stories/200911231056.html',
    slug:'Namibia:',
    headline:'Determined HIV Student Graduates'
  };
list[15] =
  { url:'http://allafrica.com/stories/200911230950.html',
    slug:'Nigeria:',
    headline:'Ebonyi HIV/Aids\' Cases Drops'
  };
list[16] =
  { url:'http://allafrica.com/stories/200911230919.html',
    slug:'Uganda:',
    headline:'Step Up Aids Fight, Donors Tell Govt'
  };
list[17] =
  { url:'http://allafrica.com/stories/200911230569.html',
    slug:'South Africa:',
    headline:'Ten-Day HIV, Aids Education Drive to Be Launched'
  };
list[18] =
  { url:'http://allafrica.com/stories/200911230500.html',
    slug:'Uganda:',
    headline:'Health Alert - ARVs Could Spark Off Diabetes'
  };
list[19] =
  { url:'http://allafrica.com/stories/200911230498.html',
    slug:'Uganda:',
    headline:'I Work Towards an HIV Free-World'
  };
list[20] =
  { url:'http://allafrica.com/stories/200911230043.html',
    slug:'Zimbabwe:',
    headline:'\'Double HIV Response Efforts\''
  };
list[21] =
  { url:'http://allafrica.com/stories/200911191073.html',
    slug:'Africa:',
    headline:'HIV/Aids - U.S. Increases Funding in Continent'
  };
list[22] =
  { url:'http://allafrica.com/stories/200911191050.html',
    slug:'Africa:',
    headline:'Consequences of Less Funding for Aids - Living With Aids # 413'
  };
list[23] =
  { url:'http://allafrica.com/stories/200911190240.html',
    slug:'South Africa:',
    headline:'Should Mbeki be Prosecuted Over Aids Deaths?'
  };
list[24] =
  { url:'http://allafrica.com/stories/200911200924.html',
    slug:'Ghana:',
    headline:'HIV Drops in Wa'
  };
list[25] =
  { url:'http://allafrica.com/stories/200911200737.html',
    slug:'Uganda:',
    headline:'HIV-Positive Women Need Family Planning Services, Study Shows'
  };
list[26] =
  { url:'http://allafrica.com/stories/200911200112.html',
    slug:'Nigeria:',
    headline:'N.9 Million Locals Need HIV/Aids Drugs - NACA Boss'
  };
list[27] =
  { url:'http://allafrica.com/stories/200911200029.html',
    slug:'Southern Africa:',
    headline:'SADC Aids Fiesta Set for Malawi'
  };
list[28] =
  { url:'http://allafrica.com/stories/200911191049.html',
    slug:'South Africa:',
    headline:'The Shameless Rian Malan'
  };
list[29] =
  { url:'http://allafrica.com/stories/200911190946.html',
    slug:'Uganda:',
    headline:'Get Off the Sexual Network Or Die'
  };

// 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 ( 'HIV-Aids and STDs' );
} 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/aids/" 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>' );






