



// 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 Article Manager
syndicate.index = 0;
  syndicate.article_title[ syndicate.index ] = 'Leaked UN report finds "credible allegations" of war crimes and killing of civilians during country\'s civil conflict.';
//  syndicate.article_url[ syndicate.index ] = 'http://english.aljazeera.net/news/asia/2011/04/201141817385841994.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#13216';
  syndicate.article_date[ syndicate.index ] = 'Apr 19, 2011';
  syndicate.article_summary[ syndicate.index ] = 'A UN report has found "credible allegations" that tens of thousands of civilians were killed and that war crimes were committed during the final months of Sri Lanka\'s conflict with the Tamil Tigers.  A leaked excerpt from the report, drafted by a panel appointed by Ban Ki-moon, the UN secretary-general, made its way into Sri Lankan newspapers on Monday.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Leaked UN report accuses Sri Lanka of war crimes';
//  syndicate.article_url[ syndicate.index ] = 'http://www.radioaustralia.net.au/connectasia/stories/201104/s3194620.htm';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#13215';
  syndicate.article_date[ syndicate.index ] = 'Apr 18, 2011';
  syndicate.article_summary[ syndicate.index ] = 'Leaked UN reports includes claims that the Sri Lankan Government deliberately shelled hospitals and fired on civilians during the battle with the separatist Tamil Tigers. The Sri Lankan Government has reject the report, describing it as "flawed" and "biased". The UN report also alleges that Tamil Tiger fighters committed war crimes and used civilians as human shields. The panel that compiled the report is recommending an international investigation into the claims and the report is expected to be officially released this week.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Media rights groups to U.N.: Intervene in Sri Lanka case';
//  syndicate.article_url[ syndicate.index ] = 'http://www.cpj.org/2011/03/media-rights-groups-to-un-intervene-in-sri-lanka-c.php';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#13214';
  syndicate.article_date[ syndicate.index ] = 'Mar  9, 2011';
  syndicate.article_summary[ syndicate.index ] = 'New York, March 8, 2011--Five prominent media rights organizations sent a letter on Monday to United Nations Secretary-General Ban Ki-moon, calling on the U.N. to intervene in the case of Prageeth Eknelygoda, the Sri Lankan columnist and cartoonist for the Lanka eNews website, who disappeared on January 24, 2010. Since then, the letter notes, his wife, Sandhya Eknelygoda, has been asking the Sri Lankan government for any information about his fate. She has been given no word from any person in the government. Eknelygoda\'s disappearance and his wife\'s efforts on his behalf have been widely reported in Sri Lankan and international media.\n\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = ' ... ... ... ...Latest News.Iraqi Kurdistan: Prevent Attacks on Protesters';
//  syndicate.article_url[ syndicate.index ] = 'http://www.hrw.org/en/news/2011/03/07/sri-lanka-us-senate-calls-justice';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#13213';
  syndicate.article_date[ syndicate.index ] = 'Mar  8, 2011';
  syndicate.article_summary[ syndicate.index ] = '(New York) - A US Senate resolution calling for an independent international mechanism for crimes by both sides during and after Sri Lanka\'s bloody civil war highlights growing international pressure for justice and accountability in Sri Lanka, Human Rights Watch said today. \n\nThe US Senate resolution, passed unanimously on March 1, 2011, follows similar calls by British and Australian parliamentarians.\n\nA United Nations Panel of Experts, appointed by United Nations Secretary-General Ban Ki-moon to advise him on possible accountability mechanisms in Sri Lanka, is finalizing its report.\n\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'US ups pressure on Sri Lanka over slain civilians';
//  syndicate.article_url[ syndicate.index ] = 'http://www.washingtonpost.com/wp-dyn/content/article/2011/03/05/AR2011030500350.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#13212';
  syndicate.article_date[ syndicate.index ] = 'Mar  8, 2011';
  syndicate.article_summary[ syndicate.index ] = 'WASHINGTON -- The United States is increasing pressure on Sri Lanka to investigate the deaths of thousands of civilians at the end of its civil war. Human rights groups contend a Sri Lankan government commission has demonstrated no intent of doing it. \n\nThe Senate passed a resolution this past week urging an international investigation of war crimes allegations. The State Department has yet to go that far, but said Friday that pressure to do so would grow if Sri Lanka should fail to investigate the abuses properly. \n\nThe quarter-century-long Sri Lankan conflict had a bloody conclusion in 2009, when ethnic Sinhalese-dominated government forces cornered the last Tamil Tiger rebels on a sliver of land in the northeast of the island nation. \n\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'On Sri Lanka, UN Denies “Secret” Meeting, Won\'t Say If Report Public';
//  syndicate.article_url[ syndicate.index ] = 'http://www.innercitypress.com/bannam3silva030711.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#13211';
  syndicate.article_date[ syndicate.index ] = 'Mar  8, 2011';
  syndicate.article_summary[ syndicate.index ] = 'UNITED NATIONS, March 7 -- The UN\'s evasiveness on the meetings, travel and report of Secretary General Ban Ki-moon\'s Panel on Sri Lanka continued on March 7, with Ban\'s spokesman Martin Nesirky telling Inner City Press that it is up to the Panel to speak for itself, even to decide if its report should be public.\n\nNesirky called “shaky” reporting that has suggested a secret February 23 meeting, telling Inner City Press “you know, you were there taking pictures, that was not the case.”\n\nInner City Press asked, were the members of Ban\'s panel in town, in New York? Even this Nesirky would not answer, saying it is up to the Panel to say. But where is the Panel?\n\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Sri Lanka risks forced war crimes probe: US';
//  syndicate.article_url[ syndicate.index ] = 'http://news.yahoo.com/s/afp/20110301/pl_afp/srilankausdiplomacyrightswarcrimes_20110301143224';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#13210';
  syndicate.article_date[ syndicate.index ] = 'Mar  2, 2011';
  syndicate.article_summary[ syndicate.index ] = 'COLOMBO (AFP) – Sri Lanka could be hauled before a war crimes tribunal over the killing of "many thousands of civilians" in the final months of its separatist war with Tamil rebels, a top US official said.\n\nIn the toughest warning since the end of fighting in May 2009, US Assistant Secretary of State for South and Central Asian Affairs, Robert Blake, said Sri Lanka risked a forced international investigation.\n\nHis remarks came as the UN Human Rights Council was meeting in Geneva, where Sri Lanka has previously managed to avoid condemnation thanks to the backing of several nations, including strong allies China and Russia.\n\nBlake, a former ambassador to Sri Lanka, said it was "preferable" for Sri Lanka to have its own investigation in line with internationally accepted human rights standards, rather than face an external inquiry.\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Accountability for Violations of IHL in Counterinsurgency: The Case of Sri Lanka';
//  syndicate.article_url[ syndicate.index ] = 'http://hpcrresearch.org/events/accountability-violations-ihl-counterinsurgency-case-sri-lanka';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#13209';
  syndicate.article_date[ syndicate.index ] = 'Mar  1, 2011';
  syndicate.article_summary[ syndicate.index ] = '  \nDate/Time: \nFebruary 24, 2011 - 9:30am - 11:00am \nLocation:\nOnline \nWebsite:\n\nhttp://bit.ly/lwsSriLanka\n\nDescription: \n\nAudio-only version: \n\n\n \n\nAccess the full version of the recording. \n\nThis Live Seminar examined mechanisms and strategies to promote accountability for IHL violations committed during counterinsurgencies, focusing on the case of Sri Lanka. Against the backdrop of domestic and international efforts to address IHL violations committed during the counterinsurgency in Sri Lanka, this Live Seminar addressed the following questions:\n\n¡öWhat aspects, if any, of counterinsurgency doctrine have the potential to affect adherence to IHL principles?\n¡öWhat accountability mechanisms¡ªjudicial or otherwise¡ªexist regarding IHL violations committed during non-international armed conflicts?\n¡öWhat accountability mechanisms are currently being implemented, and what potential mechanisms are under consideration?\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'New Delhi lacks the spine ';
//  syndicate.article_url[ syndicate.index ] = 'http://expressbuzz.com/opinion/op-ed/new-delhi-lacks-the-spine/250763.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#13208';
  syndicate.article_date[ syndicate.index ] = 'Feb 24, 2011';
  syndicate.article_summary[ syndicate.index ] = 'Ideally the meek should inherit the earth, but in the real world today they tend to get pushed around. Might, and unwavering resolve, gets a nation respect from other countries. Those who waver, who wax and wane, who shout and flex their muscle only to climb down, are not taken seriously. Their threats carry little weight. But those who stay the course, who defend the rights and the person of their citizens as if national integrity depends on it are respected for their resolve. Their word counts and their citizens are not easily trifled with. In the odd case that they are, then the weight of national resolve is put into effect as their saviour.\n\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Ashes of Sri Lanka rebel chief\'s mother desecrated';
//  syndicate.article_url[ syndicate.index ] = 'http://www.washingtonpost.com/wp-dyn/content/article/2011/02/23/AR2011022302113.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#13207';
  syndicate.article_date[ syndicate.index ] = 'Feb 24, 2011';
  syndicate.article_summary[ syndicate.index ] = 'COLOMBO, Sri Lanka -- The ashes of the mother of Sri Lanka\'s former rebel leader have been desecrated hours after her body was cremated, a relative said Wednesday. \n\nKanagalingam Sivajilingam said the incident took place Tuesday night, shortly after slain rebel leader Velupillai Prabhakaran\'s mother was cremated in his native village of Valvettithurai. \n\nSivajilingam said relatives who visited the cremation site Wednesday to collect the ashes found them scattered and three dead dogs with bullet wounds lying nearby. \n\n';
  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');

