The small change that makes it working in IE7

Now it's working with all IE.

Tested on IE6 on Win XP SP3
Tested on IE7 on Windows 2003 SP2
Tested on IE8 on Win XP SP3