The problem is in the inline Javascript in the onmouseover
attribute:
<a class="slink"
name="slinkMOG.A"
href="http://finviz.com/quote.ashx?t=MOG-A"
onmouseover="var newimgMOG.A=img_create('MOG.A');slink=getElementById('slinkMOG.A');thelink=this;var arx=getPos(thelink); var posx=arx[0]+90;var posy=arx[1]-75;var x=document.getElementById('stockMOG.A');x.style.position='absolute';x.style.display='block';x.style.left=posx+'px';x.style.top=posy+'px';" onmouseout="document.getElementById('stockMOG.A').style.display='none';"
target="external">MOG.A</a>
The statement var newimgMOG.A = img_create('MOG.A');
is not valid, because you can't have a .
in a variable name.
It looks to me like the variable name is never used, so you can change that to just img_create('MOG.A')
.
This is coming from viewtopic.php
, not Javascript.