// 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/201007300977.html',
    slug:'Kenya:',
    headline:'Reform Cleric Slams Church in Constitution Row'
  };
list[1] =
  { url:'http://allafrica.com/stories/201007300507.html',
    slug:'Africa:',
    headline:'Addressing the Role of Religion in HIV Response'
  };
list[2] =
  { url:'http://allafrica.com/stories/201007300371.html',
    slug:'Nigeria:',
    headline:'FG to Provide N20 Billion for Jos, Haiti Victims - Jonathan'
  };
list[3] =
  { url:'http://allafrica.com/stories/201007300801.html',
    slug:'Tanzania:',
    headline:'Traders Hoard Food Ahead of Ramadhan'
  };
list[4] =
  { url:'http://allafrica.com/stories/201007300727.html',
    slug:'Namibia:',
    headline:'Northerners Pay Last Respects to Pastor Kim'
  };
list[5] =
  { url:'http://allafrica.com/stories/201007300627.html',
    slug:'Kenya:',
    headline:'Abortion Harms the Woman, the Unborn Child and Even the Father'
  };
list[6] =
  { url:'http://allafrica.com/stories/201007300463.html',
    slug:'Uganda:',
    headline:'Four Hundred Anglican Bishops to Meet'
  };
list[7] =
  { url:'http://allafrica.com/stories/201007300443.html',
    slug:'Nigeria:',
    headline:'One Year After Boko Haram - Police As Casualty'
  };
list[8] =
  { url:'http://allafrica.com/stories/201007300366.html',
    slug:'Ghana:',
    headline:'God Help Us! Noise in His Name'
  };
list[9] =
  { url:'http://allafrica.com/stories/201007300289.html',
    slug:'Gambia:',
    headline:'Daddy Jobe SSS Wins Inter-School Quranic Recitation Competition'
  };
list[10] =
  { url:'http://allafrica.com/stories/201007300163.html',
    slug:'Gambia:',
    headline:'New Eden Church Youths Sensitised On HIV/Aids, Others'
  };
list[11] =
  { url:'http://allafrica.com/stories/201007300048.html',
    slug:'Angola:',
    headline:'Catholic Youth Episcopal Commission Holds Seminar'
  };
list[12] =
  { url:'http://allafrica.com/stories/201007290556.html',
    slug:'Senegal:',
    headline:'Power Cuts Frustrate Dakar Residents'
  };
list[13] =
  { url:'http://allafrica.com/stories/201007281098.html',
    slug:'Africa:',
    headline:'Europe Eyes  Continent for Salvation as Priests Get Scarce'
  };
list[14] =
  { url:'http://allafrica.com/stories/201007291034.html',
    slug:'Kenya:',
    headline:'\'Yes\' Vote Bad, Say Catholic Bishops'
  };
list[15] =
  { url:'http://allafrica.com/stories/201007280608.html',
    slug:'Zimbabwe:',
    headline:'Tsvangirai Unmoved by \'Plot\' to Bar Him From Church Meeting'
  };
list[16] =
  { url:'http://allafrica.com/stories/201007290232.html',
    slug:'Nigeria:',
    headline:'City of Refuge - Story of Lagos Pentecostal Church'
  };
list[17] =
  { url:'http://allafrica.com/stories/201007290219.html',
    slug:'Nigeria:',
    headline:'Yakowa Sets Up Committee On Hitch-Free Hajj'
  };
list[18] =
  { url:'http://allafrica.com/stories/201007290193.html',
    slug:'Angola:',
    headline:'Adventist Church Spends U.S 10 Million to Build University Campus'
  };
list[19] =
  { url:'http://allafrica.com/stories/201007290135.html',
    slug:'Nigeria:',
    headline:'2010 Hajj - Women to Pay More'
  };
list[20] =
  { url:'http://allafrica.com/stories/201007290037.html',
    slug:'Nigeria:',
    headline:'Day Robbers Stormed Church Service'
  };
list[21] =
  { url:'http://allafrica.com/stories/201007281137.html',
    slug:'Kenya:',
    headline:'Ruto\'s Bid to Win Muslim Vote Insincere'
  };
list[22] =
  { url:'http://allafrica.com/stories/201007281071.html',
    slug:'Nigeria:',
    headline:'Cele Prophet Killed Inside Own Church'
  };
list[23] =
  { url:'http://allafrica.com/stories/201007281050.html',
    slug:'Ghana:',
    headline:'Suicide is Not the Solution'
  };
list[24] =
  { url:'http://allafrica.com/stories/201007280703.html',
    slug:'Africa:',
    headline:'Advice to AU Leaders Meeting in Kampala'
  };
list[25] =
  { url:'http://allafrica.com/stories/201007280702.html',
    slug:'Africa:',
    headline:'Do We Have the Courage to Step Out And Take the Lead on Aids?'
  };
list[26] =
  { url:'http://allafrica.com/stories/201007280699.html',
    slug:'Africa:',
    headline:'Body urges Leaders to Invest in Maternal and Child Health'
  };
list[27] =
  { url:'http://allafrica.com/stories/201007280673.html',
    slug:'Tanzania:',
    headline:'Religious Institutions Play Role in Higher Learning'
  };
list[28] =
  { url:'http://allafrica.com/stories/201007280212.html',
    slug:'Rwanda:',
    headline:'Gatsata Church Donates to the Needy'
  };
list[29] =
  { url:'http://allafrica.com/stories/201007261136.html',
    slug:'Chad:',
    headline:'Tutu Heads Up New Appeal to Put Chad Dictator on Trial'
  };

// 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 ( 'Religion' );
} 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/religion/" 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>' );






