var time = new Date();
var lkm = 3;
arvottuLuku= time.getSeconds() + 1;
while (arvottuLuku > lkm) {
 arvottuLuku= arvottuLuku - lkm;
}
