onmousedown, onmouseup and onclick