



// 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 ] = 'We Know How to Cure Cancer, But it\'s Taking Too Long to Hit the Target';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-02-0204-002.shtml';
  syndicate.article_date[ syndicate.index ] = 'Thu, 04 Feb 2010, 15:31:15 EST';
  syndicate.article_summary[ syndicate.index ] = 'NEW YORK, N.Y. (SEND2PRESS NEWSWIRE) -- Marty Niedelman, a pharmacist from New York, claims he has the answer which will lead to the cure of Cancer. He feels that all the research scientists are leaning toward his conclusion, but are taking too much time to succeed. He has written an article explaining what he knows about the subject. The purpose of this article is to motivate all the researchers to perfect the cure now.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'New Windsor Eye Doctors Urge Eye Exams During National Glaucoma Awareness Month';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-01-0111-003.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mon, 11 Jan 2010, 16:06:32 EST';
  syndicate.article_summary[ syndicate.index ] = 'NEW WINDSOR, N.Y. (SEND2PRESS NEWSWIRE) -- In recognition of Glaucoma Awareness Month, Highland Ophthalmology Associates, in New Windsor, NY, will be offering free Glaucoma Screenings on Saturday, January 16, 2010. Highland Ophthalmology Associates encourages anyone at risk to please participate in their Glaucoma Awareness Program. \'Glaucoma is like high blood pressure and diabetes - you have to check your eye pressure regularly,\' said Mary Davidian, M.D. fellowship trained ophthalmologist at Highland Ophthalmology.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'AMT Datasouth Introduces the Fastmark M1 Direct Thermal Barcode and Label Printer';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-01-0106-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 06 Jan 2010, 06:00:24 EST';
  syndicate.article_summary[ syndicate.index ] = 'CAMARILLO, Calif. (SEND2PRESS NEWSWIRE) -- In response to customer requests, AMT Datasouth Corporation is pleased to introduce its newest Fastmark Series thermal barcode and label printer, the M1. The Fastmark M1 sets a new standard for the convenient and practical barcode printing of small labels and wristbands and is ideal for hospitals and pharmacies. The M1 features an attractively styled small 10.2 x 4.3 inch footprint, allowing it to fit comfortably in small workstations, desks or countertops, or even to be wall mounted.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Scientists Rediscover Gene Target for Cancer Therapy - Rexin-G Receives High-tech Validation as Strategic Anti-cancer Agent';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2009-12-1215-002.shtml';
  syndicate.article_date[ syndicate.index ] = 'Tue, 15 Dec 2009, 12:10:59 EST';
  syndicate.article_summary[ syndicate.index ] = 'SAN MARINO, Calif. (SEND2PRESS NEWSWIRE) -- Epeius Biotechnologies Corporation, an emerging leader in the field of targeted genetic medicine, gained international validation of the cutting-edge science behind its lead oncology product, Rexin-G, when scientists around the world rediscovered the Cyclin G1 gene to be a major locus of cancer pathogenesis and disease progression, and thus a prime target for anti-cancer therapies.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Long Term Care Insurance for the Gay and Lesbian Community: Different Needs Require Special Help';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2009-11-1116-005.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mon, 16 Nov 2009, 14:21:59 EST';
  syndicate.article_summary[ syndicate.index ] = 'KIRKLAND, Wash. (SEND2PRESS NEWSWIRE) -- Like other longer-living Americans, gay males and lesbians (as well as bisexuals and transsexuals) face the prospect of eventual incapacity and the need for long term care. But they have special problems getting that care when needed, according to LTC Financial Partners, LLC (LTCFP), one of the nation\'s largest and most experienced long-term care insurance agencies.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Senior Care Business Owner in Brentwood, Tenn., Receives Prestigious Award';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2009-11-1106-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Fri, 06 Nov 2009, 13:05:24 EST';
  syndicate.article_summary[ syndicate.index ] = 'NASHVILLE, Tenn. and CINCINNATI, Ohio (SEND2PRESS NEWSWIRE) -- Robert Harter, owner of the Home Helpers and Direct Link in Brentwood, Tenn., was recently honored as the recipient of the 2009 Rookie of the Year Award for Home Helpers, the nation\'s leading senior care franchise specializing in non-medical and personal care and companionship for seniors. Harter accepted the honor at the company\'s annual national conference in Orlando, Fla., on October 14, 2009.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Interim HealthCare Celebrates National Home Care Month in November';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2009-11-1104-003.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 04 Nov 2009, 13:36:04 EST';
  syndicate.article_summary[ syndicate.index ] = 'SUNRISE, Fla. (SEND2PRESS NEWSWIRE) -- In honor of the nation\'s home care professionals and volunteers, Interim HealthCare will join home care providers throughout the United States in kicking off the November celebration of National Home Care Month. The month-long celebration pays tribute to the dedicated home care professionals and volunteers who enable elderly, disabled, and chronically ill individuals to live their lives where they want to most-in their own homes.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Physical Therapists from Tucson and Omaha Named 2009 Therapists of the Year by Interim HealthCare';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2009-11-1103-002.shtml';
  syndicate.article_date[ syndicate.index ] = 'Tue, 03 Nov 2009, 16:57:30 EST';
  syndicate.article_summary[ syndicate.index ] = 'SUNRISE, Fla. (SEND2PRESS NEWSWIRE) -- Physical therapists Ed Onofrio of Tucson, Ariz., and Nina Van Beaumont of Omaha, Neb., have been named the 2009 Interim HealthCare Therapists of the Year. Interim is the nation\'s largest combined home health care and medical staffing provider, employing more than 75,000 health care workers who serve more than 50,000 people each day. Runners-up for this year\'s award were Martha Sandven of St. Paul, Minn., and Rainna Nolan of Atlanta.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Trailblazing Long Term Care Insurance Organization Celebrates 15 Year Anniversary';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2009-10-1028-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 28 Oct 2009, 13:45:46 EST';
  syndicate.article_summary[ syndicate.index ] = 'OVERLAND PARK, Kan. (SEND2PRESS NEWSWIRE) -- The National LTC Network is celebrating 15 years as a national leader in long term care insurance distribution. The Network counts among its 30 member firms some of the most-respected and successful firms in the industry. \'The Network is a unique organization, consisting of firms that are competitors, but that have come together to share best practices and address common long-term care insurance industry issues,\' commented Terry Truesdell, President and CEO.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Living in Style in Spite of Needing Long Term Care - New Guidebook Shows How';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2009-10-1027-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Tue, 27 Oct 2009, 05:59:23 EST';
  syndicate.article_summary[ syndicate.index ] = 'KIRKLAND, Wash. (SEND2PRESS NEWSWIRE) -- The good news is that Americans are living longer. The bad news is that millions are outliving their money; and when they need long term care, they face bleak prospects. According to a new guidebook from LTC Financial Partners, LLC (LTCFP), the unprepared are either forced to move into a nursing home funded by Medicaid, or to live with relatives who must disrupt their lives to care for them.';
  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.send2press.com" target="_blank">');
document.write('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
document.write('<p><b>Powered by Send2Press Newswire</b></font></a>');
document.write('<br><br></b></font></td></tr>\n');
