var Tabs = {
	last: 0,
	slide:true,
	slideTId: null,
	slideTab: 0,
	slideTimeout: 3000,
	activate: function(id) {
		if (this.slideTId)
			clearTimeout(this.slideTId);
		//$('tab_title_' + this.last).className = 's_tab_out';
		$('tab_content_' + this.last).style.display = 'none';
		//$('tab_title_' + id).className = 's_tab_over';
		$('tab_content_' + id).style.display = 'block';
		this.slideTab = id;
		this.last = id;
	},
	startSlide: function() {
		setTimeout('Tabs.slideNext();', this.slideTimeout);
	},
	slideNext: function() {
		if (this.slide) {
			this.slideTab++;
			if (!$('tab_content_' + this.slideTab))
				this.slideTab = 0;
			this.activate(this.slideTab);
			if (this.slide)
				this.slideTId = setTimeout('Tabs.slideNext();', this.slideTimeout);
		}
	},
	actStop: function(id, e) {
		this.activate(id);
		this.slide = 0;
	},
	delSel: function(e) {
		e.onselectstart = function() { return false; };
		e.onmousedown = function () { return false; }
	}
}
Tabs.startSlide();