Random image script for .swf files

Does anyone know of a easy script for playing .swf movie’s from a random script that does not require alot of code knowledge and advanced php software?

I have 4 .swf files exported from Adobe ImageReady (of all things) that I wish to randomly display on my site.

Hopefully someone can get back to me soon, not much time on this.

This is the code I am currently using for .gifs but wont work for .swf’s

[FONT=Arial][SIZE=1] // Advanced Random Images Start
var j,d="",l="",m="",p="",q="",z="",KW_ARI= new Array();
KW_ARI[KW_ARI.length]=‘random/one.gif?&width=432&height=216’;
KW_ARI[KW_ARI.length]=‘random/two.gif?&width=432&height=216’;
KW_ARI[KW_ARI.length]=‘random/three.gif?&width=432&height=216’;
KW_ARI[KW_ARI.length]=‘random/four.gif?&width=432&height=216’;
j=parseInt(Math.random()KW_ARI.length);
j=(isNaN(j))?0:j;
if (KW_ARI[j].indexOf(’?’)==-1) {
document.write("<img src=’"+KW_ARI[j]+"’>");
}
else {
nvp=KW_ARI[j].substring(KW_ARI[j].indexOf(’?’)+2).split(’&’);
for(var i=0;i<nvp.length;i++) {
sub=nvp
.split(’=’);
switch(sub[0]) {
case ‘link’:
l="<a href=’"+unescape(sub[1])+"’>";
p="</a>";
break;
case ‘target’:
q=" target=’"+unescape(sub[1])+"’";
break;
default:
m+=" “+sub[0]+”=’"+unescape(sub[1])+"’";
break;
}
}
z=(l!="")?((q!="")?l.substring(0,l.length-1)+q+">":l):"";
z+=’<a href=“stock.html”><img src="’+KW_ARI[j].substring(0,KW_ARI[j].indexOf(’?’))+’" border=“0” name=“billboard”’+m+">"+p+’</a>’;
document.write(z);
}
// Advanced Random Images End[/SIZE][/FONT]

http://www.widstock.com
russ