did my suggestion help?
The edited code does not have the <a href> tags around the image and thus the banner is not clickable.
However, I see now what I did wrong. I use FireFox with AdBlock enabled, thus my banner was not showing.
The banners works fine now and I have removed the javascript from the code, as that script cannot be found on the server.