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:[20260309,20260316,20260323,20260330,20260406,20260413,20260504,20260505,20260511,20260518,20260525,20260615,20260622,20260907,20260914,20260921,20260928,20261005,20261012,20261013,20261015,20261026,20261102,20261109,20261116,20261123,20261214,20261221,20270104,20270111,20270118,20270125],daysClosedE:[20260313,20260320,20260327,20260403,20260410,20260417,20260504,20260506,20260515,20260522,20260529,20260619,20260626,20260911,20260918,20260925,20261002,20261009,20261012,20261014,20261016,20261030,20261106,20261113,20261120,20261127,20261218,20261221,20270108,20270115,20270122,20270129],});} //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",});}};