!function($){function utcdate(){return new date(date.utc.apply(date,arguments));} function utctoday(){var today=new date();return utcdate(today.getutcfullyear(),today.getutcmonth(),today.getutcdate());} var datepicker=function(element,options){var that=this;this.element=$(element);this.autoshow=options.autoshow||true;this.appendto=options.appendto||'body';this.closebutton=options.closebutton;this.language=options.language||this.element.data('date-language')||"en";this.language=this.language in dates?this.language:this.language.split('-')[0];this.language=this.language in dates?this.language:"en";this.isrtl=dates[this.language].rtl||false;this.format=dpglobal.parseformat(options.format||this.element.data('date-format')||dates[this.language].format||'mm/dd/yyyy');this.isinline=false;this.isinput=this.element.is('input');this.component=this.element.is('.date')?this.element.find('.prefix, .postfix'):false;this.hasinput=this.component&&this.element.find('input').length;this.disabledblclickselection=options.disabledblclickselection;this.onrender=options.onrender||function(){};if(this.component&&this.component.length===0){this.component=false;} this.linkfield=options.linkfield||this.element.data('link-field')||false;this.linkformat=dpglobal.parseformat(options.linkformat||this.element.data('link-format')||'yyyy-mm-dd hh:ii:ss');this.minutestep=options.minutestep||this.element.data('minute-step')||5;this.pickerposition=options.pickerposition||this.element.data('picker-position')||'bottom-right';this.initialdate=options.initialdate||null;this._attachevents();this.minview=0;if('minview'in options){this.minview=options.minview;}else if('minview'in this.element.data()){this.minview=this.element.data('min-view');} this.minview=dpglobal.convertviewmode(this.minview);this.maxview=dpglobal.modes.length-1;if('maxview'in options){this.maxview=options.maxview;}else if('maxview'in this.element.data()){this.maxview=this.element.data('max-view');} this.maxview=dpglobal.convertviewmode(this.maxview);this.startviewmode='month';if('startview'in options){this.startviewmode=options.startview;}else if('startview'in this.element.data()){this.startviewmode=this.element.data('start-view');} this.startviewmode=dpglobal.convertviewmode(this.startviewmode);this.viewmode=this.startviewmode;if(!('minview'in options)&&!('maxview'in options)&&!(this.element.data('min-view')&&!(this.element.data('max-view')))){this.picktime=false;if('picktime'in options){this.picktime=options.picktime;} if(this.picktime==true){this.minview=0;this.maxview=4;}else{this.minview=2;this.maxview=4;}} this.forceparse=true;if('forceparse'in options){this.forceparse=options.forceparse;}else if('dateforceparse'in this.element.data()){this.forceparse=this.element.data('date-force-parse');} this.picker=$(dpglobal.template).appendto(this.isinline?this.element:this.appendto).on({click:$.proxy(this.click,this),mousedown:$.proxy(this.mousedown,this)});if(this.closebutton){this.picker.find('a.datepicker-close').show();}else{this.picker.find('a.datepicker-close').hide();} if(this.isinline){this.picker.addclass('datepicker-inline');}else{this.picker.addclass('datepicker-dropdown dropdown-menu');} if(this.isrtl){this.picker.addclass('datepicker-rtl');this.picker.find('.prev i, .next i').toggleclass('fa-chevron-left fa-chevron-right');} $(document).on('mousedown',function(e){if($(e.target).closest('.datepicker.datepicker-inline, .datepicker.datepicker-dropdown').length===0){that.hide();}});this.autoclose=true;if('autoclose'in options){this.autoclose=options.autoclose;}else if('dateautoclose'in this.element.data()){this.autoclose=this.element.data('date-autoclose');} this.keyboardnavigation=true;if('keyboardnavigation'in options){this.keyboardnavigation=options.keyboardnavigation;}else if('datekeyboardnavigation'in this.element.data()){this.keyboardnavigation=this.element.data('date-keyboard-navigation');} this.todaybtn=(options.todaybtn||this.element.data('date-today-btn')||false);this.todayhighlight=(options.todayhighlight||this.element.data('date-today-highlight')||false);this.calendarweeks=false;if('calendarweeks'in options){this.calendarweeks=options.calendarweeks;}else if('datecalendarweeks'in this.element.data()){this.calendarweeks=this.element.data('date-calendar-weeks');} if(this.calendarweeks) this.picker.find('tfoot th.today').attr('colspan',function(i,val){return parseint(val)+1;});this.weekstart=((options.weekstart||this.element.data('date-weekstart')||dates[this.language].weekstart||0)%7);this.weekend=((this.weekstart+6)%7);this.startdate=-infinity;this.enddate=infinity;this.daysofweekdisabled=[];this.setstartdate(options.startdate||this.element.data('date-startdate'));this.setenddate(options.enddate||this.element.data('date-enddate'));this.setdaysofweekdisabled(options.daysofweekdisabled||this.element.data('date-days-of-week-disabled'));this.filldow();this.fillmonths();this.update();this.showmode();if(this.isinline){this.show();}};datepicker.prototype={constructor:datepicker,_events:[],_attachevents:function(){this._detachevents();if(this.isinput){this._events=[[this.element,{focus:(this.autoshow)?$.proxy(this.show,this):function(){},keyup:$.proxy(this.update,this),keydown:$.proxy(this.keydown,this)}]];}else if(this.component&&this.hasinput){this._events=[[this.element.find('input'),{focus:(this.autoshow)?$.proxy(this.show,this):function(){},keyup:$.proxy(this.update,this),keydown:$.proxy(this.keydown,this)}],[this.component,{click:$.proxy(this.show,this)}]];}else if(this.element.is('div')){this.isinline=true;}else{this._events=[[this.element,{click:$.proxy(this.show,this)}]];} if(this.disabledblclickselection){this._events[this._events.length]=[this.element,{dblclick:function(e){e.preventdefault();e.stoppropagation();$(this).blur()}}];} for(var i=0,el,ev;i=$(window).scrolltop()+$(window).height()){fulloffsettop=offset.top-this.picker.outerheight();} if(offset.left+this.picker.width()>=$(window).width()){offsetleft=(offset.left+width)-this.picker.width();} this.picker.css({top:fulloffsettop,left:offsetleft,zindex:zindex});},update:function(){var date,fromargs=false;var currentval=this.isinput?this.element.val():this.element.data('date')||this.element.find('input').val();if(arguments&&arguments.length&&(typeof arguments[0]==='string'||arguments[0]instanceof date)){date=arguments[0];fromargs=true;} else if(!currentval&&this.initialdate!=null){date=this.initialdate} else{date=this.isinput?this.element.val():this.element.data('date')||this.element.find('input').val();} this.date=dpglobal.parsedate(date,this.format,this.language);if(fromargs||this.initialdate!=null)this.setvalue();if(this.datethis.enddate){this.viewdate=new date(this.enddate.valueof());}else{this.viewdate=new date(this.date.valueof());} this.fill();},filldow:function(){var dowcnt=this.weekstart,html='';if(this.calendarweeks){var cell=' ';html+=cell;this.picker.find('.datepicker-days thead tr:first-child').prepend(cell);} while(dowcnt'+dates[this.language].daysmin[(dowcnt++)%7]+'';} html+='';this.picker.find('.datepicker-days thead').append(html);},fillmonths:function(){var html='',i=0;while(i<12){html+=''+dates[this.language].monthsshort[i++]+'';} this.picker.find('.datepicker-months td').html(html);},fill:function(){if(this.date==null||this.viewdate==null){return;} var d=new date(this.viewdate.valueof()),year=d.getutcfullyear(),month=d.getutcmonth(),daymonth=d.getutcdate(),hours=d.getutchours(),minutes=d.getutcminutes(),startyear=this.startdate!==-infinity?this.startdate.getutcfullyear():-infinity,startmonth=this.startdate!==-infinity?this.startdate.getutcmonth():-infinity,endyear=this.enddate!==infinity?this.enddate.getutcfullyear():infinity,endmonth=this.enddate!==infinity?this.enddate.getutcmonth():infinity,currentdate=this.date&&this.date.valueof(),today=new date(),titleformat=dates[this.language].titleformat||dates['en'].titleformat;this.picker.find('.datepicker-days thead th:eq(1)').text(dates[this.language].months[month]+' '+year);this.picker.find('.datepicker-hours thead th:eq(1)').text(daymonth+' '+dates[this.language].months[month]+' '+year);this.picker.find('.datepicker-minutes thead th:eq(1)').text(daymonth+' '+dates[this.language].months[month]+' '+year);this.picker.find('tfoot th.today').text(dates[this.language].today).toggle(this.todaybtn!==false);this.updatenavarrows();this.fillmonths();var prevmonth=utcdate(year,month-1,28,0,0,0,0),day=dpglobal.getdaysinmonth(prevmonth.getutcfullyear(),prevmonth.getutcmonth());prevmonth.setutcdate(day);prevmonth.setutcdate(day-(prevmonth.getutcday()-this.weekstart+7)%7);var nextmonth=new date(prevmonth.valueof());nextmonth.setutcdate(nextmonth.getutcdate()+42);nextmonth=nextmonth.valueof();var html=[];var clsname;while(prevmonth.valueof()');if(this.calendarweeks){var a=new date(prevmonth.getutcfullyear(),prevmonth.getutcmonth(),prevmonth.getutcdate()-prevmonth.getday()+10-(this.weekstart&&this.weekstart%7<5&&7)),b=new date(a.getfullyear(),0,4),calweek=~~((a-b)/864e5/7+1.5);html.push(''+calweek+'');}} clsname=' '+this.onrender(prevmonth)+' ';if(prevmonth.getutcfullyear()year||(prevmonth.getutcfullyear()==year&&prevmonth.getutcmonth()>month)){clsname+=' new';} if(this.todayhighlight&&prevmonth.getutcfullyear()==today.getfullyear()&&prevmonth.getutcmonth()==today.getmonth()&&prevmonth.getutcdate()==today.getdate()){clsname+=' today';} if(currentdate&&prevmonth.valueof()==currentdate){clsname+=' active';} if(prevmonth.valueof()this.enddate||$.inarray(prevmonth.getutcday(),this.daysofweekdisabled)!==-1){clsname+=' disabled';} html.push(''+prevmonth.getutcdate()+'');if(prevmonth.getutcday()==this.weekend){html.push('');} prevmonth.setutcdate(prevmonth.getutcdate()+1);} this.picker.find('.datepicker-days tbody').empty().append(html.join(''));html=[];for(var i=0;i<24;i++){var actual=utcdate(year,month,daymonth,i);clsname='';if((actual.valueof()+3600000)this.enddate){clsname+=' disabled';}else if(hours==i){clsname+=' active';} html.push(''+i+':00');} this.picker.find('.datepicker-hours td').html(html.join(''));html=[];for(var i=0;i<60;i+=this.minutestep){var actual=utcdate(year,month,daymonth,hours,i);clsname='';if(actual.valueof()this.enddate){clsname+=' disabled';}else if(math.floor(minutes/this.minutestep)==math.floor(i/this.minutestep)){clsname+=' active';} html.push(''+hours+':'+(i<10?'0'+i:i)+'');} this.picker.find('.datepicker-minutes td').html(html.join(''));var currentyear=this.date&&this.date.getutcfullyear();var months=this.picker.find('.datepicker-months').find('th:eq(1)').text(year).end().find('span').removeclass('active');if(currentyear&¤tyear==year){months.eq(this.date.getutcmonth()).addclass('active');} if(yearendyear){months.addclass('disabled');} if(year==startyear){months.slice(0,startmonth).addclass('disabled');} if(year==endyear){months.slice(endmonth+1).addclass('disabled');} html='';year=parseint(year/10,10)*10;var yearcont=this.picker.find('.datepicker-years').find('th:eq(1)').text(year+'-'+(year+9)).end().find('td');year-=1;for(var i=-1;i<11;i++){html+=''+year+'';year+=1;} yearcont.html(html);},updatenavarrows:function(){var d=new date(this.viewdate),year=d.getutcfullyear(),month=d.getutcmonth(),day=d.getutcdate(),hour=d.getutchours();switch(this.viewmode){case 0:if(this.startdate!==-infinity&&year<=this.startdate.getutcfullyear()&&month<=this.startdate.getutcmonth()&&day<=this.startdate.getutcdate()&&hour<=this.startdate.getutchours()){this.picker.find('.prev').css({visibility:'hidden'});}else{this.picker.find('.prev').css({visibility:'visible'});} if(this.enddate!==infinity&&year>=this.enddate.getutcfullyear()&&month>=this.enddate.getutcmonth()&&day>=this.enddate.getutcdate()&&hour>=this.enddate.getutchours()){this.picker.find('.next').css({visibility:'hidden'});}else{this.picker.find('.next').css({visibility:'visible'});} break;case 1:if(this.startdate!==-infinity&&year<=this.startdate.getutcfullyear()&&month<=this.startdate.getutcmonth()&&day<=this.startdate.getutcdate()){this.picker.find('.prev').css({visibility:'hidden'});}else{this.picker.find('.prev').css({visibility:'visible'});} if(this.enddate!==infinity&&year>=this.enddate.getutcfullyear()&&month>=this.enddate.getutcmonth()&&day>=this.enddate.getutcdate()){this.picker.find('.next').css({visibility:'hidden'});}else{this.picker.find('.next').css({visibility:'visible'});} break;case 2:if(this.startdate!==-infinity&&year<=this.startdate.getutcfullyear()&&month<=this.startdate.getutcmonth()){this.picker.find('.prev').css({visibility:'hidden'});}else{this.picker.find('.prev').css({visibility:'visible'});} if(this.enddate!==infinity&&year>=this.enddate.getutcfullyear()&&month>=this.enddate.getutcmonth()){this.picker.find('.next').css({visibility:'hidden'});}else{this.picker.find('.next').css({visibility:'visible'});} break;case 3:case 4:if(this.startdate!==-infinity&&year<=this.startdate.getutcfullyear()){this.picker.find('.prev').css({visibility:'hidden'});}else{this.picker.find('.prev').css({visibility:'visible'});} if(this.enddate!==infinity&&year>=this.enddate.getutcfullyear()){this.picker.find('.next').css({visibility:'hidden'});}else{this.picker.find('.next').css({visibility:'visible'});} break;}},click:function(e){e.stoppropagation();e.preventdefault();if($(e.target).hasclass('datepicker-close')||$(e.target).parent().hasclass('datepicker-close')){this.hide();} var target=$(e.target).closest('span, td, th');if(target.length==1){if(target.is('.disabled')){this.element.trigger({type:'outofrange',date:this.viewdate,startdate:this.startdate,enddate:this.enddate});return;} switch(target[0].nodename.tolowercase()){case 'th':switch(target[0].classname){case 'date-switch':this.showmode(1);break;case 'prev':case 'next':var dir=dpglobal.modes[this.viewmode].navstep*(target[0].classname=='prev'?-1:1);switch(this.viewmode){case 0:this.viewdate=this.movehour(this.viewdate,dir);break;case 1:this.viewdate=this.movedate(this.viewdate,dir);break;case 2:this.viewdate=this.movemonth(this.viewdate,dir);break;case 3:case 4:this.viewdate=this.moveyear(this.viewdate,dir);break;} this.fill();break;case 'today':var date=new date();date=utcdate(date.getfullyear(),date.getmonth(),date.getdate(),date.gethours(),date.getminutes(),date.getseconds());this.viewmode=this.startviewmode;this.showmode(0);this._setdate(date);break;} break;case 'span':if(!target.is('.disabled')){if(target.is('.month')){if(this.minview===3){var month=target.parent().find('span').index(target)||0;var year=this.viewdate.getutcfullyear(),day=1,hours=this.viewdate.getutchours(),minutes=this.viewdate.getutcminutes(),seconds=this.viewdate.getutcseconds();this._setdate(utcdate(year,month,day,hours,minutes,seconds,0));}else{this.viewdate.setutcdate(1);var month=target.parent().find('span').index(target);this.viewdate.setutcmonth(month);this.element.trigger({type:'changemonth',date:this.viewdate});}}else if(target.is('.year')){if(this.minview===4){var year=parseint(target.text(),10)||0;var month=0,day=1,hours=this.viewdate.getutchours(),minutes=this.viewdate.getutcminutes(),seconds=this.viewdate.getutcseconds();this._setdate(utcdate(year,month,day,hours,minutes,seconds,0));}else{this.viewdate.setutcdate(1);var year=parseint(target.text(),10)||0;this.viewdate.setutcfullyear(year);this.element.trigger({type:'changeyear',date:this.viewdate});}}else if(target.is('.hour')){var hours=parseint(target.text(),10)||0;var year=this.viewdate.getutcfullyear(),month=this.viewdate.getutcmonth(),day=this.viewdate.getutcdate(),minutes=this.viewdate.getutcminutes(),seconds=this.viewdate.getutcseconds();this._setdate(utcdate(year,month,day,hours,minutes,seconds,0));}else if(target.is('.minute')){var minutes=parseint(target.text().substr(target.text().indexof(':')+1),10)||0;var year=this.viewdate.getutcfullyear(),month=this.viewdate.getutcmonth(),day=this.viewdate.getutcdate(),hours=this.viewdate.getutchours(),seconds=this.viewdate.getutcseconds();this._setdate(utcdate(year,month,day,hours,minutes,seconds,0));} if(this.viewmode!=0){var oldviewmode=this.viewmode;this.showmode(-1);this.fill();if(oldviewmode==this.viewmode&&this.autoclose){this.hide();}}else{this.fill();if(this.autoclose){this.hide();}}} break;case 'td':if(target.is('.day')&&!target.is('.disabled')){var day=parseint(target.text(),10)||1;var year=this.viewdate.getutcfullyear(),month=this.viewdate.getutcmonth(),hours=this.viewdate.getutchours(),minutes=this.viewdate.getutcminutes(),seconds=this.viewdate.getutcseconds();if(target.is('.old')){if(month===0){month=11;year-=1;}else{month-=1;}}else if(target.is('.new')){if(month==11){month=0;year+=1;}else{month+=1;}} this._setdate(utcdate(year,month,day,hours,minutes,seconds,0));} var oldviewmode=this.viewmode;this.showmode(-1);this.fill();if(oldviewmode==this.viewmode&&this.autoclose){this.hide();} break;}}},_setdate:function(date,which){if(!which||which=='date') this.date=date;if(!which||which=='view') this.viewdate=date;this.fill();this.setvalue();this.element.trigger({type:'changedate',date:this.date});var element;if(this.isinput){element=this.element;}else if(this.component){element=this.element.find('input');} if(element){element.change();if(this.autoclose&&(!which||which=='date')){}}},movehour:function(date,dir){if(!dir)return date;var new_date=new date(date.valueof());dir=dir>0?1:-1;new_date.setutchours(new_date.getutchours()+dir);return new_date;},movedate:function(date,dir){if(!dir)return date;var new_date=new date(date.valueof());dir=dir>0?1:-1;new_date.setutcdate(new_date.getutcdate()+dir);return new_date;},movemonth:function(date,dir){if(!dir)return date;var new_date=new date(date.valueof()),day=new_date.getutcdate(),month=new_date.getutcmonth(),mag=math.abs(dir),new_month,test;dir=dir>0?1:-1;if(mag==1){test=dir==-1?function(){return new_date.getutcmonth()==month;}:function(){return new_date.getutcmonth()!=new_month;};new_month=month+dir;new_date.setutcmonth(new_month);if(new_month<0||new_month>11) new_month=(new_month+12)%12;}else{for(var i=0;i=this.startdate&&date<=this.enddate;},keydown:function(e){if(this.picker.is(':not(:visible)')){if(e.keycode==27) this.show();return;} var datechanged=false,dir,day,month,newdate,newviewdate;switch(e.keycode){case 27:this.hide();e.preventdefault();break;case 37:case 39:if(!this.keyboardnavigation)break;dir=e.keycode==37?-1:1;if(e.ctrlkey){newdate=this.moveyear(this.date,dir);newviewdate=this.moveyear(this.viewdate,dir);}else if(e.shiftkey){newdate=this.movemonth(this.date,dir);newviewdate=this.movemonth(this.viewdate,dir);}else{newdate=new date(this.date.valueof());newdate.setutcdate(this.date.getutcdate()+dir);newviewdate=new date(this.viewdate.valueof());newviewdate.setutcdate(this.viewdate.getutcdate()+dir);} if(this.datewithinrange(newdate)){this.date=newdate;this.viewdate=newviewdate;this.setvalue();this.update();e.preventdefault();datechanged=true;} break;case 38:case 40:if(!this.keyboardnavigation)break;dir=e.keycode==38?-1:1;if(e.ctrlkey){newdate=this.moveyear(this.date,dir);newviewdate=this.moveyear(this.viewdate,dir);}else if(e.shiftkey){newdate=this.movemonth(this.date,dir);newviewdate=this.movemonth(this.viewdate,dir);}else{newdate=new date(this.date.valueof());newdate.setutcdate(this.date.getutcdate()+dir*7);newviewdate=new date(this.viewdate.valueof());newviewdate.setutcdate(this.viewdate.getutcdate()+dir*7);} if(this.datewithinrange(newdate)){this.date=newdate;this.viewdate=newviewdate;this.setvalue();this.update();e.preventdefault();datechanged=true;} break;case 13:this.hide();e.preventdefault();break;case 9:this.hide();break;} if(datechanged){this.element.trigger({type:'changedate',date:this.date});var element;if(this.isinput){element=this.element;}else if(this.component){element=this.element.find('input');} if(element){element.change();}}},showmode:function(dir){if(dir){var newviewmode=math.max(0,math.min(dpglobal.modes.length-1,this.viewmode+dir));if(newviewmode>=this.minview&&newviewmode<=this.maxview){this.viewmode=newviewmode;}} this.picker.find('>div').hide().filter('.datepicker-'+dpglobal.modes[this.viewmode].clsname).css('display','block');this.updatenavarrows();},reset:function(e){this._setdate(null,'date');}};$.fn.fdatepicker=function(option){var args=array.apply(null,arguments);args.shift();return this.each(function(){var $this=$(this),data=$this.data('datepicker'),options=typeof option=='object'&&option;if(!data){$this.data('datepicker',(data=new datepicker(this,$.extend({},$.fn.fdatepicker.defaults,options))));} if(typeof option=='string'&&typeof data[option]=='function'){data[option].apply(data,args);}});};$.fn.fdatepicker.defaults={onrender:function(date){return '';}};$.fn.fdatepicker.constructor=datepicker;var dates=$.fn.fdatepicker.dates={'en':{days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],daysshort:["周日","周一","周二","周三","周四","周五","周六"],daysmin:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsshort:["一","二","三","四","五","六","七","八","九","十","十一","十二"],today:'今天',titleformat:"mm yyyy"}};var dpglobal={modes:[{clsname:'minutes',navfnc:'hours',navstep:1},{clsname:'hours',navfnc:'date',navstep:1},{clsname:'days',navfnc:'month',navstep:1},{clsname:'months',navfnc:'fullyear',navstep:1},{clsname:'years',navfnc:'fullyear',navstep:10}],isleapyear:function(year){return(((year%4===0)&&(year%100!==0))||(year%400===0));},getdaysinmonth:function(year,month){return[31,(dpglobal.isleapyear(year)?29:28),31,30,31,30,31,31,30,31,30,31][month];},validparts:/hh?|ii?|ss?|dd?|mm?|mm?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\[\u3400-\u9fff-`{-~\t\n\r]+/g,parseformat:function(format){var separators=format.replace(this.validparts,'\0').split('\0'),parts=format.match(this.validparts);if(!separators||!separators.length||!parts||parts.length===0){throw new error("invalid date format.");} return{separators:separators,parts:parts};},parsedate:function(date,format,language){if(date instanceof date)return new date(date.valueof()-date.gettimezoneoffset()*60000);if(/^\d{4}\-\d{1,2}\-\d{1,2}$/.test(date)){format=this.parseformat('yyyy-mm-dd');} if(/^\d{4}\-\d{1,2}\-\d{1,2}[t ]\d{1,2}\:\d{1,2}$/.test(date)){format=this.parseformat('yyyy-mm-dd hh:ii');} if(/^\d{4}\-\d{1,2}\-\d{1,2}[t ]\d{1,2}\:\d{1,2}\:\d{1,2}[z]{0,1}$/.test(date)){format=this.parseformat('yyyy-mm-dd hh:ii:ss');} if(/^[-+]\d+[dmwy]([\s,]+[-+]\d+[dmwy])*$/.test(date)){var part_re=/([-+]\d+)([dmwy])/,parts=date.match(/([-+]\d+)([dmwy])/g),part,dir;date=new date();for(var i=0;i'+ ''+ ''+ ''+ ''+ ''+ '',conttemplate:'',foottemplate:''};dpglobal.template='
'+ '
'+ ''+ dpglobal.headtemplate+ dpglobal.conttemplate+ dpglobal.foottemplate+ '
'+ '
'+ '
'+ ''+ dpglobal.headtemplate+ dpglobal.conttemplate+ dpglobal.foottemplate+ '
'+ '
'+ '
'+ ''+ dpglobal.headtemplate+ ''+ dpglobal.foottemplate+ '
'+ '
'+ '
'+ ''+ dpglobal.headtemplate+ dpglobal.conttemplate+ dpglobal.foottemplate+ '
'+ '
'+ '
'+ ''+ dpglobal.headtemplate+ dpglobal.conttemplate+ dpglobal.foottemplate+ '
'+ '
'+ ''+ '
';$.fn.fdatepicker.dpglobal=dpglobal;}(window.jquery);