<!--
//================================================================================
//Run Flash (swf filename, width, height, bgcolor, quality, wmode, image filename
//to display to user without correct version)
//================================================================================

function RunActiveXv5(swf,width,height,bgcolor,qual,wmode,fname) {
	if (isFlash5) { document.write(flashEmbed(swf,width,height,bgcolor,qual,wmode)); } 
	else { 
		document.write('<a href="http://www.macromedia.com/go/getflashplayer"><img src="/images/'+fname+'" alt="Flash 5 or newer required to view this feature" width="'+width+'" height="'+height+'" border="0"></a>'); 
		}
}

function RunActiveXv6(swf,width,height,bgcolor,qual,wmode,fname) {
	if (isFlash6) { document.write(flashEmbed(swf,width,height,bgcolor,qual,wmode)); } 
	else { 
		document.write('<a href="http://www.macromedia.com/go/getflashplayer"><img src="/images/'+fname+'" alt="Flash 6 or newer required to view this feature" width="'+width+'" height="'+height+'" border="0"></a>'); 
		}
}

function RunActiveXv7(swf,width,height,bgcolor,qual,wmode,fname) {
	if (isFlash7) { document.write(flashEmbed(swf,width,height,bgcolor,qual,wmode)); } 
	else { 
		document.write('<a href="http://www.macromedia.com/go/getflashplayer"><img src="/images/'+fname+'" alt="Flash 7 or newer required to view this feature" width="'+width+'" height="'+height+'" border="0"></a>'); 
		}
}

function RunActiveXv8(swf,width,height,bgcolor,qual,wmode,fname) {
	if (isFlash8) { document.write(flashEmbed(swf,width,height,bgcolor,qual,wmode)); } 
	else { 
		document.write('<a href="http://www.macromedia.com/go/getflashplayer"><img src="/images/'+fname+'" alt="Flash 8 or newer required to view this feature" width="'+width+'" height="'+height+'" border="0"></a>'); 
		}
}

function RunActiveXv9(swf,width,height,bgcolor,qual,wmode,fname) {
	if (isFlash9) { document.write(flashEmbed(swf,width,height,bgcolor,qual,wmode)); } 
	else { 
		document.write('<a href="http://www.macromedia.com/go/getflashplayer"><img src="/images/'+fname+'" alt="Flash 9 or newer required to view this feature" width="'+width+'" height="'+height+'" border="0"></a>'); 
		}
}

//================================================================================
//Run a mp3 on Quicktime (width, height, qtsrc)
//================================================================================

function RunActiveXMP3onQT(width,height,qtsrc) {
	document.write('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="'+width+'" height="'+height+'"><param name="src" value="/video/stub.mov"><param name="qtsrc" value="http://www.injuryfreezone.com'+qtsrc+'"><param name="autoplay" value="true"><param name="controller" value="true"><embed width="'+width+'" height="'+height+'" pluginspage="http://www.apple.com/quicktime/download/" src="/video/stub.mov" qtsrc="http://www.injuryfreezone.com'+qtsrc+'" type="video/quicktime" controller="true" autoplay="true"></embed></object>'); 
}

//================================================================================
//Run a mp3 on Windows Media Player 6.4 and up (width, height, filename)
//================================================================================

function RunActiveXMP3onWMP64(width,height,filename) {
	document.write('<object width="'+width+'" height="'+height+'" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="mediaplayer1" standby="Loading Windows Media Player components..." type="application/x-oleobject"><param name="Filename" value="http://www.injuryfreezone.com'+filename+'"><param name="AutoStart" value="True"><param name="ShowControls" value="True"><param name="ShowDisplay" value="False"><param name="ShowAudioControls" value="True"><embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://www.injuryfreezone.com'+filename+'" showcontrols="1" volume="60" autoplay="true" width="'+width+'" height="'+height+'" /></embed></object>'); 
}

//================================================================================
//Run a MOV on Quicktime (width, height, src)
//================================================================================

function RunActiveXMOVonQT(width,height,src) {
	document.write('<object width="'+width+'" height="'+height+'" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"><param name="src" value="http://www.injuryfreezone.com'+src+'"><param name="autoplay" value="true"><param name="type" value="video/quicktime" width="'+width+'" height="'+height+'"><embed type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" src="http://www.injuryfreezone.com'+src+'" width="'+width+'" height="'+height+'" volume="50" autoplay="true"></embed></object>'); 
}

//================================================================================
//Run a WMV on Windows Media Player 7 and up (width, height, url)
//================================================================================

function RunActiveXWMVonWMP7(width,height,url) {
	document.write('<object id="Player" width="'+width+'" height="'+height+'" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" standby="Loading..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"><param name="autoStart" value="True"><param name="URL" value="http://www.injuryfreezone.com'+url+'"><param name="uiMode" value="full"><embed type="application/x-mplayer2" pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/" src="http://www.injuryfreezone.com'+url+'" name="MediaPlayer1" width="'+width+'" height="'+height+'" autostart="true"></embed></object>'); 
}

//-->