это в JavaScript:
function picture()
{
window.open("document.htm","newwindow",config="width=300, height=550, tollbar=0,location=0, directories=0, status=1, menubar=0,scrollbar=0, resizable=0");
}
потом делаешь ссылку там, где тебе надо:
<a href="javascript:picture()">Это ссылка</a>