



// 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 ] = 'If the civilized man fails to perform his duty, what must be done?';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/If_the_civilized_man_fails_to_perform_his_duty_wha_879.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 4, 2010 - 6:25:03 PM';
  syndicate.article_summary[ syndicate.index ] = 'The duty of the civilized man is to teach civilization to the uncivilized—the arts and sciences of civilized people and countries of advanced civilization. A well-educated, cultured and courteous people make a beautiful society, when it is spiritual.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Patience, preparation and work needed to reach the ultimate goal';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6767.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 4, 2010 - 6:23:34 PM';
  syndicate.article_summary[ syndicate.index ] = 'The greater the good one seeks to do the greater the trials one must endure. The more worthy the goal of the good one seeks to do, the greater the effort one must put forth to succeed in the doing of that good.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Why Are the Gods at War?';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6768.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 4, 2010 - 6:22:38 PM';
  syndicate.article_summary[ syndicate.index ] = 'What we have witnessed or are witnessing in Haiti\'s disastrous earthquake and the aftermath is not only the starving but demonstrates how the Western powers are engaged in controlling and manipulating the government and people of so-called Third World countries.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'The worst is yet to come';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/The_worst_is_yet_to_come_1694.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 3, 2010 - 11:34:07 AM';
  syndicate.article_summary[ syndicate.index ] = 'According to radio and television; and according to individual conversation; and according to conversation heard between government officials concerning their problem of trying to find a way to peace for their people, and a way to find stoppage of the fall of their money market and unemployment.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Bearing witness, to the work and identity of Min. Farrakhan';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6756.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 3, 2010 - 11:24:47 AM';
  syndicate.article_summary[ syndicate.index ] = 'There\'s no way for any of us, to really not know and then understand the situation “we” are all in, unless you and/or your families and friends don\'t study and/or you reject the message that Minister Farrakhan has been delivering all over the earth, especially in America.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'The Gods at War!';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6757.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 3, 2010 - 11:23:44 AM';
  syndicate.article_summary[ syndicate.index ] = 'The Honorable Elijah Muhammad prior to his departure warned us for many decades that the devil was preparing biochemical warfare in the atmosphere, weather modification devices and underground explosives in his attempt to take us off the planet.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'First, Love Yourself';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/First_Love_Yourself_by_The_Most_Honorable_Elijah_M_1459.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 25, 2010 - 2:47:12 PM';
  syndicate.article_summary[ syndicate.index ] = 'Love yourself and your kind. Let us refrain from doing evil to each other and let us love each other as brothers, as we are the same flesh and blood. In this way, you and I will not have any trouble in uniting. It is a fool who does not love himself and his people. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'The modern day Moses, Aaron and efforts to save a rebellious people';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6748.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 25, 2010 - 2:40:26 PM';
  syndicate.article_summary[ syndicate.index ] = 'The Hon. Elijah Muhammad in a certain section of his talk referred to the attacks that were put on him by hypocrites. As far as I know there were many ministers who fought them publicly. I was one of them.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Eighty-year Timeline of History for the Nation of Islam in America--1930 - 2010';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6749.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 25, 2010 - 2:39:22 PM';
  syndicate.article_summary[ syndicate.index ] = 'According to the Honorable Elijah Muhammad, we can expect a complete change at any time now which would cancel out the remaining number of years in this present calendar cycle.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'For Freedom, Justice, Equality';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6737.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 19, 2010 - 10:17:24 AM';
  syndicate.article_summary[ syndicate.index ] = 'The suffering of my people in trying to force themselves on the White man in the South and elsewhere as their brothers and sisters is to be pitied. I, for one, have true love for them, and I pity them.';
  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 + '">');
// document.write('<a href="#" target="_blank">');
// document.write('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
// document.write('<p><b>Powered by FinalCall.com News</b></font></a>');
// document.write('<br><br></b></font></td></tr>\n');
