  function catcalc2(cal) {
		var date = cal.date;
        var time = date.getTime()
        // use the _other_ field
        var field = document.getElementById("tt_ruecktermin2");
        if (field == cal.params.inputField) {
            field = document.getElementById("tt_termin2");
            time -= Date.WEEK; // substract one week
            time -= Date.WEEK; // substract one week
            time -= Date.WEEK; // substract one week            
        } else {
            time += Date.WEEK; // add one week
            time += Date.WEEK; // add one week
            time += Date.WEEK; // add one week            
        }
        var date2 = new Date(time);
        field.value = date2.print("%d.%m.%Y");
    }

