added 'loader' div (I think for loading gif); made certin imageOriginalDir was spelled same way everywhere