var Path = location.pathname.toUpperCase();

var DepartmentMenus = Array(
    Array("Mayor&rsquo;s Office", "/mayor/"), 
    Array("City Council", "/citycouncil/"), 
	Array("Public Notices", "/notices/"),
    Array("Boards &amp; Commissions", "/commissions/"), 
    Array("Requests for Proposals", "/rfp/"),
	Array("Meeting Schedule", "/calendar/"),
    Array("Departments", "/departments/"),
    Array("Elections", "/ct/elections/"),
	Array("Parking", "/parking/"),
    Array("Business", "/business/"),
    Array("Relocate", "/relocate/"),
	Array("Annual Report", "/annual_report"),
    Array("Budget", "/ct/budget/"),
	Array("Budget Task Force", "/budget/"),
	
	Array("Stormwater", "/stormwater/"),
	Array("Plans &amp; Projects", "/city/"),
	Array("Sister Cities", "/sistercities/"),
	Array("Other Government", "/government/")
);



function ShowDepartmentMenu(){
    for(var i=0; i<DepartmentMenus.length; i++){
        if(Path.match(DepartmentMenus[i][1].toUpperCase())){
            document.write('<div style=\"font-weight: bold;\"><a href=\"' + DepartmentMenus[i][1] + '\">' + DepartmentMenus[i][0] + '</a></div>');
		}
		else {
		    document.write('<div><a href=\"' + DepartmentMenus[i][1] + '\">' + DepartmentMenus[i][0] + '</a></div>');
		}
	}
	
	
	
document.write("<span style=\"font-size: 9pt; text-decoration: none; font-family: verdana, arial, sans-serif;\">");
document.write("<form action=\"http://www.ci.burlington.vt.us/s\" id=\"cse-search-box\">");
document.write("<div style=\"color: #000000;\">search</div><div> ");
document.write("<input type=\"hidden\" name=\"cx\" value=\"016014972081156041943:4xhtniztg6g\" />");
document.write("<input type=\"hidden\" name=\"cof\" value=\"FORID:10\" />");
document.write("<input type=\"hidden\" name=\"ie\" value=\"UTF-8\" />");
document.write("<input type=\"text\" style=\"font-size: 9pt; text-decoration: none; font-family: verdana, arial, sans-serif; vertical-align:bottom;\" name=\"q\" size=\"15\" />");
document.write("&nbsp;<input type=\"submit\" name=\"sa\" style=\"vertical-align:bottom;\" align=\"absbottom\" value=\"GO\" />");
document.write("</div>");
document.write("</form>");
document.write("<script type=\"text/javascript\" src=\"http://www.google.com/cse/brand?form=cse-search-box&lang=en\"></script>");
document.write("</span>");
	

	document.write("<div><a target=\"_blank\" href=\"http://www.hazecam.net/burlington.html\">City &amp; Lake View</a></div>");
	document.write("<div><a href=\"/webcams\">More Web Cams</a></div>");
	document.write("<div><a target=\"_blank\" href=\"http://forecast.weather.gov/MapClick.php?CityName=Burlington&amp;state=VT&amp;site=BTV&amp;textField1=44.4881&amp;textField2=-73.2262&amp;e=0\">Weather</a></div>");
	document.write("<div><a target=\"_blank\" href=\"http://www.skivermont.com/\">Ski Reports</a></div>");
	document.write("<div><a href=\"/music\">Music Listings</a></div>");
}
