Send Data to Lightbox To Use It in a Jquery Slider

Send Data to Lightbox To Use It in a Jquery Slider

hi

there are two group of images i have 1- main images 2- sub images

every main image has got many sub images

so i have tow gallery 1- main gallery: this is a thumbnail gallery. when you click one of them it will open in a lightbox. 2- sub gallery: this gallery will open after a main image is clicked on the main gallery in the lightbox window top of the big size of the clicked main image

using database is my last option. so i have to do this via xml or anything else.

i create an example of xml for the sub gallery:
  1. <gallery>
       
    <image id="1" type="flower">
           
    <title>image1</title>
           
    <url>images/image1.jpg</url>
       
    </image>
       
    <image id="2" type="flower">
           
    <title>image2</title>
           
    <url>images/image2.jpg</url>
       
    </image>
       
    <image id="3" type="flower">
           
    <title>image3</title>
           
    <url>images/image3.jpg</url>
       
    </image>
       
    <image id="4" type="flower">
           
    <title>image4</title>
           
    <url>images/image4.jpg</url>
       
    </image>
       
    <image id="5" type="landscape">
           
    <title>image5</title>
           
    <url>images/image5.jpg</url>
       
    </image>
       
    <image id="6" type="landscape">
           
    <title>image6</title>
           
    <url>images/image6.jpg</url>
       
    </image>
       
    <image id="7" type="landscape">
           
    <title>image7</title>
           
    <url>images/image7.jpg</url>
       
    </image>
       
    <image id="8" type="landscape">
           
    <title>image8</title>
           
    <url>images/image8.jpg</url>
       
    </image>
    </gallery>

now my problem is how can i send data from main gallery to the sub gallery which is in the lightbox? so with that data i can get all the flower images in the xml and show it in a jquery slider.

with javascript,jquery,anchor,ajax anything can be acceptable for me because i want to do it with html page. if those are not possible unfortunately i will use .net so i can send data via querystring.

there is an example in here: http://minishowcase.net/demo/ but it says that it requires php :(. and it gets the same images in the lightbox window (i want to get new images from xml) but it is a good example that explain my problem.

I hope someone tell me it is possible in html

thanks