Comparison of automated perimetry and pattern visually evoked cortical potentials in optic neuritis