function startGallery() {
	var myGallery = new gallery($('myGallery'), {
		timed: true,
		slideInfoZoneSlide: true,
		
		showArrows: true,
		showCarousel: true,
		showInfopane: true,
		embedLinks: false,
		fadeDuration: 500,
		timed: false,
		delay: 9000,
		preloader: true,
		preloaderImage: true,
		preloaderErrorImage: true,
		/* Data retrieval */
		manualData: [],
		populateFrom: false,
		populateData: true,
		destroyAfterPopulate: true,
		elementSelector: "div.imageElement",
		titleSelector: "h3",
		subtitleSelector: "p",
		linkSelector: "a.open",
		imageSelector: "img.full",
		thumbnailSelector: "img.thumbnail",
		defaultTransition: "fade",
		/* InfoPane options */
		slideInfoZoneOpacity: 0.7,
		slideInfoZoneSlide: true,
		/* Carousel options */
		carouselMinimizedOpacity: 0.4,
		carouselMinimizedHeight: 20,
		carouselMaximizedOpacity: 0.9,
		thumbHeight: 75,
		thumbWidth: 100,
		thumbSpacing: 10,
		thumbIdleOpacity: 0.8,
		textShowCarousel: 'Ver Miniaturas',
		showCarouselLabel: true,
		thumbCloseCarousel: true,
		useThumbGenerator: true,
		thumbGenerator: 'libs_php/resizer.php',
		useExternalCarousel: false,
		carouselElement: true,
		carouselHorizontal: true,
		activateCarouselScroller: true,
		carouselPreloader: true,
		textPreloadingCarousel: 'Cargando...',
		/* CSS Classes */
		baseClass: 'jdGallery',
		withArrowsClass: 'withArrows',
		/* Plugins: HistoryManager */
		useHistoryManager: false,
		customHistoryKey: true,
		/* Plugins: ReMooz */
		useReMooz: false

	});
}

window.addEvent('domready',startGallery);