only reason you would get an error with this is if you are calling the function chgStyle() without arguments (ie. chgStyle(class,id) is the appropriate function call ) - check all your file edits to confirm that you haven't left out a letter or number somewhere ...
One note for your debugging, does the error happen when you mouseover, or mouseout, or just when you load the page ?
|