

// 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 ] = 'Electronic Lebanon - Crisis Appeal';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article5162.shtml';
syndicate.article_date[ syndicate.index ] = '21 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_001.jpg\" alt=\"electronic-lebanon-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\nThe moment news broke of Israel\'s massive assault targeting Lebanon\'s civilians and destroying its painstakingly rebuilt infrastructure on July 12, The Electronic Intifada team moved into high gear. Within hours we launched a dedicated site, Electronic Lebanon, providing eyewitness accounts, commentary and multimedia coverage of the ongoing tragedy. If you value high quality, up-to-date and cutting edge independent analysis of the crises in the region, we urge you to consider supporting us with a contribution today. ';
syndicate.index++;syndicate.article_title[ syndicate.index ] = ' Introducing the Electronic Intifada';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article1387.shtml';
syndicate.article_date[ syndicate.index ] = '1 January 2000';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      \r\n       <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"70\">\r\n         <tr><td>\r\n\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/1/tnintro70.jpg\" alt=\"tnintro70.jpg\" width=\"70\" height=\"70\" />\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\nThe Electronic Intifada (EI) is a not-for-profit, independent publication committed to comprehensive public education on the question of Palestine, the Israeli-Palestinian conflict, and the economic, political, legal, and human dimensions of Israel\'s 40-year occupation of Palestinian territories. EI provides a needed supplement to mainstream commercial media representations of the Israeli-Palestinian conflict.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = ' The Electronic Intifada Team';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article2242.shtml';
syndicate.article_date[ syndicate.index ] = '1 January 2000';
syndicate.article_summary[ syndicate.index ] = 'Bios of members of the Electronic Intifada team.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Contact the Electronic Intifada';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article2163.shtml';
syndicate.article_date[ syndicate.index ] = '1 January 2000';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      \r\n       <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"70\">\r\n         <tr><td>\r\n\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/1/tncontact70.jpg\" alt=\"tncontact70.jpg\" width=\"70\" height=\"70\" />\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\nThe Electronic Intifada welcomes contact. On this page, you will find postal mail, e-mail, and fax contact coordinates for EI for questions, submissions of articles, photographs, or video, and letters for publication in our Letters to EI section. Members of the media and organisations receive priority responses.  If submitting material for publication, please read our Submit Content page first and mark your e-mail clearly as FOR PUBLICATION somewhere in the subject box.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Donate to support the work of the Electronic Intifada';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article2162.shtml';
syndicate.article_date[ syndicate.index ] = '1 January 2000';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      \r\n       <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"70\">\r\n         <tr><td>\r\n\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/1/tndonate70.jpg\" alt=\"tndonate70.jpg\" width=\"70\" height=\"70\" />\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\nDespite its quality, frequency, and outreach, the Electronic Intifada\'s 2002 expenditure was just $39,000.  In 2003, we expect to have spent $50,000, and in 2004 we estimate our needs will reach $60,000.  While our needs are growing, our entire budget could not pay the salary of a single foreign correspondent from a major news organization! This page offers information about EI\'s running costs and ways to support EI financially.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Get E-mail Updates from the Electronic Intifada';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article2164.shtml';
syndicate.article_date[ syndicate.index ] = '1 January 2000';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      \r\n       <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"70\">\r\n         <tr><td>\r\n\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/1/tngetemail70.jpg\" alt=\"tngetemail70.jpg\" width=\"70\" height=\"70\" />\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\nThe Electronic Intifada maintains three e-mail lists, the <i>Newslist of the Electronic Intifada</i> and the <i>Newslist of Electronic Iraq,</i> both of which are general announcement and news lists which keeps you up to date with additions to the sites, important announcements, and general EI news; and the <i>EI/eIraq Weekday Press Picks List,</i> a joint mailing list from the Electronic Intifada and sister Electronic Iraq project, which offers a summary of key media coverage in the Israeli-Palestinian Conflict and the US-Iraq crisis. ';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Six years of Electronic Intifada: Selected milestones 2001-2006';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article1187.shtml';
syndicate.article_date[ syndicate.index ] = '1 January 2000';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      \r\n       <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"70\">\r\n         <tr><td>\r\n\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/1/tnmilestones70.jpg\" alt=\"tnmilestones70.jpg\" width=\"70\" height=\"70\" />\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\nMarking EI\'s fifth anniversary in 2006, we looked back at some of our milestones. The need to provide information and analysis of developments by trusted alternative media sources is greater than ever. The Electronic Intifada has amply demonstrated that it can meet this important challenge with professionalism, very high quality resources, and a timeliness important in the media environment. With your help, we will continue to enhance and expand our important work. This section has continued to be updated and was last added to on 22 February 2006.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Submit Content to the Electronic Intifada';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article1925.shtml';
syndicate.article_date[ syndicate.index ] = '1 January 2000';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      \r\n       <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"70\">\r\n         <tr><td>\r\n\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/1/tnsubmit70.jpg\" alt=\"tnsubmit70.jpg\" width=\"70\" height=\"70\" />\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\nThe Electronic Intifada (EI) welcomes unsolicited text and visual contributions from writers, photographers, multimedia content creators, and film-makers to any of its content feeds. EI puts a high priority on well written original analysis and reportage, contributions from people on the ground in Palestine, and strong visual imagery. Please read this page carefully before submitting material to EI.';
syndicate.index++;syndicate.article_title[ syndicate.index ] = 'Syndicate EI';
syndicate.article_url[ syndicate.index ] = 'http://electronicintifada.net/v2/article2165.shtml';
syndicate.article_date[ syndicate.index ] = '1 January 2000';
syndicate.article_summary[ syndicate.index ] = '         \r\n\r\n      \r\n       <table border=\"0\" cellspacing=\"5\" cellpadding=\"0\" align=\"right\" width=\"70\">\r\n         <tr><td>\r\n\r\n         \r\n         \r\n\r\n         <img src=\"http://electronicintifada.net/artman2/uploads/1/tnsyndicate70.jpg\" alt=\"tnsyndicate70.jpg\" width=\"70\" height=\"70\" />\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\nAnyone managing a website can choose headlines from one or more of our different content sections, and syndicate them on their own websites by pasting some automatically-generated code onto a webpage. When we update our articles, the headlines on your site instantly update. The advantage of this for you is that your page will regularly have fresh content, one of the main reasons that people keep coming back to a website. By mixing our content in with your own, you give people another reason to bookmark your pages.';
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');
