
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/**
 * Enable smooth scrolling on anchor links
 *
 * @category    Scripts
 * @package     TripleFive
 * @subpackage  Scripts
 * @author      Ian Eure <ieure@websprockets.com>
 * @copyright   © 2008 WebSprockets LLC. All rights reserved.
 * @version     CVS:   $Id: smooth-scroll.js,v 1.4 2008-04-25 05:48:25 ieure Exp $
 * @filesource
 */

jQuery('.backToTop a').click(function()
{
    jQuery('html, body').animate({ scrollTop: jQuery(this.hash).offset().top }, 500);
    return false;
});
