var c=0;
var t;
var timer_is_on=0;


function changeText(t) {
	tPlus = t+1;
	if (t == 3) {
		tPlus = 1;
	}

	$('#slogan #sl'+t).fadeOut(1000);
	$('#slogan #sl'+tPlus).fadeIn(1000);
	//$('#slogan #sl1').html(h+' '+hPlus);
}

function doTimer()
{
c=c+1;
changeText(c);

if (c == 3) {
	c = 0;
}
/*
if (!timer_is_on)
  {
  timer_is_on=1;

  }
*/
}
i = setInterval("doTimer()", 3000);





