All external links will open in new window.
Using JQuery links to sites outside the install domain will open in new window.
This module may be downloaded from the codex here.
To install, extract the "exlinks_new_window" folder from the zip file into your Gallery 3 modules folder.
Afterwards log into your Gallery web site as an administrator and activate the module in the Admin -> Modules menu.
Similar modules: