Thanks for a prompt reply!
The direction of search of a solution true, but is overloaded all panel, it isn't convenient to work. I have put for tests 10 sec. on updating.
As it seems to me it is possible to think over options:
1. To remember an active window and after updating to switch to him
2. To start updating only when the <div> with pictures is active
3. To change every time a name of a preview and to store xml-file the list of compliance (001.psd = 28042016220005.jpg)
I will try the 3rd option so far if it doesn't turn out, then I will think over 1.
3 variant - create tempary name preview file