﻿WebApplications = function () { return { register: function (a) { var b = a.split("."); var c = window; for (var d = 0; d < b.length; d++) { if (typeof c[b[d]] == "undefined") { c[b[d]] = new Object } c = c[b[d]] } return c } } } (); Date.prototype.addDays = function (a) { var b = new Date(this.valueOf()); b.setDate(b.getDate() + a); return b }; Date.prototype.clearTime = function () { this.setHours(0, 0, 0, 0); return this }
