

// 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 ] = 'The perils of blogging in Egypt';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10333.shtml';
syndicate.article_date[ syndicate.index ] = '23 February 2009';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      \r\n       <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"100\">\r\n         <tr><td>\r\n\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/2/Egypt-th.jpg\" alt=\"Egypt-th.jpg\" width=\"100\" height=\"100\" />\r\n            <div class=\"image_caption\"></div>\r\n\r\n      	</td></tr>\r\n      </table>\r\n\r\n         \r\n      \r\n\r\n   \r\n\r\n\r\n   \r\nAccording to Gamal Eid, Executive Director of the Arabic Network for Human Rights Information, the recent arrests of bloggers is an attempt by Mubarak\'s regime \"To silence the voices that criticize the [Egyptian] government\'s performance and send a message by assaulting and kidnapping, to say that criticism will not be tolerated.\" Rannie Amiri reports for The Electronic Intifada.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Ramallah Palestinian Authority blocks website reporting on corruption';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article9972.shtml';
syndicate.article_date[ syndicate.index ] = '18 November 2008';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"100\">\r\n         <tr><td>\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/2/081118-ei-dunya-al-watan-th_thumb.jpg\" alt=\"081118-ei-dunya-al-watan-th.jpg\" width=\"100\"  height=\"99\" />\r\n            <div class=\"image_caption\"></div>\r\n\r\n      	</td></tr>\r\n      </table>\r\n\r\n         \r\n      \r\n\r\n      \r\n\r\n   \r\n\r\n\r\n   \r\nThe Palestinian Authority (PA) in Ramallah has blocked access to a popular news website because of the site\'s reporting on widespread corruption among the entourage of PA President Mahmoud Abbas. For several days, Palestinians in the West Bank and Gaza Strip have been unable to view the website Donia al-Watan (http://www.alwatanvoice.com) as access has been blocked through the PA-controlled telecom company. Readers outside Palestine and a few inside the country using proxies are still able to access the site. The Electronic Intifada confirmed that several users attempting to access the website in Ramallah and other parts of the Israeli-occupied West Bank could not do so and instead saw a message in English stating \"We are sorry, the site was blocked based on attorney General instructions [sic].\"';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Israel bans foreign journalists from entering besieged Gaza';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article9973.shtml';
syndicate.article_date[ syndicate.index ] = '18 November 2008';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"100\">\r\n         <tr><td>\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/2/070718-rafah-crossing-th_1_2_thumb.jpg\" alt=\"070718-rafah-crossing-th_1_2.jpg\" width=\"100\"  height=\"100\" />\r\n            <div class=\"image_caption\"></div>\r\n\r\n      	</td></tr>\r\n      </table>\r\n\r\n         \r\n      \r\n\r\n      \r\n\r\n   \r\n\r\n\r\n   \r\nRAMALLAH, occupied West Bank (IPS) - Israel has imposed a virtual news blackout on the Gaza Strip. For the last ten days no foreign journalists have been able to enter the besieged territory to report on the escalating humanitarian crisis caused by Israel\'s complete closure of Gaza\'s borders for the last two weeks. Steve Gutkin, the AP bureau chief in Jerusalem and head of Israel\'s Foreign Press Association, said that he personally \"knows of no foreign journalist that has been allowed into Gaza in the last week.\"';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'UN report castigates Israeli abuse of journalists';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article9877.shtml';
syndicate.article_date[ syndicate.index ] = '6 October 2008';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"100\">\r\n         <tr><td>\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/2/081006-ips-omer-th_thumb.jpg\" alt=\"081006-ips-omer-th.jpg\" width=\"100\"  height=\"100\" />\r\n            <div class=\"image_caption\"></div>\r\n\r\n      	</td></tr>\r\n      </table>\r\n\r\n         \r\n      \r\n\r\n      \r\n\r\n   \r\n\r\n\r\n   \r\nUNITED NATIONS (IPS) - A new United Nations report on the human rights situation in the Occupied Palestinian Territories blasts the Israeli government for its heavy-handed treatment of journalists reporting on the military occupation. The 20-page report, which will go before the 63rd sessions of the General Assembly currently underway, singles out the mistreatment of award-winning Palestinian journalist Mohammed Omer who was stripped, interrogated, kicked and beaten up when he returned from Europe to his home town in the occupied territory of Gaza last June.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Mutual censorship in the West Bank and Gaza';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article9848.shtml';
syndicate.article_date[ syndicate.index ] = '23 September 2008';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      \r\n       <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"100\">\r\n         <tr><td>\r\n\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/2/080923-ips-gaza-th.jpg\" alt=\"080923-ips-gaza-th.jpg\" width=\"100\" height=\"100\" />\r\n            <div class=\"image_caption\"></div>\r\n\r\n      	</td></tr>\r\n      </table>\r\n\r\n         \r\n      \r\n\r\n   \r\n\r\n\r\n   \r\nGAZA CITY (IPS) - So much is missing as you walk down the street along the shops of Gaza. Food and medicines kept out by the blockade enforced by Israel; but also newspapers once a part of the street landscape. <i>Al-Hayat Al-Jadeeda</i> and <i>Al-Ayyam</i>, two newspapers loyal to Fatah, are not around any more. And for once, you couldn\'t blame the Israelis for censorship.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'West Bank journalists detained by PA intelligence';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article9532.shtml';
syndicate.article_date[ syndicate.index ] = '12 May 2008';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"100\">\r\n         <tr><td>\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/2/080512-pchr-journalists_thumb.jpg\" alt=\"080512-pchr-journalists.jpg\" width=\"100\"  height=\"100\" />\r\n            <div class=\"image_caption\"></div>\r\n\r\n      	</td></tr>\r\n      </table>\r\n\r\n         \r\n      \r\n\r\n      \r\n\r\n   \r\n\r\n\r\n   \r\nThe Palestinian Centre for Human Rights (PCHR) strongly condemns the distention of three Palestinian journalists and a columnist by the Palestinian General Intelligence Service in Bethlehem and Qalqilya towns in the West Bank on Thursday, 8 May 2008. PCHR believes that such arrests constitute an attack on press freedoms and the right to freedom of expression, which are ensured by the Palestinian Basic Law and international human rights instruments.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Thousands attend funeral of slain Gaza journalist';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article9472.shtml';
syndicate.article_date[ syndicate.index ] = '18 April 2008';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"100\">\r\n         <tr><td>\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/2/080418-ips-shana_a-th_thumb.jpg\" alt=\"080418-ips-shana_a-th.jpg\" width=\"100\"  height=\"100\" />\r\n            <div class=\"image_caption\"></div>\r\n\r\n      	</td></tr>\r\n      </table>\r\n\r\n         \r\n      \r\n\r\n      \r\n\r\n   \r\n\r\n\r\n   \r\nGAZA CITY, 18 April (IPS) - Fadel Shana\'a just had to go to the scene of the Israeli bombing. As a Reuters cameraman, that was his job. He wasn\'t the only one killed, but through his pursuit of attacks as they happen, he was always more at risk than most others. Fadel Shana\'a was killed Wednesday because he was in the firing line, but also because, eyewitnesses said, he had begun to film the tanks that were firing. A barrage of metal shrapnel pierced his body as a tank missile landed close to him.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Israeli forces in Gaza \"willfully kill\" journalist';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article9470.shtml';
syndicate.article_date[ syndicate.index ] = '17 April 2008';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"100\">\r\n         <tr><td>\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/2/080417-fadel-shana_a-th_thumb.jpg\" alt=\"080417-fadel-shana_a-th.jpg\" width=\"100\"  height=\"100\" />\r\n            <div class=\"image_caption\"></div>\r\n\r\n      	</td></tr>\r\n      </table>\r\n\r\n         \r\n      \r\n\r\n      \r\n\r\n   \r\n\r\n\r\n   \r\nThe Palestinian Centre for Human Rights (PCHR) strongly condemns the crime committed by Israeli Occupation Forces (IOF) on Wednesday evening, which took the life of Fadel Shana\'a, a Palestinian journalist, when he carrying out his job in Gaza. PCHR expresses utmost concern over continued crimes committed by IOF against journalists and media professionals, which is a reflection of excessive use of force against civilians, and systematic targeting of journalists to prevent them from covering crimes committed against civilians.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Rights group: Journalist\'s killers must be prosecuted';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article7151.shtml';
syndicate.article_date[ syndicate.index ] = '6 August 2007';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      \r\n       <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"100\">\r\n         <tr><td>\r\n\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/1/070806-james-miller-th.jpg\" alt=\"070806-james-miller-th.jpg\" width=\"100\" height=\"100\" />\r\n            <div class=\"image_caption\"></div>\r\n\r\n      	</td></tr>\r\n      </table>\r\n\r\n         <br style=\"clear: both;\" />\r\n      \r\n\r\n   \r\n\r\n\r\n   \r\nLegal deliberations on the murder of UK citizen James Miller have continued since he was killed on 2 May 2003 at the border line between Gaza and Egypt. Miller and a small crew were filming in the area for a documentary on children\'s lives. According to investigations by Al Mezan, then-47-year-old Miller was killed by Israeli troops at approximately 11 pm on 2 May 2003 in the al-Shair neighborhood in Rafah. He was with three other persons, including his colleagues Saira Shah and Daniel Edge, and a Palestinian interpreter, Abedul Rahman Abdullah.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Alan Johnston released after 114 days of captivity';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article7088.shtml';
syndicate.article_date[ syndicate.index ] = '4 July 2007';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      \r\n       <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"100\">\r\n         <tr><td>\r\n\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/1/070704-johnston-th.jpg\" alt=\"070704-johnston-th.jpg\" width=\"100\" height=\"100\" />\r\n            <div class=\"image_caption\"></div>\r\n\r\n      	</td></tr>\r\n      </table>\r\n\r\n         <br style=\"clear: both;\" />\r\n      \r\n\r\n   \r\n\r\n\r\n   \r\nReporters Without Borders is overjoyed at the news that British journalist Alan Johnston was released in the early hours of 4 July 2007 in Gaza as a result of the intervention of senior Muslim clerics and negotiations between Hamas and his kidnappers. The BBC correspondent had been held hostage for 114 days. \"Seeing Johnston free and in good health is an immense relief and a great joy,\" the press freedom organisation said. \"During the 16 weeks he was held, we became more and more concerned at the increasingly grave threats from his abductors and the apparent inability of the Palestinian authorities to find a solution.\"';
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 + '" valign=top>');
document.write('<a href="#" target="_blank">');
document.write('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
document.write('<CENTER><A HREF="http://electronicIntifada.net" TARGET="_blank"><IMG SRC="http://electronicIntifada.net/v3images/home/nav/smalllogo.jpg" WIDTH=37 HEIGHT=38 BORDER=0></A></CENTER></font></a>');
document.write('<\/font><\/td><\/tr>\n');
