



// 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 ] = 'Paramedics reunited with woman they saved - North Carolina';
//  syndicate.article_url[ syndicate.index ] = 'http://www.wcnc.com/news/local/stories/wcnc-031307-jmn-medics.b719da7.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25797';
  syndicate.article_date[ syndicate.index ] = 'Mar 13, 2007';
  syndicate.article_summary[ syndicate.index ] = '<p>Day in and day out, paramedics tend to the wounded and drop them off at the emergency room. Rarely do they get the chance to learn of their patient’s outcome, to see if they survived.</p>';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Long-time volunteer helps save his own wife\'s life - Pennsylvania';
//  syndicate.article_url[ syndicate.index ] = 'http://www.therecordherald.com/articles/2007/03/13/local_news/news02.txt';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25788';
  syndicate.article_date[ syndicate.index ] = 'Mar 13, 2007';
  syndicate.article_summary[ syndicate.index ] = 'Three decades of emergency medical training came full circle for Bill Little in January when he made the call of his life.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'EMS: Courage And Compassion In Action';
//  syndicate.article_url[ syndicate.index ] = 'http://www.iberkshires.com/story.php?story_id=22542';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25802';
  syndicate.article_date[ syndicate.index ] = 'Mar 13, 2007';
  syndicate.article_summary[ syndicate.index ] = 'A&nbsp;weekly column written by Village Ambulance Services Operations Manager and paramedic Shawn Godfrey.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Making A Difference: Crew Saves Baby During Snowstorm - Wisconsin';
//  syndicate.article_url[ syndicate.index ] = 'http://www.wkowtv.com/News/index.php?ID=9961';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25758';
  syndicate.article_date[ syndicate.index ] = 'Mar  8, 2007';
  syndicate.article_summary[ syndicate.index ] = 'It took one dispatcher, two snow plow drivers, and five emergency officials. (w/video) ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Singing firefighter/paramedic Billy Scroggs holds benefit concert - Tucson, Arizona';
//  syndicate.article_url[ syndicate.index ] = 'http://www.azstarnet.com/allheadlines/172289';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25743';
  syndicate.article_date[ syndicate.index ] = 'Mar  8, 2007';
  syndicate.article_summary[ syndicate.index ] = 'His single, "It\'s My Turn," and the music video earned Scroggs a spot in the \nMusic City Madness talent contest sponsored by Country Music Television. Scroggs \nalso can be heard singing to patients in the back of an ambulance. ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = '"The Call." ';
//  syndicate.article_url[ syndicate.index ] = 'http://www.defrance.org/artman/publish/article_1775.shtml';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25745';
  syndicate.article_date[ syndicate.index ] = 'Mar  8, 2007';
  syndicate.article_summary[ syndicate.index ] = 'LA EMT\'s to offer up laughs';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Glen Oaks medical program offers opportunity - Glen Oaks, Louisiana';
//  syndicate.article_url[ syndicate.index ] = 'http://www.2theadvocate.com/features/6369912.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25735';
  syndicate.article_date[ syndicate.index ] = 'Mar  8, 2007';
  syndicate.article_summary[ syndicate.index ] = 'After three years of study, seniors decide between nursing or EMT curriculum. \nThey’ll graduate with earned college credits and ready to enter the workforce as \neither certified EMTs or nurses aides.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Paramedic, EMT receive state honors for saving lives - Sacramento, California';
//  syndicate.article_url[ syndicate.index ] = 'http://www.sacbee.com/101/story/133922.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25708';
  syndicate.article_date[ syndicate.index ] = 'Mar  7, 2007';
  syndicate.article_summary[ syndicate.index ] = 'Two veteran rescuers with a Sacramento ambulance company whose quick thinking saved their patients were among 36 first responders from across the state honored Tuesday at the Capitol. ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'LA Paramedics to Celebrate at Special Reunion - California';
//  syndicate.article_url[ syndicate.index ] = 'http://lafd.blogspot.com/2007/03/la-paramedics-to-celebrate-at-special.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25706';
  syndicate.article_date[ syndicate.index ] = 'Mar  7, 2007';
  syndicate.article_summary[ syndicate.index ] = 'Los Angeles County Paramedic Training Institute (PTI),&nbsp;is preparing for its \n200th class graduation';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Penn State EMT Holly Emanuel won the Richard W. Vomacka Student Speaker Competition - Pennsylvania';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/article_25703.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar  6, 2007';
  syndicate.article_summary[ syndicate.index ] = 'The EMTs\' clinical and leadership skills also won 2nd&nbsp;in Baltimore competition';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = '\'Work tight. Think thin.\' - Annapolis, Maryland';
//  syndicate.article_url[ syndicate.index ] = 'http://www.hometownannapolis.com/cgi-bin/read/2007/03_06-39/TOP';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25702';
  syndicate.article_date[ syndicate.index ] = 'Mar  6, 2007';
  syndicate.article_summary[ syndicate.index ] = '..most EMTs graduate from school without ever having worked in the back of a small ambulance.<FONT size=1><BR></FONT>';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Wrentham fire chief retiring after 36 years - Massachusetts';
//  syndicate.article_url[ syndicate.index ] = 'http://www.thesunchronicle.com/articles/2007/03/06/news/news9.txt';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25698';
  syndicate.article_date[ syndicate.index ] = 'Mar  6, 2007';
  syndicate.article_summary[ syndicate.index ] = '"The station and the development of our paramedic program, I think those are the big things," Morrill said of his accomplishments as chief.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Hall personnel awarded for explosion site work - California';
//  syndicate.article_url[ syndicate.index ] = 'http://www.bakersfield.com/102/story/103316.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25675';
  syndicate.article_date[ syndicate.index ] = 'Mar  5, 2007';
  syndicate.article_summary[ syndicate.index ] = '<P>A group of children had been playing with a 40 mm military round owned by an uncle of one of the children, who thought the gunpowder had been removed from the explosive.</P>';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'No emergency too big for Putman - Blanchester, Ohio';
//  syndicate.article_url[ syndicate.index ] = 'http://www.wnewsj.com/main.asp?SectionID=49&SubSectionID=156&ArticleID=153395&TM=41323.37';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25667';
  syndicate.article_date[ syndicate.index ] = 'Mar  4, 2007';
  syndicate.article_summary[ syndicate.index ] = 'She also was the first woman certified by the state of Ohio to teach EMS. ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'EMS supervisor fulfilling the American dream in Greenville - Texas';
//  syndicate.article_url[ syndicate.index ] = 'http://www.heraldbanner.com/local/local_story_062004413.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25666';
  syndicate.article_date[ syndicate.index ] = 'Mar  4, 2007';
  syndicate.article_summary[ syndicate.index ] = 'Thomas Auanger, 38, has been a paramedic for 16 years, and he’s the operation \nsupervisor for the Hunt County EMS.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'District honors staff  - Oregon';
//  syndicate.article_url[ syndicate.index ] = 'http://159.54.226.83/apps/pbcs.dll/article?AID=/20070304/NEWS/703040322/1001';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25660';
  syndicate.article_date[ syndicate.index ] = 'Mar  4, 2007';
  syndicate.article_summary[ syndicate.index ] = 'The Jefferson Rural Fire Protection District honored \nvolunteer firefighters, emergency personnel and support staff at a recent awards \nbanquet.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Inside the world of EMT\'s - St George, Utah';
//  syndicate.article_url[ syndicate.index ] = 'http://www.thespectrum.com/apps/pbcs.dll/article?AID=/20070304/NEWS01/703040313';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25659';
  syndicate.article_date[ syndicate.index ] = 'Mar  4, 2007';
  syndicate.article_summary[ syndicate.index ] = 'At 11:29 a.m., the chatter of numerous radios echoed throughout Dixie Ambulance\'s headquarters, spurring a blur of activity';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'A true desire to serve - South Bend, Indiana';
//  syndicate.article_url[ syndicate.index ] = 'http://www.southbendtribune.com/apps/pbcs.dll/article?AID=/20070304/Lives02/703040490/-1/Lives/CAT=Lives02';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25658';
  syndicate.article_date[ syndicate.index ] = 'Mar  4, 2007';
  syndicate.article_summary[ syndicate.index ] = 'There\'s a lot of excitement. As a fireman you also are an EMT, paramedic and you \ndeliver babies -- there\'s a variety of excitement. You\'re involved in a lot of \nmedical calls';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Lifesaving cadet in right place at flight time - Colorado';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/article_25652.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar  1, 2007';
  syndicate.article_summary[ syndicate.index ] = '"It helped," Smith said Tuesday, taking a break from classes in the Arnold Hall dormitory complex at the academy, "that I had done all of this before, on that other flight." <BR>That other flight? ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Malinowski benefits from Highland’s PCF program - California';
//  syndicate.article_url[ syndicate.index ] = 'http://www.highlandnews.net/articles/2007/03/01/news/07malinowski.txt';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/human-interest.shtml#25630';
  syndicate.article_date[ syndicate.index ] = 'Mar  1, 2007';
  syndicate.article_summary[ syndicate.index ] = 'Since Highland PCFs are used to supplement its full time firefighters he also \nworked for AMR (American Medical Response) as a paramedic on some of his off \ndays.';
  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="http://www.emsnetwork.org/">');
//document.write('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
//document.write('more news</font></a>');
//document.write('<br><br></b></font></td></tr>\n');

}