



// 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 ] = 'Drag Racing Daily Briefing';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/drl_notes/Drag_Racing_Daily_Blog_1699.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 3, 2010 - 12:18:00 AM';
  syndicate.article_summary[ syndicate.index ] = '\n<span style=\"FONT-SIZE: 10pt; FONT-FAMILY: Arial\"><a href=\"http://www.dragblog.com/\" target=\"_blank\">Drag Blog</a> \n	<span style=\"FONT-SIZE: 10pt\"></span>\n	<span style=\"FONT-SIZE: 10pt\">| </span><a href=\"http://draglist.com/phpBB3/search.php?search_id=newposts\" target=\"_blank\">Message Board</a> \n	<span style=\"FONT-SIZE: 10pt\"></span>\n	<span style=\"FONT-SIZE: 10pt\">| </span><a href=\"http://www.draglist.com/draglist/search.php?SORTBY=LASTUPDATE&amp;ASCDESC=DESC&amp;search=Search&amp;VIEW=Extended\" target=\"_blank\">Latest Drag List Updates </a>\n	<span style=\"FONT-SIZE: 10pt\">| </span><a href=\"http://www.digitalwebzone.com/draglist/search.php\" target=\"_blank\">Search&nbsp;Drag Lists</a> \n	<span style=\"FONT-SIZE: 10pt\"></span>\n	<span style=\"FONT-SIZE: 10pt\">| </span><a href=\"http://www.draglist.com/draglist/draglist.php\" target=\"_blank\">Racer Lists and Rankings</a> \n	<span style=\"FONT-SIZE: 10pt\"></span>\n	<span style=\"FONT-SIZE: 10pt\">| </span><a href=\"http://www.draglist.com/cgi-bin/artman2/exec/syndicate.cgi\" target=\"_blank\">Draglist Headlines for Your Site</a> \n	<span style=\"FONT-SIZE: 10pt\"></span>\n	<span style=\"FONT-SIZE: 10pt\"></span>\n	<span style=\"FONT-SIZE: 10pt\"></span><a href=\"http://www.racingjunk.com/?aid=31350\" target=\"_blank\">Photo Classifieds</a> \n	<span style=\"FONT-SIZE: 10pt\"></span>\n	<span style=\"FONT-SIZE: 10pt\">| </span><a href=\"http://www.dragphoto.com/\" target=\"_blank\">Drag Racing Photos</a> \n	<span style=\"FONT-SIZE: 10pt\"></span>\n	<span style=\"FONT-SIZE: 10pt\">| </span><a href=\"http://www.edrags.com/\" target=\"_blank\">eDrags.com</a> \n	<span style=\"FONT-SIZE: 10pt\"></span>\n	<span style=\"FONT-SIZE: 10pt\"></span>\n	<http: www.draglist.com=\"\" draglist=\"\" search.php?sortby=\"LASTUPDATE&amp;ASCDESC=DESC&amp;search=Search&amp;VIEW=Extended\"></http: www.draglist.com=\"\" draglist=\"\" search.php?sortby=\"lastupdate&amp;ascdesc=desc&amp;search=search&amp;view=extended\">\n	<span style=\"FONT-SIZE: 10pt\"></span>\n	<span style=\"FONT-SIZE: 10pt\">| </span><a href=\"http://www.draglist.com/draglist/admin/index.php\" target=\"_blank\">Admin</a> \n	<span style=\"FONT-SIZE: 10pt\">| </span></span>\n<span style=\"FONT-SIZE: 10pt; FONT-FAMILY: Arial\">\n	<span style=\"FONT-SIZE: 10pt\"></span><a href=\"http://www.draglist.com/artman2/publish/drl_notes/Drag_Racing_Daily_Blog_1699.shtml\" target=\"_blank\">MORE</a></span> \n<span style=\"FONT-SIZE: 10pt; FONT-FAMILY: Arial\">\n	<span style=\"FONT-SIZE: 10pt\">\n		<span style=\"FONT-WEIGHT: bold\">Follow us: </span></span></span>\n<span style=\"FONT-SIZE: 10pt; FONT-FAMILY: Arial\"><a href=\"http://visitor.constantcontact.com/email.jsp?m=1101738017596&amp;p=oi\" target=\"_blank\">Mailing List </a>\n	<span style=\"FONT-SIZE: 10pt\"></span>\n	<span style=\"FONT-SIZE: 10pt\">| </span></span>\n<span style=\"FONT-SIZE: 10pt; FONT-FAMILY: Arial\">\n	<span style=\"FONT-SIZE: 10pt\"></span><a href=\"http://www.facebook.com/pages/Drag-Racing-List/85087049224?ref=ts\" target=\"_blank\">Facebook</a> \n	<span style=\"FONT-SIZE: 10pt\">| </span><a href=\"http://www.twitter.com\" target=\"_blank\">Twitter</a></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = '2010 Best of Times Nationals Kicks Off Inaugural Draglist Nats EAST';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/drl_notes/2010_Best_of_Times_Nationals_is_Inaugural_Draglist_Nats_EAST.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 3, 2010 - 12:00:32 AM';
  syndicate.article_summary[ syndicate.index ] = '\n<span style=\"FONT-FAMILY: Arial\">Draglist.com is proud to join the 2010 Best of Times Nostalgia Nationals at Virginia Motorsports Park on May 14-16, 2010! As part of this great event, we will promote the inaugural Draglist Nationals -- EAST! Looking forward to seeing all our great East Coast drag racing friends at this fantastic event. Look for more info as the date gets closer.</span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = '2010 IHRA Palm Beach Saturday Results';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/race_results/2010_IHRA_Palm_Beach_Saturday_Results.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 30, 2010 - 11:26:23 PM';
  syndicate.article_summary[ syndicate.index ] = '\n<span style=\"FONT-FAMILY: Arial\">Saturday results from the inaugural IHRA Nitro Jam event at Palm Beach International Raceway in West Palm Beach, Florida.</span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = '2010 IHRA Palm Beach Friday Results';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/race_results/2009_IHRA.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 30, 2010 - 12:51:15 AM';
  syndicate.article_summary[ syndicate.index ] = 'Day one results from the 2010 IHRA Nitro Jam event at West Palm Beach, Florida.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = '80s Funny Cars, Northeast Part 2';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/daily_stories/80_s_Funny_Cars_Northeast_Part_2.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 28, 2010 - 11:06:45 PM';
  syndicate.article_summary[ syndicate.index ] = 'In this round of 80s Funny cars, we go back to the Northeast and feature the Arrows of R.C Sherman, Jim Wemett, Tom Gambardella, and Bobby Lagana. The Challengers of Gary Richards and Frank Kramberger are showcased, as are the GM products of Jerry Caminito, Nick Boninfante, and Chuck Etchells, and the lone Ford of Joe Amato.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Fuel Altered Files, Part 10';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/daily_stories/Fuel_Altered_Files_Part_10.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 25, 2010 - 9:13:42 PM';
  syndicate.article_summary[ syndicate.index ] = '\n<span style=\"FONT-FAMILY: Arial\">In the newest round of the Fuel Altered Files, we cover Lefty Mudersbach, Pipins &amp; Green, The Bad News Fiat, The Mother-In-Law, Stan Rosen\'s Altered Ego, Bill Ranney\'s High Plains Drifter, The Old Glory Fiat, The Nitro Coupe, plus the injected nitro cars of Ian Splatt and Don Scott. </span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'NAPA Auto Parts National Time Trials, Day 3';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/race_results/NAPA_National_Time_Trials_at_Firebird_International_Raceway_Day_3.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 24, 2010 - 8:18:10 PM';
  syndicate.article_summary[ syndicate.index ] = '\n<span style=\"FONT-FAMILY: Arial\">Lightning nearly struck twice Sunday afternoon during the NAPA Auto Parts National Time Trials at Firebird International Raceway.</span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = ' NAPA Auto Parts National Time Trials, Day 2';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/race_results/NAPA_Auto_Parts_National_Time_Trials_Day_2.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 23, 2010 - 9:26:15 PM';
  syndicate.article_summary[ syndicate.index ] = '\n<span style=\"font-family: Arial;\">Near the end of a chilly Saturday\ntesting session during the 2010 NAPA Auto Parts National Times, a drag\nracing legend and the rest of his team decided to steal the show and\ndelight the remaining Firebird International Raceway crowd.</span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = '2010 Hangover Nationals Photos';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/photo_review/2010_Hangover_Nationals_Photos.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 23, 2010 - 4:23:53 PM';
  syndicate.article_summary[ syndicate.index ] = '\n<span style=\"font-family: Arial;\">Big Bob Snyder worked got up bright and\nearly on New Year\'s Day to give us the first great photos of the new\ndecade from Speedworld Dragway in Arizona: </span><a href=\"http://tinyurl.com/ylnmhax\" style=\"font-family: Arial;\">\n	<span style=\"font-weight: bold;\">http://tinyurl.com/ylnmhax</span></a>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Zappy Does the Winternationals Golf Cart Drags';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/daily_stories/Zappy_Does_the_Winternationals_Golf_Cart_Drags.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 13, 2010 - 6:21:05 AM';
  syndicate.article_summary[ syndicate.index ] = '\n<span style=\"FONT-SIZE: 10pt; FONT-FAMILY: Arial\">Inimitable Draglist Super Crew team member ZAPPY took up Daryl Arnold on his offer to drive one of the Team CCM Golf Carts at the recent Golf Cart Winternationals in Ohio. As expected, hilarity ensued.</span>';
  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 Draglist.com</b></font></a>');
document.write('<br><br></b></font></td></tr>\n');
