Hmm.. the issue seems to be with window.print.
As replacing it with an alert works fine..
edit: im testing this with IE6
edit2: oh, and the error you get is probably because of the <!-- and --> comments (removing them gets rid of the error atleast)
As replacing it with an alert works fine..
edit: im testing this with IE6
edit2: oh, and the error you get is probably because of the <!-- and --> comments (removing them gets rid of the error atleast)