did you correct which error?

anyway, I reduced your code a little but actually it is just the same, I just removed from the match the .. stuff.
moved the change to main just before calling the sub.
and as told before, the onmouseout="" errors the start page as it should be onmouseout=\'\'
_________________________
!

download KiXnet