contract owned {
    /* Owner definition. */
    address public owner; // Owner address.
    function owned() { owner = msg.sender; }
    modifier onlyOwner { require(msg.sender == owner); _; }
    function transferOwnership(address newOwner) onlyOwner { owner = newOwner; }
}
function owned() { owner = msg.sender; }

// Owner address.