function startFade3steps(num) {
	
	//alert (num);
	if (num > 2) {
		var num = 0;
	}
	if (num == 0) {
		nummin = 2;
	} else {
		var nummin = num-1;
	}
	$(".threesteps .photo img").eq(nummin).hide();
	$(".threesteps .photo img").eq(num).show();
	$(".threesteps .tabs .tab").eq(nummin).removeClass('active');
	$(".threesteps .tabs .tab").eq(num).addClass('active');
	num++;
	goingtochange = setTimeout(function() { startFade3steps(num); }, 2000);
}
threesteps=true;