



// 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 ] = 'St. John’s/SBU College of Nursing to hold pinning and commencement ceremony';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/Nursing/St_John_s_SBU_College_of_Nursing_to_hold_pinning_and_commencement_ceremony.shtml';
  syndicate.article_date[ syndicate.index ] = 'May 18, 2010 - 10:06:24 AM';
  syndicate.article_summary[ syndicate.index ] = '\n\n<p style=\"MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto\" class=\"MsoNormal\" align=\"left\"><b><span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt; mso-fareast-font-family: \'Times New Roman\'; mso-bidi-language: AR-SA\">SPRINGFIELD, MO</span></b><span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt; mso-fareast-font-family: \'Times New Roman\'; mso-bidi-language: AR-SA\"> ─ St. John\'s College of Nursing of Southwest Baptist University pinning and commencement ceremony will be held Thursday, May 20, at 7:00 p.m., at Second Baptist Church in Springfield. One hundred and five nursing graduates will be pinned and receive diplomas. </span><span style=\"FONT-FAMILY: \'Times New Roman\',\'serif\'; mso-fareast-font-family: \'Times New Roman\'; mso-bidi-language: AR-SA\">\n		<o:p></o:p></span></p>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'BREAKING NEWS: SBU SIFE Going to National Competition';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/BREAKING_NEWS_SBU_SIFE_Going_to_National_Competition.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 13, 2010 - 11:42:17 PM';
  syndicate.article_summary[ syndicate.index ] = '\n\n<p><span style=\"FONT-FAMILY: Arial; FONT-SIZE: 10pt\"><strong>ROGERS, Ark.</strong> -- <span style=\"FONT-FAMILY: Arial; FONT-SIZE: 10pt\" class=\"entry-content\">SBU SIFE has been named a 2010 SIFE Regional Champion. <span style=\"FONT-FAMILY: Arial; FONT-SIZE: 10pt\">This marks the SBU team’s 26th win in 27 years.&nbsp; \n				<o:p>&nbsp;</o:p></span>&nbsp;The team will compete at the National Exposition in Minneapolis May 11-13.</span> In 2009, SBU SIFE placed in the top 32 teams in the nation.</span></p>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SBU Spring Chorale Concert Presented on April 19';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/SBU_Spring_Chorale_Concert_Presented_on_April_19.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 7, 2010 - 2:38:31 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 Spring Concert on Monday, April 19, at 7:30 p.m. in Pike Auditorium on the Bolivar campus.<span style=\"mso-spacerun: yes\">&nbsp; </span>Admission is free and a reception for the audience will be held backstage following the concert. \n	<o:p></o:p></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SBU to Host Lecture on Evidence of God in Human Physiology';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/SBU_to_Host_Lecture_on_Evidence_of_God_in_Human_Physiology.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 1, 2010 - 9:45:42 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\"> – <strong>CORRECTED DATE: </strong></span><span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt; mso-fareast-font-family: \'Times New Roman\'\">The Darrell R. Strait Center for the Integration of Science and Christian Faith at Southwest Baptist University is sponsoring a lecture on <strong>Wednesday, April 21, </strong>4:00-5:00 p.m., in Meyer Recital Hall, in the Geneva Casebolt Music Center on the Bolivar main campus. The event is free and open to the public. \n	<o:p></o:p></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SBU to be visited by Equality Ride';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/SBU_to_be_visited_by_Equality_Ride.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 13, 2010 - 11:39:21 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 has been planning and preparing for the Equality Ride visit to the Bolivar campus on Wednesday, April 14, in good faith regarding meaningful, civil, and peaceful discussion. As a Christ-centered campus, it is an expectation that all members of the SBU community and Equality Ride guests speak respectfully and graciously toward one another.<span style=\"mso-spacerun: yes\">&nbsp; </span>\n	<o:p></o:p></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Darren Farris Attains Certification Status of Professional Locksmith';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/staff/Darren_Farris_Attains_Certification_Status_of_Professional_Locksmith.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 8, 2010 - 8:51:21 AM';
  syndicate.article_summary[ syndicate.index ] = '<span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"><strong>BOLIVAR, Mo. – </strong>SBU\'s Access Control Coordinator Darren Farris recently attained the status of <span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'\">Professional Locksmith</span> and certifications in&nbsp;all&nbsp;major locking systems. Farris completed his training at <span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'\">Lockmasters Security Institute </span>in Nicholasville, Kentucky. The 80-hour school covered most aspects of locksmithing and key control. \n	<o:p></o:p></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SBU Email-Writing Campaign April 6 to Protect Funding for State Program Scholarship';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/SBU_Email-Writing_Campaign_April_6_to_Protect_Funding_for_State_Program_Scholarship.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 6, 2010 - 11:15:32 AM';
  syndicate.article_summary[ syndicate.index ] = '<span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt; mso-fareast-font-family: \'Times New Roman\'\"><strong>BOLIVAR, Mo.</strong></span><span style=\"FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt; mso-fareast-font-family: \'Times New Roman\'\"> – Southwest Baptist University students, faculty, and staff are attending an e-mail writing campaign April 6 to urge state legislators to protect Access Missouri Scholarship and Bright Flight funding for all students in both the public and private sectors of higher education.\n	<o:p></o:p></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SBU Students in Top Three Teams at AITP Nationals';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/SBU_Students_in_Top_Three_Teams_at_AITP_Nationals.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 30, 2010 - 3:14:22 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\"> – A team of four Southwest Baptist University computer science students claimed third place at the Association for Information Technology Professionals (AITP) National Collegiate Conference (NCC) in the Microsoft Visual Studio Programming Competition.<span style=\"mso-spacerun: yes\">&nbsp; </span>Full results are listed below.<span style=\"mso-spacerun: yes\">&nbsp; </span></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SBU Chamber Orchestra Concert April 15';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/SBU_Chamber_Orchestra_Concert_April_15.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 30, 2010 - 1:50:40 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 public is invited to attend a free concert featuring the Southwest Baptist University Chamber Orchestra, Dr. Brian K. Hopwood, conductor, at 7:30 p.m., Thursday, April 15. The concert will be presented in the Meyer Recital Hall, Casebolt Music Building, on the SBU campus.\n	<o:p></o:p></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'SBU CIS Freshmen Claim Third in Debut Programming Contest';
  syndicate.article_url[ syndicate.index ] = 'http://www.sbuniv.edu/news/artman/publish/CampusNews/SBU_CIS_Freshmen_Claim_Third_in_Debut_Programming_Contest.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 30, 2010 - 1:43:20 PM';
  syndicate.article_summary[ syndicate.index ] = '<span style=\"LINE-HEIGHT: 115%; FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"><strong>BOLIVAR, Mo.</strong></span><span style=\"LINE-HEIGHT: 115%; FONT-FAMILY: \'Arial\',\'sans-serif\'; FONT-SIZE: 10pt\"> --&nbsp;Southwest Baptist University freshmen Weston Herrington (Carthage, Mo.),&nbsp; Jordan Hull (FR, Greenfield, Mo.), and Derek Tran (Kansas City, Mo.) nabbed a third-place finish at the Mid-South Regional Programming Contest on Saturday at Harding University in Searcy, Ark.&nbsp; </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');

