var Galleries = new Array('graphic','graphicSmallBl1','graphicSmallBl2','graphicSmallBl3');
var GalCount = 0;
var StartInterval = 150;
function startGallery() {
	for($x=0;$x<Galleries.length;$x++) {
		setTimeout("NextGallery()", (StartInterval*($x+1)));
	}
}	
function NextGallery() {
	var myGallery = new gallery($(Galleries[GalCount]), {
				timed: true,
				showArrows: false,
				showCarousel: false,
				showInfopane: false,
				embedLinks: false
	});
	GalCount++;
}
window.addEvent('domready', startGallery);
