function openDatePicker(DateField)
{
	var win1;
	var sStartDate;
	
	sStartDate=window.document.getElementById(DateField).value;
	win1=window.open('datepicker.aspx?Date='+sStartDate+'&ControlID='+DateField+'', 'Datum', 'toolbar=no, location=no, menubar=no, width=230, height=230, modal=yes');
	win1.moveTo(600,300);
}


function SelectDate(SelectedDate,DateField)
{
	window.opener.document.getElementById(DateField).value=SelectedDate;
	window.close()
}


