// gallery 06 - location
start = 0;

var guide = {
	
	makeSlideShows: function() {
		
		new SimpleImageSlideShow({		
		  startIndex: start,   
		  imgUrls: ['../img/photo/06/full/img-01.jpg','../img/photo/06/full/img-02.jpg','../img/photo/06/full/img-03.jpg','../img/photo/06/full/img-04.jpg'],
		  imgTexts:['Montmartre Carioca (The Montmartre of Rio de Janeiro)','The Cristo Redentor is an hour’s walk through the Tijuca national park with some stunning views of Rio','Residents of Santa Teresa sell art from their own homes during Portas Abertas','Carnival in Largo das Neves – the Villa is less than a hundred yards to the top-left'],
		  container: 'screenShotImgs',
		  currentIndexContainer: 'imgNow',
		  maxContainer: 'imgMax',
		  nextLink: 'nextImg',
		  prevLink: 'prevImg'
		  
		});
	},
	init: function(){
		this.makeSlideShows();
	},
	startImage: function() {
		alert('from startimage');   // ac debug
		
	}
	
};

window.onDomReady(function(){
	guide.init();
});

//window.onDomReady(guide.init.bind(guide));

function changeimage(which) {
	//alert('as');
	start = which-1;  // accounts for array
	guide.init();
}

function actest(which) {
	document.getElementById('caption').innerHTML = which;  // this is function to change text - tt works
}
