Determination of the cosmological parameters and study of quasar structure from gravitational lensing