﻿//Simple plug-in borrowed from http://james.padolsey.com/javascript/jquery-delay-plugin/

$.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);
}