hi,
was ist daran falsch ???
if(document.layform.all[lname].value == "off")
all[] ist MS-syntax.
du solltest lieber die schreibweise von http://de.selfhtml.org/javascript/objekte/elements.htm#allgemeines verwenden - für # kannst du auch den namen des feldes einsetzen.
gruß,
wahsaga
--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."