function sspToggleDisplayMode() {
	thisMovie("ssp").sspToggleDisplayMode(null);
}

/*
	Passes the ID of the album from the XML file
	we want SlideShowPro inside the SWF to load
*/
function sspLoadAlbum(album) {
	thisMovie("ssp").sspLoadAlbum(album);
}

function thisMovie(my_ssp) {
if (navigator.appName.indexOf("Microsoft") != -1) {
return window[my_ssp]
} else {
return document[my_ssp]
}
}

function imageIden(captionData) {
$('#mediaIden').html(captionData);
}

function titleIden(titleData) {
$('#subIden').html(titleData);
}

function imageInfo(imageTitleData, numberData, captionData, linkData) {
$('#imageTitle').html(imageTitleData);
$('#imageNumber').html(numberData);
$('#imageCaption').html(captionData);
$('#imageLink').click(function redirect() {
location = linkData;
return false;
});
}

function albumInfo(albumTitleData, totalImagesData) {
$('#albumTitle').html(albumTitleData);
$('#totalNumber').html(totalImagesData);
}
