FRW Cosmology with the Extended Chaplygin Gas