// 
//  @author:        	Tieson Trowbridge
//  @source:        	http://www.w3schools.com/ , modified to fit my needs.  :)
//
//  @comments:     		This script loads an XML document into the current web page.
//                  	The document is then parsed at the appropriate nodes when a 
//                  	button is clicked.
//
//  @license:       	You may freely modify this source for your own uses, but be warned
//                 		that it was developed specifically to work with my site, so it may
//                  	be easier to "grow your own"...
//

function display(image, ext, title, caption)
{
    document.getElementById("image_title").innerHTML=(title);
    document.getElementById("spotlight").src=('/art-gallery/'+image+ext);
	document.getElementById("caption").innerHTML=caption;
	// Uncomment to debug script (if display() is called, alert window will pop-up)
    // alert('Display function called! Image: '+image+ext);
}