control dhtml popup window Ubuntu Web Photo Gallery