/// // 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 () { eval(function_string); }; if (element.zid) { clearTimeout(element.zid); } element.zid = setTimeout(action,'1800');