



// 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 ] = 'Sri Lanka opposition leader held for \'plotting coup\'';
//  syndicate.article_url[ syndicate.index ] = 'http://www.timesonline.co.uk/tol/news/world/asia/article7019554.ece';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12382';
  syndicate.article_date[ syndicate.index ] = 'Feb  9, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Just nine months ago, General Sarath Fonseka was being hailed as a national hero by most of Sri Lanka as he basked in the glory of the victorious military campaign he led against the Tamil Tiger rebels. \n\nTonight, however, the former army chief was languishing in jail facing a possible death sentence on charges of plotting a coup against Mahinda Rajapaksa, the President he tried to challenge in an election last month. \n\nMilitary police dragged the retired four-star General away this evening after storming his campaign office in the historic centre of Colombo as he met opposition leaders to discuss how to dispute the results of the January 26 election. \n\n“He’s been arrested with his personal assistant,” one of the 58-year-old General’s spokesmen, who is now in hiding, told The Times. “We’re shocked, because we thought the dust was starting to settle.” \n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Ofcom not exploited';
//  syndicate.article_url[ syndicate.index ] = 'http://www.guardian.co.uk/media/2010/feb/08/ofcom-sri-lanka-channel4-atrocities';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12381';
  syndicate.article_date[ syndicate.index ] = 'Feb  8, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Jon Snow is absolutely right when he says that Ofcom\'s complaints function must not be used by governments "to curb … investigative reporting [to] hide from public scrutiny" (A watchdog exploited, 5 February). But, contrary to the suggestion contained in your ­headline, Ofcom did not allow the Sri Lankan government to exploit our procedures, when it complained about Channel 4 News broadcasting footage of the apparent atrocities committed against the Tamils.\n\nOfcom has an excellent track record in defending freedom of speech for legitimate investigative journalism (for example, our decision in Channel 4\'s Undercover Mosque).\n\nIn this Sri Lankan case, Ofcom did not take forward the Sri Lankan ­government\'s fairness complaint and rejected its impartiality and accuracy complaint.\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = '100 Sri Lankan journalists protest government for alleged moves to suppress media workers';
//  syndicate.article_url[ syndicate.index ] = 'http://www.google.com/hostednews/canadianpress/article/ALeqM5gmF4Zefq1WDQ27aqvKU0iS08LlkA';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12380';
  syndicate.article_date[ syndicate.index ] = 'Feb  8, 2010';
  syndicate.article_summary[ syndicate.index ] = 'COLOMBO, Sri Lanka — Sri Lankan journalists who claim the government has stepped up its suppression of the media in recent weeks staged a protest Monday and demanded the release of a detained editor from a pro-opposition newspaper.\n\nNearly a hundred journalists demonstrated in the capital Colombo, urging the government to allow the media to report without hindrance and to free Chandana Sirimalwatte, editor of the Lanka newspaper. They also demanded that authorities track down a Web site columnist who disappeared last month.\n\nProtesters shouted slogans and held placards that read "Condemn the suppression of media, Free Chandana Sirimalwatte," and "Rulers: Accept people\'s freedom of expression."\n\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Should India Bat for Tamils in Sri Lanka?';
//  syndicate.article_url[ syndicate.index ] = 'http://www.moneycontrol.com/news/current-affairs/should-india-bat-for-tamilssri-lanka_440526.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12379';
  syndicate.article_date[ syndicate.index ] = 'Feb  8, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Somebody once said democracy is the right to choose your dictator. For the minority Tamils in Sri Lanka, the Presidential election in late January presented such a baffling dilemma. Should they vote for the man who ordered a bloody war on their homeland or for the military general who actually led the troops into their fields? In the end, most Tamils stayed home on the poll day unable to fathom who was the lesser evil. \n\nTheir paralysis helped the political commander. President Mahinda Rajapaksa, who had gambled by calling a snap election two years ahead of schedule, won a decisive mandate to run the island nation for another six years starting November 2010. The Sinhalese majority rewarded him for vanquishing the once invincible Liberation Tigers of Tamil Eelam (LTTE), a ruthless guerrilla force that led a separatist campaign in the Tamil parts for more than three decades. \n\nWith Rajapaksa’s re-election, both the Tamils and neighbouring India, which plays an inevitable but a hesitant role in the happenings on the tear-drop island, are at the crossroads. They now have to shift gears and engage the 64-year-old lawyer-turned-politician to find a solution to the festering Tamil problem. \n\n\n\nAt the peak of his power now, Rajapaksa has no political compulsion to listen to them. He has defeated the LTTE, won the executive presidency without the Tamil vote and has won international support, overt or tacit, for his military solution.\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Sri Lanka: A country without citizens';
//  syndicate.article_url[ syndicate.index ] = 'http://www.groundviews.org/2010/02/08/sri-lanka-a-country-without-citizens/';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12378';
  syndicate.article_date[ syndicate.index ] = 'Feb  8, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Note from author: For someone who is not in the least interested in politics – and is more often than not bored by it – my reaction to the 2010 Presidential Elections was surprising, even to me. Strangely enough though, I found that a lot of people felt much the same way. We were repulsed by constant news of violence; inescapable hoardings with their proclamations that our politicians loved us; posters that made the city walls disappear beneath them; partisan media stuffing propaganda down our unwilling throats; the promises of candidates that we knew to be false.\n\nYet, despite all this, we cared – albeit, rather reluctantly and in spite of ourselves. We still wanted to be in the know; we still tried to separate fact from the politicians’ fiction. We still agonized over whom to support, fought with our friends and colleagues about that choice, and later felt guilty that we might be making the wrong one.\n\nAs a first-time voter I felt totally out of depth in the process. On the night of the 26th, as the results started coming in, I sat glued to my television set, snowy with bad reception, and wrote them feverishly down in my journal, as if my pen might help me make sense of the outcome. It didn’t – and at about 3.30am my writing had become so unintelligible that I had to give up and get a few hours rest.\n\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Australian MP calls for independent investigations into Sri Lanka violations';
//  syndicate.article_url[ syndicate.index ] = 'http://www.tamilnet.com/art.html?catid=13&artid=31158';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12377';
  syndicate.article_date[ syndicate.index ] = 'Feb  8, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Noting that on Sri Lanka\'s Independence day "Tamil diaspora around the world mourn as they believe today marks the beginning of national oppression," John Murphy, Australian Member of Parliament, said in a recorded speech in the parliament on 4th February, adding, "[d]espite the Sri Lankan government’s declaration of [military] victory, the international community has expressed its grave concern that this battle will not be won and peace will not prevail until the Sri Lankan government provides essential political reform." The MP called for an independent investigation into the "reports of violations of international human rights and humanitarian law in Sri Lanka. "The end of the war resulted in some 300,000 internally displaced persons being forced into government camps. Heavy military artillery and shelling obliterated homes and schools as well as hospitals. In a United Nations report, it is estimated that in the last stages of the civil war 20,000 Tamil civilians were killed, mostly through shelling; 7,000 civilians were killed in the so-called no-fire zone up to the end of April, despite assurances from the Sri Lankan government that they had stopped the use of heavy weapons. On average, a thousand civilians died each day until 19 May 2009," Mr Murphy said, detailing the Sri Lanka\'s state\'s attack on Tamils during early 2009.\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Cry for Self-Rule by Sri Lanka’s Tamils Is Muffled by Reality ';
//  syndicate.article_url[ syndicate.index ] = 'http://www.nytimes.com/2010/02/08/world/asia/08lanka.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12376';
  syndicate.article_date[ syndicate.index ] = 'Feb  8, 2010';
  syndicate.article_summary[ syndicate.index ] = 'JAFFNA, Sri Lanka — Jaffna is a city of ruins. Some are physical, like the overgrown jumbles of mold-streaked concrete where graceful buildings used to stand. But perhaps the biggest ruin of the Tamil Tiger insurgency against the Sri Lankan government is the very thing the Tigers wanted most: any hope of self-rule. After 26 years of war that ended with a decisive government assault last May, Sri Lanka’s Tamil minority seems no closer to winning a measure of autonomy in a Sinhalese-dominated nation, and Tamil nationalism, the cri de coeur of the Tamil Tiger insurgency, seems all but dead. \n\n“All of this armed struggle, so many dead and wounded, for what?” said P. Balasundarampillai, who leads the Citizen Committee in this city on the claw-shaped peninsula of the northern Tamil heartland. “In many spheres of public life our role is very much reduced. Economically we are weak, and politically we are weak.”\n\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Time for national reconciliation, Obama tells Rajapaksa';
//  syndicate.article_url[ syndicate.index ] = 'http://www.morungexpress.com/international/42988.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12374';
  syndicate.article_date[ syndicate.index ] = 'Feb  7, 2010';
  syndicate.article_summary[ syndicate.index ] = 'President Barak Obama has urged newly re-elected President Mahinda Rajapaksa to lead Sri Lanka towards national reconciliation in the post-Liberation Tigers of Tamil Eelam (LTTE) era and heal the divisions created by conflict. The reconciliation, the US President added, should have the essential elements of respect for human rights and rule of law. In a congratulatory message to Rajapaksa on the 62nd anniversary of independence, Obama said for the first time on over a generation, Sri Lanka was not under the shadow of terrorism. \nObama said: "The recent end of the war creates a historic opportunity for Sri Lanka to heal the divisions of conflict, and build a society that offers equality and opportunity for all. For the first time on over a generation, Sri Lanka is not under the shadow of terrorism." He added: "I urge you to seize this opportunity to provide the leadership that will allow all Sri Lankans to come together and meet their aspirations to live in a country that is rooted in tolerance, respect for human rights, accountability, the rule of law, and freedom of the press- all elements essential for national reconciliation." \nThough he won an emphatic second term in the January 26th Presidential election, the Rajapaksa regime has been plagued by allegations about the lack of the very aspects that Obama said could make for national reconciliation - violation of human rights in the last phase of the war against the LTTE, clampdown on media freedom and the lack of accountability. ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = '\'Court martial\' looms for S.Lanka\'s defeated candidate';
//  syndicate.article_url[ syndicate.index ] = 'http://www.google.com/hostednews/afp/article/ALeqM5hnljElpNd2wLOQAmjWYi1ZZwiogw';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12372';
  syndicate.article_date[ syndicate.index ] = 'Feb  7, 2010';
  syndicate.article_summary[ syndicate.index ] = 'COLOMBO — Defeated Sri Lankan presidential candidate Sarath Fonseka could be hauled before a court martial to answer charges of plotting a coup to topple the government, a press report said Sunday.\n\nThe government has sought legal advice on using a military court to fast-track proceedings against Fonseka, who challenged President Mahinda Rajapakse in the January 26 vote, the Sunday Times said.\n\n"A military court will try retired general Sarath Fonseka on several charges of conspiracy," it said.\n\nThere was no immediate comment from Fonseka, who has already accused the government of planning to arrest or assassinate him after he fell out with Rajapakse and resigned in November.\n\nMilitary spokesman Brigadier Udaya Nanayakkara said he was unaware of plans to bring Fonseka before a court martial, but added that a senior defence official had publicly spoken of the possibility.\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Lanka not to allow even UN to probe \'war crimes\' ';
//  syndicate.article_url[ syndicate.index ] = 'http://www.expressbuzz.com/edition/story.aspx?Title=Lanka+not+to+allow+even+UN+to+probe+war+crimes&artid=fsEwbo9W7IM=&SectionID=oHSKVfNWYm0=&MainSectionID=oHSKVfNWYm0=&SEO=lanka,+mahinda+rajapakse,+sarath+fonseka,+LTTE,+wa&SectionName=VfE7I/Vl8os=';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12371';
  syndicate.article_date[ syndicate.index ] = 'Feb  7, 2010';
  syndicate.article_summary[ syndicate.index ] = 'COLOMBO Sri Lanka’s Defense Secretary, Gotabaya Rajapaksa, told the BBC that his country would not allow even the United Nations to investigate alleged war crimes in the last phase of the fighting between the government forces and the LTTE in 2009.\n\n\n“I will not allow any investigation by the United Nations or any other country. There is nothing wrong happening in this country.I am the Secretary of Defence.Take it from me, we will not allow any investigation,” Gotabaya told the Asia Today programme\n\nHe pointed out that the Sri Lankan public did not want any investigation as there was no reason to have one.\n\nBringing up war crimes issues at this juncture was wrong because the need of the hour in Sri Lanka was economic development, he argued.\n\nACTION AGAINST FONSEKA UNDER ARMY ACT\n\nGotabay denied that the government was itching to arrest the former Army Commander and joint opposition candidate, Gen.Sarath Fonseka, out of political vendetta.';
  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');
