function Populate(theForm,myDay) {
	//alert(myDay)
	this.theForm = theForm
	//alert (theForm)
	frm = (theForm == 'rueckruf') ? document.rueckruf : document.daten //funzt
	field1=frm.Tag
	field2=frm.Zeit
	
   	/*for(i=0, j=1;i<field1.length;i++) {
    	if(field1.options[i].selected) {
        	newOpt = (field1.options[i].text == 'Freitags') ? '12 - 15 Uhr' : '12 - 17 Uhr'
         	field2.length=j+1
         	field2.options[j]= new Option(newOpt,newOpt)
         	j++
      	}
   	}*/
   	   
   	var times=["15 - 16 Uhr|15-16Uhr", "16 - 17 Uhr|16-17Uhr"]
   	
   	//if(field1.options[4].selected){
   	if(myDay == '4'){
		field2.length=8;
   	}else{
		field2.length=8;
		for(i=0; i<times.length; i++){
			field2.options[field2.options.length]=new Option(times[i].split("|")[0], times[i].split("|")[1]);
		}
		                
		//field2.options[8]=new Option("15 - 16 Uhr", "15-16Uhr");
		//field2.options[9]=new Option("16 - 17 Uhr", "16-17Uhr");
   	}
}
