Forum Moderators: open
The page has a bit of inline JavaScript, then links to a couple of external js files, then a bit more inline JavaScript where the error occurs.
The error message gives a line number that is in the middle of some HTML with no JavaScript at that part of the file, so the line number must be very wrong.
I couldn't see what was causing the error so I added lots of alerts to try and identify the line with the problem.
In the code sample below, the error occurs between the two alerts shown! I have double-checked that there are no strange characters in there.
...
<script type="text/javascript">
alert("OK CCC");
</script>
<script type="text/javascript">
alert("OK DDD");
...
In firefox check javascript console for any warnings or error messages.
Cant see problem with what you posted, perhaps larger snippet would help
What does the error message say?
What happens if you put a timeout after the first alert and before the second?
[edited by: Rambo_Tribble at 12:31 am (utc) on Oct. 12, 2006]