function displayFlash(movieToPlay, codeToUse)
{
	switch (movieToPlay)
	{
		case "intro":
			document.write('<table width="250" cellpadding="0" cellspacing="0" border="0" style="float:right; margin-bottom:5px;">\n<tr>\n<td>');
			document.write('<img src="images/TargetScanLogoNewSub.gif" align="right" /></tr>\n</td>\n<tr>\n<td>');
			document.write('<table width="240" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;border-right:1px solid #00237E; border-bottom:1px solid #00237E; float:right;">\n<tr>\n<td>\n');
			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="240" height="180">\n');
			document.write('<param name="movie" value="flash/TargetScanOverview.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<param name="wmode" value="transparent" />\n');
			document.write('<embed src="flash/TargetScanOverview.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="240" height="180" wmode="transparent"></embed>\n');
			document.write('</object>\n');
			document.write('<a href="#" onclick="window.open(\'targetscan-system-video.html\',\'TargetScanSystemVideo\',\'width=480,height=425,resizable\');" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'WatchVideo\',\'\',\'images/watchVideoButtonOn.gif\',1)"><img src="images/watchVideoButton.gif" alt="Click Here to Watch the TargetScan System Video" name="WatchVideo" width="240" height="33" border="0" id="WatchVideo" /></a>');
			document.write('</td>\n</tr>\n</table>\n');
			document.write('</td>\n</tr>\n</table>');
			
			break;
		
		case "main":
			document.write('<table width="480" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse; border:1px solid #00237E;" align="center">\n<tr>\n<td style="background-color:#00237E; padding:0px 0px 10px 10px;"><h1>TargetScan<sup>&reg;</sup> System Video</h1></td></tr><tr><td>\n');
			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="480" height="360">\n');
			document.write('<param name="movie" value="flash/TargetScan-web.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="flash/TargetScan-web.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="360"></embed>\n');
			document.write('</object>');
			document.write('</td>\n</tr>\n<tr>\n<td style="background-color:#00237E; padding: 5px 0px; text-align:center;">\n<a href="#" onclick="window.close();" style="font-family:Arial,Helvetica, Sans Serif; font-weight: bold; font-size: 11px; color:#ffffff;">Close Window</a>');
			document.write('</td>\n</tr>\n</table>');
			break;
			
		case "chart":
			document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="565" HEIGHT="420">\n');
			document.write('<PARAM NAME=movie VALUE="Charts/FC_2_3_Column3D.swf">\n');
			document.write('<PARAM NAME="FlashVars" VALUE="&dataXML=' + codeToUse + '">\n');
			document.write('<PARAM NAME=quality VALUE=high>\n');
			document.write('<PARAM NAME=bgcolor VALUE=#FFFFFF>\n');
			document.write('<EMBED src="Charts/FC_2_3_Column3D.swf" FlashVars="&dataXML=' + codeToUse + '" quality=high bgcolor=#FFFFFF WIDTH="565" HEIGHT="420" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>\n');
			document.write('</OBJECT>');
			break;
			
		case "probeAnimation":
			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="240" height="137" align="right">\n');
			document.write('<param name="movie" value="../flash/probeanimation_2.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="../flash/probeanimation_2.swf" width="240" height="137" align="right" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>\n');
			document.write('</object>');
			break;
		
		case "homeAnimation":
			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="415" height="115">\n');
			document.write('<param name="movie" value="flash/envisioneering.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="flash/envisioneering.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="415" height="115"></embed>\n');
			document.write('</object>');
			break;
			
		case "largeProbeAnimation":
			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="723" height="414">\n');
			document.write('<param name="movie" value="../flash/probeanimation_enlarge.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="../flash/probeanimation_enlarge.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="723" height="414"></embed>\n');
			document.write('</object>');
			break;
			
		case "demoVideo":
			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="352" height="240">\n');
			document.write('<param name="movie" value="../flash/demoVideo.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="../flash/demoVideo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="352" height="240"></embed>\n');
			document.write('</object>\n');
			break;
		
		case "main_flash":
			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="560" height="201">\n');
			document.write('<param name="movie" value="flash/main_flash.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<param name="wmode" value="transparent" />\n');
			document.write('<embed src="flash/main_flash.swf" width="560" height="201" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>\n');
             document.write('</object>\n');
			break;
			
		case "featuredVideos":
			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="240" height="155">\n');
			document.write('<param name="movie" value="flash/featuredVideos.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="flash/featuredVideos.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="240" height="155"></embed>\n');
			document.write('</object>\n');
			break;
			
		case "nbcVideo":
			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="320" height="240">\n');
			document.write('<param name="movie" value="flash/nbcVideo.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="flash/nbcVideo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="320" height="240"></embed>\n');
			document.write('</object>\n');
			break;
			
		case "nbcVideoInline":
			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="268" height="270">');
			document.write('<param name="movie" value="../flash/nbcVideo_Controls.swf" />');
			document.write('<param name="quality" value="high" />');
			document.write('<embed src="../flash/nbcVideo_Controls.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="268" height="270"></embed>');
			document.write('</object>');
			break;
		
		case "prostateCancerDetectionVideo":
			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="320" height="240">\n');
			document.write('<param name="movie" value="flash/prostateCancerDetectionVideo.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="flash/prostateCancerDetectionVideo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="320" height="240"></embed>\n');
			document.write('</object>\n');
		break;
		
		case "empoweredDoctorVideoInline":
			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="268" height="270">\n');
			document.write('<param name="movie" value="../flash/empoweredDoctorVideo_Controls.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="../flash/empoweredDoctorVideo_Controls.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="268" height="270"></embed>\n');
			document.write('</object>\n');
			break;
		
		case "kmoxInterview":
			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="5" height="5">\n');
			document.write('<param name="movie" value="flash/kmoxInterviewCommercialFree.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="flash/kmoxInterviewCommercialFree.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="5" height="5"></embed>\n');
			document.write('</object>\n');
			break;
		
		case "kmoxInterviewInline":
			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="268" height="270">\n');
			document.write('<param name="movie" value="../flash/kmoxBroadCast_Controls.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="../flash/kmoxBroadCast_Controls.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="268" height="270"></embed>\n');
			document.write('</object>\n');
			break;
		
		case "fox2video":
			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="320" height="240">\n');
			document.write('<param name="movie" value="flash/fox2video.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="flash/fox2video.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="320" height="240"></embed>\n');
			document.write('</object>\n');
		break;
		
		case "fox2videoInline":
			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="268" height="270">\n');
			document.write('<param name="movie" value="../flash/fox2Video_Controls.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="../flash/fox2Video_Controls.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="268" height="270"></embed>\n');
			document.write('</object>\n');
		break;
		
		case "winkVideoInline":
			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="268" height="270">\n');
			document.write('<param name="movie" value="../flash/winkVideo_Controls.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="../flash/winkVideo_Controls.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="268" height="270"></embed>\n');
			document.write('</object>\n');
		break;
		
		case "wbbh2VideoInline":
			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="268" height="270">\n');
			document.write('<param name="movie" value="../flash/wbbh2NBCVideo_Controls.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="../flash/wbbh2NBCVideo_Controls.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="268" height="270"></embed>\n');
			document.write('</object>');
		break;
		
		case "ny1VideoInline":
			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="268" height="270">\n');
			document.write('<param name="movie" value="../flash/ny1Video_Controls.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="../flash/ny1Video_Controls.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="268" height="270"></embed>\n');
			document.write('</object>');
		break;
		
		case "actionnews6":
			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="320" height="280">\n');
			document.write('<param name="movie" value="flash/abc_philly.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="flash/abc_philly.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="320" height="280"></embed>\n');
			document.write('</object>');
		break;
		
		case "gainesville":
			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="320" height="280">\n');
			document.write('<param name="movie" value="flash/abc_gainesville.swf" />\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<embed src="flash/abc_gainesville.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="320" height="280"></embed>\n');
			document.write('</object>');
		break;		   
	}
}

//--- Functions created by Dreamweaver.
function MM_swapImgRestore() 
{ //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() 
{ //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) 
{ //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() 
{ //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}