



// 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 ] = 'The Sure Truth';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/The_Sure_Truth_1214.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 16, 2010 - 1:59:03 PM';
  syndicate.article_summary[ syndicate.index ] = 'Everything mentioned in the Bible and Holy Qur’an, such as plagues and judgments taking place in ancient times of the Bible and Holy Qur’an against the opponents of Allah, is to warn you and me that the same thing is coming upon America and Europe, but America is No. 1 (first). ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'The Time and the Hour and What Must Be Done';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6824.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 16, 2010 - 1:51:23 PM';
  syndicate.article_summary[ syndicate.index ] = 'I would like to take our readers into a deeper understanding, by the help of Almighty God Allah, into the meaning of this past Saviours\' Day timeline event of 80 years—1930 to 2010.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Have you considered the Whys of God?';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6825.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 16, 2010 - 1:43:11 PM';
  syndicate.article_summary[ syndicate.index ] = 'I believe anybody reading this article will agree that the “whys” of anybody else are totally different from the “Whys” of God. We also must agree that our “whys” do not equal, the “whys” of God. The “whys of God” was part of a statement that came to me from the Honorable Elijah Muhammad in 1967. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Men\'s Hearts Failing: Fear';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6807.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 9, 2010 - 4:24:24 PM';
  syndicate.article_summary[ syndicate.index ] = 'The die is set, with a foolish people, who like, in the time of Noah, could not see the sign of the rain, bringing on the Flood even after the clouds began to darken the sky. They did not see the on-coming rain until it actually started to rain. So it is with America.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'A Man and a Nation to rise and never fall again ';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6806.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 9, 2010 - 4:11:44 PM';
  syndicate.article_summary[ syndicate.index ] = 'The Honorable Elijah Muhammad use to say that some, if not most of his best followers were still in the streets. He was saying that many of us who said we were with him were not as sincere as we claimed. He was no fool. Nor was he náive. He knew people altogether. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'A Time Travel Experience Covering 80 Years and Beyond! ';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6805.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 9, 2010 - 3:54:42 PM';
  syndicate.article_summary[ syndicate.index ] = 'What we witnessed at this year\'s Saviours\' Day Event was spiritually transformative at such a rapid pace that we truly entered multidimensional space-time directed by the Almighty presence of Allah, God, at this precise moment in the history of the world with 100 percent dissatisfaction. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'A Guided Servant of Allah and His Messenger';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6792.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 26, 2010 - 1:59:28 PM';
  syndicate.article_summary[ syndicate.index ] = 'This is one of the strongest national preachers I have in the bounds of North America. Everywhere you hear him, listen to him. Everywhere you see him, look at him. Everywhere he advises you to go, go.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Celebrating the 80th Anniv. of the Nation of Islam';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6791.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 26, 2010 - 1:37:17 PM';
  syndicate.article_summary[ syndicate.index ] = 'As we celebrate this 80<sup>th</sup> celebration of the Nation of Islam\'s birth in America, beginning in 1930, we will soon come to know what the present hour and time holds for us.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'The Coming Of Allah (GOD)';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/The_Coming_Of_Allah_GOD_5365.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 15, 2010 - 8:55:06 AM';
  syndicate.article_summary[ syndicate.index ] = 'The whole world has been and is looking for the coming of God. Several places in both the Bible and the Holy Qur’an refer to the coming of Allah (God). “The Coming of the Son of Man.”norable Elijah Muhammad';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Proper communication and understanding the time';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Columns_4/article_6778.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 15, 2010 - 8:53:19 AM';
  syndicate.article_summary[ syndicate.index ] = 'What does the word “communication” mean? It means, according to one dictionary, “the imparting of information or news; the successful conveying or sharing of ideas and feelings.” Communication also means “of connection between people or places, in particular.”';
  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');
