<div onclick=" if ((zamanux = 'undefined')||(zamanux=0)) {document.getElementById('zam').style.right='-75px'; zamanux=1;} else {document.getElementById('zam').style.right='0px'; zamanux=0;}; ">
for some reason, even after the first click, the zamanux variable remains undefined ... i.e. I want the right property to change to -75 by the first press ... and to return to 0 again on the second ... but it works only in one direction, but does not change to 0