Dear cacososa,
The "GalleryCreateImage" function controls the zoom in and zoom out, this function can be found in "\CuteSoft_Client\Gallery\Core\GalleryLibrary.js", this javascript file is obfuscated, its source is only available for the source code license user.
Thank you for asking