



// 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 Purpose of Education';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Minister_Louis_Farrakhan_9/The_Purpose_of_Education_3897.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 31, 2012 - 11:59:05 AM';
  syndicate.article_summary[ syndicate.index ] = 'Education is supposed to be the proper cultivation of the gifts and talents of the individual through the acquisition of knowledge. Knowledge satisfies our natural thirst for gaining that which will make us one with our Maker. So true education cultivates the person—mind, body and spirit—by bringing us closer to fulfilling our purpose for being, which is to reflect Allah (God).';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'WVON Interview: The Honorable Minister Louis Farrakhan';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Minister_Louis_Farrakhan_9/article_8560.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 27, 2012 - 8:53:22 AM';
  syndicate.article_summary[ syndicate.index ] = 'Brother Cliff: First, thank you so much for the privilege once again in the new year to be at radio station WVON as your guest, and to speak to your wonderful audience. To all that are listening, and to you, Cliff Kelley: I wish all a very prosperous, healthy, happy, productive new year.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = '\'Ayiti Toma\': A Message to The People of Haiti';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Minister_Louis_Farrakhan_9/article_8535.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 19, 2012 - 1:51:26 PM';
  syndicate.article_summary[ syndicate.index ] = 'We have to break the chains that keep us from enjoying the good life. My brothers were angry because it is wrong that a few of us can enjoy a good life, while the masses of our people are suffering. But here’s what I saw when my feet touched the soil of Haiti: I saw a strong and resilient Black people!';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'The Lawful Captive Shall Be Delivered';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Minister_Louis_Farrakhan_9/article_7787.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 11, 2012 - 11:02:03 AM';
  syndicate.article_summary[ syndicate.index ] = 'What is \"Sedition\"? It is \"<em>actions or words intended to incite rebellion against government authority.</em>\" I can\'t tell Black people to fight a war that is Israel\'s war! What kind of leader will you be, or should I be, to allow these babies—Black, White and Brown—to fight Israel\'s war because Zionists dominate the government of the United States of America, and her banking system?';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Men of This World Do Not Desire A Righteous Woman';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Minister_Louis_Farrakhan_9/article_8491.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 3, 2012 - 4:01:47 PM';
  syndicate.article_summary[ syndicate.index ] = 'There are many women today who are taking care of men because they oft-times have better paying jobs. Women are better trained and oft-times better qualified. They have nice cars, homes or apartments and furniture, but the thing that is missing in the home or apartment is a responsible man.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Our Demonstration of Love for The New Year';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Minister_Louis_Farrakhan_9/article_8475.shtml';
  syndicate.article_date[ syndicate.index ] = 'Dec 28, 2011 - 1:09:02 PM';
  syndicate.article_summary[ syndicate.index ] = 'The first day of the New Year should be a day of reflection, a day of prayer, a day of praise and thanks that we were blessed to make it through the last year because there are so many of those that we know, those that we love, who started the New Year with us last year but did not know that it would be the beginning of their last.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Developing a Christ Consciousness In You';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Minister_Louis_Farrakhan_9/article_6622.shtml';
  syndicate.article_date[ syndicate.index ] = 'Dec 22, 2011 - 2:41:40 PM';
  syndicate.article_summary[ syndicate.index ] = 'People say I\'m \"controversial,\" but I\'m only controversial because the wicked know the truth of what I am saying, and they don\'t want my people to hear The Truth that God and the Honorable Elijah Muhammad has placed in my mouth.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'America on the Brink of Anarchy';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Minister_Louis_Farrakhan_9/article_8448.shtml';
  syndicate.article_date[ syndicate.index ] = 'Dec 13, 2011 - 4:33:24 PM';
  syndicate.article_summary[ syndicate.index ] = 'If we don\'t make earnest moves toward real solutions, then each day we move one day closer to revolution and anarchy in this country. This is the sad, and yet potentially joyous, state of America. She stands at the doorway of disaster and yet at the threshold of unlimited progress.&nbsp;It all depends on who is going to guide the country and what kind of guidance he or she will give. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'We Must Become Producers for Our People';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Minister_Louis_Farrakhan_9/article_8412.shtml';
  syndicate.article_date[ syndicate.index ] = 'Dec 6, 2011 - 5:59:04 PM';
  syndicate.article_summary[ syndicate.index ] = 'Are we just in school to get an education so that we can go out and \"get a job\" and \"make some money\" and \"drive in a nice car\" and \"live in a nice home\"—and abandon the ghetto and leave our brothers and sisters behind and think that we\'ve made \"progress\" in the world? Is this what God intended when He asked us to \"go after knowledge from the cradle to the grave\"?';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = '\'The Future of Black People is at Stake: We Must Unite and Pool Resources\'';
  syndicate.article_url[ syndicate.index ] = 'http://www.finalcall.com/artman/publish/Minister_Louis_Farrakhan_9/article_8360.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 30, 2011 - 1:08:26 PM';
  syndicate.article_summary[ syndicate.index ] = 'We have more millionaires, and a few billionaires; and more members of the Black middle class, yet the masses of our people are slipping further and further behind and are deeper and deeper in the valley of poverty and want.';
  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');

