Cool hack.
Here is what I use:
- Place an "Unmask" checkbox next to the password field
- onclick checkunmask()
$("#password").type = ($("#unmask").checked)?"textbox":"password";
Simple, everybody happy.