Search for narrow six-quark states in the reactions \gamma d -->\pi\gamma NN