function loadPage() {
	if (document.getElementById("gallery")) {
		showGallery();
	}
	buildThings(); 
}
window.onload=loadPage;