function onfocusUserName(theEl){if(theEl.value=='username') theEl.value='';} function onfocusPassword(theEl){if(theEl.value=='[psswrd]') theEl.value='';} function onblurUserName(theEl){if(theEl.value=='') theEl.value='username';} function onblurPassword(theEl){if(theEl.value=='') theEl.value='[psswrd]';} function goLogin2() { if (checkEmpty2(document.loginfrm2.Username, "Username") && checkEmpty2(document.loginfrm2.Password, "Password")) {return true;} else {return false;} } function checkEmpty2(fld,lbl) { if ((fld.value.length == 0) || ((fld.value == 'username') && (lbl.toUpperCase() == 'USERNAME')) || (fld.value == '[psswrd]')) { fld.focus(); alert('OOPS...\n\nPlease add an entry in the ' + lbl.toUpperCase() + ' field.\nThis field is required.'); return false;} else return true;} function getFormOpen() { document.write('
'); }