function open_new_window(link) {var image = link.title;var altText = link.children[0].alt;// Change the width, height, and position to suit in the line belownew_window = open("","hoverwindow","width=1024,height=1024,left=650,top=50");new_window.document.open();// In the line below, change the title of your image viewer if you like, it's not required thoughnew_window.document.write("<html><head><title>Dan Craig © Image Viewer</title></head>");new_window.document.write("<body style='text-align:center'>");// In the line below, if needed change 'images/' to the path and folder where you store your images// Important! Only change the plural 'images' to your image folder -- leave the singular 'image' alone!new_window.document.write("<img src='Weddings/Ron_Allison/The_Wedding/" + image + "'>");// new_window.document.write("<img src='images/" + image + "'>");// No more changes!new_window.document.write("<p>" + altText + "</p>");new_window.document.write("</body></html>");new_window.document.close(); }function close_window() {new_window.close();}//Script courtesy of BoogieJack.com and i-webmaster.org.//Tell someone you know and help these sites grow! :)
