XML Slideshow with pop ups

Hi,

I am doing a picture Slideshow using Flash and XML. My slide show is working great but I want the user to be able to click on the current picture and have it load in a larger version of the picture in a popup window sized to the particular picture they clicked on. I just can’t figure out how to add this functionality without breaking what I currently have. I would really appreciate any suggestions from anyone.

–Thanks

XML CODE
<Slides>
<slideNode jpegURL=“images/image1.jpg”>The Beach</slideNode>
<slideNode jpegURL=“images/image2.jpg”>The Ocean</slideNode>
<slideNode jpegURL=“images/image3.jpg”>Rocks</slideNode>
<slideNode jpegURL=“images/image4.jpg”>The Beach BW</slideNode>
<slideNode jpegURL=“images/image5.jpg”>Ocean BW</slideNode>
<slideNode jpegURL=“images/image6.jpg”>Rocks BW</slideNode>
</Slides>

FLASH ACTIONSCRIPT
slides_xml = new XML();
slides_xml.onLoad = startSlideShow;
slides_xml.load(“slides.xml”);
slides_xml.ignoreWhite = true;
//
// Show the first slide and intialize variables
function startSlideShow(success) {
if (success == true) {
rootNode = slides_xml.firstChild;
totalSlides = rootNode.childNodes.length;
firstSlideNode = rootNode.firstChild;
currentSlideNode = firstSlideNode;
currentIndex = 1;
updateSlide(firstSlideNode);

}
}
//
// Updates the current slide with new image and text
function updateSlide(newSlideNode) {
imagePath = newSlideNode.attributes.jpegURL;
slideText = newSlideNode.firstChild.nodeValue;
loadMovie(imagePath, targetClip);
}
//
// Event handler for ‘Next slide’ button
next_btn.onRelease = function() {
nextSlideNode = currentSlideNode.nextSibling;
if (nextSlideNode == null) {
break;
} else {
currentIndex++;
updateSlide(nextSlideNode);
currentSlideNode = nextSlideNode;
}
};
//
// Event handler for ‘Previous slide’ button
back_btn.onRelease = function() {
previousSlideNode = currentSlideNode.previousSibling;
if (previousSlideNode == null) {
break;
} else {
currentIndex–;
currentSlideNode = previousSlideNode;
updateSlide(previousSlideNode);
}
};