function Aleatorio(num){ var fecha=new Date(); var rand=Math.round(num*Math.sin(fecha.getTime())); if(rand<0) rand*=-1; if(rand==0) rand++; return rand; } function CrearArray(n){ this.lenght=n; for(var i=0;i'); fortune[2]=(''); fortune[3]=(''); fortune[4]=(''); fortune[5]=(''); fortune[6]=(''); fortune[7]=(''); fortune[8]=(''); fortune[9]=(''); fortune[10]=(''); document.write(fortune[Aleatorio(10)]);