$(function() {
	$(window).scroll(function() {
		if($(this).scrollTop() != 0) {
			$('#toTop').fadeIn();	
		} else {
			$('#toTop').fadeOut();
		}
	});
 
	$('#toTop').click(function() {
		$('body,html').animate({scrollTop:0},800);
	});	
});

$(function() {
	$(window).scroll(function() {
		if($(this).scrollTop() != 0) {
			$('#toTop1').fadeIn();	
		} else {
			$('#toTop1').fadeOut();
		}
	});
 
	$('#toTop1').click(function() {
		$('body,html').animate({scrollTop:0},800);
	});	
});

$(function() {
	$(window).scroll(function() {
		if($(this).scrollTop() != 0) {
			$('#toTop2').fadeIn();	
		} else {
			$('#toTop2').fadeOut();
		}
	});
 
	$('#toTop2').click(function() {
		$('body,html').animate({scrollTop:0},800);
	});	
});
$(function() {
	$(window).scroll(function() {
		if($(this).scrollTop() != 0) {
			$('#toTop3').fadeIn();	
		} else {
			$('#toTop3').fadeOut();
		}
	});
 
	$('#toTop3').click(function() {
		$('body,html').animate({scrollTop:0},800);
	});	
});

