Hi, this is a javascript for scrolling text. It works fine in Netscape 4.7, AOL and IE but nothing in Netscape 7.0. Any suggestions? Thanks.
<TABLE width=779 align=center cellspacing=0 cellpadding=0 border=0><tr><td width=100% align=center>
<script language="JavaScript1.2">
var marqueewidth=779
var marqueeheight=10
var speed=5
var marqueecontents='<center><font font color="#ceffff" size=1 face=sans-serif><strong>We are a group of local folks who love our unique historic Maine village, with its eclectic mix of wood and brick architecture still intact. We believe in its tradition of independent shopkeepers who continue to thrive by keeping small-town values alive.<font color="#663333" size=1 face=times> In the words of Longfellow, "There is an honor in business that is the fine gold of it; that reckons with every man justly; that loves light; that regards kindness and fairness more highly than goods or prices or profits". We are a group of local folks who love our unique historic Maine village, with its eclectic mix of wood and brick architecture still intact. We believe in its tradition of independent shopkeepers who continue to thrive by keeping small-town values alive. In the words of Longfellow, "There is an honor in business that is the fine gold of it; that reckons with every man justly; that loves light; that regards kindness and fairness more highly than goods or prices or profits".</center>'
if (document.all)
document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+'">'+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.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
</script>
<ilayer width=&{marqueewidth}; height=&{marqueeheight}; name="cmarquee01">
<layer name="cmarquee02"></layer>
</ilayer>
</td></tr>
<tr>
<TABLE width=779 align=center cellspacing=0 cellpadding=0 border=0><tr><td width=100% align=center>
<script language="JavaScript1.2">
var marqueewidth=779
var marqueeheight=10
var speed=5
var marqueecontents='<center><font font color="#ceffff" size=1 face=sans-serif><strong>We are a group of local folks who love our unique historic Maine village, with its eclectic mix of wood and brick architecture still intact. We believe in its tradition of independent shopkeepers who continue to thrive by keeping small-town values alive.<font color="#663333" size=1 face=times> In the words of Longfellow, "There is an honor in business that is the fine gold of it; that reckons with every man justly; that loves light; that regards kindness and fairness more highly than goods or prices or profits". We are a group of local folks who love our unique historic Maine village, with its eclectic mix of wood and brick architecture still intact. We believe in its tradition of independent shopkeepers who continue to thrive by keeping small-town values alive. In the words of Longfellow, "There is an honor in business that is the fine gold of it; that reckons with every man justly; that loves light; that regards kindness and fairness more highly than goods or prices or profits".</center>'
if (document.all)
document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+'">'+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.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
</script>
<ilayer width=&{marqueewidth}; height=&{marqueeheight}; name="cmarquee01">
<layer name="cmarquee02"></layer>
</ilayer>
</td></tr>
<tr>