
function getNews() {
var dd = document.domain;
if ((dd == "www.worldpress.org") || (dd == "worldpress.org") || (dd == "www.worldpressreview.com") || (dd == "worldpressreview.com")) {

  //initialize parameters if they are not defined
  if (wpr_total_number == null || wpr_total_number > 8) {
    var wpr_total_number = 8;
  }
  //create an array of headlines
  var wpr_headlines = new Array();
  var wpr_urls = new Array();
  var wpr_description = new Array();

	
		  wpr_headlines[1] = 'Kenya: How President and PM Will Share Power';
		  wpr_urls[1] = 'a href="http://www.worldpress.org/link.cfm?http://allafrica.com/stories/200911191135.html" target="_blank"';
		  wpr_description[1] = '<em>allAfrica</em>, Johannesburg, South Africa.';
		  
		 
		  wpr_headlines[2] = 'At the close: Down but resilient';
		  wpr_urls[2] = 'a href="http://www.worldpress.org/link.cfm?http://feedproxy.google.com/~r/TheGlobeAndMail-Front/~3/kmlyzDKlwZo/" target="_blank"';
		  wpr_description[2] = '<em>The Globe and Mail</em>, Toronto, Canada.';
		  
		 
		  wpr_headlines[3] = 'Boeing 727 experiences mishap on landing in Goma';
		  wpr_urls[3] = 'a href="http://www.worldpress.org/link.cfm?http://english.people.com.cn/90001/90777/90855/6819675.html" target="_blank"';
		  wpr_description[3] = '<em>People\'s Daily Online</em>, Beijing, China.';
		  
		 
		  wpr_headlines[4] = 'Govt move on sugarcane deadlock, opposition satisfied';
		  wpr_urls[4] = 'a href="http://www.worldpress.org/link.cfm?http://feedproxy.google.com/~r/expressindia/iKgY/~3/khYpadmpI1A/" target="_blank"';
		  wpr_description[4] = '<em>India Express</em>, Mumbai, India.';
		  
		 
		  wpr_headlines[5] = '';
		  wpr_urls[5] = 'a href="" target="_blank"';
		  wpr_description[5] = '<em>International Herald Tribune</em>, Paris, France.';
		  
		 
		  wpr_headlines[6] = 'Cumbria flood rescuers find body of policeman';
		  wpr_urls[6] = 'a href="http://www.worldpress.org/link.cfm?http://www.guardian.co.uk/environment/2009/nov/20/cumbria-floods-search-missing-policeman" target="_blank"';
		  wpr_description[6] = '<em>The Guardian</em>, London, England.';
		  
		 
		  wpr_headlines[7] = '';
		  wpr_urls[7] = 'a href="" target="_blank"';
		  wpr_description[7] = '<em>Arutz Sheva</em>, Tel Aviv, Israel.';
		  
		 
		  wpr_headlines[8] = 'Egypt recalls ambassador from Algeria as soccer bitterness escalates';
		  wpr_urls[8] = 'a href="http://www.worldpress.org/link.cfm?http://www.dailystar.com.lb/article.asp?edition_id=10&#38;categ_id=2&#38;article_id=108924" target="_blank"';
		  wpr_description[8] = '<em>The Daily Star</em>, Beirut, Lebanon.';
		  
		 

  document.write('    <div class="wprw">\n');
  document.write('    <p class="head"><strong style="font-size: 10px;">Today\'s World Headlines</strong></p>\n');
  document.write('    <p>Links open in new window.</p>\n');
  for(var z=1;z<=wpr_total_number;z++) {
	if (wpr_headlines[z] != '') {
  		document.write('    <p><span class="link"><'+wpr_urls[z]+'>'+wpr_headlines[z]+'</a></span><br />\n'+wpr_description[z]+'</p>\n');
	}
  }
  
  document.write('    <p><strong>More <a href="http://www.worldpress.org/wprw.htm">World Headlines</a>.</strong></p>\n');
  
  document.write('      <br />\n');
  document.write('    </div>\n');

  } else {
    // ignore
  }

}

getNews();
