You can go into the settings of your browser and adjust the warnings to that you are not alerted everytime there is a js warning occurring.
Hi Eric,
Thank you for your response.
No, it's not only a warning the gallery stops working and pictures after that messages are not loaded. And it is only in IE7+ IE6 it's working fine, firefox opera safari too.