ddress').value;
        web3.eth.namereg.setAddress(name, address, true);
        document.getElementById('currentAddress').innerText += ' Changing address in progress. Please wait.';
    };

    function onRegisterOwnerKeyUp() {
        var name = document.getElementById('registerOwner').value;
        var owner = web3.eth.namereg.owner(name)
        document.getElementById('currentAddress').innerText = web3.eth.namereg.addr(name);
        if (owner !== '0x0000000000000000000000000000000000000000') {
     