function catcalc(cal) {
        var date = cal.date;
        var time = date.getTime()
        // use the _other_ field
        var field = document.getElementById("f_trigger_c5");
        if (field == cal.params.inputField) {
        } else {
            time += Date.DAY; 
        }
        var date2 = new Date(time);
        field.value = date2.print("%d. %B %Y");
    }
	//input by one-click the button    
    Calendar.setup({        
        inputField     :    "f_date_a2",   // id of the input field
        ifFormat       :    "%d. %B %Y",       // format of the input field    
        timeFormat     :    "24",
        button         :    "f_trigger_c3",  // trigger for the calendar (button ID)    
        range          : 	[2011, 2015]
    });    
    
    Calendar.setup({
        inputField     :    "f_calcdate2",
        ifFormat       :    "%d. %B %Y",	//"%Y-%m-%d %H:%M",    
        timeFormat     :    "24",
        button         :    "f_trigger_c5",  // trigger for the calendar (button ID)  
        range          : 	[2011, 2015]
    });
    
  //input by one-click the input field
    Calendar.setup2({        
        inputField     :    "f_date_a2",   // id of the input field
        ifFormat       :    "%d. %B %Y",       // format of the input field    
        timeFormat     :    "24",  
        range          : 	[2011, 2015]
    });         
    
    Calendar.setup2({
        inputField     :    "f_calcdate2",
        ifFormat       :    "%d. %B %Y",	//"%Y-%m-%d %H:%M",    
        timeFormat     :    "24",
        range          : 	[2011, 2015]
    });
  
