



// 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 ] = 'SBU Employee Christmas Party Dec. 10 ';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/SBU_Employee_Christmas_Party_Dec_10.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 19, 2009 - 1:13:39 PM';
  syndicate.article_summary[ syndicate.index ] = '<span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"><strong>BOLIVAR, MO</strong></span><span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"> – The annual Southwest Baptist University employee Christmas banquet will be held Thursday, December 10, at 6:00 p.m. in Mellers Dining Commons.\n	<o:p></o:p></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SBU’s chapter of the National Delta Mu Delta Honor Society inducts new members';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/SBU_s_chapter_of_the_National_Delta_Mu_Delta_Honor_Society_inducts_new_members.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 17, 2009 - 6:04:41 PM';
  syndicate.article_summary[ syndicate.index ] = '<span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"><strong>BOLIVAR, MO</strong></span><span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"> – SBU’s Zeta Kappa Chapter of the National Delta Mu Delta (DMD) Honor Society inducted 14 new members in a ceremony held Monday, Nov. 9, 2009.<span style=\"mso-spacerun: yes\">&nbsp; </span>Presiding over the induction were the 2009-2010 chapter officers: President Rebekah Wright, Vice-President Kim Steinkruger, Secretary Kari Mooney, and Treasurer Laura Freeman.<span style=\"mso-spacerun: yes\">&nbsp; </span>Dr. Ronda Credille, Professor of Business Administration, is the chapter’s faculty advisor.\n	<o:p></o:p></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Symphonic Winds to present works by Mendelssohn, Biebl, Shostakovich, and Reed';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/Casebolt/Symphonic_Winds_to_present_works_by_Mendelssohn_Biebl_Shostakovich_and_Reed.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 17, 2009 - 5:47:45 PM';
  syndicate.article_summary[ syndicate.index ] = '<span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"><strong>BOLIVAR, MO</strong></span><span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"> – Southwest Baptist University Music Department presents the Symphonic Winds in concert at 7:30 p.m. Thursday, Nov. 19. Works by Mendelssohn, Biebl, Shostakovich, and Reed are featured by the 54-member ensemble. The free public performance will be held at Pike Auditorium in the Mabee Chapel on the SBU campus in Bolivar.\n	<o:p></o:p></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SBU Library Receives Historical Gift';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/SBU_Library_Receives_Historical_Gift.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 17, 2009 - 5:11:48 PM';
  syndicate.article_summary[ syndicate.index ] = '<span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"><strong>BOLIVAR, MO</strong></span><span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"> – The Southwest Baptist University archives recently received a significant piece of history. Tom Haines, a retired university library developer from Oklahoma City, donated historical materials belonging to his great-grandfather, Reverend John Williamson Haines, an early trustee of the school.\n	<o:p></o:p></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SBU Jazz Ensemble to perform standards and contemporary jazz tunes';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/SBU_Jazz_Ensemble_to_perform_standards_and_contemporary_jazz_tunes_in_concert.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 12, 2009 - 11:00:25 AM';
  syndicate.article_summary[ syndicate.index ] = '<span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"><strong>BOLIVAR, MO</strong></span><span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"> – The SBU department of music is proud to present the Jazz Ensemble in concert at 7:30 p.m., Tuesday, Nov. 17 in the Meyer Recital Hall in the Geneva Casebolt Music Center on the main campus of SBU. The ensemble is under the direction of Dr. Jeffery Waters, professor of music and acting dean of the Casebolt College of Music, Arts and Letters. \n	<o:p></o:p></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = '11/9/09 Update to Information and Precautions for H1N1 Flu (Swine Flu)';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/HealthCenterInformation/11_9_09_Update_to_Information_and_Precautions_for_H1N1_Flu_Swine_Flu.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 10, 2009 - 10:52:52 AM';
  syndicate.article_summary[ syndicate.index ] = '\n\n<p style=\"TEXT-ALIGN: left; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none\" class=\"MsoNormal\" align=\"left\"><span style=\"FONT-FAMILY: \'Tahoma\',\'sans-serif\'; FONT-SIZE: 12pt\">Bolivar Campus Update, November 9, 2009 \n		<o:p></o:p></span></p>\n\n<p style=\"TEXT-ALIGN: left; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none\" class=\"MsoNormal\" align=\"left\"><span style=\"FONT-FAMILY: \'Tahoma\',\'sans-serif\'\">\n		<o:p><span style=\"FONT-SIZE: 12pt\">&nbsp;</span></o:p></span><span style=\"FONT-FAMILY: \'Tahoma\',\'sans-serif\'\"> \n		<o:p><span style=\"FONT-SIZE: 12pt\">&nbsp;</span></o:p></span></p>\n\n<p style=\"TEXT-ALIGN: left; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none\" class=\"MsoNormal\" align=\"left\"><span style=\"FONT-FAMILY: \'Tahoma\',\'sans-serif\'; FONT-SIZE: 12pt\">Mrs. Nancy Hodges, SBU\'s Director of Health Services stated, \"During the week of November 1 through November 7, 2009 there were only two students (down from nine the previous week) seen with a fever over 100 and exhibiting flu symptoms.”<span style=\"mso-spacerun: yes\">&nbsp;&nbsp; </span>Most students seen at The Health Center were exhibiting symptoms of a stomach virus, sinusitis, or strep throat. \n		<o:p></o:p></span></p>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = '11/2/09 Update to Information and Precautions for H1N1 Flu (Swine Flu)';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/HealthCenterInformation/11_2_09_Update_to_Information_and_Precautions_for_H1N1_Flu_Swine_Flu.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 7, 2009 - 5:41:59 PM';
  syndicate.article_summary[ syndicate.index ] = '\n\n<p><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\"><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\">Bolivar Campus Update November 2, 2009</span></span></p>\n\n<p><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\"><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\"></span>According to SBU\'s Director of Health Services, Nancy Hodges, \"During the week of October </span><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\">25-31, 2009 there were </span><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\">nine</span><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\"> students seen with fever over 100 and exhibiting flu sympto</span><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\">ms.&nbsp; On</span><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\">ly one student </span><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\">tested positive for </span><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\">Influenza </span><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\">A.&nbsp; Many students were seen with some of the sy</span><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\">mptoms of flu, but not fever.”&nbsp; F</span><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\">or information </span><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\">regarding flu symptoms, please c</span><span style=\"FONT-FAMILY: \'Tahoma\'; FONT-SIZE: 12pt\">lick on </span><a href=\"http://www.sbuniv.edu/currentstudents/HealthCenter/FlusymptomsandActions9-16-09.pdf\" target=\"_blank\"><span style=\"FONT-FAMILY: \'Helvetica\'; COLOR: #0000ff; FONT-SIZE: 12pt\">Flu Symptoms and Actions</span></a><span style=\"FONT-FAMILY: \'Times New Roman\'; FONT-SIZE: 12pt\">.</span></p>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SBU Chamber Orchestra to perform concert Nov 3';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/SBU_Chamber_Orchestra_to_perform_concert_Nov_3.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 6, 2009 - 8:41:14 PM';
  syndicate.article_summary[ syndicate.index ] = '\n\n<p align=\"left\"><span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"><strong>BOLIVAR, MO</strong></span><span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"> – The public is invited to attend a free concert featuring the Southwest Baptist University Chamber Orchestra at 7:30 p.m., Thursday, Nov. 12. The concert will be presented in Meyer Recital Hall in the Geneva Casebolt Music Center on the Bolivar campus. Dr. Brian K. Hopwood, director of instrumental studies and assistant professor of music will conduct.\n		<o:p></o:p></span></p>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SBU Chorale to Present Fall Concert';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/SBU_Chorale_to_Present_Fall_Concert.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 6, 2009 - 8:36:28 PM';
  syndicate.article_summary[ syndicate.index ] = '<span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"><strong>BOLIVAR, MO</strong></span><span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"> – The Chorale of Southwest Baptist University will present its Fall Concert at 7:30 p.m. on Tuesday, Nov. 10, in Pike Auditorium located in Mabee Chapel on the main campus in Bolivar.<span style=\"mso-spacerun: yes\">&nbsp; </span>Admission is free and a reception for the audience will be held backstage following the performance.\n	<o:p></o:p></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SBU Theatre Department to perform “The Crucible”';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/Casebolt/SBU_Theatre_Department_to_perform_The_Crucible.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 6, 2009 - 8:31:28 PM';
  syndicate.article_summary[ syndicate.index ] = '<span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"><strong>BOLIVAR, MO</strong></span><span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"> – Southwest Baptist University will present Arthur Miller’s classic “The Crucible” at 7:00 p.m., Nov.12 through14, in the Davis-Newport Theater located in the Jester Learning &amp; Performance Center on the Bolivar campus.<span style=\"mso-spacerun: yes\">&nbsp; </span>\n	<o:p></o:p></span>';
  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(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://www.sbuniv.edu/SBUNews/" target="_blank">');
document.write('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
document.write('<p><b>Powered by SBU News</b></font></a>');
document.write('<br><br></b></font></td></tr>\n');
