

   
// Create arrays of articles
syndicate.article_title = new Array;
syndicate.article_summary = new Array;
syndicate.article_date = new Array;
syndicate.article_url = new Array;

// This section of the script is published by Article Manager
syndicate.index = 0;
  syndicate.article_title[ syndicate.index ] = 'NIC Student Newspaper Brings Home First-Place Award';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10781.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar  2, 2010';
  syndicate.article_summary[ syndicate.index ] = 'The Sentinel, the student-produced newspaper at North Idaho College, won first place for general excellence for two-year college newspapers at the Associated Collegiate Press national convention in Phoenix ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'National Young Artist Competition Winners';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10773.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 24, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Coeru d\' Alene Symphony Orchestra present ~ The National Young Artist Competition Winners ~';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Fund Established For Family Of NIC Instructor';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10770.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 24, 2010';
  syndicate.article_summary[ syndicate.index ] = 'A fund has been established by coworkers of North Idaho College Biology Instructor Karen Chamberlain for her husband Dave, who needs a heart transplant.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'NIC To Offer Financial Aid, Scholarship Information In Ponderay';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10759.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 10, 2010';
  syndicate.article_summary[ syndicate.index ] = 'NIC To Offer Financial Aid, Scholarship Information In Ponderay';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'NIC To Assist People In Filling Out Application For Financial Aid';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10758.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 10, 2010';
  syndicate.article_summary[ syndicate.index ] = 'North Idaho College and the Idaho State Board of Education will offer assistance on completing the Free Application for Federal Student Aid ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Final Play In Trilogy';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10756.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 28, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Final play in trilogy to be presented as NIC winter theater production.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'High Schoolers To Participate In Nic Jazz Clinics';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10755.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 28, 2010';
  syndicate.article_summary[ syndicate.index ] = 'High schoolers to participate in NIC jazz clinics, annual concert features special guests.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Police Committed To Solving Toddler Death Case';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10731.shtml';
  syndicate.article_date[ syndicate.index ] = 'Dec 14, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Police say they are still investigating the death of a Post Falls toddler, even though it\'s been nearly a year since the girl was fatally injured.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Dutch Brothers Coffee Stand Robbed At Gunpoint ';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10673.shtml';
  syndicate.article_date[ syndicate.index ] = 'Dec  7, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Police are on the hunt for a man suspected of robbing a Coeur d\'Alene Dutch Bros. coffee stand at gunpoint.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Thousands Without Power In Hayden, ID ';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10672.shtml';
  syndicate.article_date[ syndicate.index ] = 'Dec  7, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Avista tells KREM 2 News that a power pole fire has knocked out power to 3,869 customers in the area in and around Hayden, Idaho.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Vehicle Occupant Trapped In Post Falls Accident';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10662.shtml';
  syndicate.article_date[ syndicate.index ] = 'Dec  4, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Post Falls police and fire crews have responded to Mullan Avenue and Idaho Street where a rollover injury accident apparently has trapped a vehicle occupant.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Swastikas, Slurs Spray-Painted On Coeur D\'Alene Man\'s Truck ';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10658.shtml';
  syndicate.article_date[ syndicate.index ] = 'Dec  4, 2009';
  syndicate.article_summary[ syndicate.index ] = 'A Coeur d\'Alene developer is the latest victim of a hate crime in North Idaho, where incidents are becoming more frequent.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Two Popular Teachers Die';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10611.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 26, 2009';
  syndicate.article_summary[ syndicate.index ] = 'The Coeur d\'Alene School District in northern Idaho is mourning the deaths of two popular music teachers.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Falling Tree Kills Woodcutter Near 4th Of July Pass ';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10582.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 23, 2009';
  syndicate.article_summary[ syndicate.index ] = 'A tree fell on a woodcutter and killed him near 4th of July Pass late Saturday morning, according to the Kootenai Sheriff\'s Department.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Semi Loaded With Cheese Flips On I-90 ';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10581.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 23, 2009';
  syndicate.article_summary[ syndicate.index ] = 'A semi loaded with 35,000 pounds of cheese crashed on a snowy I-90 west of 4th of July Pass in North Idaho just before noon on November 22, 2009 and delayed traffic in that area for hours.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Coeur d\'Alene Shopko Pharmacist Tackles Armed Robber ';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10561.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 19, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Coeur d\'Alene police and Kootenai County Sheriff\'s deputies are investigating a robbery at the Shopko on the 200 block of Ironwood Drive.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Idaho And Avista Trade Land';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10551.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 18, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Idaho is trading 120 acres of steeply forested land near Lake Pend Orieille to Avista Corp. in exchange for a slightly larger parcel of gently rolling timberland a few miles away.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Deputy Rams Getaway Car ';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10534.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 16, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Two men are under arrest suspected of robbing a mini mart at gunpoint on the 56-hundred block of North 15th in Coeur d\'Alene.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Sarah Palin To Stop In Coeur D\'Alene For Book Signing ';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10524.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 13, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Fred Meyer officials confirm to KREM 2 News, former Vice Presidential candidate Sarah Palin will be in Coeur d\'Alene on December 10 for a book signing.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Kootenai County Has Third Highest Jobless Rate In Idaho. ';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10508.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 11, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Despite optimism that North Idaho’s economy is recovering, the latest unemployment figures tell a different story.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Dutch Brothers Coffee Robbed In Coeur d\' Alene ';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10492.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 10, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Police responded to 1680 North West Blvd. Dutch Bros. Coffee for the report of a robbery that had just occurred.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Three Idaho Family Members Face Hate Crime Charges';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10482.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov  9, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Three family members have been charged with hate crimes in connection with a confrontation outside a Coeur d\'Alene home.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Idaho Woman Survives Night On Chilco Mountain ';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10478.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov  9, 2009';
  syndicate.article_summary[ syndicate.index ] = 'A Spirit Lake woman who wandered off the trail while hiking on Chilco Mountain has been found safe after a cold night in the wilderness.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Brannon Seeks Recount In Coeur d\'Alene Council Race';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10445.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov  4, 2009';
  syndicate.article_summary[ syndicate.index ] = 'The losing candidate in a tight Coeur d’Alene City Council race formally asked the city clerk for a recount on November 4.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Jail Vote Failures Will Cost Kootenai County';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10443.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov  4, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Kootenai County will continue to ship inmates to other jails.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Election Results For Hayden';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10427.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov  4, 2009';
  syndicate.article_summary[ syndicate.index ] = 'The following election results were obtained from KREM.com and were official as of November 4, 2009.<br />\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Death Of Post Falls Man Attributed To Swine Flu ';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10425.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov  4, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Test results just back from the Panhandle Health District confirm a Post Falls man died of complications from the swine flu last month.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Election Results For Rathdrum';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10424.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov  4, 2009';
  syndicate.article_summary[ syndicate.index ] = 'The following election results were obtained from KREM.com and were official as of November 4, 2009.<br />\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Election Results For Hauser';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10423.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov  4, 2009';
  syndicate.article_summary[ syndicate.index ] = 'The following election result was obtained from KREM.com and was official as of November 4, 2009.<br />\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Election Results For Post Falls';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10422.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov  4, 2009';
  syndicate.article_summary[ syndicate.index ] = 'The following election results were obtained from KREM.com and were official as of November 4, 2009.<br />\n';
  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; }

// TWO LINES ADDED by davenet on June 24. 2003
if (!syndicate.first_article) { syndicate.first_article = 0; } 
if (!syndicate.last_article) { syndicate.last_article = syndicate.max_articles; } 


// 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
//  ORIGINAL LINE altered BELOW BY davenet June 24,2003 // for ( syndicate.index = 0; syndicate.index < syndicate.max_articles ; syndicate.index++ ) {
for (syndicate.index = syndicate.first_article; syndicate.index < syndicate.last_article ; 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 align="left" bgcolor="' + syndicate.bgcolor + '">');
  document.write('<a href="' + syndicate.article_url[syndicate.index] + '">');
  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 RuralNorthwest.com</b></font></a>');
//document.write('<br><br></b></font></td></tr>\n');
