<!--
function setCurrentDate() {
var currentDate = new Date();
// skip if this has been called on a page with no form
if (typeof(document.dateForm) != "undefined")	
{if (typeof(document.dateForm.inyear) != "undefined")
{
document.dateForm.inyear.selectedIndex = 0;
document.dateForm.inmonth.selectedIndex = currentDate.getMonth();
//document.dateForm.inmonth.selectedIndex = 4;
setDays();
document.dateForm.inday.selectedIndex = currentDate.getDate();
//document.dateForm.inday.selectedIndex = 0
}
}
}
function setDays() {
var y = document.dateForm.inyear.options[document.dateForm.inyear.selectedIndex].value;
var m = document.dateForm.inmonth.selectedIndex;
var d;
if ( (m == 3) || (m == 5) || (m == 8) || (m == 10) ) {
days = 30;}
else if (m == 1) {
if ( (Math.floor(y/4) == (y/4)) && ((Math.floor(y/100) != (y/100)) || (Math.floor(y/400) == (y/400))) )
days = 29
else
days = 28}
else {
days = 31;}
if (days > document.dateForm.inday.length) {
for (i = document.dateForm.inday.length; i < days; i++) {
document.dateForm.inday.length = days;
document.dateForm.inday.options[i].text = i + 1;
document.dateForm.inday.options[i].value = i + 1;}}
if (days < document.dateForm.inday.length) {
document.dateForm.inday.length = days;
if (document.dateForm.inday.selectedIndex == -1) 
document.dateForm.inday.selectedIndex = days - 1;}}

function jumpBox(list) {
if (list.selectedIndex == 0) {
	document.dateForm.CountyID.value = 1;
	document.dateForm.areaid.value = 0;
	return;}

if (list.selectedIndex == 1) {
	document.dateForm.CountyID.value = 24;
	document.dateForm.areaid.value = 0;
	return;}

if (list.selectedIndex == 2) {
	document.dateForm.CountyID.value = 28;
	document.dateForm.areaid.value = 0;
	return;}

if (list.selectedIndex == 3) {
	document.dateForm.CountyID.value = 35;
	document.dateForm.areaid.value = 0;
	return;}

if (list.selectedIndex == 4) {
	document.dateForm.CountyID.value = 0;
	document.dateForm.areaid.value = 24;
	return;}

if (list.selectedIndex == 5) {
	document.dateForm.CountyID.value = 0;
	document.dateForm.areaid.value = 0;
	return;}

if (list.selectedIndex < 6) {
location.href = list.options[list.selectedIndex].value
}
}
//-->

