function startDate() {
	setDateField(document.forms[0].theDate);
	document.forms[0].theDate.value = "Calendar Loaded";
	top.newWin =  window.open('calendar.html','cal','dependent=yes,width=210,height=230,screenX=300,screenY=500,titlebar=yes')
	top.newWin.focus();
	
}
function endDate() {
	setDateField(document.forms[0].theEndDate);
	document.forms[0].theEndDate.value = "Calendar Loaded";
	top.newWin =  window.open('calendar.html','cal','dependent=yes,width=210,height=230,screenX=300,screenY=500,titlebar=yes')
	top.newWin.focus();
}
function dropdead() {
	setDateField(document.forms[0].drop_dead);top.newWin =  window.open('/calendar.html','cal','dependent=yes,width=210,height=230,screenX=200,screenY=300,titlebar=yes')
}
function testdate() {
	setDateField(document.forms[0].test_date);top.newWin =  window.open('/calendar.html','cal','dependent=yes,width=210,height=230,screenX=200,screenY=300,titlebar=yes')
}
function rollout() {
	setDateField(document.forms[0].roll_out);top.newWin =  window.open('/calendar.html','cal','dependent=yes,width=210,height=230,screenX=200,screenY=300,titlebar=yes')
}
function getTodaysDate() {
	var a;
	a = new Date();
	
	day = a.getDate();
	if (day<10){
		day='0'+day;
	}
	
	month = a.getMonth() +1;
	if (month<10){
		month='0'+month;
	}
	
	year = a.getYear();
	
	document.forms[0].theDate.value = (month+'/'+day+'/'+year);
	}