Hi,
From your latest crop of listings, it appears the script is working OK.
One tip.... I would move the script inside the template. eBay's editor (on listing revision) has the nasty habit of stripping-out scripts and style sheets when they aren't nested in the code (most annoying), i.e. don't put them at the top of the code without some HTML element at very top to protect them from deletion. Moving the script to the bottom should work just as well.
Danno