function dispatchDate() {
	var TagJetzt = new Date();
    var tagSelect=document.travelchannel_skyscraper_flug.elements['fluege/flug/abflug/datum/tag'];
    var monatSelect=document.travelchannel_skyscraper_flug.elements['fluege/flug/abflug/datum/monat'];
	var jahrSelect=document.travelchannel_skyscraper_flug.elements['fluege/flug/abflug/datum/jahr'];
	var tagBisSelect=document.travelchannel_skyscraper_flug.elements['fluege/flug/ankunft/datum/tag'];
	var monatBisSelect=document.travelchannel_skyscraper_flug.elements['fluege/flug/ankunft/datum/monat'];
	var jahrBisSelect=document.travelchannel_skyscraper_flug.elements['fluege/flug/ankunft/datum/jahr'];
	var TageImMonat = 0;
	var VorlaufAb   = 7;
	var VorlaufBis  = 9;
	var TagAb;
	var TagBis;
	if ((TagJetzt.getMonth() == 0) || (TagJetzt.getMonth() == 2) || // Monate
	    (TagJetzt.getMonth() == 4) || (TagJetzt.getMonth() == 6) ||  // mit 31
	    (TagJetzt.getMonth() == 7) || (TagJetzt.getMonth() == 9) ||  // Tagen
	    (TagJetzt.getMonth() == 11)) TageImMonat = 31;  
	else TageImMonat = 30;                                          // Januar=0
	if ((TagJetzt.getMonth() == 1) && (TagJetzt.getYear() % 4) == 0) //Februar
	     TageImMonat = 29;                                      // Schaltjahr
    else if (TagJetzt.getMonth() == 1) TageImMonat = 28;
	TagAb = TagJetzt.getDate() + VorlaufAb;	
	if (TagAb <= TageImMonat) // kein Monatswechsel noetig
	   { 
	     tagSelect.options[TagAb-1].selected = true; //options[] beginnt bei 0, TagAb bei 1
	     monatSelect.options[TagJetzt.getMonth()].selected = true;
		 for (i = 0; i < jahrSelect.length; i++)
				  if (jahrSelect.options[i].value == TagJetzt.getFullYear())
				  jahrSelect.options[i].selected = true;
	   }
	else                                         // Monatswechsel noetig 
	   { tagSelect.options[TagAb - (TageImMonat) - 1].selected = true; //options[] beginnt bei 0, TagAb bei 1
	     if (TagJetzt.getMonth() < 11)
		    { monatSelect.options[TagJetzt.getMonth() + 1].selected = true;
			  for (i = 0; i < jahrSelect.length; i++)
				  if (jahrSelect.options[i].value == TagJetzt.getFullYear())
				  jahrSelect.options[i].selected = true;
			}
		 else                                    // zusaetzlich Jahreswechsel
		    { monatSelect.options[0].selected = true; 
			  for (i = 0; i < jahrSelect.length; i++)
				  if (jahrSelect.options[i].value == TagJetzt.getFullYear())
				  jahrSelect.options[i+1].selected = true;
			}  
       }	   
	TagBis = TagJetzt.getDate() + VorlaufBis;
	if (TagBis <= TageImMonat)
	   { tagBisSelect.options[TagBis-1].selected = true; //options[] beginnt bei 0, TagBis bei 1
	     monatBisSelect.options[TagJetzt.getMonth()].selected = true;
		 for (i = 0; i < jahrBisSelect.length; i++)
				  if (jahrBisSelect.options[i].value == TagJetzt.getFullYear())
				  jahrBisSelect.options[i].selected = true;
	   }
	else 
	   { tagBisSelect.options[TagBis - TageImMonat - 1].selected = true; //options[] beginnt bei 0, TagBis bei 1
	     if (TagJetzt.getMonth() < 11)
		    { monatBisSelect.options[TagJetzt.getMonth() + 1].selected = true;
			  for (i = 0; i < jahrBisSelect.length; i++)
				  if (jahrBisSelect.options[i].value == TagJetzt.getFullYear())
				  jahrBisSelect.options[i].selected = true;
			}
		 else
		    { monatBisSelect.options[0].selected = true;
			  for (i = 0; i < jahrBisSelect.length; i++)
				  if (jahrBisSelect.options[i].value == TagJetzt.getFullYear())
				  jahrBisSelect.options[i+1].selected = true;
			}  
       }
}