
//////////SmootScroll///////////////////////////////////////////////////////////////////


function SmoothnessScroll(){
		$("a[href*=#]:not(.noscroll)").click(function(){
			$(this).scrollTo(500);
			return false;
		});
}
jQuery.fn.extend({
	scrollTo : function(speed, easing){
		if(!$(this)[0].hash || $(this)[0].hash == "#"){
			return false;
		}
		return this.each(function() {
			var targetOffset = $($(this)[0].hash).offset().top;
			$('html,body').animate({scrollTop: targetOffset}, speed, easing);
		});
	}
});
$(document).ready(SmoothnessScroll);
