/* News Harvester is Copyright (c) 1998 Mecklermedia Corporation All Rights
 * Reserved. ALL title, ownership rights, and intellectual property rights in and to
 * News Harvester ("NH") shall remain in Mecklermedia Corporation ("Meckler").
 * Use of NH is restricted to registered, licensed copies. To get a registered, licensed
 * copy of News Harvester apply at: http://www.webreference.com/headlines/nh/
 * where NH was originally published and documented. 
 * 
 * Internet.com, InternetNews.com, InternetNews.com Real-Time News,
 * WebReference.com and ISDEX are the exclusive trademarks of Mecklermedia
 * Corporation. 
 * 
 * This entire notice must appear unchanged in the source code of the page(s) on
 * which NH is used. Contact bob@internet.com for all other uses. NHv3.01 981117
*/
NS4=(document.layers);

function reDo(){ 
  window.location.reload()
}

function setResize() {
if (NS4) setTimeout("window.onresize=reDo",500)
}

window.onload = setResize;

ar = new Array();
numheadlines = 3;
target = ' TARGET="_new" ';
// stop button bug fix
if(window.arURL && arURL.length >= 0) {

// redef numheadlines if > total number of headlines (for loop)

if(arURL.length < numheadlines) numheadlines = arURL.length; 

// style sheet for logo/headlines

nStr = '<TABLE CELLPADDING=3 CELLSPACING=0 BGCOLOR="#FFED9A" BORDER=0 WIDTH=125>' +
'<TR><TD ALIGN=CENTER><NOBR><A TARGET="_top" CLASS="meckler" HREF="http://www.internetnews.com"><SPAN CLASS="red">internet</SPAN><SPAN CLASS="black">news.com</SPAN></A></NOBR></TD></TR>\n'
+ '<TR><TD>\n';

for (i=0; i<arURL.length; i++) {
ar[i] = new Array(arURL[i],arTXT[i]);
}

for (var i = 0; i < numheadlines; i++) {
newsStr = '<A CLASS="headlines" '
                + target
		+ 'HREF="' + ar[i][0] + '">'
		+ ar[i][1] + '</A>'
nStr += "<P>" + newsStr + "</P>\n\n";
}

nStr += '<TABLE WIDTH=119 BORDER=0 CELLPADDING=0 CELLSPACING=0>\n'
+ '<TR><TD><NOBR><A TARGET="_top" CLASS="meckler" HREF="http://www.webreference.com/headlines/nh/">'
+ '<SPAN CLASS="red">n</SPAN>'
+ '<SPAN CLASS="black">h</SPAN></A>'
+ '</NOBR>\n'
+ '</TD><TD ALIGN=RIGHT>'
+ '<font face="Arial, Geneva" size="1"><A TARGET="_top" HREF="http://www.internetnews.com">'
+ 'more net news &gt;</A></FONT>\n'
+ '</TD></TR></TABLE></TD></TR></TABLE>\n';
document.write(nStr);
}
