



// 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 ] = 'ACTT(TM) \'Allergy Drops\' - Needle Free Allergy Treatment';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2012-02-0208-002.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 08 Feb 2012, 15:54:08 EST';
  syndicate.article_summary[ syndicate.index ] = 'AUSTIN, Texas, Feb. 8, 2012 (SEND2PRESS NEWSWIRE) -- Bio-Medical Services has received USDA approval and is now offering allergy drop immunotherapy as an alternative method for administering allergy treatment for pet allergy patients. An in-house pilot study is now underway, and preliminary findings are expected in the Fall of 2012.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'What\'s Really in Your Mattress? - A Comprehensive Guide on the Usage of Chemicals in Your Mattress';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2012-01-0116-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mon, 16 Jan 2012, 08:58:36 EST';
  syndicate.article_summary[ syndicate.index ] = 'SAN FRANCISCO, Calif., Jan. 16, 2012 (SEND2PRESS NEWSWIRE) -- According to The Futon Shop, conventional mattresses are very likely to contain chemicals, some potentially toxic to humans and/or harmful to the environment. Most of these chemical compounds have a cloud surrounding the information on the possible harms they can cause. The way to go green is to choose a mattress with fewer chemicals or no chemicals. The ideal mattress would have low VOCs, no PBDEs, no formaldehyde, and no phthalates.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'The Foot Pain Center Celebrates 38 Years of Treating Peripheral Neuropathy';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2012-01-0113-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Fri, 13 Jan 2012, 13:45:03 EST';
  syndicate.article_summary[ syndicate.index ] = 'LONG BEACH, Calif., Jan. 13, 2012 (SEND2PRESS NEWSWIRE) -- Since 1974, Dr. Marc Spitz of the Foot Pain Center has been helping patients to beat peripheral neuropathy. After observing epidemic numbers of people developing peripheral neuropathy in their feet, he decided to make this his practice\'s focus.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Baseball Players Make Healthcare Home Run - Gaining Protection against Rising Long-Term Care Costs';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2012-01-0104-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 04 Jan 2012, 04:58:13 EST';
  syndicate.article_summary[ syndicate.index ] = 'PLACENTIA, Calif., Jan. 4, 2012 (SEND2PRESS NEWSWIRE) -- Today the Association of Professional Ball Players of America (APBPA) announces the selection of LTC Financial Partners LLC (LTCFP) to offer long-term care education and long-term care insurance coverage to their 11,000 Members. For members that choose to purchase the insurance, applications for individual policies will be completed by LTCFP and underwritten by Transamerica Life Insurance Company.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Narconon Releases New Emotionally Charged Graduate Success DVD';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2011-12-1227-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Tue, 27 Dec 2011, 13:45:00 EST';
  syndicate.article_summary[ syndicate.index ] = 'TROIS-RIVIERES, Quebec, Canada, Dec. 27, 2011 (SEND2PRESS NEWSWIRE) -- Narconon has just released an emotionally powerful new DVD this month and you can get it FREE! The almost five minute video gives the viewer an inside look at the real emotion and success of a Narconon graduate. This particular DVD, just released in late November shows only a handful of Narconon graduates on their final day attending their graduation ceremony at the Narconon center located in Trois-Rivieres, Quebec, Canada.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Thanksgiving - A Perfect Time to Talk Turkey About Long-Term Care';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2011-11-1121-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mon, 21 Nov 2011, 04:57:04 EST';
  syndicate.article_summary[ syndicate.index ] = 'KIRKLAND, Wash., Nov. 21, 2011 (SEND2PRESS NEWSWIRE) -- Thanksgiving is a time to join with family to say thanks for life\'s blessings. It can also be a time to make sure those blessings continue year after year, uninterrupted by the financial impact of long-term health issues. \'According to the U.S. Department of Health and Human Services, about 7 in 10 of us over age 65 will need long-term care at some point,\' says Denise Gott, National Sales Manager and Chairman of the Board of LTC Financial Partners, LLC (LTCFP).';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Going Naked Never Felt So Good!';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2011-11-1116-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 16 Nov 2011, 12:59:45 EST';
  syndicate.article_summary[ syndicate.index ] = 'SAN JOSE, Calif., Nov. 16, 2011 (SEND2PRESS NEWSWIRE) -- What do Hope Solo, Blake Griffin, Jose Reyes, Gretchen Bleiler and Lacy Young have in common? They all appeared in the buff recently to celebrate their bodies. Lacy Young isn\'t a famous athlete with national endorsement deals, nor is she admired by millions of fans. But she felt the need to bare it all in the name of eating healthy.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'How to Untangle Your Exercise with Dancing and Fill your Hair and Beauty Needs All at the Same Time';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2011-10-1025-003.shtml';
  syndicate.article_date[ syndicate.index ] = 'Tue, 25 Oct 2011, 07:59:37 EST';
  syndicate.article_summary[ syndicate.index ] = 'DELRAY BEACH, Fla., Oct. 25, 2011 (SEND2PRESS NEWSWIRE) -- Hair Spa Dance, a new and unique business, is having its grand opening November 16 and 19, 2011. This business pulls back the curtain on how busy women can take care of two of their most pressing challenges at the same time...their beauty needs and their exercise.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Gingrich Foundation Recognizes the National Breast Cancer Foundation';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2011-10-1007-005.shtml';
  syndicate.article_date[ syndicate.index ] = 'Fri, 07 Oct 2011, 18:11:35 EST';
  syndicate.article_summary[ syndicate.index ] = 'WASHINGTON, D.C., Oct. 7, 2011 (SEND2PRESS NEWSWIRE) -- In honor of National Breast Cancer Awareness Month, the Gingrich Foundation has recognized the National Breast Cancer Foundation (NBCF) as its October Charity of the Month.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Collegiate Caregivers Combines College Students and Technology to Provide Superior Home Care';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2011-10-1004-004.shtml';
  syndicate.article_date[ syndicate.index ] = 'Tue, 04 Oct 2011, 09:58:44 EST';
  syndicate.article_summary[ syndicate.index ] = 'MADISON, Wis., Oct. 4, 2011 (SEND2PRESS NEWSWIRE) -- Collegiate Caregivers announced this week the launch of a new home care business that aims to revolutionize the senior care industry through an intelligent and unique use of college students and technology.';
  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('Press Release: ');
  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://send2pressnewswire.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');

