﻿jQuery.fn.delay = function(milliseconds, func) {
    this.each(function() {
        setTimeout(func, milliseconds);
    });
    return this;
};