time=new Date();
theRandomNumber= time.getSeconds() + 1;
while (theRandomNumber > 5) {
 theRandomNumber= theRandomNumber - 5;
}
