

// 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 ] = 'Despite Israeli blockade, innovation thrives in Gaza';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article11385.shtml';
syndicate.article_date[ syndicate.index ] = '12 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/100712-technology-gaza-th.jpg\" alt=\"100712-technology-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\nThe relentless Israeli blockade of the Gaza Strip has squeezed many things, but it hasn\'t robbed people of their ability and desire to innovate and invent. At the Rashad al-Shawa cultural center in heart of Gaza City, dozens of local companies and individuals recently demonstrated hi-tech products and inventions at an exhibition sponsored by government and nongovernmental bodies. Rami Almeghari reports from the occupied Gaza Strip.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Gaza\'s virtual connection to the rest of the world';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article11275.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/100520-gaza-internet-th.jpg\" alt=\"100520-gaza-internet-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) - \"I\'ve learned most of what I know about photo editing and graphic design via the Internet,\" says Emad, 27-year-old filmmaker and editor. In Gaza, this sort of thing has become usual in a different way. \"This program isn\'t available here,\" he says, smiling triumphantly as he finishes downloading the latest edition of an advanced video editing program.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Palestine\'s first independent think tank launched';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article11215.shtml';
syndicate.article_date[ syndicate.index ] = '19 April 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/alshabaka.jpg\" alt=\"alshabaka.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\nLast week, Al-Shabaka, The Palestinian Policy Network, was launched (<a href=\"http://www.al-shabaka.org\">www.al-shabaka.org</a>). Al-Shabaka, which means \"The Network,\" is the first independent strategy and policy-related think tank for Palestinians and by Palestinians.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Institute for Palestine Studies commemorates Nakba on the Web';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article9565.shtml';
syndicate.article_date[ syndicate.index ] = '22 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/080522-ips-logo-th_thumb.jpg\" alt=\"080522-ips-logo-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 Institute for Palestine Studies (IPS)  has created a special on-line resource to commemorate the Nakba (catastrophe) of 1948. \"1948: Sixty Years On ...\" draws on the Institute\'s rich archives and its flagship <i>Journal of Palestine Studies</i> to provide wide public access to incisive articles, analyses, memoirs, detailed maps, and chronologies. These materials illuminate the events leading up to and culminating in the establishment of the state of Israel and the beginning of the Palestinian tragedy.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Private TV and radio stations forced to pay massive license fees';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article6406.shtml';
syndicate.article_date[ syndicate.index ] = '18 January 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/ma_an-training-100.jpg\" alt=\"ma_an-training-100.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\nFor the first time since their launch following the establishment of the Palestinian Authority in 1993 during the Oslo process, the private TV and radio stations across the Palestinian territories are at a turning point. The majority of these stations are threatened with closure, following a decision by the ministry of communications and information technology to force these channels to pay large fees to the government, with the threat of backdated payments being demanded also. Directors and owners of these channels were stunned by the decision, considered to be beyond their means.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Middle Eastern-American comedians making Comedy Central\'s \"The Watch List\"';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article6312.shtml';
syndicate.article_date[ syndicate.index ] = '26 December 2006';
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/dean-obeidallah-100.jpg\" alt=\"dean-obeidallah-100.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\nCan an Arab be funny? Can a Muslim tell a joke? Can an Iranian make you laugh? Find out on \"The Watch List,\" the groundbreaking new comedy show that will be available January 8, 2007 on Comedy Central\'s Internet channel Motherload. This edgy comedy show features the country\'s top Middle Eastern-American comedians performing stand up and sketch comedy. This is the only place where you can find out if \"Arabs are the new blacks,\" see a real virgin Palestinian-American Muslim comedian, get a taste of what its like to \"fly while Muslim,\" and find out if the President of Iran is high.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Still Occupied: Campaign draws attention to Gaza\'s plight';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article6157.shtml';
syndicate.article_date[ syndicate.index ] = '4 December 2006';
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/mezan100_006_001_001.jpg\" alt=\"mezan100_006_001_001.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\nCalling to the international community to get mobilised and bring the Israeli occupation to an end, Al Mezan Centre for Human Rights has launched an international campaign to demonstrate that the Gaza Strip remains under Israeli effective control despite its claims otherwise. The campaign comes one year after the completion of the Israeli Unilateral Disengagement from Gaza in September 2005. It aims to bring about more effective international public and government involvement in the situation in the Occupied Palestinian Territories (OPT) in an effort to repair the consequences of prolonged infringements of international law. ';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Israel\'s Foreign Ministry provides Free Internet Tool to online activists';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article5239.shtml';
syndicate.article_date[ syndicate.index ] = '26 July 2006';
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/giyus100.jpg\" alt=\"giyus100.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\nIsrael\'s Ministry of Foreign Affairs understands that today\'s conflicts are won by public opinion. They mobilize pro-Israel activists to be active and voice \"Israel\'s side to the world.\" A software company has developed The Megaphone desktop tool that sends desktop alerts on key articles on Israel and surveys, online polls where activists could click on the button to support Israel and click alerts to easily voice pro-Israel opinions. This tool helps activists to raise the profile of opinions on Israel. EI\'s Arjan El Fassed finds this tool also useful for those who would like to see some fair and balanced reports on the Middle East conflict. Pro-human rights and pro-peace activists will find this a useful tool as well.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'On blogging and citizen reporting from warzones';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article5077.shtml';
syndicate.article_date[ syndicate.index ] = '18 July 2006';
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/diaries-from-lebanon.jpg\" alt=\"diaries-from-lebanon.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\nElectronic Lebanon has finally been incorporated as a special section of the Electronic Intifada website. Our diary section, \"Live from Lebanon\", has been extremely popular, offering accounts from Beirut and other cities under bombardment in Lebanon. There has been a lot of media interest in these diaries, and many U.S. news networks are offering reports about voices from the ground and blogs to varying degrees in their reporting. Some networks have been reporting that the phenomenon of blogging from warzones is \"new\". This is not the case. Members of the Electronic Intifada team have been pioneering alternative media reporting from Middle Eastern warzones for over 10 years.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Electronic Intifada - Spring 2006 Appeal';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article4918.shtml';
syndicate.article_date[ syndicate.index ] = '6 July 2006';
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/current-ei-appeal.jpg\" alt=\"current-ei-appeal.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\nEI is an internationally recognized media phenomenon, widely respected for carving out new - and needed - terrain for comprehending the Palestine-Israel conflict from a rich variety of perspectives. In a world of averted gazes, EI continually strives to bring the Palestinian narrative front and center. Palestinian dignity is sustained by the riches of Palestinian culture and history. EI is sustained by your continuing interest, support, and concern for justice. ';
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');
