lukeurtnowsky,
I am unsure of which lightbox app you are using, however the effect you wish can be achieved.
I am NOT a Javascript developer so there are many people better than I to answer, but I've noticed that there were no replies so here we go.
From what I can tell, when you click on the main Image, it attempts to open in a new window.
I can see you're using prototype, which I am not overly familiar with, so.
Basically instead of opening a new window on click - link directly to the large image. Assign the lightbox's preferred RE tag ("lightbox"), as in:
1) Add: rel="lightbox" to the <a id="xlarge" .... link:
<a rel="lightbox" id="xlarge" href="./i/doll29/thumb4_xlarge.jpg"><img alt="thumb1_large.jpg" src="http://www.nikelantiquedolls.com/i/doll29/thumb4_large.jpg" id="placeholder"></a>
2) Change your showPic to only update the LINK/href, NOT including the blankWindow javascript.
function showPic (whichpic) {
//alert(whichpic.title);
var img=whichpic.title.split(".");
var large_img=img[0]+"_xlarge.jpg";
//alert(large_img);
if (document.getElementById) {
document.getElementById('placeholder').src = whichpic.href;
if (whichpic.title) {
//document.getElementById('xlarge').href = "JavaScript:blankWindow('i/"+large_img+"')";
document.getElementById('xlarge').href = "./i/"+large_img+";
}
return false;
} else {
return true;
}
}
I commented out the existing line and made the amendments to the code.
Be sure to add the title attribute to the <a id="xlarge" as well, in this case "Rare Antique French Pagoda Parasol"
I hope this is what you wanted..