I've seen this exact java support before and modernized it. Here's some new source for your uncle, though without the colored glow effects added by the java applet: https://gist.github.com/Efreak/7d51382bb1787b9e34f3428a61ad7...
Since I first did this years ago and this was a simple copy/paste of that on mobile, it uses javascript to change img src instead of css :hover to change a background.