return w;};$P.isDST=function(){return this.toString().match(/(E|C|M|P)(S|D)T/)[2]=="D";};$P.getTimezone=function(){return $D.getTimezoneAbbreviation(this.getUTCOffset);};$P.setTimezoneOffset=function(s){var here=this.getTimezoneOffset(),there=Number(s)*-6/10;return this.addMinutes(there-here);};$P.setTimezone=function(s){return this.setTimezoneOffset($D.getTimezoneOffset(s));};$P.getUTCOffset=function(){var n=this.getTimezoneOffset()*-10/6,r;if(n<0){r=(n-10000).toString();return r[0]+r.substr(2);}else{r=(n+10000).toString();return"+"+r.substr(1);}};$P.getElapsed=function(date){return(date||new Date())-this;};$P.getDayName=function(abbreviated){return $D.getDayName(this.getDay(),(abbreviated||false));};$P.getMonthName=function(abbreviated){return $D.getMonthName(this.getMonth(),(abbreviated||false));};$P._toString=$P.toString;$P.toString=function(format){var me=this;var p=function p(s){return(s.toString().length==1)?"0"+s:s;};return format?format.replace(/dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?/g,function(format){switch(format){case"hh":return p(me.getHours()<13?me.getHours():(me.getHours()-12));case"h":return me.getHours()<13?me.getHours():(me.getHours()-12);case"HH":return p(me.getHours());case"H":return me.getHours();case"mm":return p(me.getMinutes());case"m":return me.getMinutes();case"ss":return p(me.getSeconds());case"s":return me.getSeconds();case"yyyy":return me.getFullYear();case"yy":return me.getFullYear().toString().substring(2,4);case"dddd":return me.getDayName();case"ddd":return me.getDayName(true);case"dd":return p(me.getDate());case"d":return me.getDate().toString();case"MMMM":return me.getMonthName();case"MMM":return me.getMonthName(true);case"MM":return p((me.getMonth()+1));case"M":return me.getMonth()+1;case"t":return me.getHours()<12?$C.amDesignator.substring(0,1):$C.pmDesignator.substring(0,1);case"tt":return me.getHours()<12?$C.amDesignator:$C.pmDesignator;case"zzz":case"zz":case"z":return"";}}):this._toString();};}()); 
return w;};$P.isDST=function(){return this.toString().match(/(E|C|M|P)(S|D)T/)[2]=="D";};$P.getTimezone=function(){return $D.getTimezoneAbbreviation(this.getUTCOffset());};$P.setTimezoneOffset=function(s){var here=this.getTimezoneOffset(),there=Number(s)*-6/10;return this.addMinutes(there-here);};$P.setTimezone=function(s){return this.setTimezoneOffset($D.getTimezoneOffset(s));};$P.getUTCOffset=function(){var n=this.getTimezoneOffset()*-10/6,r;if(n<0){r=(n-10000).toString();return r[0]+r.substr(2);}else{r=(n+10000).toString();return"+"+r.substr(1);}};$P.getElapsed=function(date){return(date||new Date())-this;};$P.getDayName=function(abbreviated){return $D.getDayName(this.getDay(),(abbreviated||false));};$P.getMonthName=function(abbreviated){return $D.getMonthName(this.getMonth(),(abbreviated||false));};$P._toString=$P.toString;$P.toString=function(format){var me=this;var p=function p(s){return(s.toString().length==1)?"0"+s:s;};return format?format.replace(/dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?/g,function(format){switch(format){case"hh":return p(me.getHours()<13?me.getHours():(me.getHours()-12));case"h":return me.getHours()<13?me.getHours():(me.getHours()-12);case"HH":return p(me.getHours());case"H":return me.getHours();case"mm":return p(me.getMinutes());case"m":return me.getMinutes();case"ss":return p(me.getSeconds());case"s":return me.getSeconds();case"yyyy":return me.getFullYear();case"yy":return me.getFullYear().toString().substring(2,4);case"dddd":return me.getDayName();case"ddd":return me.getDayName(true);case"dd":return p(me.getDate());case"d":return me.getDate().toString();case"MMMM":return me.getMonthName();case"MMM":return me.getMonthName(true);case"MM":return p((me.getMonth()+1));case"M":return me.getMonth()+1;case"t":return me.getHours()<12?$C.amDesignator.substring(0,1):$C.pmDesignator.substring(0,1);case"tt":return me.getHours()<12?$C.amDesignator:$C.pmDesignator;case"zzz":case"zz":case"z":return"";}}):this._toString();};}()); 
return this.moveToFirstDayOfMonth().addDays(-1).moveToDayOfWeek(dayOfWeek,+1).addWeeks(shift);};$P.moveToDayOfWeek=function(dayOfWeek,orient){var diff=(dayOfWeek-this.getDay()+7*(orient||+1))%7;return this.addDays((diff===0)?diff+=7*(orient||+1):diff);};$P.moveToMonth=function(month,orient){var diff=(month-this.getMonth()+12*(orient||+1))%12;return this.addMonths((diff===0)?diff+=12*(orient||+1):diff);};$P.getDayOfYear=function(){return Math.floor((this-new Date(this.getFullYear(),0,1))/86400000);};$P.getWeekOfYear=function(firstDayOfWeek){var y=this.getFullYear(),m=this.getMonth(),d=this.getDate();var dow=firstDayOfWeek||$C.firstDayOfWeek;var offset=7+1-new Date(y,0,1).getDay();if(offset==8){offset=1;}var daynum=(($D.UTC(y,m,d,0,0,0)-$D.UTC(y,0,1,0,0,0))/86400000)+1;var w=Math.floor((daynum-offset+7)/7);if(w===dow){y--;var prevOffset=7+1-new Date(y,0,1).getDay();if(prevOffset==2||prevOffset==8){w=53;}else{w=52;}}return w;};$P.isDST=function(){return this.toString().match(/(E|C|M|P)(S|D)T/)[2]=="D";};$P.getTimezone=function(){return $D.getTimezoneAbbreviation(this.getUTCOffset);};$P.setTimezoneOffset=function(s){var here=this.getTimezoneOffset(),there=Number(s)*-6/10;return this.addMinutes(there-here);};$P.setTimezone=function(s){return this.setTimezoneOffset($D.getTimezoneOffset(s));};$P.getUTCOffset=function(){var n=this.getTimezoneOffset()*-10/6,r;if(n<0){r=(n-10000).toString();return r[0]+r.substr(2);}else{r=(n+10000).toString();return"+"+r.substr(1);}};$P.getElapsed=function(date){return(date||new Date())-this;};$P.getDayName=function(abbreviated){return $D.getDayName(this.getDay(),(abbreviated||false));};$P.getMonthName=function(abbreviated){return $D.getMonthName(this.getMonth(),(abbreviated||false));};$P._toString=$P.toString;$P.toString=function(format){var me=this;var p=function p(s){return(s.toString().length==1)?"0"+s:s;};return format?format.replace(/dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?/g,function(format){switch(format){case"hh":return p(me.getHours()<13?me.getHours():(me.getHours()-12));case"h":return me.getHours()<13?me.getHours():(me.getHours()-12);case"HH":return p(me.getHours());case"H":return me.getHours();case"mm":return p(me.getMinutes());case"m":return me.getMinutes();case"ss":return p(me.getSeconds());case"s":return me.getSeconds();case"yyyy":return me.getFullYear();case"yy":return me.getFullYear().toString().substring(2,4);case"dddd":return me.getDayName();case"ddd":return me.getDayName(true);case"dd":return p(me.getDate());case"d":return me.getDate().toString();case"MMMM":return me.getMonthName();case"MMM":return me.getMonthName(true);case"MM":return p((me.getMonth()+1));case"M":return me.getMonth()+1;case"t":return me.getHours()<12?$C.amDesignator.substring(0,1):$C.pmDesignator.substring(0,1);case"tt":return me.getHours()<12?$C.amDesignator:$C.pmDesignator;case"zzz":case"zz":case"z":return"";}}):this._toString();};}());
2975	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2975/411bbc1eaa895af3162faee6f25f705c2093d492/date-es-CR.js/buggy/build/date-es-CR.js