//initialize parameters if they are not defined
if (wpr_header_name == null) {var wpr_header_name = 'World Press Wire';}
if (wpr_total_font == null) {var wpr_total_font = 'size="2" face="Verdana, Arial, Helvetica, sans-serif" color="666666"';}
if (wpr_total_font_desc == null) {var wpr_total_font_desc  = 'size="1" face="Verdana, Arial, Helvetica, sans-serif" color="666666"';}
if (wpr_total_number == null||wpr_total_number>7) {var wpr_total_number = 7;}
if (wpr_odd_row_color == null) {var wpr_odd_row_color = 'e2dec2';}
if (wpr_even_row_color == null) {var wpr_even_row_color = 'white';}
if (wpr_open_in_blank == null) { var wpr_open_in_blank = true;}
if (wpr_table_width == null) {var wpr_table_width = '100%';}
//create an array of headlines
var wpr_headlines = new Array();
var wpr_urls = new Array();
var wpr_description = new Array();

		wpr_headlines[1] = 'Syria: No peace talks without Israeli promise to return Golan';
		wpr_urls[1] = 'http://www.worldpress.org/feed.cfm?http://www.haaretz.com/hasen/spages/1129626.html';
		wpr_description[1] = 'Haaretz, Liberal daily, Tel Aviv, Israel';
		
		wpr_headlines[2] = 'Czech Senate bans appearance by controversial Dutch politician Geert Wilders';
		wpr_urls[2] = 'http://www.worldpress.org/feed.cfm?http://www.radio.cz/en/article/122426';
		wpr_description[2] = 'Radio Prague, Online news portal, Prague, Czech Republic';
		
		wpr_headlines[3] = 'Cumbria braces for more rain as clean-up continues';
		wpr_urls[3] = 'http://www.worldpress.org/feed.cfm?http://www.guardian.co.uk/environment/2009/nov/21/cumbria-floods-more-rain-barker';
		wpr_description[3] = 'The Guardian, Liberal daily, London, England';
		
		wpr_headlines[4] = 'Wootton Bassett salutes war dead from Afghanistan for 100th time';
		wpr_urls[4] = 'http://www.worldpress.org/feed.cfm?http://feeds.timesonline.co.uk/c/32313/f/440158/s/745a4ac/l/0L0Stimesonline0O0Ctol0Cnews0Cuk0Carticle69262360Bece0Tcid0FOTC0ERSS0Gattr0F7970A93/story01.htm';
		wpr_description[4] = 'Times Online, Conservative daily, London, England';
		
		wpr_headlines[5] = 'Amnesty International: more prosecutions should follow for war crimes in the Kivus';
		wpr_urls[5] = 'http://www.worldpress.org/feed.cfm?http://congoplanet.com/article.jsp?id=45261548';
		wpr_description[5] = 'CongoPlanet.com, Independent online news aggregator';
		
		wpr_headlines[6] = 'EA leaders sign common market pact';
		wpr_urls[6] = 'http://www.worldpress.org/feed.cfm?http://www.monitor.co.ug/artman/publish/news/EA_leaders_sign_common_market_pact_94933.shtml';
		wpr_description[6] = 'Daily Monitor, Independent daily, Kampala, Uganda';
		
		wpr_headlines[7] = 'Cape DJ killed in crash';
		wpr_urls[7] = 'http://www.worldpress.org/feed.cfm?http://www.news24.com/Content/SouthAfrica/News/1059/f765c37c79c04ca4817d86425b09d5b2/21-11-2009-04-02/Cape_DJ_killed_in_crash';
		wpr_description[7] = 'News24.com, Online news portal, Cape Town, South Africa';
		
document.write('<table width="'+wpr_table_width+'" cellpadding="5" cellspacing="0">');
document.write('<TR><TD colspan="2" align="center"><font '+wpr_total_font+' >'+wpr_header_name+'</font></TD></TR>');
for(var z=1;z<=wpr_total_number;z++)
{
	document.write('<TR bgcolor="');
	if (z % 2 == 0){document.write(wpr_even_row_color);}
	else {document.write(wpr_odd_row_color);}
	document.write('"><TD><a href="'+wpr_urls[z]+'"');
	if (wpr_open_in_blank){document.write(' target="_blank" ');}
	document.write('><font '+wpr_total_font+' >'+wpr_headlines[z]+'</font></a><bR><font '+wpr_total_font_desc+' >'+wpr_description[z]+'</font></TD></TR>');
}

document.write('<tr><td align="right"><font '+wpr_total_font+' >News Headlines Powered by <a href="http://www.worldpress.org" target="_blank">www.worldpress.org</a></font></td></tr></table>');