<!--
// load global_article array with articles from category
if (article != null)
{
early_exit = 0;
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 += "' TARGET='_blank";
global_article[global_article_counter].document_url += "' TARGET='_blank";
global_article_counter++;
}
}

if (global_article.length == 0)
{
if (early_exit)
{
document.writeln("<CENTER>Please reload this page to view the headlines</CENTER>");
}
else
{
document.writeln("<CENTER>Sorry, no articles matched your search criteria</CENTER>");
early_exit = 1;
}
}

if (!early_exit)
{
var webfeed_heading = "";
var width = "260";
var numberofarticles = 6;
var time_display = "Yes";
var time = new Array(global_article.length);
// Print out the table containing the headlines
document.writeln("<TABLE WIDTH='"+width+"' bgcolor=#ffffff CELLPADDING=5 CELLSPACING=0 border=0><tr><td>");

// 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.writeln("<tr valign='top'><td><A HREF='"+global_article[counter].url+"' class='morehl'>");
document.writeln(""+global_article[counter].headline_text+"...</A><br>");
// Print out the source
if ((counter != (global_article.length - 1)) || moreover_text != 1)
{
document.writeln("<A HREF='"+global_article[counter].document_url+"' class='moresrc'>");
document.writeln(""+global_article[counter].source+"</A>&nbsp;&nbsp;&nbsp;&nbsp;");
}
// 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.writeln("<span class='moreti'>"+time[counter].toString()+"</span>");
} 
document.writeln("</TD></TR>");
} // End of article loop
// Start of clone button code //
// NOTE: DO NOT REMOVE any of the code in this section //
document.writeln("<FORM METHOD='POST' ACTION='http://www.moreover.com/cgi-local/wizard_clone.pl' target='clone' name='moreover_clone'>");
document.writeln("<INPUT TYPE='hidden' NAME='heading_font_size' VALUE='-1'><INPUT TYPE='hidden' NAME='source_font_size' VALUE='-2'>")
document.writeln("<INPUT TYPE='hidden' NAME='cluster_width' VALUE='50%'><INPUT TYPE='hidden' NAME='time_display' VALUE='Yes'>")
document.writeln("<INPUT TYPE='hidden' NAME='time_font' VALUE='Arial,Helvetica, sans-serif'><INPUT TYPE='hidden' NAME='cluster_cellspacing' VALUE='0'>")
document.writeln("<INPUT TYPE='hidden' NAME='heading_font' VALUE='Arial,Helvetica, sans-serif'><INPUT TYPE='hidden' NAME='number_of_headlines' VALUE='20'>")
document.writeln("<INPUT TYPE='hidden' NAME='cluster_bgcolor' VALUE='ffddaa'><INPUT TYPE='hidden' NAME='search_keywords' VALUE=''>")
document.writeln("<INPUT TYPE='hidden' NAME='refine_category' VALUE=''><INPUT TYPE='hidden' NAME='time_fgcolor' VALUE='000000'>")
document.writeln("<INPUT TYPE='hidden' NAME='access_fgcolor' VALUE='000000'><INPUT TYPE='hidden' NAME='time_font_size' VALUE='-2'>")
document.writeln("<INPUT TYPE='hidden' NAME='headline_bgcolor' VALUE='ffddaa'><INPUT TYPE='hidden' NAME='cluster_name' VALUE='c=Top%20stories&o=js'>")
document.writeln("<INPUT TYPE='hidden' NAME='access_font_size' VALUE='-2'><INPUT TYPE='hidden' NAME='heading_display' VALUE='Yes'>")
document.writeln("<INPUT TYPE='hidden' NAME='headline_fgcolor' VALUE='0000ff'><INPUT TYPE='hidden' NAME='source_font' VALUE='Arial,Helvetica, sans-serif'>")
document.writeln("<INPUT TYPE='hidden' NAME='access_font' VALUE='Arial,Helvetica, sans-serif'><INPUT TYPE='hidden' NAME='headline_font_size' VALUE='-1'>")
document.writeln("<INPUT TYPE='hidden' NAME='headline_font' VALUE='Arial,Helvetica, sans-serif'><INPUT TYPE='hidden' NAME='heading_bold' VALUE='Yes'>")
document.writeln("<INPUT TYPE='hidden' NAME='item_spacing' VALUE='5'><INPUT TYPE='hidden' NAME='wizard_brand' VALUE='moreover_new'>")
document.writeln("<INPUT TYPE='hidden' NAME='heading_bgcolor' VALUE='ffddaa'><INPUT TYPE='hidden' NAME='cluster_cellpadding' VALUE='1'>")
document.writeln("<INPUT TYPE='hidden' NAME='heading_fgcolor' VALUE='0000ff'><INPUT TYPE='hidden' NAME='source_fgcolor' VALUE='000000'>")
document.writeln("<INPUT TYPE='hidden' NAME='cluster_border' VALUE='0'><INPUT TYPE='hidden' NAME='cluster_layout' VALUE='<br>'>")
document.writeln("</FORM>");
// End of clone button code //
document.writeln("</TD></TR></TABLE>");
} 
// -->
