


// 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 ] = 'Archeology Headlines: Egypt';
  syndicate.article_url[ syndicate.index ] = 'http://www.unexplainable.net/Ancients/Archeology-Headlines-Egypt.shtml';
  syndicate.article_date[ syndicate.index ] = '3/20/10';
  syndicate.article_summary[ syndicate.index ] = '<'+'!-- templateDebugMode: start template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\n<table border=\"0\" cellspacing=\"0\" cellpadding=3 align=\"left\" width=\"117\">\n         <tr><td>\n         \n         \n\n         <img src=\"http://www.unexplainable.net/brainbox/uploads/1/sarcophagus_thumb.jpg\" border=\"1\" alt=\"sarcophagus.jpg\" width=\"117\"  height=\"120\"><br clear=\"all\">\n            <b>\n            <span class=\"image_caption\"><font size=\"2\" face=\"Book Antiqua\">\n			</font></span></b>\n\n      		</td></tr>\n      </table>\n<'+'!-- /templateDebugMode: end template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\nIn Luxor, Egypt, two statues made out of red granite have been uncovered close to the mortuary temple of Amenhotep III, who ruled until 1372 BC. Throughout Egypt, a handful of recent headlines have emerged in the news, including the advancements in technology that make it possible to put the pieces of the past back together without damaging ancient artifacts.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Zodiac Sign Aries is Taking Over…';
  syndicate.article_url[ syndicate.index ] = 'http://www.unexplainable.net/Space-Astrology/Zodiac-Sign-Aries-is-Taking-Over.shtml';
  syndicate.article_date[ syndicate.index ] = '3/20/10';
  syndicate.article_summary[ syndicate.index ] = '<'+'!-- templateDebugMode: start template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\n<table border=\"0\" cellspacing=\"0\" cellpadding=3 align=\"left\" width=\"120\">\n         <tr><td>\n         \n         \n\n         <img src=\"http://www.unexplainable.net/brainbox/uploads/1/ariesran_thumb.jpg\" border=\"1\" alt=\"ariesran.jpg\" width=\"120\"  height=\"108\"><br clear=\"all\">\n            <b>\n            <span class=\"image_caption\"><font size=\"2\" face=\"Book Antiqua\">\n			</font></span></b>\n\n      		</td></tr>\n      </table>\n<'+'!-- /templateDebugMode: end template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\nMore than the first day of spring takes place on the 20th of March; it is also the day before the beginning of birthday celebrations for the Aries zodiac sign. The festivities of Aries will continue on until April 20th, but in the meantime, browse this article to learn the ins and outs of Aries birthday boys and girls, who are guided by the ram. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Alien Abduction Day';
  syndicate.article_url[ syndicate.index ] = 'http://www.unexplainable.net/UFO-Alien/Alien-Abduction-Day.shtml';
  syndicate.article_date[ syndicate.index ] = '3/20/10';
  syndicate.article_summary[ syndicate.index ] = '<'+'!-- templateDebugMode: start template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\n<table border=\"0\" cellspacing=\"0\" cellpadding=3 align=\"left\" width=\"120\">\n         <tr><td>\n         \n         \n\n         <img src=\"http://www.unexplainable.net/brainbox/uploads/1/Goodbye_Earth_thumb.jpg\" border=\"1\" alt=\"Goodbye_Earth.jpg\" width=\"120\"  height=\"102\"><br clear=\"all\">\n            <b>\n            <span class=\"image_caption\"><font size=\"2\" face=\"Book Antiqua\">\n			</font></span></b>\n\n      		</td></tr>\n      </table>\n<'+'!-- /templateDebugMode: end template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\nWith the steadily increasing media interest in recent years of the phenomenon of alien abduction, it comes as no surprise that a national holiday would be declared to explore, celebrate, and sell memorabilia related to the taking of humans by non-terrestrial beings.  While seen as a simply kitschy holiday, Alien Abduction day is indicative of the media\'s portrayal of the phenomenon in a lighthearted and distant manner.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Vampire Assailant Attacks NY Cab Driver';
  syndicate.article_url[ syndicate.index ] = 'http://www.unexplainable.net/Simply-Unexplainable/Vampire-Assailant-Attacks-Cab-Driver.shtml';
  syndicate.article_date[ syndicate.index ] = '3/20/10';
  syndicate.article_summary[ syndicate.index ] = '<'+'!-- templateDebugMode: start template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\n<table border=\"0\" cellspacing=\"0\" cellpadding=3 align=\"left\" width=\"120\">\n         <tr><td>\n         \n         \n\n         <img src=\"http://www.unexplainable.net/brainbox/uploads/1/Vampire_Attacker_thumb.jpg\" border=\"1\" alt=\"Vampire_Attacker.jpg\" width=\"120\"  height=\"89\"><br clear=\"all\">\n            <b>\n            <span class=\"image_caption\"><font size=\"2\" face=\"Book Antiqua\">\n			</font></span></b>\n\n      		</td></tr>\n      </table>\n<'+'!-- /templateDebugMode: end template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\nVampires have recently received a cultural makeover, transforming from the standard monstrous creatures of legend into a new breed that rather than inspiring fear, inspires intrigue in the hearts and minds of popular culture.  But one attack in New York late last night reminded many would be vampires that many people find themselves drawn to the idea, and not all of them are friendly.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Facts About Ancient Philosopher: Aristotle II';
  syndicate.article_url[ syndicate.index ] = 'http://www.unexplainable.net/Ancients/Facts-About-Ancient-Philosopher-Aristotle-II.shtml';
  syndicate.article_date[ syndicate.index ] = '3/19/10';
  syndicate.article_summary[ syndicate.index ] = 'From influencing writers and great thinkers that came after him to his views on the souls of living things, Aristotle was a pretty intriguing man. In this article, you will learn what he had to do with photography and what the great philosopher liked to collect as a hobby. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Facts About Ancient Philosopher: Aristotle I';
  syndicate.article_url[ syndicate.index ] = 'http://www.unexplainable.net/Ancients/Facts-About-Ancient-Philosopher-Aristotle-I.shtml';
  syndicate.article_date[ syndicate.index ] = '3/19/10';
  syndicate.article_summary[ syndicate.index ] = '<'+'!-- templateDebugMode: start template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\n<table border=\"0\" cellspacing=\"0\" cellpadding=3 align=\"left\" width=\"90\">\n         <tr><td>\n         \n         \n\n         <img src=\"http://www.unexplainable.net/brainbox/uploads/1/aristotle_thumb.jpg\" border=\"1\" alt=\"aristotle.jpg\" width=\"90\"  height=\"120\"><br clear=\"all\">\n            <b>\n            <span class=\"image_caption\"><font size=\"2\" face=\"Book Antiqua\">\n			</font></span></b>\n\n      		</td></tr>\n      </table>\n<'+'!-- /templateDebugMode: end template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\nAristotle is one of the most infamous people in history, who lived from 384 BC to 322 BC. He is best known as a Greek philosopher, but he had his hands in many different fields. As a student of Plato and the teacher of Alexander the Great, he came in contact with many different influential characters in history. In this article, you will learn more about the man, who was much more than just a philosopher – he became a legend. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'LHC Atom Smashes Energy Record';
  syndicate.article_url[ syndicate.index ] = 'http://www.unexplainable.net/Technology/LHC-Atom-Smashes.shtml';
  syndicate.article_date[ syndicate.index ] = '3/19/10';
  syndicate.article_summary[ syndicate.index ] = '<'+'!-- templateDebugMode: start template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\n<table border=\"0\" cellspacing=\"0\" cellpadding=3 align=\"left\" width=\"120\">\n         <tr><td>\n         \n         \n\n         <img src=\"http://www.unexplainable.net/brainbox/uploads/1/LHC_thumb.jpg\" border=\"1\" alt=\"LHC.jpg\" width=\"120\"  height=\"113\"><br clear=\"all\">\n            <b>\n            <span class=\"image_caption\"><font size=\"2\" face=\"Book Antiqua\">\n			</font></span></b>\n\n      		</td></tr>\n      </table>\n<'+'!-- /templateDebugMode: end template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\nThis morning the Large Hadron Collider was reactivated, sending two beams of protons around its 17 mile tunnel, where they will eventually smash two over 3.5 trillion volts of energy into one another making it the most powerful energy collision to date by over 300%.  The quickly racing beams will result in a 7 trillion electron volt collision that will be the greatest energy collision to date in any man-made experiment.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Look at the Stars, We are Significant';
  syndicate.article_url[ syndicate.index ] = 'http://www.unexplainable.net/Space-Astrology/Look-at-the-Stars-We-are-Significant.shtml';
  syndicate.article_date[ syndicate.index ] = '3/19/10';
  syndicate.article_summary[ syndicate.index ] = '<'+'!-- templateDebugMode: start template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\n<table border=\"0\" cellspacing=\"0\" cellpadding=3 align=\"left\" width=\"120\">\n         <tr><td>\n         \n         \n\n         <img src=\"http://www.unexplainable.net/brainbox/uploads/1/Galaxy_thumb.jpg\" border=\"1\" alt=\"Galaxy.jpg\" width=\"120\"  height=\"108\"><br clear=\"all\">\n            <b>\n            <span class=\"image_caption\"><font size=\"2\" face=\"Book Antiqua\">\n			</font></span></b>\n\n      		</td></tr>\n      </table>\n<'+'!-- /templateDebugMode: end template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\nImagine for a moment the universe in its entirety.  Though it is impossible to truly understand how vast its scope is, the feeling it elicits as we stare into the obsidian formless blanket of light and think about how big it is, is it truly impossible to look into it and feel anything but insignificant?  The nihilistic feeling that mankind does not matter because it is so small and insignificant seems a limited understanding of worth, regardless of personal beliefs dealing only with the objective observations accepted about our world and the universe.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'New Water System Harvests Fog';
  syndicate.article_url[ syndicate.index ] = 'http://www.unexplainable.net/Technology/New-Water-System-Harvests-Fog.shtml';
  syndicate.article_date[ syndicate.index ] = '3/19/10';
  syndicate.article_summary[ syndicate.index ] = '<'+'!-- templateDebugMode: start template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\n<table border=\"0\" cellspacing=\"0\" cellpadding=3 align=\"left\" width=\"120\">\n         <tr><td>\n         \n         \n\n         <img src=\"http://www.unexplainable.net/brainbox/uploads/1/Fog_thumb.jpg\" border=\"1\" alt=\"Fog.jpg\" width=\"120\"  height=\"101\"><br clear=\"all\">\n            <b>\n            <span class=\"image_caption\"><font size=\"2\" face=\"Book Antiqua\">\n			</font></span></b>\n\n      		</td></tr>\n      </table>\n<'+'!-- /templateDebugMode: end template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\nMount Ayliff in Transkei has had a considerable amount of difficulty with water shortages recently, leading a pair of brilliant inventors to discover a way to harvest the prevalent morning fog and convert it into drinkable distilled water, catching it from the thick morning fog.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'New Quantum Object Can be Seen with Naked Eye';
  syndicate.article_url[ syndicate.index ] = 'http://www.unexplainable.net/Technology/New-Quantum-Object-Can-be-Seen-with-Naked-Eye.shtml';
  syndicate.article_date[ syndicate.index ] = '3/19/10';
  syndicate.article_summary[ syndicate.index ] = '<'+'!-- templateDebugMode: start template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\n<table border=\"0\" cellspacing=\"0\" cellpadding=3 align=\"left\" width=\"120\">\n         <tr><td>\n         \n         \n\n         <img src=\"http://www.unexplainable.net/brainbox/uploads/1/Arc_thumb.jpg\" border=\"1\" alt=\"Arc.jpg\" width=\"120\"  height=\"108\"><br clear=\"all\">\n            <b>\n            <span class=\"image_caption\"><font size=\"2\" face=\"Book Antiqua\">\n			</font></span></b>\n\n      		</td></tr>\n      </table>\n<'+'!-- /templateDebugMode: end template: common/embeddedMedia.html - templateCell: globalDefault.embeddedMedia --'+'>\nScientists have created the largest \"quantum state\" object so far.  The object is a quantum computer that breaks the conventional law of larger physics that one thing cannot occupy two different spaces at the same time.  The machine is being hailed as the first principle component for what could become the first feasible quantum computer.  While not a feasible computer in itself, the \"quantum resonator,\" could replace ones and zeros with far faster computing capabilities that could result in a new generation of incredibly small, energy efficient computers with far more processing power than anything we currently have.';
  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('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
document.write('<p><b>Powered by <a href="http://www.unexplainable.net" target="_blank">Unexplainable.Net</a></b>');
document.write('<br><br></b></font></td></tr>\n');
