5 for(i=0; i<F.length; i++){
6 secs[i] = document.forms[F[i]].second;
7 mins[i] = document.forms[F[i]].minute;
8 hours[i] = document.forms[F[i]].hour; }
10 function timeUpdate(F) {
11 for(i=0; i<F.length; i++){
12 s = parseInt(secs[i].selectedIndex);
17 m = parseInt(mins[i].selectedIndex);
22 h = parseInt(hours[i].selectedIndex);
28 hours[i].selectedIndex = h;
30 mins[i].selectedIndex = m;
32 secs[i].selectedIndex = s; }
33 setTimeout('timeUpdate(F)', 5000);
36 return (t < 10 ? '0'+t : t);