  // load global_article array with articles from category
  if (article != null && (article.length > 0))
    {
    early_exit = false;
    for (var article_counter = 0; article_counter < article.length; article_counter++)
      {
      global_article[global_article_counter] = article[article_counter];
      global_article[global_article_counter].url += "&w=WIZARDCODEHERE";

      global_article[global_article_counter].url += "' TARGET='_blank";
      global_article[global_article_counter].document_url += "' TARGET='_blank";
      global_article_counter++;
      }
    }

  if (global_article.length == 0)
      {
      if (early_exit)
        {
        document.write("<CENTER>Please reload this page to view the headlines</CENTER>");
        }
      else
        {
        document.write("<CENTER>Sorry, no articles matched your search criteria</CENTER>");
        early_exit = true;
        }
      }

  if (!early_exit)
  {
  var wizard_brand         = "moreover";
  var webfeed_heading         = "";
  var width             = "100%";
  var numberofarticles        =  global_article.length;
  var cluster_border          = "0";
  var time_display         = "Yes";
  var cell_spacing         = "0";
  var cell_padding         = "1";
  var time              =  new Array(global_article.length);


  // Start loop for articles
  for (var counter=0; counter < numberofarticles; counter++)
    {

   if ((counter == (global_article.length - 1)) && moreover_text == 1)
      {
      time_display = "No";
      }

   // Print out the headline
    document.write("<a href='"+global_article[counter].url+"' class='morehl'>");
    document.write(global_article[counter].headline_text+"...</a><br>");


      // Print out the source
        if ((counter != (global_article.length - 1)) || moreover_text != 1)
        {

      document.write("<A HREF='"+global_article[counter].document_url+"' + class='moresrc'>");
        document.write(global_article[counter].source+"</A>");

      }


    // Print out reg/sub/prem if appropriate
    if (global_article[counter].access_status == "sub" || global_article[counter].access_status == "reg" || global_article[counter].access_status == "prem")
      {
      document.write("<span class='moreti'>&nbsp;</span><A HREF='"+global_article[counter].access_registration+"' class='moresrc'>");
     document.write(global_article[counter].access_status+"</A>");
      }

    // Print out the harvest time
    if (time_display == "Yes")
      {
      // Make a new date object
      time[counter] = new Date(global_article[counter].harvest_time);
      time[counter].setHours(time[counter].getHours() - (time[counter].getTimezoneOffset() / 60 ));
     document.write("<span class='moreti'> &nbsp;"+time[counter].toString()+"<br>&nbsp;<br></span>");
      }
    else
      {
      document.write("<br>&nbsp;<br>");
      }

    } // End of article loop
  }
