rem: if (document.forms[0] && document.forms[0].elements["faqusername"]) { document.forms[0].elements["faqusername"].focus(); 
add: if (document.getElementById('faqusername')) { document.getElementById('faqusername').focus(); 
context: function focusOnUsernameField(){    if (document.forms[0] && document.forms[0].elements["faqusername"]) {        document.forms[0].elements["faqusername"].focus();    }}
meta: 2019	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2019/a4ba488d3f25cca954a95dc3b2dc978204256c2a/functions.js/clean/phpmyfaq/inc/js/functions.js