



// 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 ] = 'NOT AGAIN?!?';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_From_The_Other_Side_767/NOT_AGAIN.htm';
  syndicate.article_date[ syndicate.index ] = 'Mar 12, 2008 - 4:03:40 PM';
  syndicate.article_summary[ syndicate.index ] = 'Billy Gunn. Scott Hall. And once again, Jeff Hardy. What do these three have in common? How about taking their careers and potentially throwing them away. My reaction to Jeff Hardy\'s 60-day suspension.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Paul Heyman Hustles';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_From_The_Other_Side_767/Paul_Heyman_Hustles.htm';
  syndicate.article_date[ syndicate.index ] = 'Feb 25, 2008 - 3:14:09 AM';
  syndicate.article_summary[ syndicate.index ] = 'With the impending debut of the Heyman Hustle having come and gone in the Sun newspaper in London, I revisit a Q&A between the Sun newspaper and the former architect of ECW himself, Paul Heyman.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Raul\'s Rants and Ramblings (02/21/2008)';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_From_The_Other_Side_767/Raul_s_Rants_and_Ramblings_02_21_2008.htm';
  syndicate.article_date[ syndicate.index ] = 'Feb 21, 2008 - 3:29:09 AM';
  syndicate.article_summary[ syndicate.index ] = 'SmackDown! may very well be leaving the CW Network in September. However, could their move mark the end of SmackDown! in Utah permanently? My thoughts on that, plus Floyd Mayweather, John Cena, TNA, and more.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Is Pro Wrestling Going to the Dogs?';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_From_The_Other_Side_767/Is_Pro_Wrestling_Going_to_the_Dogs.htm';
  syndicate.article_date[ syndicate.index ] = 'Feb 2, 2008 - 3:39:29 AM';
  syndicate.article_summary[ syndicate.index ] = 'WARNING: The following article you are about to read is an impassioned, emotional rant that is themed to the tune of the recent State of the Union address and the upcoming Westminster Dog Show that claims that wrestling may be going to the dogs, so to speak. <br/>\n';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'RAW is HD/Rumble Predictions';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_From_The_Other_Side_767/RAW_is_HD_Rumble_Predictions.htm';
  syndicate.article_date[ syndicate.index ] = 'Jan 22, 2008 - 1:21:49 AM';
  syndicate.article_summary[ syndicate.index ] = 'Indeed, the transition is complete. WWE is now broadcasting in high-definition. And since it was my day off yesterday, I got a chance to check it out. My thoughts on that and the Royal Rumble this Sunday can be found here.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Dixie Carter\'s Wake-Up Call';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_From_The_Other_Side_767/Dixie_Carter_s_Wake-Up_Call.htm';
  syndicate.article_date[ syndicate.index ] = 'Jan 3, 2008 - 4:36:35 PM';
  syndicate.article_summary[ syndicate.index ] = 'After seeing a very unsettling decline in the quality of the TNA product, I\'m now forced to give a wake-up call to the head of TNA management, Dixie Carter. A very impassioned way to start 2008.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'The 2007 WRES-PYs: Storylines/Wrestlers Present and Future';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_From_The_Other_Side_767/The_2007_WRES-PYs_Storylines_Wrestlers_Present_and_Future.htm';
  syndicate.article_date[ syndicate.index ] = 'Dec 18, 2007 - 3:01:10 AM';
  syndicate.article_summary[ syndicate.index ] = 'The third and final installment of the 2007 WRES-PY awards is here.  Which storylines or rivalries gave us fans the most entertainment bang for our buck?  Who was the best wrestler of 2007?  Who could be on the rapid rise in 2008?  All of these questions are answered.  You just have to read to find out.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'The 2007 WRES-PYs: Heels/Faces/Entrances';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_From_The_Other_Side_767/The_2007_WRES-PYs_Heels_Faces_Entrances.htm';
  syndicate.article_date[ syndicate.index ] = 'Dec 14, 2007 - 2:50:46 AM';
  syndicate.article_summary[ syndicate.index ] = 'Part Two of the 2007 WRES-PY awards columns takes some time to pay homage to the wrestlers that do the best job of getting our attention.  Whether it be with a wicked-cool entrance, by earning our admiration and support, or by earning our complete and total disgust and heat, this is their day today!';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'The 2007 WRES-PYs: Announcers/Moves/Worst Idea';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_From_The_Other_Side_767/The_2007_WRES-PYs_Worst_Idea_Best_Worst_Announcer_Best_Move.htm';
  syndicate.article_date[ syndicate.index ] = 'Dec 9, 2007 - 3:07:43 AM';
  syndicate.article_summary[ syndicate.index ] = 'The 2007 WRES-PY Awards have begun to be handed out.  Today is Part 1, as I hand out the awards for the Best Announcer, as well as the worst, the Worst Idea of 2007, and Best Wrestling Move.  Good stuff inside.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Things to Be Thankful For';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_From_The_Other_Side_767/Things_to_Be_Thankful_For.htm';
  syndicate.article_date[ syndicate.index ] = 'Nov 22, 2007 - 7:21:03 PM';
  syndicate.article_summary[ syndicate.index ] = 'As wrestling fans, there is just so much to be thankful for right now.  I will take a look as to what I\'m thankful for, and then make a major announcement at the end of this column.  Happy Thanksgiving everybody, and try not to trample each other this weekend during those Black Friday sales.';
  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 = '#003366'; }
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] + '">');
  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 YourSite.com</b></font></a>');
//document.write('<br><br></b></font></td></tr>\n');

