var $j = jQuery.noConflict();

$j(document).ready(function() {

$j('ul.tabs li').css('cursor', 'pointer');

$j('ul.tabs.tabs1 li').click(function(){
	var thisClass = this.className.slice(0,2);
			for (var b = 1;b <= limit; b++) {
				$j('div.t'+b).hide();
			}
	$j('div.' + thisClass).show();
for (var f = 1;f <= limit; f++) {
	if(thisClass == "t"+f) {
	ints = (start - 1) - (f - 1) * stop;
	}
}
	$j('ul.tabs.tabs1 li').removeClass('tab-current');
	$j(this).addClass('tab-current');
	});


});

	function alertes () {
	  

		if ( ints == 0 ) {
			ints = start;

		}
	  
		if ( ints > 0 ) {
			ints--;

		}
for (var i = 1;i <= limit; i++) {

		if ( ints == (start - 1) - (i - 1) * stop ) {

		$j(document).ready(function() {

			for (var a = 1;a <= limit; a++) {
				$j('div.t'+a).hide();
			}

		$j('div.t'+i).show();
		$j('ul.tabs.tabs1 li').removeClass('tab-current');
		$j('ul.tabs.tabs1 li.t'+i).addClass('tab-current');
		});


		}

}



	};
	
	function refresh(){
		if(ints > 0) time_Interval = setInterval("alertes ()", 1000 );
	};
	
	refresh();
