Date.implement({getWeek:function(){var a=new Date(this.getFullYear(),0,1);return Math.ceil((((this-a)/86400000)+a.getDay())/7)},getTs:function(){return parseInt((this.getTime()/1000))},getMonthNo:function(){return(this.getMonth()+1)}});