contract NewCurrency is StandardERC20 {

    //if ether is sent to this address, send it back.
    function () {
        revert();
    }

    string public name;
    uint8 public decimals;
    string public symbol;
    string public version = 'H0.1';

    function constuctor() {
        name = "Global Digital Junction";
        decimals = 8;
        symbol = "GDJ";
        totalSupply = 650 * 10**uint(6) * 10**uint(decimals);
        balances[msg.sender] = totalSupply;
    }

    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {
        allowed[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        if(!_spender.call(bytes4(bytes32(keccak256("receiveApproval(address,uint256,address,bytes)"))), msg.sender, _value, this, _extraData)) { revert(); }
        return true;
    }
}
function () {
        revert();
    }
//if ether is sent to this address, send it back.