OPTICAL SWITCHING IN POLYMER GELS