



// 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 ] = 'Bringing Networking and Business Conversations \'Above the Line\'';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2012-01-0118-002.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 18 Jan 2012, 07:59:30 EST';
  syndicate.article_summary[ syndicate.index ] = 'DES MOINES, Iowa, Jan. 18, 2012 (SEND2PRESS NEWSWIRE) -- Local business owners and managers, fed up with the negative rhetoric and \'scarcity\' mindset, formed a group called Above the Line America. With their collaborative efforts, they have put together an extraordinary event designed specifically for business leaders and community advocates interested in raising their bottom line and changing business conversation, as we know it.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'White Paper Explores Impact of Workforce Regulations on Federal Contractors';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2011-04-0406-006-BirdDog.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 06 Apr 2011, 22:15:51 EST';
  syndicate.article_summary[ syndicate.index ] = 'DES MOINES, Iowa (SEND2PRESS NEWSWIRE) -- Announcing in 2010 that it would increase enforcement efforts, the U.S. Department of Labor\'s Office of Federal Contract Compliance Programs (OFCCP) appears to be in hot pursuit of workforce diversity compliance among federal contractors and their subs. So writes construction-industry recruiting expert and BirdDog VP of Marketing Doug Mitchell in a newly released white paper.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Author Delivers the DNA of the Modern Marketer in His New Book \'The MultiThread Marketer\'';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2011-03-0322-003.shtml';
  syndicate.article_date[ syndicate.index ] = 'Tue, 22 Mar 2011, 10:59:03 EST';
  syndicate.article_summary[ syndicate.index ] = 'DES MOINES, Iowa (SEND2PRESS NEWSWIRE) -- Des Moines author Douglas E. Mitchell today announced the release of his latest book, \'The MultiThread Marketer: How To Hire (Or Better Yet) Become One\' (ISBN: 978-1607460541).';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Valentines Day Shopping Goes High-Tech with Boesen the Florist';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2011-02-0211-003.shtml';
  syndicate.article_date[ syndicate.index ] = 'Fri, 11 Feb 2011, 23:30:02 EST';
  syndicate.article_summary[ syndicate.index ] = 'DES MOINES, Iowa (SEND2PRESS NEWSWIRE) -- Boesen the Florist, central Iowa\'s floral authority since 1923, has taken Valentines gift of giving to a whole new level. The ability to send the joy and beauty of flowers is now possible with just a touch of your finger! With Boesen\'s new Floral App, whether at home, work or en-route to an event, you can log in and send flowers to those you care about most. All from your Android-powered mobile device.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Gingrich Foundation Presents Annual Gift to Luther College';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-12-1215-003.shtml';
  syndicate.article_date[ syndicate.index ] = 'Wed, 15 Dec 2010, 21:50:52 EST';
  syndicate.article_summary[ syndicate.index ] = 'DECORAH, Iowa (SEND2PRESS NEWSWIRE) -- The Gingrich Foundation has presented its annual gift to the Newt L. and Callista L. Gingrich Scholarship Fund at Luther College in Decorah, Iowa. Since 2005, the endowment has provided annual scholarships for instrumental music majors studying piano, organ, and wind instruments.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Shelter Dog is Paws of Life for Missing Man';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-11-1129-004.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mon, 29 Nov 2010, 23:51:32 EST';
  syndicate.article_summary[ syndicate.index ] = 'AMES, Iowa (SEND2PRESS NEWSWIRE) -- Sometimes a hero is found at the local animal shelter. Moses, a three year old yellow lab/golden retriever, who is a certified search and rescue dog, found a missing Alzheimer\'s patient earlier this month. \'It takes a dog with the right stuff,\' said Robin Habeger, of Paws of Life Foundation, and Moses\' handler and trainer.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Biotronics, Inc. Announces a Noninvasive Instrument That Can Determine Pork Loin Marbling Level in Milliseconds';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2010-10-1021-002.shtml';
  syndicate.article_date[ syndicate.index ] = 'Thu, 21 Oct 2010, 17:11:35 EST';
  syndicate.article_summary[ syndicate.index ] = 'AMES, Iowa (SEND2PRESS NEWSWIRE) -- Extended online tests of a newly developed instrument grading system for pork carcasses demonstrate its ability to differentiate pork loins relative to marbling levels. Researchers have long shown that marbling in the pork loin adds significantly to juiciness and flavor of chops.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Paws of Life Foundation Announces Online K9 Handler Academy';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2009-11-1123-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mon, 23 Nov 2009, 12:55:04 EST';
  syndicate.article_summary[ syndicate.index ] = 'AMES, Iowa (SEND2PRESS NEWSWIRE) -- Canine handlers have a challenging job and training is of great importance. That\'s why the Paws of Life Foundation and Iowa State University Extension for Continuing Education and Professional Development, together, are offering online training - the Working K9 Handler Academy where search and rescue dog handlers take classes.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Arizona Teen and her Search Dog Pass National Certification - Paws of Life Foundation';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2009-09-0924-003.shtml';
  syndicate.article_date[ syndicate.index ] = 'Thu, 24 Sep 2009, 13:45:21 EST';
  syndicate.article_summary[ syndicate.index ] = 'AMES, Iowa (SEND2PRESS NEWSWIRE) -- A Paws of Life Foundation search and rescue dog recently was certified with her handler, 16-year-old Taylor Lane of Mesa, Arizona. Lane seems unaffected by how impressive her achievements really are. The daughter of Dallas and Sandy Lane juggles a hectic high school schedule including playing soccer, participating in band, and volunteering in search and rescue operations in Pinal County as a member of Sonoran Search and Rescue.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Paws of Life Foundation Executive Director Robin Habeger Announces the Organization\'s Latest Canine Placement for Search and Rescue';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2009-02-0220-002.shtml';
  syndicate.article_date[ syndicate.index ] = 'Fri, 20 Feb 2009, 13:09:49 EST';
  syndicate.article_summary[ syndicate.index ] = 'AMES, Iowa (SEND2PRESS NEWSWIRE) -- Despite the recent ice storm in the area, Karen Frazier of West Paducah, Kentucky, was selected and received an Australian Shepherd named Briar from Paws of Life Foundation. Frazier is a member of Little Egypt Search and Rescue of Carbondale, Illinois. Little Egypt Search and Rescue is a volunteer group of individuals and canines providing assistance in the event of lost or missing individuals in southern Illinois and surrounding areas.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Make This City Releases New Pop Album!';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2008-12-1201-003.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mon, 01 Dec 2008, 13:14:27 EST';
  syndicate.article_summary[ syndicate.index ] = 'CEDAR FALLS, Iowa, Dec. 1 (SEND2PRESS NEWSWIRE) -- Iowa based powerpop band, Make This City, is set to release their debut album on December 23, 2008. Over the past months, Make This City has been recording in Cedar Falls based studio, Catamount Recording. The result is their debut album, \'Live Love and Lies.\' The album features nine catchy pop songs.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Biotronics, Inc., Announces Future Pork Grading Rivaling Beef, Ultrasound Technology Seen as a Major Advance in Online Pork Grading';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2008-11-1124-003.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mon, 24 Nov 2008, 15:13:49 EST';
  syndicate.article_summary[ syndicate.index ] = 'AMES, Iowa, Nov. 24 (SEND2PRESS NEWSWIRE) -- Biotronics, Inc., a food animal ultrasound research and development company recently received a $150,000 Demonstration Grant from the Iowa Department of Economic Development. According to Doyle Wilson, President of the Company, these dollars supplement a $350,000 U.S. Department of Agriculture grant they have received to develop and test their first commercial prototype system to measure the amount of intramuscular fat, commonly called marbling, in the pork loin of carcasses in the packing plant.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'ElectionMall, Google, and Iowa GOP Provide Real-Time Results of 2008 Iowa Caucus';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2008-01-0103-001.shtml';
  syndicate.article_date[ syndicate.index ] = 'Thu, 03 Jan 2008, 13:00:42 EST';
  syndicate.article_summary[ syndicate.index ] = 'DES MOINES, Iowa - Jan. 3 (SEND2PRESS NEWSWIRE) -- The highly anticipated Iowa Caucus will finally take place this evening and instead of waiting for local and cable news outlets to report the results, Americans can view the Caucus results in real-time. In an historic collaboration between ElectionMall Technologies, the Iowa Republican Party, and Google; voters, bloggers and politicos will be able to view actual county breakdowns once the results are phoned in.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Black Youth Vote! National Civic Education Training Tour Promotes Voting in Iowa';
  syndicate.article_url[ syndicate.index ] = 'http://www.send2press.com/newswire/2007-12-1213-003.shtml';
  syndicate.article_date[ syndicate.index ] = 'Thu, 13 Dec 2007, 11:30:46 EST';
  syndicate.article_summary[ syndicate.index ] = 'DES MOINES, Iowa - Dec. 13 (SEND2PRESS NEWSWIRE) -- As part of ongoing efforts to motivate young people to engage in the political process, the League of Young Voters Education Fund (LYVEF) recently teamed up with the National Coalition on Black Civic Participation\'s (NCBCP) Black Youth Vote! (BYV!) for an innovative civic participation training at North High School in Des Moines, IA.';
  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');

