// gallery 01 - home
start = 0;

var guide = {
	
	makeSlideShows: function() {
		
		new SimpleImageSlideShow({		
		  startIndex: start,   
		  imgUrls: ['img/photo/01/full/img-01.jpg','img/photo/01/full/img-02.jpg','img/photo/01/full/img-03.jpg','img/photo/01/full/img-04.jpg'],
		  imgTexts:['Villa Leonor Apartamentos e Hostel, Santa Teresa','O bonde passa por cima dos arcos da Lapa subindo para Santa Teresa e para a Villa Leonor','A alvorada do Rio de Janeiro. Vista da Villa Leonor','A pracinha próxima do hostel que estrela com freqüência em filmes (Incrível Hulk), novelas e propagandas'],
		  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
}
