Synthesis of imidazole derivatives and study of the ON-based different memory performances.