// to top
$(function() {$.fn.scrollToTop=function() {$(this).hide().removeAttr("href");if($(window).scrollTop()!="0") {$(this).fadeIn("")}var scrollDiv=$(this);$(window).scroll(function() {if($(window).scrollTop()=="0") {$(scrollDiv).fadeOut("")}else{$(scrollDiv).fadeIn("")}});$(this).click(function() {$("html, body").animate({scrollTop:0}, "")})}});

$(function() {
	$("#toTop").scrollToTop();
});

