|
Send This Page To a Friend
|
|
")
document.writeln("")
// Start loop for articles
for (var counter=0; counter < numberofarticles; counter++)
{
// Reset formatting settings to original values
heading_bgcolor = "ffffff"
heading_font = "Verdana, Arial,Helvetica, sans-serif"
heading_font_size = "1"
heading_fgcolor = "cc0000"
headline_bgcolor = "ffffff"
headline_font = "Verdana, Arial,Helvetica, sans-serif"
headline_font_size = "2", "bold"
headline_fgcolor = "000080"
source_font = "Verdana, Arial,Helvetica, sans-serif"
source_font_size = "-4"
source_fgcolor = "cc3333"
access_font = "Verdana, Arial,Helvetica, sans-serif"
access_font_size = "-2"
access_fgcolor = "cc3333"
time_font = "Verdana, Arial,Helvetica, sans-serif"
time_font_size = "-2"
time_fgcolor = "cc3333"
if ((counter == (global_article.length - 1)) && moreover_text == 1)
{
headline_fgcolor = source_fgcolor;
time_display = "No";
}
// Check for new category
if ((category != global_article[counter].cluster) && (heading_display == "Yes"))
{
// Set current category to new category
category = global_article[counter].cluster
// Print a new category heading
document.writeln("")
document.writeln("")
document.writeln(""+global_article[counter].cluster+"
| ")
}
// Print out the headline
document.writeln("")
document.writeln(""+global_article[counter].headline_text+"... ")
// Print out the source
if ((counter != (global_article.length - 1)) || moreover_text != 1)
{
document.writeln("")
document.writeln("")
document.writeln(""+global_article[counter].source+" ")
}
// Print out reg/sub if appropriate
if (global_article[counter].access_status == "sub" || global_article[counter].access_status == "reg")
{
document.writeln(" ")
document.writeln(""+global_article[counter].access_status+" ")
}
// 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 )) // adjust the time to local
document.writeln("")
document.writeln(""+time[counter].toString()+"")
}
document.writeln(" |
| ")
} // End of article loop
// Start of clone button code //
// Note: Do not remove any of the code in this section //
document.writeln("")
document.writeln("")
document.writeln("")
document.writeln("")
document.writeln("")
document.writeln("")
document.writeln("")
document.writeln("")
document.writeln("")
document.writeln("")
document.writeln("")
document.writeln("")
document.writeln("")
document.writeln("")
document.writeln("'>")
document.writeln("")
// End of clone button code //
document.writeln(" |
");
}
|
|
|