// JavaScript Document
function getDirections() {
  myWindow=open("","directionsWin","width=400,height=550,top=1,scrollbars=yes");
  myWindow.document.write("<HTML><TITLE>Directions</TITLE><HEAD>");
			myWindow.document.write("<LINK REL='stylesheet' type='text/css' href='includes/styles.css'></HEAD>");
			myWindow.document.write("<body bgcolor='#FFFFcF'><div class='text2' style='text-align: center'>Directions to <br>Roosevelt Senior Center<br>");
			myWindow.document.write("11 Allen Road,<br>Norwalk, CT 06851</div>");
			myWindow.document.write("<br><span class='subtitle'>From the Merritt Parkway:<br></span>");
			myWindow.document.write("<div class='bodytext'><ul><li>Go to Exit 41<br>");
			myWindow.document.write("<li>At ramp, go north on Wilton Road<br>");
			myWindow.document.write("<li>Go left at first light onto Newtown Turnpike.<br>");
			myWindow.document.write("<li>Travel on Newtown Tpke. approximately 2 miles.<br>");
			myWindow.document.write("<li>Go right at third light onto Allen Road.<br>");
			myWindow.document.write("<li>Roosevelt Senior Center is about 1/4 mile on the right.</ul></div>");
			myWindow.document.write("<br><span class='subtitle'>From I-95:</span><br>");
			myWindow.document.write("<div class='bodytext'><ul><li>Go to Exit 16<br>");
			myWindow.document.write("<li>At ramp, go north on East Avenue approx. 1 mile to intersection with Route 1. (East Avenue forks at one point - be sure to stay to the right)<br>");
			myWindow.document.write("<li>Continue across Route 1 to second light. <br>(Approx. 1 mile)<br>");
			myWindow.document.write("<li>Go left at second light onto Allen Road.<br>");
			myWindow.document.write("<li>Roosevelt Senior Center is about 1/4 mile on the right.</ul></div>");
			myWindow.document.write("<form><input type='button' value='Print' onClick='window.print()'>&nbsp;&nbsp;<input type='button' value='Close Window' onClick='window.close()'></form>");
			myWindow.document.write("</body></head></html>");
			myWindow.document.close();
			myWindow.focus();
						}
						
function benFranklin() {
  myWindow=open("","benfranklinWin","width=400,height=600,top=1,scrollbars=yes");
  myWindow.document.write("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>");
  myWindow.document.write("<html xmlns='http://www.w3.org/1999/xhtml'>");
  myWindow.document.write("<script src='http://maps.google.com/maps?file=api&v=1&key=ABQIAAAA3tLlCcGSOhnw0FDBXGg0TxQGnd9ttqbT-PlusmM4MvQsCzUArBQX2zFR0KhsPgXegURRuc1_TvGDTA' type='text/javascript'></script>");
  myWindow.document.write("<TITLE>Directions</TITLE><HEAD>");
			myWindow.document.write("<LINK REL='stylesheet' type='text/css' href='includes/styles.css'></HEAD>");
			myWindow.document.write("<body bgcolor='#FFFFcF'><div class='text2' style='text-align: center'>Directions to <br>Ben Franklin<br>");
			myWindow.document.write("Bayview Avenue,<br>Norwalk, CT 06850</div>");
			myWindow.document.write("<p class='text2' style='text-align: center'>Note:  There is no legal entrance to Ben Franklin on Flax Hill Road.  All entry is from the Hillside or Bayview Ave. approaches.</p>");
			myWindow.document.write("<div id='map' style='width: 475px; height: 400px'></div>");
			myWindow.document.write("<script type='text/javascript'>//<![CDATA[");
			myWindow.document.write("window.onload = showMap;function showMap(){");
			myWindow.document.write("var map = new GMap(document.getElementById('map'));");
			myWindow.document.write("map.addControl(new GSmallMapControl());");
			myWindow.document.write("map.centerAndZoom(new GPoint(-73.42493534088135, 41.09874187188927), 4);");
			myWindow.document.write("map.addOverlay(new GMarker(new GPoint(-73.42493534088135, 41.09874187188927)));");
			myWindow.document.write("} //]]> </script>");
			myWindow.document.write("<br><span class='subtitle'>From New York:<br></span>");
			myWindow.document.write("<div class='bodytext'><ul><li>Take I-95 North to exit 14 towards South Norwalk.<br>");
			myWindow.document.write("<li>Turn right on Fairfield Avenue. Turn right on Flax Hill Road.<br>");
			myWindow.document.write("<li>You will see the Ben Franklin building on the right side; make your next right on Taylor Avenue. <br>");
			myWindow.document.write("<li>Make a right on Hillside Avenue.<br>");
			myWindow.document.write("<li> You will see the back of Ben Franklin on the right, go past the building parking lot and follow the sharp left curve in the road.</li></ul>");
			myWindow.document.write("<ul><span style='font-weight:bold;'>Or for a shortcut...</span>");
			myWindow.document.write("<li>Turn right onto Fairfield Ave.</li>");
			myWindow.document.write("<li>Take next right by the package store.</li>");
			myWindow.document.write("<li>Turn left onto Bayview Ave.</li>");
			myWindow.document.write("<li>Follow that road through the various stop signs and you will end up facing the entrance to the old Ben Franklin Theater.  Park in either lot.</li>");
			myWindow.document.write("<li>Enter through the white auditorium doors.</li></ul></div>");
			myWindow.document.write("<br><span class='subtitle'>From Fairfield:</span><br>");
			myWindow.document.write("<div class='bodytext'><ul><li>Take I-95 towards New York.<br>");
			myWindow.document.write("<li>Take exit 15 US-7 toward Norwalk/Danbury. Keep right at the fork in the ramp.<br>");
			myWindow.document.write("<li>Turn left on West Avenue at the end of ramp.<br>");
			myWindow.document.write("<li>Turn right on Dr. Martin Luther King Jr. drive. <br>");
			myWindow.document.write("<li>Turn right on Washington Street.<br>");
			myWindow.document.write("<li>Turn left on Flax Hill Road. You will see the Ben Franklin building on the right side;<br>");
			myWindow.document.write("<li>Make your next right on Taylor Avenue. <br>");
			myWindow.document.write("<li>Make a right on Hillside Avenue. <br>");
			myWindow.document.write("<li>You will see the back of Ben Franklin on the right, go past the building parking lot and follow the sharp left curve in the road. Crystal Theatre Parking is the right entrance after the sharp curve.</li></ul>");
			myWindow.document.write("<ul><span style='font-weight:bold;'>Or for a shortcut...</span>");
			myWindow.document.write("<li>Instead of turning right onto Flax Hill, continue through the intersection up the steep hill.<br>");
			myWindow.document.write("<li>Take your first left onto Bayview Ave.  Ben Franklin is one block down.<br>");
			myWindow.document.write("<li>Enter through the white auditorium doors.</li></ul></div>");
			myWindow.document.write("<form><input type='button' value='Print' onClick='window.print()'>&nbsp;&nbsp;<input type='button' value='Close Window' onClick='window.close()'></form>");
			myWindow.document.write("</body></head></html>");
			myWindow.document.close();
			myWindow.focus();
						}