Thats looks nice. You keep refrencing VBScript, do you mean JavaScript. Looking at the source code it looks like JavaScript.
Regardless, you are right. I can accomplish the same results (to a degree) with Java or VB Script and keep the file size down, but if the only image on the index is...