



// 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 ] = 'This is it!';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_Linda_s_Thoughts_511/This_is_it.htm';
  syndicate.article_date[ syndicate.index ] = 'Oct 14, 2009 - 5:57:11 PM';
  syndicate.article_summary[ syndicate.index ] = 'This is Linda Robin\'s last column. She has her reasons, which you will read about here. I would just like to thank her for her dedication over the years, and hope that one day we will be able to once again read \"Linda\'s Thoughts.\" ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'HIAC/Raw';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_Linda_s_Thoughts_511/HIAC_Raw.htm';
  syndicate.article_date[ syndicate.index ] = 'Oct 7, 2009 - 9:48:07 PM';
  syndicate.article_summary[ syndicate.index ] = 'Hey, this will shock you I liked HIAC and I also liked Raw. What? Does that mean there won’t be a list? It sure does mean that. I have to say I was quite happy with both shows, but not too happy about how many I got right on Sunday. I only got three right, so let’s move on.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Hell in a Cell predictions';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_Linda_s_Thoughts_511/Hell_in_a_Cell_predictions.htm';
  syndicate.article_date[ syndicate.index ] = 'Oct 4, 2009 - 7:22:16 PM';
  syndicate.article_summary[ syndicate.index ] = 'Before I give you my predictions for tonight’s show there are two things that I want to mention. The first is my comment this past week about Bret Hart and his lack of charisma. I really felt bad that I said that, and I want to apologize for putting it out there. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Let\'s talk about something either than Raw';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_Linda_s_Thoughts_511/Let_s_talk_about_something_either_than_Raw.htm';
  syndicate.article_date[ syndicate.index ] = 'Sep 30, 2009 - 11:05:15 PM';
  syndicate.article_summary[ syndicate.index ] = 'It would be SO easy for me to do another dreaded list about Monday’s Raw, but why should I put all of you through that again? The show was an absolute train wreck. The last Raw before Hell In A Cell, and this is the show we got? It’s beyond pathetic.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SD/Oh oh, another list';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_Linda_s_Thoughts_511/SD_Oh_oh_another_list.htm';
  syndicate.article_date[ syndicate.index ] = 'Sep 28, 2009 - 1:42:46 PM';
  syndicate.article_summary[ syndicate.index ] = 'Okay it’s not the time to panic yet, and yet is the key word, but I’m starting to feel that SmackDown! is losing the wonderful momentum it has had for months and it’s slowly getting back to the SmackDown! that was just bearable to watch. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Unfortunately, another bad Raw';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_Linda_s_Thoughts_511/Unfortunately_another_bad_Raw.htm';
  syndicate.article_date[ syndicate.index ] = 'Sep 22, 2009 - 6:27:38 PM';
  syndicate.article_summary[ syndicate.index ] = 'Before I start the list of hell, I wanted to tell you the reason why I have kept a low profile, or basically the reason why I haven’t posted any columns since my Breaking Point Predictions. I have been sick with Bronchitis. Tomorrow will be two weeks since it hit me. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'My Breaking Point predications';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_Linda_s_Thoughts_511/My_Breaking_Point_predications.htm';
  syndicate.article_date[ syndicate.index ] = 'Sep 13, 2009 - 11:27:57 PM';
  syndicate.article_summary[ syndicate.index ] = 'Wow, another pay per view tonight. It seems like we just had one three weeks ago, oh wait we did, Summer Slam. I remember when this pay per view was called Unforgiven, but now it’s called Breaking Point. And this show has quite a few submission matches. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'I was at Raw, and did I have a blast';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_Linda_s_Thoughts_511/I_was_at_Raw_and_did_I_have_a_blast.htm';
  syndicate.article_date[ syndicate.index ] = 'Sep 9, 2009 - 2:18:23 AM';
  syndicate.article_summary[ syndicate.index ] = 'Come on down. Hey, can you tell I’m still on a high from being at last night’s Raw? Oh my God this show was so much fun to attend, my son, his girlfriend and I loved just about everything that we saw. And what wasn’t good was so minor that all the positive things buried them. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'You\'ve got to love SmackDown!';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_Linda_s_Thoughts_511/You_ve_got_to_love_SmackDown.htm';
  syndicate.article_date[ syndicate.index ] = 'Sep 6, 2009 - 11:30:32 PM';
  syndicate.article_summary[ syndicate.index ] = 'OK, I missed a Raw column this week, but honestly I think I did you all a favor. If I had written one, believe me it would have been anything but kind. But I couldn\'t wait to talk about SmackDown!';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Goodbye for now, Jeff';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/Columnists_Linda_s_Thoughts_511/Goodbye_for_now_Jeff.htm';
  syndicate.article_date[ syndicate.index ] = 'Sep 1, 2009 - 10:31:17 AM';
  syndicate.article_summary[ syndicate.index ] = 'What a feud, what a show. Of course I\'m talking about SmackDown! and the rivalry between CM Punk and Jeff Hardy. I have so many positive things to say about almost everything that we got, and even the worst parts of the show didn\'t add up to very much.';
  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');

