function popUp(target, w, h, path, caption, description){ var scrW = screen.width; var scrH = screen.height; w=w+20; var x = Math.floor((scrW - w)/2); var y = Math.floor((scrH - h)/2); h=h+50; var uri = target + "?path=" + path + "&caption=" + caption + "&description=" + description; wnd = window.open(uri, 'galleryImage', 'height=' + h + ', width=' + w + ', left=' + x + ', top=' + y + ', toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no'); } function cleanPopUp(w, h, path){ var scrW = screen.width; var scrH = screen.height; var x = Math.floor((scrW - w)/2); var y = Math.floor((scrH - h)/2); wnd = window.open('', 'galleryImage', 'height=' + h + ', width=' + w + ', left=' + x + ', top=' + y + ', toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no'); wnd.document.write(''); wnd.document.write(''); wnd.document.write(''); }

ANTON OPARIN FASHION PHOTOGRAPHY · (646)346-3284