'; }); } function openWindow() { let targetWindow = window.open('', '_blank'); targetWindow.location.href = document.getElementById('image').src; }