document.write("");
// the array global_article is used to allow multiple categories
var global_article = new Array();
var global_article_counter = 0;
var early_exit = true;
var moreover_text = 0;
function load_wizard()
{
var newwin = window.open("","clone","resizable,scrollbars");
document.forms.moreover_clone.submit();
return true;
}
//include the headlines call
function sa(url,headline_text,source,media_type,cluster,tagline,document_url,harvest_time,access_status,access_registration)
{
this.url = url;
this.headline_text = headline_text;
this.source = source;
this.media_type = media_type;
this.cluster = cluster;
this.tagline = tagline;
this.document_url = document_url;
this.harvest_time = harvest_time;
this.access_status = access_status;
this.access_registration = access_registration;
}
article = new Array(
new sa("http://click.pulse360.com/cgi-bin/clickthrough.cgi?db=context&position=7001&tid=bhnibknmbmnpbhnobnnozt&eid=1&id=91498434&creative=95419&query=general%20network%3A(general)&clickid=88033284&tz=US&UNQ=00000124669187843028691000000106050048&value=TKAHE2ULEF2XC&cgroup=internationalrelationsfea","Top 3 Colon Detox Cleanses Reviewed","Sponsored Link","text","moreover..."," ","http://click.pulse360.com/cgi-bin/clickthrough.cgi?db=context&position=7001&tid=bhnibknmbmnpbhnobnnozt&eid=1&id=91498434&creative=95419&query=general%20network%3A(general)&clickid=88033284&tz=US&UNQ=00000124669187843028691000000106050048&value=TKAHE2ULEF2XC&cgroup=internationalrelationsfea","4 Jul 2009 06:58:00"," "," "),
new sa("http://c.moreover.com/click/here.pl?j2069687201","New IAEA chief sees no proof Iran developing nuclear weapons","Big News Network","text","moreover...","","http://feeds.bignewsnetwork.com","4 Jul 2009 06:58:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069686175","North Korea defies U.S. with new missile launches","Globe and Mail","text","moreover...","","http://feedproxy.google.com","4 Jul 2009 06:57:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069681762","Ban Asks To Visit Aung San Suu Kyi","OfficialWire","text","moreover...","","http://www.officialwire.com","4 Jul 2009 06:52:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069676216","UN's Ban denied Suu Kyi meeting","Mail & Guardian Online","text","moreover...","","http://www.mg.co.za","4 Jul 2009 06:45:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069673109","North Korea Defies U.S. With New Missile Launches","ABC News","text","moreover...","","http://abcnews.go.com","4 Jul 2009 06:40:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069673057","Energoatom: Pwr output of Russian nuke plants dn 5.4% in Jan-Jun","PRIME-TASS","text","moreover...","","http://www.prime-tass.com","4 Jul 2009 06:40:00","sub","http://www.prime-tass.com/subscribe/"),
new sa("http://c.moreover.com/click/here.pl?j2069668539","Miliband defends Iran embassy staff","AOL UK","text","moreover...","","http://news.aol.co.uk","4 Jul 2009 06:35:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069664168","UN's Ban denied visit with Suu Kyi","NEWS.com.au","text","moreover...","","http://www.news.com.au","4 Jul 2009 06:30:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069664071","North Korea defies U.S. with new missile launches","Boston Globe","text","moreover...","","http://www.boston.com","4 Jul 2009 06:30:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069663671","North Korea defies U.S. with new missile launches","Ein News","text","moreover...","","http://www.einnews.com","4 Jul 2009 06:29:00","sub","https://www.einnews.com/users/register.php"),
new sa("http://c.moreover.com/click/here.pl?j2069663517","N Korea fires 3 missiles on US I-Day","Ein News","text","moreover...","","http://www.einnews.com","4 Jul 2009 06:29:00","sub","https://www.einnews.com/users/register.php"),
new sa("http://c.moreover.com/click/here.pl?j2069659006","Ban in talks with Myanmar","IAfrica.com","text","moreover...","","http://iafrica.com","4 Jul 2009 06:22:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069658049","North Korea defies U.S. with new missile launches","Washington Post","text","moreover...","","http://www.washingtonpost.com","4 Jul 2009 06:21:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069657067","North Korea defies U.S. and fires missiles","Reuters UK","text","moreover...","","http://uk.reuters.com","4 Jul 2009 06:20:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069656238"," Ban in talks with Myanmar","IAfrica.com","text","moreover...","","http://iafrica.com","4 Jul 2009 06:19:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069650756","Will Ban Ki-moons trip to Burma be fruitful?","Canada Free Press","text","moreover...","","http://canadafreepress.com","4 Jul 2009 06:13:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069650469","U.N.'s Ban denied Suu Kyi meeting","Boston Globe","text","moreover...","","http://www.boston.com","4 Jul 2009 06:13:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069646956","North Korea defies U.S. and fires more missiles","Reuters UK","text","moreover...","","http://uk.reuters.com","4 Jul 2009 06:09:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069645195","North Korea defies U.S. with new missile launches (Reuters)","Yahoo! News Australia","text","moreover...","","http://au.rd.yahoo.com","4 Jul 2009 06:06:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069644677","U.N.'s Ban denied Suu Kyi meeting (Reuters)","Yahoo! News Australia","text","moreover...","","http://au.rd.yahoo.com","4 Jul 2009 06:05:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069643667","UN's Ban denied visit with Suu Kyi","Herald Sun","text","moreover...","","http://www.news.com.au","4 Jul 2009 06:04:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069640478","North Korea defies U.S. with new missile launches","TheStar.com.my","text","moreover...","","http://thestar.com.my","4 Jul 2009 05:58:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069640380","U.N.'s Ban denied Suu Kyi meeting","TheStar.com.my","text","moreover...","","http://thestar.com.my","4 Jul 2009 05:58:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069631452","Pakistan nuke facility bus bombed, six die (Third Lead)","Indo-Asian News Service","text","moreover...","","http://www.ians.in","4 Jul 2009 05:45:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069625804","UN's Ban denied visit with Suu Kyi","Daily Telegraph Australia","text","moreover...","","http://www.news.com.au","4 Jul 2009 05:37:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069625488","North Korea defies U.S. with new missile launches","Reuters UK","text","moreover...","","http://uk.reuters.com","4 Jul 2009 05:37:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069624386","North Korea defies U.S. with new missile launches","Reuters Canada","text","moreover...","","http://ca.reuters.com","4 Jul 2009 05:36:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069624281","U.N.'s Ban denied Suu Kyi meeting","Reuters Canada","text","moreover...","","http://ca.reuters.com","4 Jul 2009 05:36:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069622846","North Korea defies U.S. with new missile launches","Reuters","text","moreover...","","http://www.reuters.com","4 Jul 2009 05:35:00","",""),
new sa("http://c.moreover.com/click/here.pl?j2069618806","U.N.'s Ban Denied Suu Kyi Meeting","ABC News","text","moreover...","","http://abcnews.go.com","4 Jul 2009 05:30:00","","")
);
// load global_article array with articles from category
//changed by CS
if (window.article){
if(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=27";
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("Please reload this page to view the headlines
");
}
else
{
document.write("Sorry, no articles matched your search criteria
");
early_exit = true;
}
}
if (!early_exit)
{
var wizard_brand = "demo";
var webfeed_heading = "Top stories";
var width = "300";
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("");
//parse ’ out for utf-8 encoding substitute char code CS
global_article[counter].headline_text=global_article[counter].headline_text.replace(/’/g, "'");
document.write(global_article[counter].headline_text+"...
");
// Print out the source
if ((counter != (global_article.length - 1)) || moreover_text != 1)
{
document.write("");
document.write(global_article[counter].source+"");
}
// 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(" ");
document.write(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 ));
document.write(" "+time[counter].toString()+"
");
}
} // End of article loop
// Start of clone button code //
// NOTE: DO NOT REMOVE any of the code in this section //
document.write("