/// // DelayRun // This function delays the run of another function by X milliseconds function DelayRun(element,time,method,page,source,post) { var function_string = method + "('" + page + "','" + source + "','" + post + "')"; var action = function (e) { function_string; }; if (element.zid) { clearTimeout(element.zid); } element.zid = setTimeout(action,time); } // DelayRun