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:[20250203,20250210,20250215,20250303,20250310,20250317,20250324,20250331,20250402,20250403,20250405,20250407,20250428,20250505,20250519,20250526,20250602,20250609,20250609,20250623,20250630,20250707,20250908,20250915,20250922,20250929],daysClosedE:[20250207,20250214,20250216,20250307,20250314,20250321,20250328,20250404,20250402,20250404,20250405,20250411,20250502,20250509,20250523,20250530,20250606,20250613,20250613,20250627,20250704,20250711,20250912,20250919,20250926,20251003],});} //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",});}};