// load plugin's into the Media Panel on the web site
function loadQT() {
	var QT_Info = getQTParams();
	var videoSrc = QT_Info[0];
	var width = QT_Info[1];

	var QT_Player =	'<object id="quicktime" '+
			'   classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" '+
			'	codebase="http://www.apple.com/qtactivex/qtplugin.cab" '+
			'	width="800" height="460"> '+
			'	<param name="src"  value="' + videoSrc + '"> '+
			'	<param name="autoplay" value="true"> '+
			'	<param name="bgcolor" value="#000000"> '+
			'	<param name="cache" value="true"> '+
			'	<param name="controller" value="true"> '+
			'	<param name="enablejavascript" value="true"> '+
			'	<param name="target" value="myself"> '+
			'	<embed width="800" height="460" '+
			'		name="quicktime" '+
			'		type="video/quicktime" '+
			'		pluginspage="http://www.apple.com/quicktime/download/standalone.html" '+
			'		src="' + videoSrc + '" '+
			'		autoplay="true" '+
			'		bgcolor="#000000" '+
			'		cache="true" '+
			'		controller="true" '+
			'		enablejavascript="true" '+
			'		target="myself"> '+
			'</embed></object>';
			
	var QTdiv = getObj('MediaPanel');
	QTdiv.innerHTML = QT_Player;
}

function loadFlash(swf) {
	var Shockwave = '<object id="slideshow" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '+
			'	width="640" height="444" '+
			'	codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"> '+
			'	<param name="movie" value="' + swf + '"> '+
			'	<param name="quality" value="high"> '+
			'	<param name="bgcolor" value="#ffffff"> '+
			'	<param name="wmode" value="transparent"> '+
			'<embed name="slideshow" '+
			'	width="640" height="444" align="middle" '+
			'	type="application/x-shockwave-flash" '+
			'	src="' + swf + '" '+
			'	quality="high" '+
			'	bgcolor="#ffffff" '+
			'	play="true" '+
			'	loop="false" '+
			'	quality="high" '+
			'	allowScriptAccess="sameDomain" '+
			'	pluginspage="http://www.macromedia.com/go/getflashplayer" '+
			'	wmode="transparent" '+
			'<noembed> '+
'<!-- Provide alternate content for browsers that do not support scripting or for those that have scripting disabled.--> '+
			'	Alternate HTML content should be placed here. This content requires the Macromedia Flash Player (version: 6+).  You need to download the latest by clicking the link below:<br><a href="http://www.macromedia.com/go/getflashplayer" target="_blank"><img src="images/3rd_party_logos/get_flash_player.gif" width="88" height="31" hspace="4" vspace="4" border="0" alt="Get Flash!"></a> '+
			'</noembed></embed></object>';
	
	var MP = getObj('MediaPanel');
	MP.innerHTML = Shockwave;
}
