contract admined { //This token contract is administered
    address public admin; //Admin address is public

    /**
    * @dev Contract constructor
    * define initial administrator
    */
    function admined() internal {
        admin = msg.sender; //Set initial admin to contract creator
        Admined(admin);
    }

    modifier onlyAdmin() { //A modifier to define admin-only functions
        require(msg.sender == admin);
        _;
    }

   /**
    * @dev Function to set new admin address
    * @param _newAdmin The address to transfer administration to
    */
    function transferAdminship(address _newAdmin) onlyAdmin public { //Admin can be transfered
        require(_newAdmin != address(0));
        admin = _newAdmin;
        TransferAdminship(admin);
    }

    event TransferAdminship(address newAdminister);
    event Admined(address administer);

}
/**
 * @title Admin parameters
 * @dev Define administration parameters for this contract
 */
function transferAdminship(address _newAdmin) onlyAdmin public { //Admin can be transfered
    require(_newAdmin != address(0));
    admin = _newAdmin;
    TransferAdminship(admin);
}

/**
 * @dev Function to set new admin address
 * @param _newAdmin The address to transfer administration to
 */