<script type="text/javascript">
jQuery(function () {
jQuery(document).ready(function () {
jQuery("#back-top").hide();
jQuery(function () {
jQuery(window).scroll(function () {
if (jQuery(this).scrollTop() > 100) {
jQuery('#back-top').fadeIn('slow');
} else {
jQuery('#back-top').fadeOut('slow');
}
});
jQuery('#back-top a').click(function () {
jQuery('body,html').animate({
scrollTop : 0
}, 1300);
return false;
});
});
});
});
</script>