/*!
 * jQuery smoothsroll Library 0.11
 * 
 * Verstion 0.1
 *
 * Required JQuery 1.4.1 or Later And jQuery Easing Plugin 1.3 or Later
 *
 * Powered by jQuery 1.4.1
 * http://jquery.com/
 *
 */

jQuery(function(){
		jQuery('a[href^="/#"]').click(function() {
		    jQuery(this).scrollTo(1000);
		    return false;
		});
	}
);

jQuery.fn.extend({
	scrollTo : function(speed, easing) {
		if(!jQuery(this)[0].hash || jQuery(this)[0].hash == "#") {
			return false;
		}
		return this.each(function() {
			var targetOffset = jQuery(jQuery(this)[0].hash).offset().top;
			jQuery('html,body').animate({scrollTop: targetOffset}, speed, easing);
		});
	}
});
