



// Create arrays of articles
syndicate.article_title = new Array;
syndicate.article_url = new Array;
syndicate.article_date = new Array;
syndicate.article_summary = new Array;
syndicate.article_content = new Array;

// This section of the script is published by the software
syndicate.index = 0;
  syndicate.article_title[ syndicate.index ] = ' ILWP Letter to Pasific Island Forum';
  syndicate.article_url[ syndicate.index ] = 'http://www.infopapua.org/artman/publish/article_2263.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 29, 2010';
  syndicate.article_summary[ syndicate.index ] = 'International  Lawyers  for  West Papua<br />\n<br />\nhttp://www.ilwp.org<br />\nsecretariat@ilwp.org <br />\n<br />\nP O Box 101337, Georgetown  Guyana TEL: # 592 649 9556<br />\n<br />\n23rd July 2010<br />\n<br />\nMr Tuiloma Neroni Slade<br />\n<br />\nThe Secretary General Pacific Islands Forum Secretariat<br />\nPrivate Mail Bag Suva FIJI<br />\nFax: 001 679 322 0230<br />\n<br />\nDear Secretary General,<br />\n<br />\nThe Leaders Vision for the Pacific Islands Forum states that:<br />\n<br />\n“We seek a Pacific region that is respected for the quality of its governance, the sustainable management of its resources, the full observance of democratic values and for its defence and promotion of human rights.”';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = ' ICJ ruling `could inspire RI separatists\'';
  syndicate.article_url[ syndicate.index ] = 'http://www.infopapua.org/artman/publish/article_2262.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 27, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Mustaqim Adamrah, THE JAKARTA POST, JAKARTA | Tue, 07/27/2010 10:33 AM | World<br />\n<br />\nIndonesia\'s territorial sovereignty could be under threat, following a recent ruling by the International Court of Justice (ICJ), which found that Kosovo\'s unilateral secession from Serbia did not violate international law, legislators say.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Military’s involvement in terror agency dangerous, ICG warns';
  syndicate.article_url[ syndicate.index ] = 'http://www.infopapua.org/artman/publish/article_2261.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 27, 2010';
  syndicate.article_summary[ syndicate.index ] = 'The Jakarta Post, Jakarta | Tue, 07/27/2010 8:54 AM | Headlines<br />\n<br />\n<br />\nThe International Crisis Group (ICG) warned on Monday of possible dangers of military involvement in the newly established National Anti-Terror Agency (BNPT).<br />\nICG director for Southeast Asia Sidney Jones said the danger stemmed from the possibility of “increased competition between the Indonesian Military (TNI) and  the police over terrorism in the agency”.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Political crisis in Papua';
  syndicate.article_url[ syndicate.index ] = 'http://www.infopapua.org/artman/publish/article_2260.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 27, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Neles Tebay, Jayapura | Tue, 07/27/2010 9:36 AM | Opinion<br />\n<br />\nAs Papua is far from the Indonesia’s capital of Jakarta, the central government might not follow closely the political situation in Papua.<br />\nOr the government perhaps is not getting the full picture about the present political development in the Western half of the Island of New Guinea.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Voice of West Papua reaches Poland';
//  syndicate.article_url[ syndicate.index ] = 'http://westpapuamedia.info/news-alert/voice-of-west-papua-reaches-poland/';
  syndicate.article_url[ syndicate.index ] = 'http://www.infopapua.org/artman/publish/cat_index_4.shtml#2259';
  syndicate.article_date[ syndicate.index ] = 'Jul 27, 2010';
  syndicate.article_summary[ syndicate.index ] = 'July 27th, 2010 No Comments<br />\nThe voice of West Papua’s struggle for freedom reached Gdynia in the Baltic region of northern Poland this weekend, as Globaltica Festival hosted the first ever performance of West Papuan music in the country.<br />\nLed by West Papuan independence leader Benny Wenda, the Lani Singers played a one hour set of freedom songs on Sunday evening. The Lani Singers were joined by Oridek Ap, son of the legendary West Papuan musician Arnold Ap who was executed in cold blood by the Indonesian military in 1985.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Pacific Islands rally to help free West Papua';
  syndicate.article_url[ syndicate.index ] = 'http://www.infopapua.org/artman/publish/article_2258.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 24, 2010';
  syndicate.article_summary[ syndicate.index ] = 'NZ Herald<br />\nBy Dev Nadkarni<br />\n<br />\n9:35 AM Saturday Jul 24, 2010<br />\n<br />\nVanuatu is leading the charge against Indonesia to grant independence to the troubled region.<br />\n<br />\n<br />\nFilep Karma is serving a 15-year treason sentence for flying the West Papua flag in Indonesia\'s easternmost Papua province. Photo / AP.<br />\n<br />\nA push for independence in Indonesia\'s rich but troubled territory of Papua is set to become an issue for the Pacific Island Forum.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'IPWP and ILWP plan campaigm calling for a referendum and rejecting the Act of Free Choice';
  syndicate.article_url[ syndicate.index ] = 'http://www.infopapua.org/artman/publish/article_2256.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 22, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Bintang Papua, 19 July 2010<br />\n<br />\n[Abridged in translation.]<br />\n<br />\nIPWP and ILWP plan to challenge Act of Free Choice (pepera)<br />\n<br />\nThe chairman of the KNPB, the National Committee of West Papua, Buchtar<br />\nTabuni has told the press that his organisation is preparing to<br />\nconsolidate and mobilise large numbers of people to occupy town centres,<br />\nmaking the following demands: Pepera, the Act of Free Choice is unlawful and must be handed back. A<br />\nreferendum should be held as soon as possible. International<br />\nParliamentarians for West Papua, the IPWP, and International Lawyers for<br />\nWest  Papua, the ILWP, together with the Vanuatu government should<br />\nfacilitate efforts to challenge the legal and political status of West<br />\nPapua at the UN. And the KNPB wants to mediate the referendum by the people.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'ITV Meridian News: When David met Benny';
//  syndicate.article_url[ syndicate.index ] = 'http://www.itv.com/meridian-west/freedom-for-benny66349/';
  syndicate.article_url[ syndicate.index ] = 'http://www.infopapua.org/artman/publish/cat_index_87.shtml#2252';
  syndicate.article_date[ syndicate.index ] = 'Jul 14, 2010';
  syndicate.article_summary[ syndicate.index ] = 'ITV Meridian News<br />\n2.34PM   Tue Jul 13 2010<br />\n<br />\nDavid Cameron is enjoying a surge in popularity. Not with his constituents or even in Britain but thousands of miles away in one of the most unlikely places.<br />\n<br />\nAn unexpected meeting with tribal leader, Benny Wenda, in his Oxfordshire constituency has led to the Prime Minister being hailed a hero in West Papua, part of Indonesia with a population of nearly 3 million.<br />\n<br />\nBenny Wenda has been given political asylum here in Britain after he was jailed for demonstrating for his country\'s freedom from Indonesia. He now hopes David Cameron can make the West Papuan dream come true. He\'s been talking to our Features Editor Reshma Rumsey .<br />\nBy: Jonathan Marland';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'ITV Meridian News: When David met Benny';
//  syndicate.article_url[ syndicate.index ] = 'http://www.itv.com/meridian-west/freedom-for-benny66349/';
  syndicate.article_url[ syndicate.index ] = 'http://www.infopapua.org/artman/publish/cat_index_87.shtml#2253';
  syndicate.article_date[ syndicate.index ] = 'Jul 14, 2010';
  syndicate.article_summary[ syndicate.index ] = 'ITV Meridian News<br />\n2.34PM   Tue Jul 13 2010<br />\n<br />\nDavid Cameron is enjoying a surge in popularity. Not with his constituents or even in Britain but thousands of miles away in one of the most unlikely places.<br />\n<br />\nAn unexpected meeting with tribal leader, Benny Wenda, in his Oxfordshire constituency has led to the Prime Minister being hailed a hero in West Papua, part of Indonesia with a population of nearly 3 million.<br />\n<br />\nBenny Wenda has been given political asylum here in Britain after he was jailed for demonstrating for his country\'s freedom from Indonesia. He now hopes David Cameron can make the West Papuan dream come true. He\'s been talking to our Features Editor Reshma Rumsey .<br />\nBy: Jonathan Marland';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'West Papua: Photo News From Wamena Papuan Peoples Demanding REFERENDUM for West Papua.';
  syndicate.article_url[ syndicate.index ] = 'http://www.infopapua.org/artman/publish/article_2251.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 11, 2010';
  syndicate.article_summary[ syndicate.index ] = '';
  syndicate.index++;







// Set defaults for arguments if user hasn't set them
if (syndicate.title_fontface == null)    { syndicate.title_fontface = 'Geneva, Arial, sans-serif'; }
if (syndicate.title_fontsize == null)    { syndicate.title_fontsize = '2'; }
if (syndicate.title_fontcolor == null)   { syndicate.title_fontcolor = '#003399'; }
if (syndicate.title_fontbold == null)    { syndicate.title_fontbold = true; }
if (syndicate.title_fontital == null)    { syndicate.title_fontital = false; }
if (syndicate.date_fontface == null)     { syndicate.date_fontface = 'Geneva, Arial, sans-serif'; }
if (syndicate.date_fontsize == null)     { syndicate.date_fontsize = '1'; }
if (syndicate.date_fontcolor == null)    { syndicate.date_fontcolor = '#6699cc'; }
if (syndicate.date_fontbold == null)     { syndicate.date_fontbold = false; }
if (syndicate.date_fontital == null)     { syndicate.date_fontital = false; }
if (syndicate.date_fontunder == null)    { syndicate.date_fontunder = false; }
if (syndicate.summary_fontface == null)  { syndicate.summary_fontface = 'Geneva, Arial, sans-serif'; }
if (syndicate.summary_fontsize == null)  { syndicate.summary_fontsize = '2'; }
if (syndicate.summary_fontcolor == null) { syndicate.summary_fontcolor = '#6699cc'; }
if (syndicate.summary_fontbold == null)  { syndicate.summary_fontbold = false; }
if (syndicate.summary_fontital == null)  { syndicate.summary_fontital = false; }
if (syndicate.summary_fontunder == null) { syndicate.summary_fontunder = false; }

if (syndicate.title_maxlength == null)   { syndicate.title_maxlength = 0; }
if (syndicate.summary_maxlength == null) { syndicate.summary_maxlength = 0; }

if (syndicate.bgcolor == null)           { syndicate.bgcolor = '#ffffff'; }
if (!syndicate.max_articles)             { syndicate.max_articles = syndicate.article_title.length; }  // !syndicate.max_articles catches null and zero
if (syndicate.display_date == null)      { syndicate.display_date = true; }
if (syndicate.display_summaries == null) { syndicate.display_summaries = true; }


// Don't allow user to display too many articles
if (syndicate.max_articles > syndicate.article_title.length) {
  syndicate.max_articles = syndicate.article_title.length;
}

/*
//Function to crop text on word boundaries
function crop_text(text, max_length) {

  // If the string is already small enough, return it unscathed
  if (text.length <= max_length) { return( text ); }

  // If the user has specified a length of 0, it means he wants the whole thing
  if (max_length == 0) { return( text ); }

  // Start looking for a space, leaving space for an elipsis on the end
  var test_length = (max_length - 3);
  if (test_length < 1) { return( '...' ); }   // max_length too small
  while (text.charAt(test_length) != ' ') {
    test_length--;

    // If we didn't find any spaces to break on, return the string broken at max_length
    if (test_length == 0) { return( text.substring(0, max_length - 3) + '...' ); }
  }

  return text.substring(0, test_length) + '...';
}
*/

// List our articles, stopping if the user doesn't want any more
for ( syndicate.index = 0; syndicate.index < syndicate.max_articles ; syndicate.index++ ) {

  /*syndicate.article_title[syndicate.index] = crop_text(syndicate.article_title[syndicate.index], syndicate.title_maxlength);
  syndicate.article_summary[syndicate.index] = crop_text(syndicate.article_summary[syndicate.index], syndicate.summary_maxlength);*/

  document.write('<tr><td bgcolor="' + syndicate.bgcolor + '">');
  document.write('<a href="' + syndicate.article_url[syndicate.index] + '" target="_blank">');
  if (syndicate.title_fontbold)  { document.write('<b>'); }
  if (syndicate.title_fontital)  { document.write('<i>'); }
  document.write('<font color="' + syndicate.title_fontcolor + '" face="' + syndicate.title_fontface + '" size="' + syndicate.title_fontsize + '"');
  if (syndicate.title_style)     { document.write(' style="' + syndicate.title_style + '"'); }
  document.write('>');
  document.write(syndicate.article_title[syndicate.index]);
  document.write('<br></font>');
  if (syndicate.title_fontital)  { document.write('</i>'); }
  if (syndicate.title_fontbold)  { document.write('</b>'); }
  document.write('</a>');

  if (syndicate.display_date) {
    if (syndicate.date_fontbold)  { document.write('<b>'); }
    if (syndicate.date_fontital)  { document.write('<i>'); }
    if (syndicate.date_fontunder) { document.write('<u>'); }
    document.write('<font color="' + syndicate.date_fontcolor + '" face="' + syndicate.date_fontface + '" size="' + syndicate.date_fontsize + '"');
    if (syndicate.date_style)     { document.write(' style="' + syndicate.date_style + '"'); }
    document.write('>');
    document.write(syndicate.article_date[syndicate.index]);
    document.write('<br></font>');
    if (syndicate.date_fontunder) { document.write('</u>'); }
    if (syndicate.date_fontital)  { document.write('</i>'); }
    if (syndicate.date_fontbold)  { document.write('</b>'); }
  }

  if (syndicate.display_summaries) {
    if (syndicate.summary_fontbold)  { document.write('<b>'); }
    if (syndicate.summary_fontital)  { document.write('<i>'); }
    if (syndicate.summary_fontunder) { document.write('<u>'); }
    document.write('<font color="' + syndicate.summary_fontcolor + '" face="' + syndicate.summary_fontface + '" size="' + syndicate.summary_fontsize + '"');
    if (syndicate.summary_style)     { document.write(' style="' + syndicate.summary_style + '"'); }
    document.write('>');
    document.write(syndicate.article_summary[syndicate.index]);
    document.write('<br></font>');
    if (syndicate.summary_fontunder) { document.write('</u>'); }
    if (syndicate.summary_fontital)  { document.write('</i>'); }
    if (syndicate.summary_fontbold)  { document.write('</b>'); }
  }

  document.write('<br></td></tr>\n');
}

// If you want your Webfeeds to be branded, uncomment the following lines.
// To do this, remove the // at the beginning of the next five lines:

//document.write('<tr><td bgcolor="' + syndicate.bgcolor + '">');
//document.write('<a href="#" target="_blank">');
//document.write('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
//document.write('<b>Powered by SITENAME.com</b></font></a>');
//document.write('<br><br></b></font></td></tr>\n');
