



// 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 ] = 'Jury Provides Split Verdict in Leader v. Facebook Patent Infringement Trial';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-07-0729-004.shtml';
  syndicate.article_date[ syndicate.index ] = 'Thu, 29 Jul 2010, 18:39:42 EDT';
  syndicate.article_summary[ syndicate.index ] = 'COLUMBUS, Ohio (SEND2PRESS NEWSWIRE) -- Today Leader Technologies Incorporated announced the results of the Leader v. Facebook patent infringement trial, in which an eight-member jury in Wilmington, Delaware, returned a split verdict on Wednesday, July 28th.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Suit Against LTC Financial Partners Dropped, Industry Leader Reports';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-07-0721-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 21 Jul 2010, 04:59:55 EDT';
  syndicate.article_summary[ syndicate.index ] = 'KIRKLAND, Wash. (SEND2PRESS NEWSWIRE) -- A suit against LTC Financial Partners LLC (LTCFP), the nation\'s largest producer-owned long term care insurance agency, has been dropped, the company reports today. The suit, for more than a million dollars, was by a former agent, Linda Caruthers of Richmond, Virginia, who was seeking compensation for providing an introduction that helped land a large account.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Legal and Medical Substance Abuse Treatment Program Makes Headlines';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-06-0618-003.shtml';
  syndicate.article_date[ syndicate.index ] = 'Fri, 18 Jun 2010, 17:14:51 EDT';
  syndicate.article_summary[ syndicate.index ] = 'NEW CASTLE, Pa. (SEND2PRESS NEWSWIRE) -- The Signature Hill Substance Abuse Network, a program dedicated to linking the legal system and treatment of substance abuse through the use of Vivitrol(R) injections has garnered acclaim in media outlets. Articles lauding the program have recently cited the Network\'s approach to eliminating the consumer demand for drugs and alcohol by eliminating cravings with the use of Vivitrol.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Former Agent Sues LTC Financial Partners';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-06-0618-002.shtml';
  syndicate.article_date[ syndicate.index ] = 'Fri, 18 Jun 2010, 15:18:36 EDT';
  syndicate.article_summary[ syndicate.index ] = 'RICHMOND, Va. (SEND2PRESS NEWSWIRE) -- Linda Tsironis Caruthers (Caruthers), CSA, LTCP and founder/president of Long-Term Care Consultants based in Richmond, VA, has sued her former insurance broker (otherwise known as a field marketing organization or FMO), LTC Financial Partners, LLC (Partners) for an amount in excess of one million dollars.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = '\'Why Deals Blow Up:\' Advice from Georgia Business Broker Attorneys on Legal Troubles';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-06-0616-004.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 16 Jun 2010, 14:36:13 EDT';
  syndicate.article_summary[ syndicate.index ] = 'ATLANTA, Ga. (SEND2PRESS NEWSWIRE) -- When you\'re trying to buy or sell a business, things can go wrong. Three attorneys who belong to the Georgia Association of Business Brokers (GABB) will discuss how to spot and avoid common legal pitfalls at a free breakfast meeting on Tuesday, June 29, 2010.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'USPTO Awards Key Patent to ADF Solutions for Digital Forensics';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-06-0609-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 09 Jun 2010, 12:12:04 EDT';
  syndicate.article_summary[ syndicate.index ] = 'BETHESDA, Md. (SEND2PRESS NEWSWIRE) -- ADF Solutions, Inc., the leading provider of forensic triage tools for computers and peripherals, is pleased to announce that it has been granted a patent by the U.S. Patent and Trademark Office pertaining to methods of searching forensic data. The patent has critical applications for forensic triage, cyber-security, cyber-intelligence, digital forensics, and e-discovery.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Patent Attorney Richard Bone Joins Virtual Law Partners LLP';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-05-0525-002.shtml';
  syndicate.article_date[ syndicate.index ] = 'Tue, 25 May 2010, 14:52:49 EDT';
  syndicate.article_summary[ syndicate.index ] = 'PALO ALTO, Calif. (SEND2PRESS NEWSWIRE) -- Virtual Law Partners LLP is very pleased to announce that noted patent attorney Richard Bone has joined the firm as a partner from Fish and Richardson. Dr. Bone\'s practice encompasses all aspects of patent preparation and prosecution, and post-grant review in technical fields such as pharmaceuticals, chemistry, biotechnology, materials, nanotechnology, medical devices, and computer science.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'New DVD Warns Parents of Criminal and Legal Consequences of Bullying';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-05-0504-003.shtml';
  syndicate.article_date[ syndicate.index ] = 'Tue, 04 May 2010, 14:52:27 EDT';
  syndicate.article_summary[ syndicate.index ] = 'WAREHAM, Mass. (SEND2PRESS NEWSWIRE) -- Omni Publishing Co. today announced the May 15 release of a DVD aimed at helping parents understand the criminal and legal consequences of bullying. The DVD, \'Bullying, Hazing and Parents - A Guide for Parents of Middle and High School Students,\' warns parents that they must be aware of and accountable for their children\'s behavior.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'L.A. District Attorney Steven Cooley Drops Marijuana Charges Against Temple 420';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-03-0315-003.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mon, 15 Mar 2010, 15:33:44 EDT';
  syndicate.article_summary[ syndicate.index ] = 'LOS ANGELES, Calif. (SEND2PRESS NEWSWIRE) -- Former candidate for mayor and founder of ProfitfromPot, Pastor Craig Rubin, was arrested at temple on October 22, 2009 for a second time in what was a \'politically motivated\' police action. The District Attorney\'s office had been pushing to put Pastor Rubin behind bars for years now, claims Rubin. Months later DA Cooley has decided to drop all charges because Rubin is going to jail anyway -- unless he can get the public\'s help.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Fintage House Appoints Maria Forte Music Services to Work with Fintage Music in UK';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-03-0309-005.shtml';
  syndicate.article_date[ syndicate.index ] = 'Tue, 09 Mar 2010, 15:39:51 EDT';
  syndicate.article_summary[ syndicate.index ] = 'LEIDEN, Netherlands (SEND2PRESS NEWSWIRE) -- Niels Teves, Co-CEO of Netherlands-based asset administration company Fintage House, has announced the appointment of Marte Forte Music Services Ltd to work alongside the company\'s Fintage Music division in the UK. Maria Forte has worked in the music industry for three decades, beginning at Virgin Music (Publishers) in the late 1970s and from there held various high calibre roles within a variety of organizations.';
  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');
