Vortex response to the ac field in anisotropic high-Tc superconductors