
function get_random()
{
    var ranNum= Math.round(Math.random()*2);
    return ranNum;
}

function newMovie()
{
   var FlashId=get_random();

    var whichFlash=new Array(3)
     whichFlash[0]="flash/index_flash_01.swf";
     whichFlash[1]="flash/index_flash_02.swf";
     whichFlash[2]="flash/index_flash_03.swf";   

document.write('<object CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="492" HEIGHT="267" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" id="ShockwaveFlash1" VIEWASTEXT>')
document.write('<param NAME="MOVIE" VALUE="'+whichFlash[FlashId]+'"')
document.write('<param NAME="PLAY" VALUE="true">')
document.write('<param NAME="LOOP" VALUE="false">')
document.write('<param NAME="QUALITY" VALUE="high">')
document.write('<param NAME="MENU" VALUE="false">')
document.write('<param NAME="BGCOLOR" VALUE="#E4E4E4">')
document.write('<embed SRC="flash/index_flash_01.swf" WIDTH="492" HEIGHT="267" BGCOLOR="#FFFFFF" PLAY="true" LOOP="false" QUALITY="high" MENU="false" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/flashplayer/">')
document.write('</object>')
  }	   

  
  
 
