



// 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 ] = 'REMIS AMERICA Installs First Black Doors';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2011-12-1216-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Fri, 16 Dec 2011, 06:58:38 EST';
  syndicate.article_summary[ syndicate.index ] = 'ELKHART, Ind., Dec. 16, 2011 (SEND2PRESS NEWSWIRE) -- REMIS AMERICA has installed its first black RemiSafe doors on 24 feet of previously open Hill Phoenix cases at a ShopRite in New Rochelle, NY. These are the first black RemiSafe doors anywhere in the world.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'REMIS\' New Door Increasing Demand, Creating Jobs';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2011-07-0727-001_remis-new-door-increasing-demand-creating-jobs.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 27 Jul 2011, 19:23:01 EST';
  syndicate.article_summary[ syndicate.index ] = 'ELKHART, Ind. (SEND2PRESS NEWSWIRE) -- REMIS AMERICA, the maker of energy efficient doors and covers, has expanded its American production, creating jobs and standing out in a tough economy. Driven by increased demand for its energy saving solutions and several commitments from major North American grocery retailers that extend into 2012, Indiana production of REMIS doors will now include the RemiSafe T line.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'TCL Introduces its Low Cost, Health Care Listed TV System';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2011-07-0713-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 13 Jul 2011, 08:51:01 EST';
  syndicate.article_summary[ syndicate.index ] = 'ELKHART, Ind. (SEND2PRESS NEWSWIRE) -- TCL picks DEHCO Commercial to distribute its line of LCD TVs to the health care industry. Dehco Commercial has combined their HC20 technology with LCD TV\'s made by TCL. The result is a pillow-speaker-ready (Intertek listed) TV system priced 30 to 40 percent below what is typically spent on health care TVs.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Preferred Stadium and Theater Seating is Doing Its Part to Stimulate U.S. Manufacturing Jobs';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2011-02-0216-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 16 Feb 2011, 17:05:01 EST';
  syndicate.article_summary[ syndicate.index ] = 'INDIANAPOLIS, Ind. (SEND2PRESS NEWSWIRE) -- In a U.S. economy that needs a boost, Preferred Stadium and Theater Seating and Preferred Seating Designs are excited to announce that they will be creating new designs for high-quality stadium and theater seats through a partnership with three Midwest manufacturers.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'OISF Welcomes nPulse Technologies as First Gold Member - nPulse to Host Software QA Testing Lab for Suricata Project';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-07-0727-002.shtml';
  syndicate.article_date[ syndicate.index ] = 'Tue, 27 Jul 2010, 18:29:51 EST';
  syndicate.article_summary[ syndicate.index ] = 'LAFAYETTE, Ind. (SEND2PRESS NEWSWIRE) -- The Open Information Security Foundation (OISF) today announced that nPulse Technologies, LLC has joined the consortium as its first Gold Level member. nPulse will maintain a QA Test lab for Suricata developers at its Charlottesville, VA, facility. Developers will be able to access the nPulse systems remotely.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Butler Bowl and Football Program Bark Loud Like Butler Basketball - Fans Live Large with New Bleachers from Southern Bleacher Company';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-06-0628-004.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mon, 28 Jun 2010, 15:28:59 EST';
  syndicate.article_summary[ syndicate.index ] = 'INDIANAPOLIS, Ind. (SEND2PRESS NEWSWIRE) -- The Butler University Bulldogs are celebrating a number of achievements for the 2009-2010 athletic seasons. Not only did the Butler Bulldogs advance to the NCAA\'s magical Final Four in basketball, but on the gridiron, the Bulldogs achieved record-setting milestones by going 11-1, topping the Pioneer Football League, capturing their first post-season win and winning the Gridiron Classic and the Hoosier Helmet Trophy.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'REMIS AMERICA Invests in Production, Creates Jobs';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-03-0324-002.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 24 Mar 2010, 06:58:07 EST';
  syndicate.article_summary[ syndicate.index ] = 'ELKHART, Ind. (SEND2PRESS NEWSWIRE) -- REMIS AMERICA, a leader in energy efficient products for grocery retailers, is proud to announce that it has opened a new production line at its Elkhart, Indiana headquarters. This new 35,000 square foot facility represents a multi-million dollar investment and has created over 25 new jobs since the company\'s inception in February of 2009. Additionally, the company\'s business model forecasts an impressive 30+ new hires by year\'s end 2011.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Hazmat Training Comes to Indianapolis, Indiana';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-01-0111-004.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mon, 11 Jan 2010, 17:31:01 EST';
  syndicate.article_summary[ syndicate.index ] = 'INDIANAPOLIS, Ind. (SEND2PRESS NEWSWIRE) -- According to Environmental Resource Center, when workers handle hazardous waste or ship hazardous materials, training is not just a good idea, it\'s the law. Environmental Resource Center, the leading provider of environmental and safety training, will present the mandatory training in Indianapolis at the Crowne Plaza Hotel - Indianapolis Airport on February 1 - 4, 2010.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'REMIS AMERICA, Energy Saving Products Utilized in New Hannaford Supermarket in Augusta, Maine';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2009-08-0819-008.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 19 Aug 2009, 19:05:07 EST';
  syndicate.article_summary[ syndicate.index ] = 'ELKHART, Ind. (SEND2PRESS NEWSWIRE) -- Leading the way in reducing energy consumption is in the works for the new 49,000-sqaure-foot LEED Platinum Certified Hannaford Supermarket in Augusta, Maine and REMIS AMERICA was sure to be a part of it. REMIS AMERICA installed 32 feet of Remiglas Ecosafe sliding glass covers on freezer bunker display cases which can reduce energy consumption up to a remarkable 55 percent over traditional open frozen food cases.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'A Sharp Alternative to Healthcare TVs';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2009-07-0730-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Thu, 30 Jul 2009, 14:51:47 EST';
  syndicate.article_summary[ syndicate.index ] = 'ELKHART, Ind. (SEND2PRESS NEWSWIRE) -- Paradigm Multimedia has introduced their next-generation healthcare interface with ProTune Technology - the HC20. This product, designed for patient in-room television entertainment systems, is about the size of a deck of cards and will radically change the way healthcare TVs are purchased. Paradigm Multimedia and DEHCO Commercial have recently teamed up and are changing the rules for healthcare TVs.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Jimmy Jazz Announces First Store Opening in Indiana Market; New Location Based in Lafayette Mall in the City of Indianapolis';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2009-03-0326-004.shtml';
  syndicate.article_date[ syndicate.index ] = 'Thu, 26 Mar 2009, 15:16:53 EST';
  syndicate.article_summary[ syndicate.index ] = 'INDIANAPOLIS, Ind., March 26 (SEND2PRESS NEWSWIRE) -- Jimmy Jazz, the leading urban fashion retailer in the eastern United States, will be opening its first store in the state of Indiana on April 3 in the Lafayette Square Mall, located in the capital of Indianapolis.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Notre Dame\'s Luck of the Irish Extended Twice to Southern Bleacher with Soccer and Lacrosse Stadium Wins';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2008-10-1006-004.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mon, 06 Oct 2008, 18:37:26 EST';
  syndicate.article_summary[ syndicate.index ] = 'SOUTH BEND, Ind., Oct. 6 (SEND2PRESS NEWSWIRE) -- The nationally acclaimed men\'s and women\'s soccer and lacrosse programs at Notre Dame will be looking to continue their winning ways in 2009 and beyond in newly constructed stadiums; thanks in part to Notre Dame\'s $1.5 billion Spirit of Notre Dame capital campaign.';
  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');

