/**
 * This jQuery plugin that performs a number of utility functions.
 *
 * @author Brian Youngblood
 * @version 1.0
 * @return {Object} jQuery Object
 */


jQuery.fn.delay = function(time, callback){
	// Empty function:
	jQuery.fx.step.delay = function(){};
	// Return meaningless animation, (will be added to queue)
	return this.animate({delay:1}, time, callback);

}

jQuery.fn.extend({
	scrollTo : function(speed, easing) {
	return this.each(function() {
		var targetOffset = $(this).offset().top;
		$('html,body').animate({scrollTop: targetOffset}, speed, easing);
	});
}
});