



// 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 ] = 'NEW ADDRESS FOR EMSN NEWS';
//  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25848';
  syndicate.article_date[ syndicate.index ] = 'Mar 18, 2007';
  syndicate.article_summary[ syndicate.index ] = '<b><font face=Arial size=3>Please note that with our upgrade, all news is now posted at a new location. While some articles may appear at the old location, when we upgraded not all were converted properly and are not always properly linked.</font></b>\n<p></p>\n<p><b><font face=Arial size=3>News can be found by using the links on the Front Page (<a href="http://www.emsnetwork.org">www.emsnetwork.org</a>)</font></b></p>';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'NEW ADDRESS FOR EMSN NEWS and job listing submissions changed';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/article_25850.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 18, 2007';
  syndicate.article_summary[ syndicate.index ] = '<b><font face=Arial size=3>Please note that with our upgrade, all news is now posted at a new location. While some articles may appear at the old location, when we upgraded not all were converted properly and are not always properly linked.</font></b>\n<p></p>\n<p><b><font face=Arial size=3>News can be found by using the links on the Front Page (<a href="http://www.emsnetwork.org">www.emsnetwork.org</a>)</font></b></p>\n<p><b><font face=Arial size=3>Jobs must now be submitted by email</font></b></p>';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'NEW ADDRESS FOR AMBULANCE CRASH NEWS';
//  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/ambulance-crashes.shtml';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/ambulance-crashes.shtml#25849';
  syndicate.article_date[ syndicate.index ] = 'Mar 18, 2007';
  syndicate.article_summary[ syndicate.index ] = '<p>Please note that with our upgrade, all news is now posted at a new location. While some articles may appear at the old location, when we upgraded not all were converted properly and are not always properly linked. </p>\n<p>News can be found by using the links on the Front Page (<a href="http://www.emsnetwork.org">www.emsnetwork.org</a>)</p>\n<p>Ambulance crash information must now be submitted by email.</p>\n<p></p>';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'NEW ADDRESS FOR EMSN NEWS';
//  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/emsn-notices.shtml';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/emsn-notices.shtml#25847';
  syndicate.article_date[ syndicate.index ] = 'Mar 18, 2007';
  syndicate.article_summary[ syndicate.index ] = '<p>Please note that with our upgrade, all news is now posted at a new location. While some articles may appear&nbsp;at the old location, when we upgraded not all were converted properly and&nbsp;are not always properly linked. </p>\n<p>News can be found by using the links on the Front Page (<a href="http://www.emsnetwork.org">www.emsnetwork.org</a>)</p>';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Fire commander suspended over medical certificates - Baltimore, Maryland';
//  syndicate.article_url[ syndicate.index ] = 'http://www.examiner.com/a-619837~Fire_commander_suspended_over_medical_certificates.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25837';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = 'A fire commander will serve a 30-day suspension for his failure to track medical certificates for at least 22 department members, including several in high positions.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Germantown, Collierville plan ambulance upgrade - Tennessee';
//  syndicate.article_url[ syndicate.index ] = 'http://www.commercialappeal.com/mca/germantown/article/0,1426,MCA_1936_5418408,00.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25840';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = 'Five new ambulances would serve Collierville and Germantown under a joint contract with an ambulance company, according to a draft copy of the bid specifications. ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = ' Allentown EMS TaxBack in Court - Pennsylvania';
//  syndicate.article_url[ syndicate.index ] = 'http://wfmz.com/view/?id=72457#';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25836';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = '';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Wake County Town Could Lose 1 of Its 2 Ambulances  - Rolesville, North Carolina ';
//  syndicate.article_url[ syndicate.index ] = 'http://www.wral.com/news/local/story/1234993/';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25835';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = '"This ambulance is idle (more than) 95 percent of the time," Wake County Emergency Medical Services Director Dr. Brent Myers said.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Snake venom could yield strong stroke medicine';
//  syndicate.article_url[ syndicate.index ] = 'http://www.defrance.org/artman/publish/article_1777.shtml';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/features.shtml#25834';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = '';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Marijuana Transported In Ambulance - Maumelle, Arkansas';
//  syndicate.article_url[ syndicate.index ] = 'http://www.todaysthv.com/news/news.aspx?storyid=43009';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25833';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = 'Officers found three men with the ambulance and 385 pounds of marijuana inside. The drugs are worth $500,000.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Bonds revoked after man takes ambulance on joy ride - Neshoba, Pennsylvania';
//  syndicate.article_url[ syndicate.index ] = 'http://www.neshobademocrat.com/main.asp?SectionID=2&SubSectionID=297&ArticleID=14208&TM=64970.34';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25832';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = '';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'What Really Happened at Fire Station 5? - Los Angeles, California';
//  syndicate.article_url[ syndicate.index ] = 'http://www.laweekly.com/general/features/what-really-happened-at-fire-station-5/15887/';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25831';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = 'A dog-food prank gone bad wrecks careers and morale as Tennie Pierce demands millions';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Talks move fire chief Moran to quit - Palm Beach, Florida';
//  syndicate.article_url[ syndicate.index ] = 'http://www.palmbeachdailynews.com/news/content/news/moran0315.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25830';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = 'Palm Beach Fire Chief Edward J. Moran resigned Tuesday evening, saying he was "no longer able to effectively lead" his department because of "issues" he and Town Manager Peter Elwell were unable to resolve.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Bracken County EMS board hears operational concerns - Kentucky';
//  syndicate.article_url[ syndicate.index ] = 'http://www.maysville-online.com/articles/2007/03/14/local_news/2772ems.txt';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25829';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = 'Much of the operational funds for the EMS comes from the interest from certificates of deposit in its name, said officials.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Ambulance to Hospital Transfer Times Studied - Clark County, Nevada';
//  syndicate.article_url[ syndicate.index ] = 'http://www.klas-tv.com/Global/story.asp?S=6228919';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25827';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = 'Ambulance companies say they are often stuck waiting to drop off patients in local emergency rooms and that keeps the ambulances off the streets.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Sick Woman Abandoned By Ambulance - Warren County, Tennessee';
//  syndicate.article_url[ syndicate.index ] = 'http://wkrn.com/nashville/news/sick-woman-abandoned-by-ambulance/82700.htm';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25839';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = 'She was supposed to be taken to NHC McMinnville Nursing Home. Instead, an ambulance crew&nbsp; took her home. ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Transport Fees - Charleston, South Carolina';
//  syndicate.article_url[ syndicate.index ] = 'http://www.wcbd.com/midatlantic/cbd/news.apx.-content-articles-CBD-2007-03-14-0052.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25838';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = 'The Charleston County Emergency Medical Service says its charges have not increased in two years, while its operating costs have gone up by $2 million.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Commissioner denies woman\'s allegations - Pennsylvania';
//  syndicate.article_url[ syndicate.index ] = 'http://www.dailyitem.com/apps/pbcs.dll/article?AID=/20070314/NEWS/703140314';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25825';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = 'Northumberland County Commissioner Kurt Masser angrily denied that he is trying to thwart an ambulance company from operating in the Coal Township area.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Laceyville wants ambulance rep - Pennsylvania';
//  syndicate.article_url[ syndicate.index ] = 'http://www.newage-examiner.com/site/news.cfm?newsid=18074372&BRD=2310&PAG=461&dept_id=480505&rfi=6';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25821';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = 'The unusual action resulted from continuing concerns that area residents including many council members have about the viability of the ambulance company, and they want some answers';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Colchester explains federal ambulance penalty - Vermont';
//  syndicate.article_url[ syndicate.index ] = 'http://www.burlingtonfreepress.com/apps/pbcs.dll/article?AID=/20070314/NEWS02/703140309/1007&theme';
  syndicate.article_url[ syndicate.index ] = 'http://www.emsnetwork.org/artman/publish/national-news.shtml#25820';
  syndicate.article_date[ syndicate.index ] = 'Mar 14, 2007';
  syndicate.article_summary[ syndicate.index ] = '<span class=articlebody>Town officials Tuesday offered more details on how rule violations concerning federal reimbursements for ambulance transportation ended up costing Colchester $74,565 in federal fines and legal fees.</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="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');

}