When someone visits the page I would like a random FLV to play. How do I do that? The random SWF scripts don't work.

Here's the code I have so far, with the body javascript generated by Dreamweaver CS3:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Untitled Document</title>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">

//my movies
var flvArray = new Array ();
	flvArray[0] = "movies/oyster.flv";
	flvArray[1] = "movies/mystic.flv";
	flvArray[2] = "movies/pincushion.flv";

// randomly select movie
var randomFLV = Math.floor(Math.random() * flvArray.length);

//insert the movie
function insertFLV() {
	???????
}
</script>
</head>

<body>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','320','height','240','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=FLV_homepage/mystic&autoPlay=true&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
</script>

<noscript>
<object
	classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
	codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" 
	width="320" 
	height="240" 
	id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=FLV_homepage/mystic&autoPlay=true&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" 
	flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=FLV_homepage/mystic&autoPlay=true&autoRewind=false" 
	quality="high" 
	scale="noscale" 
	width="320" 
	height="240" 
	name="FLVPlayer" 
	salign="LT" 
	type="application/x-shockwave-flash" 
	pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</object></noscript>
</body>
</html>