

// 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 ] = 'Gaza\'s strawberries spoil under siege';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article11414.shtml';
syndicate.article_date[ syndicate.index ] = '22 July 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/100722-gaza-farmer-th_thumb.jpg\" alt=\"100722-gaza-farmer-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\nIsrael\'s policy towards strawberry farming in Gaza, and particularly their exports, is a demonstration in the economics of occupation.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Gaza\'s bee industry stung by Israeli attacks';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article11403.shtml';
syndicate.article_date[ syndicate.index ] = '19 July 2010';
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/100719-gaza-bees-th.jpg\" alt=\"100719-gaza-bees-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, occupied Gaza Strip (IPS) - Said Hillis, 60, has kept bees since he was a boy. Until the Israeli attacks changed his business. Until 2009 Hillis\' farm had hundreds of trees, and more than 10,000 chickens. \"It was all destroyed during the Israeli attacks,\" Hillis says.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Tough times for Gaza travel agent ';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article11394.shtml';
syndicate.article_date[ syndicate.index ] = '18 July 2010';
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/100714-gaza-travel-th.jpg\" alt=\"100714-gaza-travel-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\"Shurafa Tourist and Travel Company has been operating in Gaza since 1952,\" Nabil Shurafa, general manager of the company, says proudly. This historical background is significant, as much for understanding the many and various forms of movement restrictions with which Shurafa Travel has had to deal during Gaza\'s 43 year occupation as for providing a rationale for how and why Shurafa remains open under the current restrictions.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Belgian-French bank cornered over Israeli settlement financing';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article11276.shtml';
syndicate.article_date[ syndicate.index ] = '20 May 2010';
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/dexia-th_1.jpg\" alt=\"dexia-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\nBRUSSELS (IPS) - New evidence has been uncovered to show that Dexia, a major Belgian-French bank, is still financing Israeli settlements in the OPT despite official assurances that such loans have ceased. Jean-Luc Dehaene, a former Belgian prime minister and now Dexia\'s chairman, announced last year that the bank had not approved any new loans to authorities located in Israeli settlements in the occupied West Bank since June 2008.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Palestinian civil society slams OECD over Israel\'s accession';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article11256.shtml';
syndicate.article_date[ syndicate.index ] = '10 May 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/070415-boycott-th_1_1_1_38_25_thumb.jpg\" alt=\"070415-boycott-th_1_1_1_38_25.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\nPalestinian civil society represented by the Boycott, Divestment and Sanctions National Committee, a wide coalition of the largest Palestinian mass organizations and trade unions, issued a strong condemnation of the Organization for Economic Cooperation and Development\'s decision today to welcome Israel as a member of the organization at its ministerial meeting to take place on 27-28 May.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Israel offers Palestinians day shoppers, not statehood';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10664.shtml';
syndicate.article_date[ syndicate.index ] = '15 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/gaza-wall_2.jpg\" alt=\"gaza-wall_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\nThe reality of Israeli Prime Minister Benjamin Netanyahu\'s promises of \"economic peace\" for the Palestinians is nowhere under greater scrutiny than in Jenin, the northern West Bank city being aggressively promoted as a potential model of cooperation with Israel. Jonathan Cook reports from Jenin.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Palestinian olive oil\'s Fairtrade journey';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10472.shtml';
syndicate.article_date[ syndicate.index ] = '20 April 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/090419-irving-th_thumb.jpg\" alt=\"090419-irving-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\nIn spring 2008, several years of careful negotiations finally culminated in the first Palestinian olive oil being awarded Fairtrade status. The oil, sourced from the Palestine Fair Trade Producers Company (PFTPC), based in the West Bank city of Jenin, is both the first Palestinian product to receive Fairtrade certification, and the first olive oil to be allowed to use the mark. Sarah Irving reports for The Electronic Intifada.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Israeli settlement produce may be enjoying EU privileges';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10452.shtml';
syndicate.article_date[ syndicate.index ] = '6 April 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/090406-ips_thumb.jpg\" alt=\"090406-ips.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\nBRUSSELS (IPS) - European Union officials are seeking evidence to support claims that fruit and vegetables from Israeli settlements in the Palestinian territories are being exported under false pretense. In a note circulated to its fellow EU governments in late 2008, Britain expressed concern that goods from Israeli settlements in the West Bank may be entering the Union without paying the legally required duties.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Report: UK economic links with Israeli settlements';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10402.shtml';
syndicate.article_date[ syndicate.index ] = '18 March 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/settlements_4.jpg\" alt=\"settlements_4.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\nThe purpose of this report is to document economic links between UK companies and those based in settlements. The research has identified 68 British companies which have direct or indirect relationships with Israeli settlements in occupied Palestinian territory; 49 of which have their head office in the United Kingdom and 19 of which are British subsidiaries of companies based in Israel or other countries.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Justice and couscous';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article10343.shtml';
syndicate.article_date[ syndicate.index ] = '25 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/090225-sander-th_thumb.jpg\" alt=\"090225-sander-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 spirit\'s resolve is an amazing tool for change and was the trigger for a remarkable group of women from Ein al-Sultan camp to come together a few years ago to devise an innovative way in which to break free from the shackles of their destitution. And so begins the inspirational story of Jericho\'s women\'s fair trade couscous cooperative. Gen Sander reports from Jericho.';
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');
