



// 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 ] = 'Demonstration of ancient rural crafts';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/bramhall/article_1659.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 25, 2010';
  syndicate.article_summary[ syndicate.index ] = 'at the Anson Engine Museum, the skills of "bodging" and blacksmith work will be on display every month throughout the season';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Coppice Road Allotments Open Day';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1717.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 18, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Coppice Road Allotments are holding an \'Allotments Open Day\' on Sunday 18th July 2010 - 11.00 til 3.00. Come along and see for yourself what having an allotment is really like. Donations to Charity in lieu of entrance fee.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Hazel Grove Carnival 2010';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1594.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 10, 2010';
  syndicate.article_summary[ syndicate.index ] = 'NEXT MEETING 9th June \nAT THE RISING SUN\n19;30';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Hazel Grove Carnival Committee';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1355.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 10, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Looking for new committee members ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Hazel Grove Carnival 2010';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1803.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 10, 2010';
  syndicate.article_summary[ syndicate.index ] = 'November 1st saw all the money collected on carnival day given to local charities ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Annual Sponsored Walk';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1856.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 10, 2010';
  syndicate.article_summary[ syndicate.index ] = '30th May 2010 ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Evening Walk  on Wednesday  30th June';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1351.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun 30, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Evening walk with Stockport Walking & Outdoor Group\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Evening Walk on Wednesday 23rd June';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_838.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun 23, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Evening walk with Stockport Walking & Outdoor Group \n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Walk on Sunday 20th June';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_438.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun 20, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Walk with Stockport Walking & Outdoor Group';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Bramhall Festival';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/bramhall/article_1870.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun 19, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Click here for the events and to download the Festival brochure';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Evening Walk on Wednesday 16th June';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_841.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun 16, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Evening walk with Stockport Walking & Outdoor Group';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Bramhall Festival';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/bramhall/article_1869.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun 15, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Click here for the events and to download the Festival brochure';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Walk on Sunday 13th June';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1567.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun 13, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Walk with Stockport Walking & Outdoor Group\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Walk on Saturday 12th June';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_441.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun 12, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Walk with Stockport Walking & Outdoor Group.\n\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Scottish Dancing';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/bramhall/article_389.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun 10, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Enjoy ceilidhs? Fancy a new challenge?  Why not try Scottish Country Dancing? ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Classes restart in September';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/bramhall/article_1354.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun 10, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Scottish Dancing restarts in Bramhall village in September';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Evening Walk on Wednesday 9th June';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1433.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun  9, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Evening walk with Stockport Walking & Outdoor Group';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = '8th June Hazel Grove Gardening Club Meeting';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1865.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun  8, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Hazel Grove Gardening Club June 2010 Meeting, Click on RED Title for details';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Poynton RBL Band Summer Concert';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1855.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun  6, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Poynton RBL Concert Band presents its annual Summer Concert at Poynton Civic Hall.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Walk on Sunday 6th June';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1430.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun  6, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Walk with Stockport Walking & Outdoor Group ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Evening Walk  on Wednesday  2nd June';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1712.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun  2, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Evening walk with Stockport Walking & Outdoor Group';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Hazel Grove Gardening Club Spring Show';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1867.shtml';
  syndicate.article_date[ syndicate.index ] = 'May 19, 2010';
  syndicate.article_summary[ syndicate.index ] = 'The Ray Davies Memorial Show';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Stockport Field Club list of summer walks.';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1825.shtml';
  syndicate.article_date[ syndicate.index ] = 'May 15, 2010';
  syndicate.article_summary[ syndicate.index ] = 'The Summer Walks Syllabus is underway and we have managed the first four walks in the dry, so this bodes well for the rest of the summer.  We have some interesting walks coming up from short evening events to a couple of 8.5 miles.  We go north to Piethorn reservoir and south to Wetton and Onecote and all points east and west inbetween.  Please come and join us.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Poynton Gilbert & Sullivan Society';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1864.shtml';
  syndicate.article_date[ syndicate.index ] = 'May  9, 2010';
  syndicate.article_summary[ syndicate.index ] = '“The Best of the West” concerts to be given on Saturday 8th May and Sunday 9th May at 7.30pm in the Royal British Legion, Poynton';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Poynton Gilbert & Sullivan Society';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1852.shtml';
  syndicate.article_date[ syndicate.index ] = 'May  8, 2010';
  syndicate.article_summary[ syndicate.index ] = '"The Best of the West" concerts to be given on Saturday 8th May and Sunday 9th May at 7.30pm in the Poynton Royal British Legion';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Poynton High School PTA Theatre Trips';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1624.shtml';
  syndicate.article_date[ syndicate.index ] = 'May  3, 2010';
  syndicate.article_summary[ syndicate.index ] = 'We have several theatre trips coming up in the next few months.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Poynton High School PTA Theatre Trips';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1500.shtml';
  syndicate.article_date[ syndicate.index ] = 'May  3, 2010';
  syndicate.article_summary[ syndicate.index ] = 'If you fancy a night out at the Theatre why don\'t you join us on one of our trips and let us organise the tickets and transport for you.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Sunday Walks with Stockport Walking and Outdoor Group ';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_119.shtml';
  syndicate.article_date[ syndicate.index ] = 'May  2, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Join Stockport Walking and Outdoor Group for a walk or occasional cycle ride most Sundays.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Summer 2010 Programme is now available';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_836.shtml';
  syndicate.article_date[ syndicate.index ] = 'May  1, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Welcome to Stockport Walking & Outdoor Group';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Wednesday evening walks with Stockport Walking and Outdoor Group ';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_120.shtml';
  syndicate.article_date[ syndicate.index ] = 'May  1, 2010';
  syndicate.article_summary[ syndicate.index ] = 'The summer season is about to start!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Wednesday evening talks with Stockport Walking & Outdoor Group';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_224.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 30, 2010';
  syndicate.article_summary[ syndicate.index ] = 'During the winter months we have indoor meetings with talks, slideshows, quizzes. These have now finished until September 2010. In the meantime join use for an evening walk.\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Slideshow on Wednesday 28th April';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1352.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 28, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Walking in South Africa with Martin & Sue Banfield';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Two walks on Sunday 25th April';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1431.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 25, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Two walks with Stockport Walking & Outdoor Group ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Middlewood and Higher Poynton WI Spring Fair';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1854.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 24, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Our annual Spring Fair will be held at the Methodist Church Hall on Saturday 24th April 2010';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Slideshow on Wednesday 21st April';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1432.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 21, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Tenerife with Jack Martin\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'The North Cheshire Family History Society';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1831.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 20, 2010';
  syndicate.article_summary[ syndicate.index ] = 'An illustrated talk hosted by the North Cheshire Family History Society entitled "Rainow Photo Archive" by Bob Langstaff';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Slideshow on Wednesday 14th April';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_636.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 14, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Central America with John Gregory\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Slideshow - Wednesday 7th April';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1769.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr  7, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Coast to Coast with Colin McHugo\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Slideshow on Wednesday 31st March';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1434.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 31, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Lakes & Mountains with Steve Harrington\n\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Poynton Royal British Legion';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1367.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 31, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Enjoy the excellent facilities at Poynton RBL Club';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Poynton RBL Concert Band';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1493.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 31, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Local Concert Band seeks musicians and librarian.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Alpine Point of View';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1817.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 23, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Stockport Walking and Outdoor Group presents an Alpine Point of View with Kev Reynolds';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Poynton Conservatives News        21 February 2010';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1853.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 21, 2010';
  syndicate.article_summary[ syndicate.index ] = 'YOUR Chance to Question the Candidate. David Rutley, Conservative candidate for Macclesfield at the next General Election, is holding an Open Meeting in Poynton. ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Poynton G&S Society need . . . . . . . . ';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1665.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 19, 2010';
  syndicate.article_summary[ syndicate.index ] = 'The Poynton Gilbert & Sullivan Society are looking for helpers in the following areas .........';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'test aerosurfer';
  syndicate.article_url[ syndicate.index ] = 'http://www.poyntonweb.co.uk/article_1851.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 13, 2010';
  syndicate.article_summary[ syndicate.index ] = 'test summary';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'The Friends Of Torkington Park AGM';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/hazelgrove/article_1778.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb  4, 2010';
  syndicate.article_summary[ syndicate.index ] = 'The Annual Genral Meeting to elect a new Chair / Treasurer / Secretary. All work conducted by the friends is done on a voluntary basis.  We need more helpers.  Are you interested?  We meet in the conservatory at Zuri wine bar.  7.30pm until 9pm ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Come and join the Commodores for 2010 - All Ages';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1848.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb  3, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Poynton Commodores Drum Corps - now recruiting new members for 2010';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Commodores Recent Events';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1847.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb  3, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Commodores appear on Britains Got Talent and perform with local School';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'New Honda Preview Night!';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1844.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb  3, 2010';
  syndicate.article_summary[ syndicate.index ] = 'A number of New Honda Motorcycles will be on display at our February meeting courtesy of Hunts Motorcycles. ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'New Honda Preview Night!';
  syndicate.article_url[ syndicate.index ] = 'http://www.villagescoops.co.uk/poynton/article_1843.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb  3, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Hunts motorcycles will be giving PMC a sneak preview of some of the latest Honda bikes at our February meeting.';
  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="_parent">'); 
  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="#" 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');
