/*window.addEvent('domready', function(){
	new SlideShow();
	
	$$('.btn_aba').each(function(el, n){
		el.addEvent('click', function(){
			$$('.abas_conteudo').setStyle('display', 'none');
			$$('.abas_conteudo')[n].setStyle('display', 'block');
			$$('.btn_aba').removeClass('active');
			this.addClass('active');
		});
	});
});*/

/*SlideShow = new Class({
	options:{
		showTime:6000
	},
	initialize:function(){
		this.pai = $$('.destaque_interno')[0];
		this.arr = this.pai.getElements('div[class^=destaque_]');
		this.current = 0;
		this.arr.each(function(el, n){
			el.setStyles({
				'position':'absolute',
				'opacity':0
			});
			if (n == 0){
				el.setStyle('opacity', 1);
			}
		});
		this.pai.getElements('.lk_foto')[0].addClass('sel');
		this.pai.getElements('.lk_foto').each(function(el, n){
			el.addEvent('click', function(){
				this.stopShow();
				this.current = (n - 1);
				this.next('click');
				this.startShow();
			}.bind(this));
		}.bind(this));
		
		this.startShow();
	},
	next:function(){
		first = false;
		this.arr.fade('out');
		this.current++;
		if (this.current == this.arr.length){
			this.current = 0;
		}
		if (!first){
			this.arr[this.current].fade('in');
		} else {
			this.arr[this.current].setStyle('opacity', '1');
		}
		this.pai.getElements('.lk_foto.sel').removeClass('sel');
		if (typeof(this.pai.getElements('.lk_foto')[this.current]) != 'undefined'){
			this.pai.getElements('.lk_foto')[this.current].addClass('sel');
		}
	},
	startShow:function(){
		this.timer = (function(){
			this.next();
		}.bind(this)).periodical(this.options.showTime);
	},
	stopShow:function(){
		$clear(this.timer);
	}
});*/
