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:[20250623,20250630,20250707,20250908,20250915,20250922,20250929,20251006,20251016,20251103,20251110,20251118,20251119,20251124,20251201,20251208,20251215,20251125,20251201,20251208,20251215,20260323,20260330,20260406,20260413,20260615,20260622],daysClosedE:[20250627,20250704,20250711,20250912,20250919,20250926,20251003,20251010,20251017,20251107,20251114,20251118,20251120,20251128,20251205,20251212,20251219,20251126,20251205,20251212,20251219,20260327,20260403,20260410,20260417,20260619,20260626],});} //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",});}};