
<!-- 
var nombreClips = 10  // per un numero differente cambialo
var listeSons = new Array(nombreClips)
listeSons[0]= "sonic.gif"
listeSons[1]= "bici.gif"
listeSons[2]= "simpa.gif"
listeSons[3]= "miki.gif"
listeSons[4]= "simpb.gif"
listeSons[5]= "simpc.gif"
listeSons[6]= "simpson.gif"
listeSons[7]= "fuoco.gif"
listeSons[8]= "simpd.gif"
listeSons[9]= "bartbath.gif"
function hasard(){
 var indice = -1
 while (indice < 0 || indice > nombreClips || isNaN(indice)){
 indice = parseInt(Math.random()*(nombreClips))
 }
 return indice
 }
var indCal = hasard()
var clipJoue = listeSons[indCal]
//indica l'URL dei gif
clipJoue = "../ragnos/gif/" + clipJoue
document.write ('<img src= "' + clipJoue + '">' )
 -->
