// gallery 05 - contact
start = 0;

var guide = {
	
	makeSlideShows: function() {
		
		new SimpleImageSlideShow({		
		  startIndex: start,   
		  imgUrls: ['../img/photo/05/full/img-01.jpg','../img/photo/05/full/img-02.jpg','../img/photo/05/full/img-03.jpg','../img/photo/05/full/img-04.jpg'],
		  imgTexts:['Carnival parade in Rio de Janeiro’s sambodrome: a short walk from the Villa','Lapa’s famous steps were tiled by an artist from Santa Teresa','To reach the Villa by bonde take the one marked Paula Mattos until just before Largo das Neves (end of the line)','The Cristo Redentor'],
		  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
}

