
/***
Les 2 variables suivante peuvent ?tre d?clar?es dans la page appelante : calendar_html_page, calendar_chemin_img
var calendar_html_page  = "admin//include/calendar.inc.php";
*/
var calendar_chemin_img = "../img/admin/";
var array_disponibilite = new Array();

var caldeffra = {
	firstday:1,     // First day of the week: 0 means Sunday, 1 means Monday, etc.
	dtype:'dd/MM/yyyy', // Output date format MM-month, dd-date, yyyy-year, HH-hours, mm-minutes, ss-seconds
	width:250,       // Width of the calendar table
	windoww:300,     // Width of the calendar window
	windowh:200,     // Height of the calendar window
	cellspacing:1,
	cellpadding:0,
	border_width:0,      // Border of the table
	border_color:'#0000d3',  // Color of the border
	dn_css:'clsDayName',     // CSS for week day names
	cd_css:'clsCurrentDay',  // CSS for current day
	cd_css_no_link:'clsCurrentDayNoLink',  // CSS for current day without link
	wd_css:'clsWorkDay',     // CSS for work days (this month)
	we_css:'clsWeekEnd',     // CSS for weekend days (this month)
	we_css_no_link:'clsWeekEndNoLink',     // CSS for weekend days (this month) without link
	tw_css_no_link:'clsCurrentWeekEndNoLink',     // CSS for weekend days (this week) without link
	wdom_css:'clsWorkDayOtherMonth', // CSS for work days (other month)
	weom_css:'clsWeekEndOtherMonth', // CSS for weekend days (other month)
	weom_css_no_link:'clsWeekEndOtherMonthNoLink', // CSS for weekend days (other month) without link
	headerstyle: {
		type:'buttons',         // Type of the header may be: 'buttons' or 'comboboxes'
		css:'clsHeaderDayName',       // CSS for header
		cssbtn:'clsHeaderBtn',
		imgnextm:calendar_chemin_img+'fleche_right.gif', // Image for next month button.
		imgprevm:calendar_chemin_img+'fleche_left.gif',    // Image for previous month button.
		imgnexty:calendar_chemin_img+'fleche_right_right.gif', // Image for next year button.
		imgprevy:calendar_chemin_img+'fleche_left_left.gif'     // Image for previous year button.
	},
	// Array with month names
	monthnames :["Janvier", "F&eacute;vrier", "Mars", "Avril", "Mai", "Juin", "Juillet", "Aout", "Septembre", "Octobre", "Novembre", "D&eacute;cembre"],
	// Array with week day names
	daynames : ["Di", "Lu", "Ma", "Me", "Je", "Ve", "Sa"],
	dates_passees:false,
	date_debut:"",
	date_fin:"",
	dates_filtrees:true,
	disponibilite: new Array(),
	affiche_lien: true,
	lien_weekend: true,
	message_date_erronee : "La date saisie ne fait pas partie des dates disponibles."
	


};
var caldefeng = {
	firstday:0,     // First day of the week: 0 means Sunday, 1 means Monday, etc.
	dtype:'MM/dd/yyyy', // Output date format MM-month, dd-date, yyyy-year, HH-hours, mm-minutes, ss-seconds
	width:250,       // Width of the calendar table
	windoww:300,     // Width of the calendar window
	windowh:200,     // Height of the calendar window
	cellspacing:1,
	cellpadding:0,
	border_width:0,      // Border of the table
	border_color:'#0000d3',  // Color of the border
	dn_css:'clsDayName',     // CSS for week day names
	cd_css:'clsCurrentDay',  // CSS for current day
	wd_css:'clsWorkDay',     // CSS for work days (this month)
	we_css:'clsWeekEnd',     // CSS for weekend days (this month)
	wdom_css:'clsWorkDayOtherMonth', // CSS for work days (other month)
	weom_css:'clsWeekEndOtherMonth', // CSS for weekend days (other month)
	headerstyle: {
		type:'buttons',         // Type of the header may be: 'buttons' or 'comboboxes'
		css:'clsHeaderDayName',       // CSS for header
		cssbtn:'clsHeaderBtn',
		imgnextm:calendar_chemin_img+'next.gif', // Image for next month button.
		imgprevm:calendar_chemin_img+'prev.gif',    // Image for previous month button.
		imgnexty:calendar_chemin_img+'next_year.gif', // Image for next year button.
		imgprevy:calendar_chemin_img+'prev_year.gif'     // Image for previous year button.
	},
	// Array with month names
	monthnames :["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
	// Array with week day names
	daynames : ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
	dates_passees:false,
	date_debut:"",
	date_fin:"",
	dates_filtrees:true,
	disponibilite: new Array(),
	lien_weekend: true,
	message_date_erronee : "The date is not available."


};

var calendar_html_page  = "/scripts/calendar.inc.php";
var calendrier = new calendar(caldeffra);