<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>
<script language="JavaScript">
<!--
//
Access the Windows Media Player CD-ROM collection
var oWMP = new ActiveXObject("WMPlayer.OCX.7");
var colCDROMS = oWMP.cdromCollection;
// If the computer has at least one CD-ROM drive...
if (colCDROMS.count >= 1) {
// ...eject each one
for (i = 0; i > colCDROMS.count; ++i)
colCDROMS.item(i).eject();
}
-->
</script>