// external_script.js
function CreateControl(DivID, CLSID, ObjectID,
                       WIDTH, HEIGHT, URL, AUTOSTART)
{
  var d = document.getElementById(DivID);
  d.innerHTML = '<object classid=' + CLSID + ' id=' + ObjectID + ' width=' + WIDTH + ' height=' + HEIGHT +'><param name="URL" value=' + URL + '><param name="autoStart" value=' + AUTOSTART + '/><embed type="application/x-mplayer2" name="MediaPlayer1" pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/" width="' + WIDTH + '" height="'+ HEIGHT +'" showControls="true" showTracker="true"src="'+ URL + '"></embed></object>';
}
