ciao!
ho inserito questo codice per banner a rotazione nella mia pagina .. ma non funziona .. perchè?

codice:
<script>
<!--
//produces a randomly generated graphic to use as ad or cool effect

function RandomNumber() 
{
var today = new Date();
var num= Math.abs(Math.sin(today.getTime()/1000));
return num;
}

function RandomGraphics() 
{
var x = RandomNumber();
}
if (x > .77) 
{document.write(""); return; 
}
if (x > .66) 
{document.write(""); return; 
}
if (x > .55) 
{document.write(""); return; 
}
if (x > .44) 
{document.write(""); return; 
}
if (x > .33) 
{document.write(""); return; 
}
if (x > .22) 
{document.write(""); return; 
}
if (x > .11) 
{document.write(""); return; 
}
if (x > 0) 
{document.write(""); return; 
}
}
RandomGraphics();

//End Script-->
</SCRIPT>