
jQuery(window).scroll(function () { 
	var offset = jQuery(window).scrollTop();
	if (offset > 60) {
		jQuery('#pagenav').fadeIn(300, function() {});;
	}
	else {
		jQuery('#pagenav').fadeOut(300, function() {});
	}
});

jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
		scroll: 1
        // Configuration goes here
    });
});

var scrollTo = function(selector) {
	jQuery.scrollTo(selector, 400, 
		{
			offset: { top: -70 }
		}); 
	return false;
};
