function invokem3u(URL) {
var thefile1 = URL;
document.write('<div align="center" style="background-color: #000000; width: 185px;"><object id="MediaPlayer1" width="185" height="64" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" standby="Loading Windows Media Player components..." type="application/x-oleobject"><param name="URL" value="' + thefile1 + '"><param name="fileName" value="' + thefile1 + '"><param name="animationatStart" value="0"><param name="transparentatStart" value="0"><param name="autoStart" value="0"><param name="ShowControls" value="1"><param name="ShowDisplay" value="0"><param name="ShowStatusBar" value="0"><param name="Autorewind" value="0"><param name="loop" value="0"><embed type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="MediaPlayer2" name="MediaPlayer2" displaysize="4" autosize="0" bgcolor="darkblue" showcontrols="1" showtracker="1" showdisplay="0" showstatusbar="0" autorewind="0" videoborder3d="0" width="185" height="64" src="' + thefile1 + '" autostart="0" designtimesp="5311" loop="0"></embed></object>');
document.write('</div>');
}

// using the newer "6BF52A52..." classid on the video shrinks the video and adds a status line, so the older "22d6f312" one actually works better (consistent in both browsers).  The newer one is great for audio, however.  If using the old one, don't forget the codebase, too.  The newer one apparently doesn't need the codebase, however.

function invokewvx(URL) {
var thefile2 = URL;
document.write('<div align="center" style="background-color: #000000; width: 185px;"><object id="MediaPlayer3" width="185" height="180" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Windows Media Player components..." type="application/x-oleobject"><param name="URL" value="' + thefile2 + '"><param name="fileName" value="' + thefile2 + '"><param name="animationatStart" value="1"><param name="transparentatStart" value="1"><param name="autoStart" value="0"><param name="ShowControls" value="1"><param name="ShowDisplay" value="0"><param name="ShowStatusBar" value="0"><param name="Autorewind" value="0"><param name="loop" value="0"><embed type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="MediaPlayer4" name="MediaPlayer4" displaysize="4" autosize="0" bgcolor="darkblue" showcontrols="1" showtracker="1" showdisplay="0" showstatusbar="0" autorewind="0" videoborder3d="0" width="185" height="180" src="' + thefile2 + '" autostart="0" designtimesp="5311" loop="0"></embed></object>');
document.write('</div>');
}

// all we apparently need (and have been using) for the War For The Worlds series is the barebones embed tag...

function invokewar(URL) {
var thefile3 = URL;
document.write('<embed width="432" height="291" src="' + thefile3 + '"></embed>');
}

// using the newer "6BF52A52..." classid on the video shrinks the video and adds a status line, so the older "22d6f312" one actually works better (consistent in both browsers).  The newer one is great for audio, however.  If using the old one, don't forget the codebase, too.  The newer one apparently doesn't need the codebase, however.

function invokewvx2(URL,width,height) {
var thefile4 = URL; var w = parseInt(width); var h2 = parseInt(height); var h = (h2+45); // 45 pixels extra for the player
document.write('<div align="center" style="background-color: #000000; width: ' + w + 'px;"><object id="MediaPlayer3" width="' + w + '" height="' + h + '" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Windows Media Player components..." type="application/x-oleobject"><param name="URL" value="' + thefile4 + '"><param name="fileName" value="' + thefile4 + '"><param name="animationatStart" value="1"><param name="transparentatStart" value="1"><param name="autoStart" value="0"><param name="ShowControls" value="1"><param name="ShowDisplay" value="0"><param name="ShowStatusBar" value="0"><param name="Autorewind" value="0"><param name="loop" value="0"><embed type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="MediaPlayer4" name="MediaPlayer4" displaysize="4" autosize="0" bgcolor="darkblue" showcontrols="1" showtracker="1" showdisplay="0" showstatusbar="0" autorewind="0" videoborder3d="0" width="' + w + '" height="' + h + '" src="' + thefile4 + '" autostart="0" designtimesp="5311" loop="0"></embed></object>');
document.write('</div>');
}

// this is for Kyle's FIT SHOW affiliate program flash player ONLY

function invokeflash(URL,width,height) {
var thefile5 = URL; var wi = parseInt(width); var hi = parseInt(height);
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="' + wi + '" height="' + hi + '"><param name="movie" value="' + thefile5 + '" /><param name="quality" value="high" /><embed src="' + thefile5 + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + wi + '" height="' + hi + '"></embed></object>');
document.write('</div>');  // note to self: is the beginning DIV hardcoded on the page?  Must be.
}

// BodySpace flash video player - content from YouTube - for Skippy.

function invokeBS(URL) {
var thefile6 = URL;
document.write('<div style="padding: 0px 0px 0px 0px;"><object width="380" height="300"><param name="movie" value="' + thefile6 + '&autoplay=1"><embed src="' + thefile6 + '&autoplay=1" type="application/x-shockwave-flash" width="380" height="300"></embed></object>');
document.write('</div>');
}

// this is for Zeke's flash player

function ZekeFlash(URL,width,height) {
var thefile7 = URL; var wiz = parseInt(width); var hiz = parseInt(height) + 38; // 38 pixels extra for the control bar
document.write('<center><div id="absvideo" style="background-color: #444444; width: ' + wiz + 'px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + wiz + '" height="' + hiz + '"><param name="allowScriptAccess" value="always" /><param name="movie" value="http://www.bodybuilding.com/fun/docs/2006/player.swf" /><param name="FlashVars" value="myVideo=' + thefile7 + '&mySkin=http://www.bodybuilding.com/fun/docs/2006/control_external.swf&myWidth=' + wiz + '&myHeight=' + hiz + '&myBGcolor=0x444444&myPlaybutton=http://www.bodybuilding.com/fun/docs/2006/play.png&myPlaybuttonSize=100&myPlaybuttonAlpha=50&myCapturetime=00:01"><param name="quality" value="high" /><param name="bgcolor" value="#444444" /><embed src="http://www.bodybuilding.com/fun/docs/2006/player.swf" FlashVars="myVideo=' + thefile7 + '&mySkin=http://www.bodybuilding.com/fun/docs/2006/control_external.swf&myWidth=' + wiz + '&myHeight=' + hiz + '&myBGcolor=0x444444&myPlaybutton=http://www.bodybuilding.com/fun/docs/2006/play.png&myPlaybuttonSize=100&myPlaybuttonAlpha=50&myCapturetime=00:01" quality="high" bgcolor="#444444" width="' + wiz + '" height="' + hiz + '" name="player" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>');
document.write('</div></center>');
}

// this is for JP's flash player

function invokeJP(URL,width,height) {
var thefile8 = URL; var jpx = parseInt(width); var jpy = parseInt(height);
document.write('<p><center><div id="absflash"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + jpx + '" height="' + jpy + '" id="jpflashad" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="movie" value="' + thefile8 + '" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="' + thefile8 + '" quality="high" bgcolor="#000000" width="' + jpx + '" height="' + jpy + '" name="jpflashad" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>');
document.write('</div></center></p>');
}

// this is for JP's flash player

function invokeJP2(URL,width,height) {
var thefile8 = URL; var jpx = parseInt(width); var jpy = parseInt(height);
document.write('<p><center><div id="absflash2"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + jpx + '" height="' + jpy + '" id="jpflashad" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="movie" value="' + thefile8 + '" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="' + thefile8 + '" quality="high" bgcolor="#000000" width="' + jpx + '" height="' + jpy + '" name="jpflashad" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>');
document.write('</div></center></p>');
}

// this is for JP's flash player

function invokeJP3(URL,width,height) {
var thefile8 = URL; var jpx = parseInt(width); var jpy = parseInt(height);
document.write('<p><center><div id="absflash3"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + jpx + '" height="' + jpy + '" id="jpflashad" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="movie" value="' + thefile8 + '" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="' + thefile8 + '" quality="high" bgcolor="#000000" width="' + jpx + '" height="' + jpy + '" name="jpflashad" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>');
document.write('</div></center></p>');
}

