



// 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 ] = 'Daily and Weekly Updates';
  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 1, 2012 - 12:18:00 AM';
  syndicate.article_summary[ syndicate.index ] = '\n\n\n\n\n\n\n<span style=\"font-size: 10pt; font-family: Arial;\">\n	\n	\n	\n	\n	\n	\n	<span style=\"font-weight: bold;\"></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 Racing List Updates</a> | <a href=\"http://www.dragphoto.com/\" target=\"_blank\">D</a><a href=\"http://www.dragphoto.com/\" target=\"_blank\">rag Racing Photos</a> | \n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	<span style=\"font-size: 10pt;\"><a href=\"http://www.dragblog.com/\" target=\"_blank\">Daily Drag Racing News</a> | <a href=\"http://draglist.com/phpBB3/search.php?search_id=newposts\" target=\"_blank\">Message Board</a> | <a href=\"http://www.digitalwebzone.com/draglist/search.php\" target=\"_blank\">Search Drag Lists</a> | <a href=\"http://www.draglist.com/draglist/draglist.php\" target=\"_blank\">Drag Lists by Category</a> | \n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		<span style=\"text-decoration: underline;\"></span><a href=\"http://www.draglist.com/headlines.htm\" target=\"_blank\">Draglist </a><a href=\"http://www.draglist.com/headlines.htm\" target=\"_blank\">Headlines for Your Site</a> | <a href=\"http://www.racingjunk.com/?aid=31350\" target=\"_blank\">RacingJunk Classifieds</a> | <a href=\"http://www.edrags.com/\" target=\"_blank\">eDrags.com</a> | <a href=\"http://www.draglist.com/draglist/admin/index.php\" target=\"_blank\">A</a><a href=\"http://www.draglist.com/draglist/admin/index.php\" target=\"_blank\">dmin</a> | \n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		\n		<span style=\"font-size: 10pt;\"></span><a href=\"http://visitor.constantcontact.com/email.jsp?m=1101738017596&amp;p=oi\" target=\"_blank\">Get Email Updates</a> | <a href=\"http://www.facebook.com/pages/Drag-Racing-List/85087049224?ref=ts\" target=\"_blank\">Facebook</a> | <a href=\"http://www.twitter.com\" target=\"_blank\">Twitter</a></span> | <a href=\"http://dragracersreunion.ning.com/\" target=\"_blank\">Drag Racers Reunion</a> | <a href=\"http://archives.zeusradio.com/category/racers-reunion/racin-and-rockin-with-draglist-com/\" target=\"_blank\">Archived Draglist Radio Shows</a> | \n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	\n	<span style=\"font-size: 10pt;\"><a href=\"http://www.draglist.com/artman2/publish/drl_notes/Drag_Racing_Daily_Blog_1699.shtml\" target=\"_blank\">Other Draglist Sections</a></span></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = '11TH ANNUAL YORK REUNION JULY 13-14, 2012';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/press_releases/11TH_ANNUAL_YORK_REUNION_JULY_13-14_2012.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 1, 2012 - 3:33:50 PM';
  syndicate.article_summary[ syndicate.index ] = '\n<span style=\"font-family: Arial;\">The 11th Annual Musclecar Madness at \nthe York Reunion will be presented on July 13-14, 2012 at the York \nFairgrounds, York Expo Center with a stellar line-up of legendary race \ncars and legends of drag racing. The annual event features a Salute to \nPontiac with an appearance both days by Pontiac legend Arnie “The \nFarmer” Beswick and several of his legendary race cars.</span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Becky White and Jeff & Leeza Diehl on Racin\' & Rockin\' February 6';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/race_rock/Becky_White_and_Jeff_Leeza_Diehl_on_Racin_Rockin_February_6.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 31, 2012 - 12:33:37 AM';
  syndicate.article_summary[ syndicate.index ] = '\n\n<span style=\"font-family: Arial;\">Join us on February 6 as famous editor of Quick Times Racing News, Becky White, will join us to share her unvarnished view of drag racing then and now! And Jeff and Leeza Diehl will join us to talk about West Coast fuel funny car racing, rock music, and kustom ladies accessories! John Bockelman will take us behind the songs of 1995 and then we\'ll play three hours of 1995 songs on our after party!</span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Joe Lepone and Dale Broderick on Racin\' & Rockin\' January 30';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/race_rock/Joe_Lepone_and_Dale_Broderick_on_Racin_Rockin_January_30.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 25, 2012 - 8:32:40 PM';
  syndicate.article_summary[ syndicate.index ] = '\n<span style=\"font-family: Arial;\">Join us on Monday, January 30, as Chevy superstar Joe Lepone drops in to talk about his legendary Pro Stock career and his new foray into Pro Mod racing! And Dale Broderick will share tales of crisscrossing the East Coast with his amazing Candy Apple Red blown Fiat fuel coupe with Ellen and Pennie the puppy in tow! PLUS John Bockelman gives us his behind the scenes look at the songs of 1970 and our three hour music after party!</span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Bob Frey and Jerry Hancock on Racin\' & Rockin\' January 23';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/race_rock/Bob_Frey_and_Jerry_Hancock_on_Racin_Rockin_January_23.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 21, 2012 - 12:49:48 AM';
  syndicate.article_summary[ syndicate.index ] = '\n\n\n<span style=\"font-family: Arial;\">NHRA announcing and TV superstar Bob Frey joins us for an entertaining chat! We will track Bob\'s career and get his take on modern drag racing. Northwest sportsman racer Jerry Hancock is among an elite group of Stock, Super Stock and Comp racers that can win anywhere and anytime. AND John Bockelman\'s behind the scenes look at the songs of 1966 and our three hour music after party!</span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'AEM Releases the Dyno-Shaft On-Vehicle Dynamometer System';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/press_releases/AEM_Releases_the_Dyno-Shaft_On-Vehicle_Dynamometer_System.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 20, 2012 - 8:27:12 PM';
  syndicate.article_summary[ syndicate.index ] = '\n<span style=\"font-size: 10pt; font-family: Arial;\">The Dyno-Shaft is a true on-vehicle dynamometer system\nthat delivers Horsepower and Torque numbers as accurately as the most respected\ndynamometers, with the major advantage being that it measures power while the\nvehicle is under operation in real-world conditions.</span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Becky White\'s Acceptance Speech';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/daily_stories/Becky_White_s_Acceptance_Speech.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 19, 2012 - 12:26:03 AM';
  syndicate.article_summary[ syndicate.index ] = '\n<span style=\"font-family: Arial;\">Becky White of Quick Times Racing News recently received the first Jeff Byrd Memorial Lifetime Achievement Award at the North Carolina Motorsports Hall of Fame. Congrats, Becky! Here is her acceptance speech.</span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Terrible Tom Barnhill and Jim Harnsberger on Racin\' & Rockin\' January 16';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/race_rock/Terrible_Tom_Barnhill_and_Jim_Harnsberger_on_Racin_Rockin_January_16.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 13, 2012 - 12:00:11 AM';
  syndicate.article_summary[ syndicate.index ] = '\n<span style=\"font-family: Arial;\">Top fuel racers and restorers Terrible Tom &amp; Barb Barnhill will join us to discuss their current top fuel projects (pictured). And 1971 Summernationals Top Fuel runner up Jim Harnsberger will take us back to the glory days of top fuel. Plus John Bockelman\'s behind the scenes look at the songs of 1969 and our three hour music after party!</span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Dave Hales, Fred Bear, and Gene Altizer on Racin\' and Rockin\' January 9';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/race_rock/Dave_Hales_Fred_Bear_and_Gene_Altizer_on_Racin_and_Rockin_January_9.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 5, 2012 - 12:06:54 AM';
  syndicate.article_summary[ syndicate.index ] = '\n\n<span style=\"font-family: Arial;\">Three legendary members of the S&amp;S Gasser Gang join us for the entire show! Dave Hales, Fred Bear, and Gene Altizer will be on hand to share their tales from barnstorming the nation\'s drag strips over six decades! Plus John Bockelman\'s behind the scenes look at the songs of the era, and our three hour music after party!</span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = '2012 Hangover Nationals Day Two Photos';
  syndicate.article_url[ syndicate.index ] = 'http://www.draglist.com/artman2/publish/photo_review/2012_Hangover_Nationals_Photos_Day_Two.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 1, 2012 - 11:58:32 PM';
  syndicate.article_summary[ syndicate.index ] = '\n\n<span style=\"font-family: Arial;\">Bob Snyder sent these select shots from the Hangover \nNationals Day Two at Speedworld Arizona. Thanks again to Big Bob for kicking off the racing season in grand style!</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');

