

   
// 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 ] = 'AN INTERVIEW WITH PENNY JAMES, AN INDUSTRY LEADER<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/PENNYJAMESIV_090608.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun  8, 2009';
  syndicate.article_summary[ syndicate.index ] = 'At the conclusion of the successful 2009 NATSAP Annual Meeting in Austin, Texas, a conference honoring the tenth anniversary of the organization, I had the opportunity to spend a few minutes talking with Penny James, the conference chair. ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'INTERVIEW WITH ELLEN BEHRENS<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/article_5494.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 27, 2006';
  syndicate.article_summary[ syndicate.index ] = 'Interviews 12/06: Ellen Behrens explained that she had just completed Phase One of her research on these programs with nearly one thousand families participating in the study.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'BLUEPRINT EDUCATION EXPANDS TO WILDERNESS<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/article_5425.shtml';
  syndicate.article_date[ syndicate.index ] = 'Oct 19, 2006';
  syndicate.article_summary[ syndicate.index ] = 'Interviews 11/06: An interview by Lon Woodbury and Kathy Nussberger with Marmy Kodras, Marketing Director and  Doug Covey, CEO of Blueprint Education in Arizona.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'PAUL CLARK<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/article_5304.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 27, 2006';
  syndicate.article_summary[ syndicate.index ] = 'Interviews 05/06: Interview with Paul Clark, a Montana legislator and member of the Montana Board of Private Alternative Adolescent Residential or Outdoor Programs (PAAROP).';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'ELLIOT SAINER<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/article_5262.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb 20, 2006';
  syndicate.article_summary[ syndicate.index ] = 'Interviews 02/06: In an interview with Woodbury Reports, Inc., Elliot Sainer, shared his knowledge and personal insights on the evolution of Aspen and the parent-choice industry.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'AN INTERVIEW WITH TOM BRATTER<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/article_5254.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb  2, 2006';
  syndicate.article_summary[ syndicate.index ] = 'Interviews 02/06: By: Lon Woodbury, April 19, 2005';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'THE PEOPLE BEHIND THE VISION<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/article_5234.shtml';
  syndicate.article_date[ syndicate.index ] = 'Dec 13, 2005';
  syndicate.article_summary[ syndicate.index ] = 'Interviews 12/05: by Kathy Nussberger: An interview with Brad Gerrard and Bob Marshall about a case study of how one start-up came together.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'NORTHWEST ACADEMY OPENS SOON<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/article_5218.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov  7, 2005';
  syndicate.article_summary[ syndicate.index ] = 'Ruth McKnight, Director of Northwest Academy (NWA), Bonners Ferry, ID, said she has spent much of her time focusing on getting her core group into position to begin accepting new students and referrals.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'ASCENT PREPS FOR<br>GRAND-OPENING<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/article_5203.shtml';
  syndicate.article_date[ syndicate.index ] = 'Oct  7, 2005';
  syndicate.article_summary[ syndicate.index ] = 'An Interview with the new Director/ Admissions/ Clinical team of former CEDU Ascent, regarding the opening of Ascent under the new ownership of UHS (Universal Health Services, in North Idaho. By, Kathy Nussberger';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'BILL LANE<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/article_5144.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jun 24, 2005';
  syndicate.article_summary[ syndicate.index ] = 'An Interview with Bill Lane, by Kathy Nussberger.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'BOB HANNA<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/article_5140.shtml';
  syndicate.article_date[ syndicate.index ] = 'Feb  1, 2005';
  syndicate.article_summary[ syndicate.index ] = 'Interview by: Kathy Nussberger';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'NATHHAN<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/article_5119.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan  3, 2005';
  syndicate.article_summary[ syndicate.index ] = 'Interview by Kathy Nussberger';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'DR. KREG GILLMAN<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/DrKregGillmanIV_041103.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov  3, 2004';
  syndicate.article_summary[ syndicate.index ] = 'Interview with Kreg Gillman, CEO of Provo Canyon School in Orem and Provo Utah, who has worked in the emotional growth/ therapeutic fiield since the early 1990\'s. - by Kathy Nussberger.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'LARRY CARTER<br>Interviews';
  syndicate.article_url[ syndicate.index ] = 'http://www.strugglingteens.com/artman/publish/LarryCarterES_040926.shtml';
  syndicate.article_date[ syndicate.index ] = 'Sep 26, 2004';
  syndicate.article_summary[ syndicate.index ] = 'Interview with Larry Carter, Executive Director of Logan River Academy in Logan, Utah, who has over 20 years experience in the mental healthcare field. - by Kathy Nussberger.';
  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');

