The Relationship Between The X-Ray And Optical Variability In Seyfert Galaxies