var MM_contentVersion = 8;
		var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
		var oFlashURL = document.getElementById("htxtflashurl");
		//LeeH 07MAR07
		var oPdfURL = document.getElementById("htxtpdfurl");
		var oImgURL = document.getElementById("htxtimgurl");

		
		var strflashpath = oFlashURL.value;
		//LeeH 07MAR07
		var strpdfpath = oPdfURL.value;
		var strimgpath = oImgURL.value;
		
		
		if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
		for (var i = 0; i < words.length; ++i)
		{
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i];
		}
		var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
		}
		else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
		&& (navigator.appVersion.indexOf("Win") != -1)) {
		document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); 
		document.write('on error resume next \n');
		document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
		document.write('</SCR' + 'IPT\> \n');
		}
		if ( MM_FlashCanPlay ) {
		document.writeln('<div id="media"><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="511" height="209">');
		document.writeln('<param name="movie" value="' + strflashpath + '" />');
		document.writeln('<param name="quality" value="high" />');
		document.writeln('<embed src="' + strflashpath + '" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="511" height="209"></embed>');
		document.writeln('</object></div><div class="transcript"><a href="' + strpdfpath + '" target="_blank">Read the video transcript</a></div>');
		} else{
		document.write('<div id="media"><a href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank"><img src="' + strimgpath + '" alt="download the latest Flash plugin from Macromedia" width="511" height="209" border="0" /></a></div><div class="transcript"><a href="' + strpdfpath + '" target="_blank">Read the video transcript</a></div>');
		}
