DaysofWeek = new Array()
DaysofWeek[0]="Sunday"
DaysofWeek[1]="Monday"
DaysofWeek[2]="Tuesday"
DaysofWeek[3]="Wednesday"
DaysofWeek[4]="Thursday"
DaysofWeek[5]="Friday"
DaysofWeek[6]="Saturday"
Months = new Array()
Months[0]="January"
Months[1]="February"
Months[2]="March"
Months[3]="April"
Months[4]="May"
Months[5]="June"
Months[6]="July"
Months[7]="August"
Months[8]="September"
Months[9]="October"
Months[10]="November"
Months[11]="December"
function fixNumber(the_number){
	if (the_number < 10){
		the_number = "0" + the_number;
		}
	return the_number;
}
function fixPMHours(the_number){
	if (the_number>12){
		the_number = the_number - 12;
		}
	return the_number;
} 
	var	dayVal;
	var timeVal=new Date()
	var m=timeVal.getMinutes()
	var h=timeVal.getHours()
	var fixed_hour = fixPMHours(h);
	var da=timeVal.getDate()
	var mo=timeVal.getMonth()
	var year=timeVal.getFullYear()
	var showDay=DaysofWeek[timeVal.getDay()]
	var showMonth=Months[timeVal.getMonth()]
	var fixed_minute = fixNumber(m);
	var the_time = fixed_hour + ":" + fixed_minute;
	var the_day = (showDay) 
    var the_date = (showMonth+" "+da+", "+year+"  ")
         function gotoPage (form)
  {
        if (document.formDept.selectDept.selectedIndex == 1)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/Aging/AGIndex.htm";  
        if (document.formDept.selectDept.selectedIndex == 2)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/Airport/ARIndex.htm";
        if (document.formDept.selectDept.selectedIndex ==3)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/BOE/BEIndex.htm";
   
        if (document.formDept.selectDept.selectedIndex ==4)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/Aging/AGCasa.htm";
        if (document.formDept.selectDept.selectedIndex == 5)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/CentralServices/CSIndex.htm";
        if (document.formDept.selectDept.selectedIndex == 6)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/Comptroller/COIndex.htm";  
  
        if (document.formDept.selectDept.selectedIndex == 7)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/OCIS/OCIndex.htm";  
        if (document.formDept.selectDept.selectedIndex == 8)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/ConsumerAffairs/CFIndex.htm";
        if (document.formDept.selectDept.selectedIndex == 9)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/CountyAttorney/CAIndex.htm";  
      
        if (document.formDept.selectDept.selectedIndex == 10)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/CountyClerk/CCIndex.htm";  
        if (document.formDept.selectDept.selectedIndex == 11)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/CountyExecutive/CEIndex.htm";
        if (document.formDept.selectDept.selectedIndex == 12)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/Legislature/CLIndex.htm";  
    
        if (document.formDept.selectDept.selectedIndex == 13)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/DistrictAttorney/DAIndex.htm";  
        if (document.formDept.selectDept.selectedIndex == 14)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/EmergencyResponse/ERIndex.htm";  
        if (document.formDept.selectDept.selectedIndex == 15)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/Finance/FNIndex.htm";  

              if (document.formDept.selectDept.selectedIndex == 16)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/Health/HDIndex.htm";
        if (document.formDept.selectDept.selectedIndex == 17)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/HumanRights/HRIndex.htm";
        if (document.formDept.selectDept.selectedIndex == 18)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/Jail/JLIndex.htm";
      

        if (document.formDept.selectDept.selectedIndex == 19)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/Planning/PLLoopBus.htm";

        if (document.formDept.selectDept.selectedIndex == 20)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/MentalHygiene/MHIndex.htm";
        if (document.formDept.selectDept.selectedIndex == 21)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/Personnel/PSIndex.htm";  
        if (document.formDept.selectDept.selectedIndex == 22)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/Planning/PLIndex.htm";

        if (document.formDept.selectDept.selectedIndex == 23)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/Probation/PRIndex.htm";  
        if (document.formDept.selectDept.selectedIndex == 24)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/PublicDefender/PDIndex.htm";  
        if (document.formDept.selectDept.selectedIndex == 25)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/PublicWorks/PWIndex.htm";


        if (document.formDept.selectDept.selectedIndex == 26)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/DPW-Parks/PPIndex.htm";  
        if (document.formDept.selectDept.selectedIndex == 27)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/RealPropertyTax/RPIndex.htm";
        if (document.formDept.selectDept.selectedIndex == 28)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/ResourceRec/RRindex.htm";
        if (document.formDept.selectDept.selectedIndex == 29)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/RiskMgmnt/RKIndex.htm";
        if (document.formDept.selectDept.selectedIndex == 30)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/Sheriff/SHIndex.htm";

        if (document.formDept.selectDept.selectedIndex == 31)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/SocialServices/SSIndex.htm";
        if (document.formDept.selectDept.selectedIndex == 32)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/STOPDWI/DWIndex.htm";
        if (document.formDept.selectDept.selectedIndex == 33)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/TrafficSafety/TSIndex.htm";  

        if (document.formDept.selectDept.selectedIndex == 34)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/VeteransAffairs/VAIndex.htm";     
        if (document.formDept.selectDept.selectedIndex == 35)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/WaterandWaste/WRIndex.htm";
        if (document.formDept.selectDept.selectedIndex == 36)
        parent.location="http://www.co.dutchess.ny.us/CountyGov/Departments/YouthBureau/YBIndex.htm";

 }


document.write (' <table class="deptheadertable" border="0" cellpadding="0" cellspacing="0"  height="71"   width="780" style="border-collapse: collapse; " >');
document.write (' <tr>');
document.write (' <td valign=top width="3" height="71" rowspan="2"> <a name="TopofPage"></a></td>');
document.write (' <td class="photocell" width="435" height="71" rowspan="2" align="left" > </td>');
document.write (' <td width="257" height="49"  valign="bottom" align="center">');
document.write (' <form name="formDept">');
//document.write (' <script language="JavaScript" src="DeptDropDown.js"></script>');
document.write ('<form name="formDept">');
document.write ('<select name="selectDept"  onChange="gotoPage(this.form)" size=1 tabindex=2 style=" font-family: Arial, Helvetica, san-serif; font-size: 9pt; color: #993300; font-weight:normal;  background-color: #FFFFCC; position:absolute; top:24; float:left; left:454" >'); 
document.write ('<option value="">Select a Department</option>');

document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/Aging/AGIndex.htm">Aging</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/Airport/ARIndex.htm">Airport</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/BOE/BEIndex.htm">Board of Elections</option>');


document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/Aging/AGCasa.htm">CASA</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/CentralServices/CSIndex.htm">Central Services</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/Comptroller/COIndex.htm">Comptroller</option>');


document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/OCIS/OCIndex.htm">Computer Information Systems, Office of</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/ConsumerAffairs/CFIndex.htm">Consumer Affairs</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/CountyAttorney/CAIndex.htm">County Attorney</option>');


document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/CountyClerk/CCIndex.htm">County Clerk</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/CountyExecutive/CEIndex.htm">County Executive</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/Legislature/CLIndex.htm">County Legislature</option>');


document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/DistrictAttorney/DAIndex.htm">District Attorney</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/EmergencyResponse/ERIndex.htm">Emergency Response</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/Finance/FNIndex.htm">Finance</option>');

document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/Health/HDIndex.htm">Health, Department of </option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/HumanRights/HRIndex.htm">Human Rights Commission</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/Jail/JLIndex.htm">Jail</option>');

document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/Planning/PLLoopBus.htm">Mass Transit (LOOP Bus Service)</option>');


document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/MentalHygiene/MHIndex.htm">Mental Hygiene</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/Personnel/PSIndex.htm">Personnel</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/Planning/PLIndex.htm">Planning and Development</option>');


document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/Probation/PRIndex.htm">Probation</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/PublicDefender/PDIndex.htm">Public Defender </option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/PublicWorks/PWIndex.htm">Public Works</option>');

document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/DPW-Parks/PPIndex.htm">Public Works - Parks</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/RealPropertyTax/RPIndex.htm">Real Property Tax</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/ResourceRec/RRindex.htm">Resource Recovery Agency</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/RiskMgmnt/RKIndex.htm">Risk Management</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/Sheriff/SHIndex.htm">Sheriff&#39;s Office</option>');

document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/SocialServices/SSIndex.htm">Social Services</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/STOPDWI/DWIndex.htm">STOP-DWI</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/TrafficSafety/TSIndex.htm">Traffic Safety</option>');

document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/VeteransAffairs/VAIndex.htm">Veterans Affairs</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/WaterandWaste/WRIndex.htm">Water & Wastewater Authority</option>');
document.write ('<option value="http://www.co.dutchess.ny.us/CountyGov/Departments/YouthBureau/YBIndex.htm">Youth Bureau</option>');
            
document.write ('</select>');

document.write (' </p></form></td>');

document.write (' <td width="53" height="71" align="right" rowspan="2">');
 
document.write('  <a href="http://www.co.dutchess.ny.us/CountyGov/Departments/CountyExecutive/CEIndex.htm"><img border="0" src="http://www.co.dutchess.ny.us/Graphics/WSteinhausSmall.jpg" style="border: 1px solid #000000" width="54" height="68" alt="William R. Steinhaus, County Executive - Biography"></a></td>');4
 
document.write (' <td width="8" height="71" align="center" rowspan="2">');  
document.write (' </td></tr>');
document.write (' <tr>');
document.write (' <td width="257" height="22" align="center" valign="middle" style="padding-left: 1em; border-bottom: 1px"><div class="datecell">');
document.write (' <script Language="JavaScript">');
document.write (' document.write(showDay + ", " +the_date);');
document.write (' </script>');
document.write (' </td></tr></table>');

















