IE is changing my code

Another problem worthy of another thread.

For some reason, on my page whenever I view source in IE, it comes out as:

<SCRIPT LANGUAGE=VBScript>
on error resume next 
flash_works = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & required_version)))
</SCRIPT>

I hate to give the page, but I will anyways:
http://www.nokrev.com/code/javascript-replace.html

Thanks,
Jeff