This VBScript actually opens your CD-ROM drive without prompting, by accessing the Windows Media Player API. If you hate Internet Explorer, feel free to include the below sample code on every page of your own site.
July 29, 2003: The Windows Media Player API won't let you close the CD-ROM drive once it's open. Sorry.
<script language="vbscript"> <!-- Set oWMP = CreateObject("WMPlayer.OCX.7") Set colCDROMs = oWMP.cdromCollection if colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next ' cdrom End If --> </script>