
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] = '&#39;Scores killed&#39; in shelling of Syria&#39;s Homs';
		  wpr_urls[1] = 'a href="http://www.worldpress.org/link.cfm?http://www.aljazeera.com/news/middleeast/2012/02/201229142032794961.html" target="_blank"';
		  wpr_description[1] = '<em>Al Jazeera</em>, Doha, Qatar.';
		  
		 
		  wpr_headlines[2] = 'Bank injects £50bn into economy';
		  wpr_urls[2] = 'a href="http://www.worldpress.org/link.cfm?http://www.bbc.co.uk/go/rss/int/news/-/news/business-16963116" target="_blank"';
		  wpr_description[2] = '<em>BBC News</em>, Centrist newscaster, London, England.';
		  
		 
		  wpr_headlines[3] = 'UN: Young people suffer from highest unemployment rate';
		  wpr_urls[3] = 'a href="http://www.worldpress.org/link.cfm?http://english.people.com.cn/90777/7724743.html" target="_blank"';
		  wpr_description[3] = '<em>People\'s Daily Online</em>, Beijing, China.';
		  
		 
		  wpr_headlines[4] = 'General strike in Israel to continue after last-ditch negotiations fail';
		  wpr_urls[4] = 'a href="http://www.worldpress.org/link.cfm?http://haaretz.feedsportal.com/c/34191/f/620528/s/1c887312/l/0L0Shaaretz0N0Cnews0Cnational0Cgeneral0Estrike0Ein0Eisrael0Eto0Econtinue0Eafter0Elast0Editch0Enegotiations0Efail0E10B4120A410DlocalLinksEnabled0Ffalse/story01.htm" target="_blank"';
		  wpr_description[4] = '<em>Haaretz</em>, Liberal daily, Tel Aviv, Israel.';
		  
		 
		  wpr_headlines[5] = 'Homs targeted again in brutal Syrian crackdown';
		  wpr_urls[5] = 'a href="http://www.worldpress.org/link.cfm?http://edition.cnn.com/2012/02/09/world/meast/syria-unrest/index.html?eref=edition" target="_blank"';
		  wpr_description[5] = '<em>CNN International</em>, London, England.';
		  
		 
		  wpr_headlines[6] = 'Greek deal leads to modest gains on Wall St';
		  wpr_urls[6] = 'a href="http://www.worldpress.org/link.cfm?http://feeds.reuters.com/~r/reuters/businessNews/~3/C2H-ogiA7hs/us-markets-stocks-idUSTRE80T0J120120209" target="_blank"';
		  wpr_description[6] = '<em>Reuters</em>, New York, U.S.';
		  
		 
		  wpr_headlines[7] = '';
		  wpr_urls[7] = 'a href="" target="_blank"';
		  wpr_description[7] = '<em>Arutz Sheva</em>, Tel Aviv, Israel.';
		  
		 
		  wpr_headlines[8] = '';
		  wpr_urls[8] = 'a href="" 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();

