Having difficulty setting up conditions for radio buttons/images