hely = new Array() for(i = 1; i <= 15; i++) { if(i == 1) document.write("7500.- Ft") if(i == 6) document.write("5900.- Ft") if(i == 11) document.write("4500.- Ft") hely[i] = new Array() document.write("" + i + ".") for(j = 1; j <= 24; j++) { hely[i][j] = Math.floor((1 - Math.random() * Math.random()) * 2) if(hely[i][j] == 1) { document.write("" + j + "") } else { document.write("" + j + "") } } document.write("
") if(i % 5 == 0) document.write("
") }