for (var i = 0 ; i < dx.length ; i++) { 
var sdf = function (n) { return function () { var t = Date.today(), shift = n - t.getDay(); if(n === 0 && Date.CultureInfo.firstDayOfWeek === 1 && t.getDay() !== 0) { shift = shift + 7; } return t.addDays(shift); }; };  for (var i = 0 ; i < dx.length ; i++) { Date[dx[i].toUpperCase()] = Date[dx[i].toUpperCase().substring(0, 3)] = i; Date[dx[i]] = Date[dx[i].substring(0, 3)] = sdf(i); 
(function () {    var $D = Date.prototype, $N = Number.prototype;    /* Do NOT modify the following string tokens. These tokens are used to build dynamic functions. */    var dx = ("sunday monday tuesday wednesday thursday friday saturday").split(/\s/),        mx = ("january february march april may june july august september october november december").split(/\s/),        px = ("Millisecond Second Minute Hour Day Week Month Year").split(/\s/),        de;        // Create day name functions and abbreviated day name functions (eg. monday(), friday(), fri()).    var df = function (n) {        return function () {             if (this._is) {                 this._is = false;                 return this.getDay() == n;             }            return this.moveToDayOfWeek(n, this._orient);        };    };        for (var i = 0 ; i < dx.length ; i++) {         $D[dx[i]] = $D[dx[i].substring(0, 3)] = df(i);    }        // Create month name functions and abbreviated month name functions (eg. january(), march(), mar()).    var mf = function (n) {         return function () {            if (this._is) {                 this._is = false;                 return this.getMonth() === n;             }            return this.moveToMonth(n, this._orient);         };    };        for (var j = 0 ; j < mx.length ; j++) {         $D[mx[j]] = $D[mx[j].substring(0, 3)] = mf(j);    }        // Create date element functions and plural date element functions used with Date (eg. day(), days(), months()).    var ef = function (j) {         return function () {            if (j.substring(j.length - 1) != "s") {                 j += "s";             }            return this["add" + j](this._orient);         };    };        // Create date element functions and plural date element functions used with Number (eg. day(), days(), months()).    var nf = function (n) {        return function () {            this._dateElement = n;            return this;        };    };        for (var k = 0 ; k < px.length ; k++) {        de = px[k].toLowerCase();        $D[de] = $D[de + "s"] = ef(px[k]);        $N[de] = $N[de + "s"] = nf(de);    }}());
4137	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4137/0bbf7b14703f5a91c97830542dfc6e5c941d1dc1/sugarpak-debug.js/clean/sugarpak-debug.js