How can I open an image in a new window by using its id?
id
function swipe() { var largeImage = document.getElementById(\'largeImage\');
window.Open("http://yourdomain.com/yourimage.gif");