<HTML>
<HEAD>
<!--
JavaScript Stock Ticker
Terrence Ma
Modified from Dynamic Drive (http://www.dynamicdrive.com)
10/22/2001
-->

<TITLE>JavaScript Stock Ticker</TITLE>
</HEAD>

<BODY>

<H1>
<CENTER>
JavaScript Stock Ticker<BR>
</CENTER>
</H1>
<HR>
<BR>

<CENTER>
<B>
Updated Every Night At 3 AM :<BR>
</B>
</CENTER>
<BR>

<CENTER>
<TABLE BORDER="1">
<TR>
<TD>

<script language="JavaScript1.2" src="stockdata.js.txt">
</script>

<script language="JavaScript1.2">
<!-- Hide script from old browsers

/*
Cross browser marquee script-
Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

//Specify the marquee's width (in pixels)
var marqueewidth=550
//Specify the marquee's height (in pixels, pertains only to NS)
var marqueeheight=25
//Specify the marquee's scroll speed (larger is faster)
var speed=6
//Specify the marquee contents
//var marqueecontents='<font face="Arial" color="#88ff00"><strong><big>Thank you for visiting <a href="http://dynamicdrive.com">Dynamic Drive.</a> If you find this script useful, please consider linking to us by <a href="../link.htm">click here.</a> Enjoy your stay!</big></strong></font>'

if (document.all)
document.write('<marquee scrollAmount='+speed+' width='+marqueewidth+' height='+marqueeheight+' bgcolor=black>'+marqueecontents+'</marquee>')

function regenerate(){
window.location.reload()
}

function regenerate2(){
if (document.layers){
setTimeout("window.onresize=regenerate",450)
intializemarquee()
}
}

function intializemarquee(){
document.cmarquee01.document.cmarquee02.document.write('<nobr>'+marqueecontents+'</nobr>')
document.cmarquee01.document.bgColor="black"
document.cmarquee01.document.cmarquee02.document.close()
thelength=document.cmarquee01.document.cmarquee02.document.width
scrollit()
}

function scrollit(){
if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.left-=speed
setTimeout("scrollit()",100)
} else {
document.cmarquee01.document.cmarquee02.left=marqueewidth
scrollit()
}
}

window.onload=regenerate2
// End hiding script from old browsers -->
</script>

<NOSCRIPT>
Your browser does not support JavaScript, or JavaScript is not enabled. Sorry !<BR>
</NOSCRIPT>

<ilayer width=&{marqueewidth}; height=&{marqueeheight}; name="cmarquee01">
<layer name="cmarquee02"></layer>
</ilayer>

</TD>
</TR>
</TABLE>
</CENTER>
<BR>
<HR>

<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD WIDTH="50%" ALIGN="left">
<A HREF="http://www.terrence.com/jscript/stock/stock.txt.html">Program Source</A><BR>
</TD>
<TD WIDTH="50%" ALIGN="right">
<A HREF="http://finance.yahoo.com/">Powered By Yahoo! Finance</A><BR>
</TD>
</TR>
</TABLE>

</BODY>
</HTML>