Strategy to detect the gravitational radiation counterpart of gamma-ray bursts