I can't figure out why the following javascript won't work in Netscape. It work's fine in IE. HELP!!<br><br><script language="javascript"><br> <!--<br><br> if(navigator.appName=="Netscape" {<br> doc = "document.layers";<br> sty = "";<br> htm = ".document"<br> } else {<br> doc = "document.all";<br> sty = ".style";<br> htm = ""<br> }<br><br> var text1 = "", text2 = "", count = 0, count2=0;<br> msg = new Array();<br> msg[0] = "YEAR-TO-DATE ON-TIME PERFORMANCE IS 98.7%";<br> msg[1] = "";<br> msg[2] = "";<br> msg[3] = "";<br> msg[4] = ""<br> msg[5] = ""<br> msg[6] = ""<br><br> text = msg[0].split(""<br><br> function writetext(){<br><br> text1 ='<p style="background-color: #FFFFFF; color: #C60000; text-align: center; font-family: verdana; font-size: 12pt; font-style: italic;border: medium none"><b></b>'+text2 + text[count]+'</b></p>';<br><br> text2 += text[count];<br><br> fillHTML = eval(doc + '["starthtm"]' + htm);<br><br> if(navigator.appName=="Netscape" {<br> fillHTML.write(text1);<br> fillHTML.close();<br> } else {<br> fillHTML.innerHTML = text1;<br> }<br><br> if (!(count >= text.length-1)){<br> count+=1;<br> setTimeout('writetext()',25);<br> }<br> else{<br> count=0;<br> text2+='<p>'<br> if (count2!=0){<br> count2++<br> text = eval('msg['+count2+'].split(""');<br> setTimeout('writetext()',25);<br> }<br> }<br> }<br><br> //--><br> </script>