// JavaScript Document

files = new Array();
files[0] = "flash/home/flash1.swf";
files[1] = "flash/home/flash2.swf";
files[2] = "flash/home/flash3.swf";
files[3] = "flash/home/flash4.swf";
files[4] = "flash/home/flash5.swf";
index = Math.floor(Math.random() * files.length);
movie = files[index];
// now write out the object and embed tags replacing the filename with the variable movie
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width=445 height=164>');
document.write('<param name=movie value="' + movie + '"> <param name=quality value=high> <param name=bgcolor value=#ffffff> <param name="menu" value="false">');
document.write('<embed src="' + movie + '" quality=high bgcolor=#ffffff menu=false width=445 height=164 type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>');
document.write('</object>');

