now includes basic.js for common functions and methods
immagine and messaggeria popup now use the same (new) functions to open the popup