function addCustomEvent(odnosnik,zdarzenie,funkcja){if(odnosnik.addEventListener){odnosnik.addEventListener(zdarzenie,funkcja,false)}else odnosnik.attachEvent("on"+zdarzenie,funkcja)}
function changeBox(){document.getElementById('noclickpass').style.display='none';document.getElementById('clickpass').style.display='';document.getElementById('password').focus()}
function restoreBox(){if(document.getElementById('password').value==''){document.getElementById('noclickpass').style.display='';document.getElementById('clickpass').style.display='none'}}