function pageLoad() {
alert('a');
}

var galleries = [];

function showGallery(galleryID) {
	el = document.getElementById('galleryName');
	el.innerHTML = '<span style="font-size:14px; font-weight:bold">'+galleries[galleryID].name+'</span>&nbsp;  '+galleries[galleryID].location+'';

	el = document.getElementById('galleryDesc');
	el.innerHTML = galleries[galleryID].name + "<br><br>" + galleries[galleryID].description;
//	el = document.getElementById('thumbnails');
//	t = "";
//
//	for (i = 0 ; i < galleries[galleryID].images.length; i++)
//	{
//		t += '<a href="'+galleries[galleryID].images[i][1]+'" class="slideshowThumbnail"><img src="'+galleries[galleryID].images[i][0]+'" border="0" /></a>'
//	}
//	el.innerHTML = t;
//
//	
//	if (show) {
//		show.stop();
//		show.resetAnimation();
//		var obj = {
//			wait: 3000, 
//			effect: 'fade',
//			duration: 1000, 
//			loop: true, 
//			thumbnails: true,
//			backgroundSlider: true,
//			onClick: function(i){ alert(i)}
//		}
//		show.initialize('slideshowContainer','slideshowThumbnail',obj);
//		show.play();
//	}
}
