function calendario(idTrigger,idTarget){
	Calendar.setup(
		{
			inputField:  idTarget,              // id of the input field
			ifFormat:    "%d/%m/%Y - %I:%M %p", // format of the input field
			showsTime:   true,                  // will display a time selector
			timeFormat:	 12,
			button:      idTrigger,             // trigger for the calendar (button ID)
			singleClick: false,                 // double-click mode
			step:        1,                     // show all years in drop-down boxes (instead of every other year as default)
			cache:       true,                  // a single calendar object will be used for all fields that require a popup calendar 
			showOthers:  true                   // display days belonging to months overlapping with the currently displayed month
		}
	);
}

function calendarioSemTempo(idTrigger,idTarget){
	Calendar.setup(
		{
			inputField:  idTarget,              // id of the input field
			ifFormat:    "%d/%m/%Y",			// format of the input field
			showsTime:   false,                 // will display a time selector
			timeFormat:	 12,
			button:      idTrigger,             // trigger for the calendar (button ID)
			singleClick: false,                 // double-click mode
			step:        1,                     // show all years in drop-down boxes (instead of every other year as default)
			cache:       true,                  // a single calendar object will be used for all fields that require a popup calendar 
			showOthers:  true                   // display days belonging to months overlapping with the currently displayed month
		}
	);
}