function dateChanged(calendar) {
	// Beware that this function is called even if the end-user only
	// changed the month/year. In order to determine if a date was
	// clicked you can use the dateClicked property of the calendar:
	if (calendar.dateClicked) {
		// OK, a date was clicked, redirect to /yyyy/mm/dd/index.php
		var y = calendar.date.getFullYear();
		var m = calendar.date.getMonth(); // integer, 0..11
		var d = calendar.date.getDate(); // integer, 1..31
		var hr = calendar.date.getHours();
		var min = calendar.date.getMinutes();
		var S = calendar.date.getSeconds();
		// redirect...
		window.location = "/" + y + "/" + m + "/" + d + "/index.php";
	}
};
Calendar.setup(
{
	inputField : "f_date_b", 
	ifFormat : "%d/%m/%Y",
	button : "f_trigger_b", 	
	position : [325,240], 
	step : 1
});

/*
Calendar.setup(
{
	inputField : "f_date_b", 
	ifFormat : "%d/%m/%Y",
	button : "f_date_b",	
	position : [525,240],
	step : 1
});
*/