Use the random function (in jscript) to get a number and use the if condition to play a different file.
This of course works only if you know the file names. Or you could do search the directory and store all its files in an array and then generate a random number (using jscript) and use it as the subscript of the array giving you a random file to everytime