Hi, How do I detect whether or not a form element exists? e.g. how do I adapt this script to not give an error if there is no form on the page? <body onload="document.forms[0].elements[0].focus();">