You need to define it yourself:
Code:
var x;
x = 0;
document.lybook.elements(x).focus();
would set the focus on the first element of the form.
You can also use x inside a loop, to retrieve all values from all text boxes for instance.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.