



// 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 ] = '4-H Horse Club Hosts Tack Swap This Sunday For Happy Trails!';
  syndicate.article_url[ syndicate.index ] = 'http://happytrailsfarm.org/artman/publish/article_524.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 18, 2011';
  syndicate.article_summary[ syndicate.index ] = '<font size="2">  <table border=0 cellspacing=2 cellpadding=0 width=60 align=left>\n   <tr><td><img src="http://happytrailsfarm.org/artman/uploads/fathorse.jpg" height="57" width="60" border=0></td></tr>\n  </table>\n</font>Thanks for "Just Horsin\' Around" 4-H Group and leader, Sarah Mackey, for teaching kids to get involved with animal rescue!&nbsp; Visit their Tack Swap this Sunday at 10010 Acme Road in Rittman to show your support for the kids <em>and</em> for the rescued horses of Happy Trails!&nbsp; Here\'s the details!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Happy Trails Joins Cleveland APL To Rescue Goats From Basement Of Abandoned House';
  syndicate.article_url[ syndicate.index ] = 'http://happytrailsfarm.org/artman/publish/cleveland_goat_rescue.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar  5, 2011';
  syndicate.article_summary[ syndicate.index ] = '<font size=2>  <table border=0 cellspacing=2 cellpadding=0 width=60 align=left>\n   <tr><td><img src="http://happytrailsfarm.org/artman/uploads/copy_of_female1-c.jpg" height="70" width="60" border=0></td></tr>\n  </table>\n</font>Neighbors reported cries coming from the basement of an abandoned house in Cleveland. Five goats were discovered in the basement, and Happy Trails joined the Cleveland APL in a rescue effort. Here\'s the story through Channel 8 and Channel 3!&nbsp;&nbsp;Click here for Channel 8&nbsp;- </font><a href="http://www.fox8.com/news/wjw-goats-marijuana-grow-operation-found-in-cleveland-ss-txt,0,7431247.story"><font size=2>http://www.fox8.com/news/wjw-goats-marijuana-grow-operation-found-in-cleveland-ss-txt,0,7431247.story</font></a><font size=2>&nbsp;&nbsp;&nbsp;Click here for Channel 3&nbsp;- </font><a href="http://www.wkyc.com/news/article/178614/3/Cleveland-Police-find-goats-crying-for-help-in-duplex"><font size=2>http://www.wkyc.com/news/article/178614/3/Cleveland-Police-find-goats-crying-for-help-in-duplex</font></a>';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Get Out Your Antiques For A Professional Appraisal! Join Happy Trails On Saturday, April 16th!';
  syndicate.article_url[ syndicate.index ] = 'http://happytrailsfarm.org/artman/publish/happy_trails_antiques_appraisal_fundraiser.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar  3, 2011';
  syndicate.article_summary[ syndicate.index ] = '<font size=2>  <table border=0 cellspacing=2 cellpadding=0 width=60 align=left>\n   <tr><td><img src="http://happytrailsfarm.org/artman/uploads/copy_of_table.jpg" height="52" width="60" border=0></td></tr>\n  </table>\n</font>Gather your antiques (or at least what you think are antiques) and learn the truth behind their history and value!&nbsp; Visit the Happy Trails Antiques Appraisal Fair on Saturday, April 16th from noon to 3pm at the Kent Elks Club, and receive a written appraisal for your special family heirloom. <a href="http://happytrailsfarm.org/artman/uploads/antiquesappraisalfair.pdf">Here a flier with more details!</a>';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Adopt A Draft!';
  syndicate.article_url[ syndicate.index ] = 'http://happytrailsfarm.org/artman/publish/adopt_a_draft.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar  3, 2011';
  syndicate.article_summary[ syndicate.index ] = '<font size=2>  <table border=0 cellspacing=2 cellpadding=0 width=60 align=left>\n   <tr><td><img src="http://happytrailsfarm.org/artman/uploads/copy_of_dscf0093.jpg" height="74" width="60" border=0></td></tr>\n  </table>\n</font>They\'re big! They\'re beautiful! They\'re gentle giants!&nbsp; They are three of the Happy Trails draft horses that are available for adoption!&nbsp; <a href="http://happytrailsfarm.org/artman/uploads/adoptadraft.pdf">Here\'s their flier.</a> Please pass along their flier to friends, family and co-workers, and ask them to in turn forward them to others as well!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'The March Newsletter Is Now Available!';
  syndicate.article_url[ syndicate.index ] = 'http://happytrailsfarm.org/artman/publish/march_newsletter_now_available.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar  1, 2011';
  syndicate.article_summary[ syndicate.index ] = '<font size=2>  <table border=0 cellspacing=2 cellpadding=0 width=65 align=left>\n   <tr><td><img src="http://happytrailsfarm.org/artman/uploads/copy_of_dscf0148.jpg" height="78" width="65" border=0></td></tr>\n  </table>\n</font>Get your Happy Trails fix!&nbsp; <a href="http://happytrailsfarm.org/artman/uploads/march2011newsletter.pdf">Here\'s the Happy Trails March newsletter</a> with all the latest stories and sanctuary happenings!&nbsp;(Printed copies normally arrive in the mail about a week after the newsletter appears on the website!)';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'We REALLY Need  Blankets, Comforters And Sleeping Bags!!';
  syndicate.article_url[ syndicate.index ] = 'http://happytrailsfarm.org/artman/publish/article_519.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 28, 2011';
  syndicate.article_summary[ syndicate.index ] = '<font size=2>  <table border=0 cellspacing=2 cellpadding=0 width=60 align=left>\n   <tr><td><img src="http://happytrailsfarm.org/artman/uploads/copy_of_dscf0002_001.jpg" height="71" width="60" border=0></td></tr>\n  </table>\n</font>The crippled and arthritic piggies snuggle into their straw underneath their heat lamps on these bitter cold winter nights, but we also give them heavy blankets, sleeping bags or thick comforters to crawl underneath. This brutal winter and the sheer number of pot belly pig residents has caused us to go through a tremendous number of blankets. <em>Can you help us track some down?</em>&nbsp; Here\'s more info.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Helping Ohio\'s Animals - Please Take A Minute To Make A Difference!';
  syndicate.article_url[ syndicate.index ] = 'http://happytrailsfarm.org/artman/publish/helping_ohios_animals.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 22, 2011';
  syndicate.article_summary[ syndicate.index ] = '<font size=2>  <table border=0 cellspacing=2 cellpadding=0 width=60 align=left>\n   <tr><td><img src="http://happytrailsfarm.org/artman/uploads/copy_of_dogauction.jpg" height="69" width="60" border=0></td></tr>\n  </table>\n</font>Do we <em>really </em>need to teach people that it\'s not smart or humane to keep exotic animals as pets?&nbsp; Does Ohio really need to learn that dog auctions need to be banned and that they support the puppy mill industry?&nbsp; <strong><em>Apparently so </em></strong>is the answer to both questions. Sad but true. Please take a moment to make your voice heard on behalf of the animals. Here\'s how....</font>';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Happy Trails Is Collecting Emergency Supplies For Medina SPCA.  123 Dogs Rescued!';
  syndicate.article_url[ syndicate.index ] = 'http://happytrailsfarm.org/artman/publish/article_515.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 14, 2011';
  syndicate.article_summary[ syndicate.index ] = '<font size=2>  <table border=0 cellspacing=2 cellpadding=0 width=65 align=left>\n   <tr><td><img src="http://happytrailsfarm.org/artman/uploads/copy_of_medinacountyspca.jpg" height="56" width="65" border=0></td></tr>\n  </table>\n</font><span style="FONT-FAMILY:\'Arial\',\'sans-serif\'; COLOR:black; FONT-SIZE:10pt"><font face=Verdana><span style="FONT-FAMILY:\'Arial\',\'sans-serif\'; COLOR:black; FONT-SIZE:10pt">Happy Trails is collecting&nbsp;emergency donations for the&nbsp;Medina&nbsp;SPCA. </span><span style="FONT-FAMILY:\'Arial\',\'sans-serif\'; COLOR:black; FONT-SIZE:10pt">They rescued 113 Cairn Terriers from Chippewa Lake. The dogs are matted, hungry&nbsp;and&nbsp;in poor&nbsp;condition. Many are pregnant. The Medina SPCA&nbsp;</span><span style="FONT-FAMILY:\'Arial\',\'sans-serif\'; COLOR:black; FONT-SIZE:10pt">needs newspapers, food, blankets, squeaky toys, puppy playpens, volunteers to clean cages and of course monetary donations.&nbsp;Donations and supplies&nbsp;can be&nbsp;dropped off either at Happy Trails&nbsp;(call 330-296-5914 for drop-off times) or at the Medina County SPCA Animal Care Facility, 245 S. Medina St. from 12-4 on Mon,Tue.,Thurs, Fri ,and Sat.</span><span style="FONT-FAMILY:\'Arial\',\'sans-serif\'; COLOR:black; FONT-SIZE:10pt">&nbsp;</span></font></span>';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Volunteer Opportunities For Senior Citizens!';
  syndicate.article_url[ syndicate.index ] = 'http://happytrailsfarm.org/artman/publish/article_513.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 14, 2011';
  syndicate.article_summary[ syndicate.index ] = '<font size=2>  <table border=0 cellspacing=2 cellpadding=0 width=65 align=left>\n   <tr><td><img src="http://happytrailsfarm.org/artman/uploads/copy_of_pigseniorcitizen.jpg" height="78" width="65" border=0></td></tr>\n  </table>\n</font>Spring is just around the corner, and it\'s time to get out and get involved in your community!&nbsp; We LOVE our senior citizens, and Happy Trails provides <a href="http://happytrailsfarm.org/artman/uploads/seniorvolunteers.pdf">plenty of volunteer opportunities for seniors</a>!&nbsp; Kep as busy as you want to by helping out as a tour guide, meeting and greeting visitors, working in the office, driving small animals in pet porters to the vet, weeding spring flower beds or returning phone calls.&nbsp; To learn more, call us at 330-296-5914.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Additional Horse Foster Homes Now Being Approved';
  syndicate.article_url[ syndicate.index ] = 'http://happytrailsfarm.org/artman/publish/article_509.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 14, 2011';
  syndicate.article_summary[ syndicate.index ] = '<font size=2>  <table border=0 cellspacing=2 cellpadding=0 width=65 align=left>\n   <tr><td><img src="http://happytrailsfarm.org/artman/uploads/copy_of_dscf0096.jpg" height="86" width="65" border=0></td></tr>\n  </table>\n</font>Happy Trails is planning to add several horse foster homes to our foster home program.&nbsp; The horses available for foster have already completed their rehabilitation and are simply waiting to be adopted!&nbsp; If you would like to be involved in animal rescue and help care for a rescued horse until we are able to find it a permanent home, contact Happy Trails for more details at 330-296-5914! For some basic info, click on the headline!</font>';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'There Is An Epidemic Of Indoor Pot Belly Pigs Needing Homes!';
  syndicate.article_url[ syndicate.index ] = 'http://happytrailsfarm.org/artman/publish/indoor_pigs_need_homes.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 13, 2011';
  syndicate.article_summary[ syndicate.index ] = '<font size=2>  <table border=0 cellspacing=2 cellpadding=0 width=65 align=left>\n   <tr><td><img src="http://happytrailsfarm.org/artman/uploads/copy_of_pigdozer2.jpg" height="77" width="65" border=0></td></tr>\n  </table>\n</font>Pigs like Dozer, raised in the comfort of an indoor home, are becoming homeless in the middle of winter. It seems like the calls are coming into Happy Trails in catastrophic waves. There are no less than 15 indoor pot belly pigs in need of being re-homed through no fault of their own. Please share this information - click on the headline for the story.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = '52 Thoroughbreds Were Destined For Sugarcreek After Their Owner Passed Away';
//  syndicate.article_url[ syndicate.index ] = 'http://happytrailsfarm.org/artman/uploads/websitehorsecommentary.pdf';
  syndicate.article_url[ syndicate.index ] = 'http://happytrailsfarm.org/artman/uploads/websitehorsecommentary.pdf';
  syndicate.article_date[ syndicate.index ] = 'Feb  3, 2011';
  syndicate.article_summary[ syndicate.index ] = '  <table border=0 cellspacing=2 cellpadding=0 width=65 align=left>\n   <tr><td><img src="http://happytrailsfarm.org/artman/uploads/copy_of_dscf0403.jpg" height="79" width="65" border=0></td></tr>\n  </table>\nWe received no less than 150 emails and phone calls from folks who were concerned about the 52 Thoroughbred horses that were destined for the Sugarcreek Auction after their owner recently passed away. The outpouring of concern for these animals shows the amazing level of compassion that is out there. However, I\'d like to remind everyone that between 250 and 300 <em>other </em>horses are&nbsp;run through the Sugarcreek Auction every weekend,&nbsp;and that there are plenty of horses already in rescue groups in need of your passion and help. On behalf of horse rescue organizations, <a href="http://happytrailsfarm.org/artman/uploads/websitehorsecommentary.pdf">I\'d like to offer this commentary on the situation and ask you to share!</a>';
  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="_self">');
  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('</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="#" target="_blank">');
//document.write('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
//document.write('<b>Powered by SITENAME.com</b></font></a>');
//document.write('<br><br></b></font></td></tr>\n');

