var xc_bc=xcDateFormat,xc_cx=xc_fk=null;xcDateFormat=xcDateFormat.replace(/month/i,"mm");xcDateFormat=xcDateFormat.replace(/week/i,"week");function xc_cf(){if(xc_cx==null){xc_cx=new RegExp("("+xcMonthNames.join("|")+")",'i')};return xc_cx};function xc_ci(){if(xc_fk==null){xc_fk=new RegExp("("+xcWeekdayNames.join("|")+")",'i')};return xc_fk};function xc_ac(date){if(date!=""&&xc_bc.search(/month/i)!=-1){var gb=date.search(xc_cf());if(gb!=-1){var mm=xc_bx(xc_cv(RegExp.$1.substring(0,3))+1);date=date.substring(0,gb)+mm+date.substring(gb+RegExp.$1.length)}else{date=""}};if(date!=""&&xc_bc.search(/week/i)!=-1){var ee=date.search(xc_ci());if(ee!=-1){date=date.substring(0,ee)+"week"+date.substring(ee+RegExp.$1.length)}else{date=""}};return afterGetDateValue(this.gu,this.hj,date)};function xc_aj(date){if(date!=""){var dz=xc_cj(date);if(xc_bc.search(/month/i)!=-1){var gb=xcDateFormat.search(/mm/);if(xc_bc.search(/Month/)!=-1){date=date.substring(0,gb)+xcMonthNames[dz[1]]+date.substring(gb+2)}else{date=date.substring(0,gb)+xcMonthNames[dz[1]].toUpperCase()+date.substring(gb+2)}};if(xc_bc.search(/week/i)!=-1){var ee=date.search(/week/),eh=xcWeekdayNames[(new Date(dz[0],dz[1],dz[2])).getDay()];if(xc_bc.search(/Week/)!=-1){date=date.substring(0,ee)+eh+date.substring(ee+4)}else{date=date.substring(0,ee)+eh.toUpperCase()+date.substring(ee+4)}}};return beforeSetDateValue(this.gu,this.hj,date)};