$(document).ready(function(){

    // Set up our options for the slideshow...
    var myOptions = {
        noImages: 4,
        path: "images/",  // Relative path with trailing slash.
        captions: { 
		    1:'<b>Thank You for your generous support</b><br/>EVHS would like to Extend a Special Thank You To our Guests who attended our 2011 Fundraiser</div>',
            2:'<b>Eyeglass Clinic Project</b><br/>EVHS is setting up a vision clinic in Taishan</div>',
            3:'<b>Suzannes School of Sewing</b><br/>Helping create a sustainable sewing program through the use of micro-credits</div>',
			4:'<b>Classroom in a Box Project</b><br/> Real-time teaching from a city classroom directly to the remote mountainous areas of west China</div>',
        },
        links: { // Each image number must be listed here, unless no links are required at all, then links option can be ommitted.
			1:"thankyou.html",
            2:"project2.html",
            3:"project3.html",
			4:"project1.html",
        },
        linksOpen:'parent',
        timerInterval: 6500, // 6500 = 6.5 seconds
	randomise: false // Start with random image?
    };

    // Woo! We have a jquery slideshow plugin!
    $('#example_1_container').easySlides(myOptions);

})
