﻿jQuery(document).ready(function() {


	//START GO TO TOP 
	//Hide ScrollTop Button
	jQuery('.btt').hide();
	
	//Scroll to top function
	jQuery('.btt').click(function(){
		jQuery('html, body' ).animate( { scrollTop: 0 }, 400 );
	});
	
	jQuery(window).scroll(function() {		
		if(jQuery(window).height() >= jQuery(document).height()) jQuery('.btt').hide();
		else jQuery('.btt').show();	
	});
});
