window.onload = function(){ //Calendrier Gateaux if(document.getElementById("cmd_date")) {new JsDatePick({useMode:2,target:"cmd_date",dateFormat:"%d/%m/%Y",cellColorScheme:"pink",cellColorSchemeToday:"ocean_blue",yearsRange: new Array(new Date().getFullYear()-1, new Date().getFullYear()+3),limitToFuture:true,limitToFutureOffset:3,daysClosedB:[],daysClosedE:[],});} //Calendrier Impressions if(document.getElementById("cmd_imp_date")) {new JsDatePick({useMode:2,target:"cmd_imp_date",dateFormat:"%d/%m/%Y",cellColorScheme:"pink",cellColorSchemeToday:"ocean_blue",yearsRange: new Array(new Date().getFullYear()-1, new Date().getFullYear()+3),limitToFuture:true,limitToFutureOffset:2,daysClosedB:[],daysClosedE:[],});} //Calendrier formation groupe if(document.getElementById("cmd_grp_date")) {new JsDatePick({useMode:2,target:"cmd_grp_date",dateFormat:"%d/%m/%Y",cellColorScheme:"pink",cellColorSchemeToday:"ocean_blue",yearsRange: new Array(new Date().getFullYear()-1, new Date().getFullYear()+3),limitToFuture:true,limitToFutureOffset:4,daysClosedB:[20260202,20260209,20260216,20260203,20260209,20260216,20260223,20260216,20260309,20260316,20260323,20260330,20260406,20260413,20260505,20260511,20260518,20260525,20260615,20260622,20260907,20260914,20260921,20260928],daysClosedE:[20260206,20260213,20260220,20260204,20260213,20260220,20260227,20260220,20260313,20260320,20260327,20260403,20260410,20260417,20260506,20260515,20260522,20260529,20260619,20260626,20260911,20260918,20260925,20261002],});} //Calendrier administration plugin GSM if(document.getElementById("gsm_start_date")) {new JsDatePick({useMode:2,target:"gsm_start_date",dateFormat:"%d/%m/%Y",cellColorScheme:"pink",cellColorSchemeToday:"ocean_blue",});} if(document.getElementById("gsm_end_date")) {new JsDatePick({useMode:2,target:"gsm_end_date",dateFormat:"%d/%m/%Y",cellColorScheme:"pink",cellColorSchemeToday:"ocean_blue",});}};