

// 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 ] = 'New York Times fails to disclose Jerusalem bureau chief\'s conflict of interest';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article11031.shtml';
syndicate.article_date[ syndicate.index ] = '25 January 2010';
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/nyt100_005_thumb.jpg\" alt=\"nyt100_005.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\n<em>The New York Times</em> has all but confirmed to The Electronic Intifada (EI) that the son of its Jerusalem bureau chief Ethan Bronner was recently inducted into the Israeli army. Over the weekend, EI received a tip suggesting this had been the case and wrote to Bronner to ask him to confirm or deny the information and to seek his opinion on whether, if true, he thought it would be a conflict of interest.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'British TV documentary tackles taboo of Israel\'s lobby';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10900.shtml';
syndicate.article_date[ syndicate.index ] = '19 November 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/uk-parliament.jpg\" alt=\"uk-parliament.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\nFor the first time a mainstream British television program has tackled the Zionist lobby head-on. Channel 4\'s <em>Dispatches</em>, broadcast on 16 November, promised to hold the pro-Israel lobby up to rigorous public scrutiny and it succeeded. Presented by Peter Oborne, former political editor of the right-wing weekly <em>The Spectator</em>, <em>Dispatches</em> revealed the cozy relationship between Britain\'s pro-Israel lobby and both the Conservative and Labour parties as well as its attempts to stifle criticism of Israel in the press. Diane Langford reports for The Electronic Intifada.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Report: Israeli intelligence illegally profiling travelers in South Africa';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10833.shtml';
syndicate.article_date[ syndicate.index ] = '16 October 2009';
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/shinbet-th_thumb.jpg\" alt=\"shinbet-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\nLast month South Africa\'s premier investigative journalism TV show, <em>Carte Blanche</em>, aired an investigation of allegations that security personnel from Israel\'s national carrier, El Al Airlines, were acting dubiously at Johannesburg\'s airport. <em>Carte Blanche</em> conducted an experiment, sending an undercover reporter into the airport, expecting him to be targeted simply because he was Muslim. Sayed Dhansay comments for The Electronic Intifada.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'CAMERA\'s broken lens revisited';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10650.shtml';
syndicate.article_date[ syndicate.index ] = '24 August 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/camera-logo_1.jpg\" alt=\"camera-logo_1.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\nA February 2008 report by the pro-Israel media watchdog CAMERA claimed the existence of an overwhelming pro-Arab, anti-Israel agenda in <em>The Washington Post</em>, <em>The New York Times</em>, and <em>The Los Angeles Times</em> in \"guest op-eds\" over a 19-month period. The Electronic Intifada found CAMER ignored articles that undermined its claims. CAMERA responded with another report reaffirming most of its findings, but The Electronic Intifada finds that once again, CAMERA\'s analysis fails to pass the credibility test.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Lies and Israel\'s war crimes';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10680.shtml';
syndicate.article_date[ syndicate.index ] = '28 July 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/090117-icc-gaza-th_1.jpg\" alt=\"090117-icc-gaza-th_1.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\nThis month marked six months since the \"official\" conclusion to Israel\'s assault on the Gaza Strip, \"Operation Cast Lead.\" Electronic Intifada contributor Ben White looks at some of the strategies of Israel\'s campaign of disinformation, confusion, and lies -- and the reality of its war crimes in the Gaza Strip.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Music, The New York Times and the politics of a Palestinian state';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10658.shtml';
syndicate.article_date[ syndicate.index ] = '14 July 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/090713-fernandez-music-th.jpg\" alt=\"090713-fernandez-music-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\"Just as it is apparently impossible for the President of the United States to visit the Middle East without a corresponding visit to Buchenwald, it is apparently also impossible to have a news article on Palestinian humanity without a corresponding reminder that Arabs do not understand the Holocaust.\" So writes Bel&eacute;n Fern&aacute;ndez in a comment on how <em>The New York Times</em> covers the work of Palestinian musicians.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Ramattan\'s war: The world\'s eyes into Gaza';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10324.shtml';
syndicate.article_date[ syndicate.index ] = '20 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/ramattan.jpg\" alt=\"ramattan.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\nIf there is controversy about who won the recent war in Gaza, there is no question that Ramattan News Agency of Gaza City won the war to broadcast it. It was Ramattan\'s images that beamed Israel\'s 22-day \"Operation Cast Lead\" into millions of households across the globe, capturing the indelible visual moments of the war. Ramattan\'s images were broadcast uncensored around the clock and only stopped on the few occasions the staff had to evacuate the studios fearing the 11-story building was about to be bombed. Toufic Haddad reports for The Electronic Intifada.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Egypt on offensive after critical Al-Jazeera coverage';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10310.shtml';
syndicate.article_date[ syndicate.index ] = '16 February 2009';
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/090216-ips-jazeera-th_thumb.jpg\" alt=\"090216-ips-jazeera-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\nCAIRO (IPS) - Coverage of Israel\'s recent war on the Gaza Strip by regional news stations has reflected longstanding political divisions within the Arab world. Qatar-based Al-Jazeera\'s reporting drew a particularly angry response from Egypt. \"Coverage of the Gaza conflict by certain Arab language news channels aggravated the rift between the Arab \'moderate\' and \'rejectionist\' camps,\" Mohamed Mansour, professor of mass media at Cairo University told IPS.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Selective reporting from Lebanon';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10290.shtml';
syndicate.article_date[ syndicate.index ] = '13 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/media.jpg\" alt=\"media.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\nLegitimate criticism of Israeli policy is suppressed through journalistic crimes of omission and commission. The public is presented with images and stories of Arab violence and aggression while the notion of Israeli restraint and victimhood is piously maintained. Israeli actions are thus \"responses\" and never belligerence. Nate George comments.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'BBC violates its own principles by not airing Gaza appeal';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10242.shtml';
syndicate.article_date[ syndicate.index ] = '26 January 2009';
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/BBC_thumb.jpg\" alt=\"BBC.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\nRecently, the UK-based Disasters Emergency Committee (DEC), which comprises many aid agencies including the British Red Cross, Islamic Relief, Oxfam and others, called on all UK news broadcasters to broadcast a public appeal for Gaza. The BBC and other broadcasters refused, stating that \"Along with other broadcasters, the BBC has decided not to broadcast the DEC\'s public appeal to raise funds for Gaza.\" The Electronic Intifada contributor Jinan Bastaki tests the BBC\'s argument for refusing to air the appeal.';
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');
