Helop with the Kirupa Random Script

HI, I tried to implement the random movie script into a site but the script is only showing one of the 5 animations over and over.

Can someone tell me what is wrong with my code? I just copied it from the tutorial and changed the files names and the path.

filename = [“1.swf”, “2.swf”, “3.swf”, “4.swf”, “5.swf”];
path = “http://www.callone.net/bluechip/images/”;
i = filename.length;
k = Math.floor(Math.random()*i);
loadMovie(path+filename[k], movieTarget);

thanks

Cecilia