   
   


// 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 Article Manager
syndicate.index = 0;
  syndicate.article_title[ syndicate.index ] = 'Top 5 Health Hazzards of Summer - Prevention Tips';
  syndicate.article_url[ syndicate.index ] = 'http://content.momsnetwork.com/artman/publish/top_5_health_hazzards_of_summer_prevention_tips.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 17, 2010';
  syndicate.article_summary[ syndicate.index ] = '<SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: \'Arial\',\'sans-serif\'; mso-fareast-font-family: \'Times New Roman\'">Sunbathing, swimming, barbequing and outdoor sports are all part of summertime fun. However, without the right precautions these leisure activities can be major hazards and lead to skin cancer, heat stroke, food poisoning, dehydration and drowning. ChicagoHealers.com Practitioner Sharon M. Weinstein, RN, MS, CRNI, FACW, FAAN provides prevention tips to the following summer health hazards.</SPAN> ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Summer Sports for Kids: How to Keep Them Safe, Prevent Injuries, and Still Have Fun';
  syndicate.article_url[ syndicate.index ] = 'http://content.momsnetwork.com/artman/publish/summer_sports_for_kids_how_to_keep_them_safe.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 10, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Summer here, children’s excitement to get outdoors and play should be met with an equal measure of precaution on parents’ part. ChicagoHealers.com Practitioner Dr. Richard Ezgur, DC offers tips for parents to keep kids safe and injury free during summer sports and activities.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'How to Get the Best Workout in the Shortest Time Possible';
  syndicate.article_url[ syndicate.index ] = 'http://content.momsnetwork.com/artman/publish/how_to_get_the_best_workout_in_the_shortest_time_possible.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul  8, 2010';
  syndicate.article_summary[ syndicate.index ] = 'After a long harsh winter are you looking to “spring” your body back in shape? The latest research shows that doing a few 10-minute workouts each day is more effective than traditional 30 minute workouts. One of my mantras this year is, “Short, Effective and Often!”  As a working mother of three, I know how challenging it can be to schedule time for a workout. With my new book, Short Cuts to Big Weight Loss , I am ready to help you work smarter not longer with the time you do have.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Living Not-So-Large: 15 Ways to Combat Childhood Obesity by Making Fitness a Family Affair';
  syndicate.article_url[ syndicate.index ] = 'http://content.momsnetwork.com/artman/publish/living_not_so_large_15_ways_to_combat_childhood_obesity_by_making_fitness_a_family_affair.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul  3, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Kids live what they learn. If you don\'t want fat kids, don\'t live a fat family life, says fitness expert and author Tom Gilliam. Here, he offers some simple yet powerful ideas for getting kids (and maybe you, too) excited about getting fit.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'No Second Chance with Suicide';
  syndicate.article_url[ syndicate.index ] = 'http://content.momsnetwork.com/artman/publish/no_second_chance_with_suicide.shtml';
  syndicate.article_date[ syndicate.index ] = 'Apr 14, 2010';
  syndicate.article_summary[ syndicate.index ] = '<SPAN style="FONT-SIZE: 10pt; COLOR: #4c3f36; LINE-HEIGHT: 115%; FONT-FAMILY: \'Verdana\',\'sans-serif\'; mso-fareast-font-family: \'Times New Roman\'; mso-bidi-font-family: Arial; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><FONT face="arial, helvetica, sans-serif">We see the news reports and hear about it on the radio. We read about it online and in the newspapers, and we will continue to until we can all do something about preventing it. Suicide is the 11th cause of death in the United States. It kills 31,000 people each year and severely inflicts injuries on another 425,000 each year. Suicide is the third-leading cause of death for 15- to 24-year-olds, according to the Centers for Disease Control and Prevention (CDC), surpassed only by accidents and homicide.</FONT></SPAN>';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'What You Need To Know About Tai Chi';
  syndicate.article_url[ syndicate.index ] = 'http://content.momsnetwork.com/artman/publish/need-to-know-about-tai-chi.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan  6, 2008';
  syndicate.article_summary[ syndicate.index ] = 'Tai chi is the fastest growing exercise in America. More accessible than yoga because it doesn’t demand great flexibility, and easy for people of all ages to begin because there are not special fitness requirements, it is a gentle, beautiful exercise that improves strength, balance, hand-to-eye coordination, teaches you to relax more deeply than ever before, and gives you an unparalleled workout for butt and legs.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'The Shorter Student: Five Tips for Parent’s Concerned About Their Child’s Height';
  syndicate.article_url[ syndicate.index ] = 'http://content.momsnetwork.com/artman/publish/parents-concerned-about-childs-height.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan  6, 2008';
  syndicate.article_summary[ syndicate.index ] = 'Pediatricians often report that at the beginning of each school year, there is an increase in calls from parents worried about their child’s height.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Four Ways to Survive Complete Devastation';
  syndicate.article_url[ syndicate.index ] = 'http://content.momsnetwork.com/artman/publish/survive-complete-devastation.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan  6, 2008';
  syndicate.article_summary[ syndicate.index ] = 'If you experience a tragedy -- your spouse dies or walks out of a marriage, or you are faced with a life threatening disease – you will embark on an emotiional journey that is like no other experience you have ever had.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Sarcopenia: As we Age Muscle Loss Occurs';
  syndicate.article_url[ syndicate.index ] = 'http://content.momsnetwork.com/artman/publish/sarcopenia-muscle-loss-occurs-age.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan  6, 2008';
  syndicate.article_summary[ syndicate.index ] = 'The human body was not designed to last a few 100 years.  As early as the 20\'s a process starts in the our bodies know as Sarcopenia.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Nutritional Counseling is Key Parental Resource';
  syndicate.article_url[ syndicate.index ] = 'http://content.momsnetwork.com/artman/publish/nutritional-couseling-key-parental-resource.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan  6, 2008';
  syndicate.article_summary[ syndicate.index ] = 'Stemming the Tide Against the Epidemic of Childhood Obesity';
  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="#" 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');
