var nl_a = document.getElementById('niolite_login'); try{ var nl_form = document.createElement('form'); nl_form.action = 'https://on.nl.niolite.com/0001.login.user.asp'; nl_form.method = 'post'; nl_form.className = 'clsNioliteLoginForm'; nl_a.parentNode.insertBefore(nl_form,nl_a); var nl_form_c = '' + '' + '' + '' + '