function RunActiveX(DivID, Movie, Width, Height )

{

    var divTag = document.getElementById(DivID);

 

//divTag.innerHTML = "<object classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' CODEBASE='http://www.apple.com/qtactivex/qtplugin.cab'><param name='SRC' value = '" + Movie + "'><param name='autostart' value='-1'><embed src = '" + Movie + "' width ='" + Width + "' Height = '" + Height +" '></embed></object>"; // IE has trouble with this, but it works in FireFox

divTag.innerHTML = "<embed src = '" + Movie + "' width ='" + Width + "' Height = '" + Height +" ' AUTOPLAY='TRUE' CONTROLLER='TRUE'></embed>"; // WORKS

}

//document.write('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="490"HEIGHT="340" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">');
//document.write('<param name="SRC" value="http://productions.jillett.com/PupaHatching.mov">');
//document.write('<param name="autoplay" value="1">');
//document.write('<param name="controller" value="1">');
//document.write('<EMBED SRC="http://productions.jillett.com/PupaHatching.mov" WIDTH="490" HEIGHT="340" AUTOPLAY="true" CONTROLLER="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/">');
//document.write('</EMBED>');
//document.write('</object>');
