using cntrl up and down events in HTML
saving image, integrated control file