function ApplicationManager() {

	
	
	this.passador = {
	
		length:0,
		indice:1,
		interval:"",
		delay:8000,
		next:function() {
		
			clearInterval(this.interval);
		
			jQuery("#dest"+this.indice).hide();
		
			this.indice++;
			
			if (this.indice > this.size) {
			
				this.indice = 1;
				
			}
			
			jQuery("#dest"+this.indice).show();
			
			this.start();
		
		},
		prev:function() {
			
			clearInterval(this.interval);
			
			jQuery("#dest"+this.indice).hide();
		
			this.indice--;
			
			if (this.indice < 1) {
			
				this.indice = this.size;
				
			}
			
			jQuery("#dest"+this.indice).show();
			
			this.start();
		
		},
		start:function() {
		
			if (this.size > 1) {
				this.interval = setInterval("App.passador.next()",this.delay);
			}
		
		}
	
	
	}
		
		
	
}

var App = new ApplicationManager();
