/* Add your JavaScript code here.*/

/*If you are using the jQuery library, then don’t forget to wrap your code inside jQuery.ready() as follows:*/

jQuery(document).ready(function( $ ){
// Your code in here
$(document).ready(function(){

$(window).scroll(function(){
if ($(this).scrollTop() > 250) {
$(‘.scrolltotop’).fadeIn();
}
else {
$(‘.scrolltotop’).fadeOut();
}
});
$(‘.scrolltotop’).click(function(){
$(“html, body”).animate({ scrollTop: 300 }, 800);
return false;
});

});

/*End of comment */