--- ./lightbox.js.dist 2006-04-08 22:58:12.000000000 -0700 +++ ./lightbox.js 2006-04-20 19:46:44.000000000 -0700 @@ -328,7 +328,12 @@ // if image is NOT part of a set.. if((imageLink.getAttribute('rel') == 'lightbox')){ // add single image to imageArray + if (imageLink.getAttribute('target')) { + imageArray.push(new Array(imageLink.getAttribute('href'), imageLink.getAttribute('title'), imageLink.getAttribute('target'))); + } + else { imageArray.push(new Array(imageLink.getAttribute('href'), imageLink.getAttribute('title'))); + } } else { // if image is part of a set.. @@ -336,9 +341,15 @@ for (var i=0; i