document.write('<BODY BGCOLOR="#FFFFFF" LEFTMARGIN=20 TOPMARGIN=15 MARGINWIDTH=20 MARGINHEIGHT=15>')



if (((navigator.userAgent.indexOf('MSIE') != -1) && (navigator.userAgent.indexOf('Win') != -1)) || (!document.all && document.getElementById)){

	document.write("<LINK REL='stylesheet' TYPE='text/css' HREF='/Landmarks/stylesheets/ie.css'>")

} else {

	document.write("<LINK REL='stylesheet' TYPE='text/css' HREF='/Landmarks/stylesheets/ns.css'>")

}



function create_header(pPageName)

{

	document.write('<MAP NAME="coc">')

	document.write('<AREA SHAPE="rect" COORDS="58,0,152,20" HREF="http://egov.cityofchicago.org/city/webportal/portalChannelAction.do?topChannelName=Residents" ALT="For Residents">')

	document.write('<AREA SHAPE="rect" COORDS="152,0,248,20" HREF="http://egov.cityofchicago.org/city/webportal/portalChannelAction.do?topChannelName=Business" ALT="For Business">')

	document.write('<AREA SHAPE="rect" COORDS="248,0,370,20" HREF="http://egov.cityofchicago.org/city/webportal/portalChannelAction.do?topChannelName=Exploring" ALT="Exploring Chicago">')

	document.write('<AREA SHAPE="rect" COORDS="370,0,497,20" HREF="http://egov.cityofchicago.org/city/webportal/portalChannelAction.do?topChannelName=Government" ALT="Your Government">')

	document.write('</MAP>')

	document.write('<MAP NAME="dpd">')

	document.write('<AREA SHAPE="rect" COORDS="9,0,70,27" HREF="http://www.cityofchicago.org/PlanAndDevelop/" ALT="DPD Home">')

	document.write('<AREA SHAPE="rect" COORDS="76,0,136,27" HREF="mailto:planning@cityofchicago.org" ALT="Feedback">')

	document.write('<AREA SHAPE="rect" COORDS="142,0,203,27" HREF="/Landmarks/GeneralInfo.html" ALT="Contact Landmarks">')

	document.write('</MAP>')



	document.write('<TABLE WIDTH=594 BORDER=0 CELLPADDING=0 CELLSPACING=0>')

	document.write('<FORM NAME="portalSearchForm" METHOD="post" ACTION="http://egov.cityofchicago.org/city/webportal/portalPreSearchAction.do">')

	document.write('<INPUT TYPE="hidden" NAME="firstTime" VALUE="yes">')

	document.write('<INPUT TYPE="hidden" NAME="logObsToolBar" VALUE="true">')

	document.write('<TR>')

	document.write('<TD ROWSPAN=2><A HREF="http://egov.cityofchicago.org/city/webportal/home.do"><IMG SRC="/Landmarks/images/coc_bar_logo.gif" WIDTH=97 HEIGHT=74 BORDER=0 ALT="City of Chicago Home"></A></TD>')

	document.write('<TD VALIGN="bottom">')

	document.write('	<TABLE WIDTH=497 BORDER=0 CELLPADDING=0 CELLSPACING=0>')

	document.write('	<TR><TD COLSPAN=3>&nbsp;</TD></TR>')

	document.write('	<TR>')

	document.write('	<TD ALIGN="right" CLASS="cocsmall">')

	document.write('	<A HREF="http://egov.cityofchicago.org/city/webportal/home.do?logObsToolBar=true" CLASS="coc">Home</A> | ')

	document.write('	<A HREF="http://egov.cityofchicago.org/city/webportal/portalNewsAction.do?logObsToolBar=true" CLASS="coc">News</A> | ')

	document.write('	<A HREF="http://egov.cityofchicago.org/city/webportal/portalEventsAction.do?logObsToolBar=true&topChannelName=HomePage" CLASS="coc">Events</A> | ')

	document.write('	<A HREF="http://egov.cityofchicago.org/city/webportal/portalDeptsProgramAction.do?logObsToolBar=true&topChannelName=Government" CLASS="coc">City Departments</A> | ')

	document.write('	<A HREF="http://egov.cityofchicago.org/city/webportal/portalSiteMapAction.do?logObsToolBar=true" CLASS="coc">Site Map</A> | ')

	document.write('	<A HREF="http://egov.cityofchicago.org/city/webportal/portalPreContactUsAction.do?logObsToolBar=true" CLASS="coc">Contact Us</A> | ')

	document.write('	Search for:&nbsp;<BR>')

	document.write('	</TD>')



	if (((navigator.userAgent.indexOf('MSIE') != -1) && (navigator.userAgent.indexOf('Win') != -1)) || (!document.all && document.getElementById)){

		document.write('	<TD><INPUT TYPE="text" NAME="queryString" SIZE=10 MAXLENGTH=15></TD>')

	} else {

		document.write('	<TD><INPUT TYPE="text" NAME="queryString" SIZE=4 MAXLENGTH=15></TD>')

	}



	document.write('	<TD><INPUT TYPE="image" NAME="image" SRC="/Landmarks/images/go.gif" WIDTH=32 HEIGHT=25 BORDER=0></TD>')

	document.write('	</TR>')

	document.write('	</TABLE>')

	document.write('</TD>')

	document.write('</TR>')

	document.write('<TR><TD VALIGN="bottom"><IMG SRC="/Landmarks/images/coc_bot_bar.gif" WIDTH=497 HEIGHT=20 BORDER=0 USEMAP="#coc"></TD></TR>')

	document.write('</FORM>')



	if (pPageName == "Home") {

	document.write('<TR><TD COLSPAN=2><IMG SRC="/Landmarks/images/nav/title_home.gif" WIDTH=594 HEIGHT=60></TD></TR>')

	} else {

	document.write('<TR><TD COLSPAN=2><A HREF="/Landmarks/Index.html"><IMG SRC="/Landmarks/images/nav/title_home.gif" WIDTH=594 HEIGHT=60 BORDER=0></A></TD></TR>')

	}


	if (pPageName == "Home") {

	  document.write('<TR><TD COLSPAN=2><IMG SRC="/Landmarks/images/banners/ban_home.jpg" WIDTH=594 HEIGHT=54></TD></TR>')

	} else if (pPageName == "maps") {
		document.write('<TR><TD COLSPAN=2><A HREF="http://webapps.cityofchicago.org/LandmarksWeb/maps.do"><IMG SRC="/Landmarks/images/banners/ban_map.jpg" WIDTH=594 HEIGHT=54 BORDER=0></A></TD></TR>')
    } else if (pPageName == "landmarks") {
		document.write('<TR><TD COLSPAN=2><A HREF="http://webapps.cityofchicago.org/LandmarksWeb/landmarks.do"><IMG SRC="/Landmarks/images/banners/ban_lan.jpg" WIDTH=594 HEIGHT=54 BORDER=0></A></TD></TR>')
	} else if (pPageName == "tours") {
		document.write('<TR><TD COLSPAN=2><A HREF="http://webapps.cityofchicago.org/LandmarksWeb/tours.do"><IMG SRC="/Landmarks/images/banners/ban_tour.jpg" WIDTH=594 HEIGHT=54 BORDER=0></A></TD></TR>')
	} else if (pPageName == "architects") {
		document.write('<TR><TD COLSPAN=2><A HREF="http://webapps.cityofchicago.org/LandmarksWeb/architects.do"><IMG SRC="/Landmarks/images/banners/ban_arch.jpg" WIDTH=594 HEIGHT=54 BORDER=0></A></TD></TR>')

	} else if (pPageName == "styleGuides") {
		document.write('<TR><TD COLSPAN=2><A HREF="A HREF="http://webapps.cityofchicago.org/LandmarksWeb/styles.do"><IMG SRC="images/banners/ban_style.jpg" WIDTH=594 HEIGHT=54 BORDER=0></A></TD></TR>')

	} else if (pPageName == "CHRS") {

		document.write('<TR><TD COLSPAN=2><A HREF="/Landmarks/CHRS.html"><IMG SRC="/Landmarks/images/banners/ban_survey.jpg" WIDTH=594 HEIGHT=54 BORDER=0></A></TD></TR>')

	} else if (pPageName == "GeneralInfo") {

		document.write('<TR><TD COLSPAN=2><A HREF="/Landmarks/GeneralInfo.html"><IMG SRC="/Landmarks/images/banners/ban_gen.jpg" WIDTH=594 HEIGHT=54 BORDER=0></A></TD></TR>')

	}



	document.write('<TR><TD COLSPAN=2>')

	document.write('<TABLE WIDTH=594 BORDER=0 CELLPADDING=0 CELLSPACING=0>')

	document.write('<TR>')

	

	create_header_help(pPageName, "http://webapps.cityofchicago.org/LandmarksWeb/maps", "do", "1", "map", "45", "26")
	create_header_help(pPageName, "http://webapps.cityofchicago.org/LandmarksWeb/landmarks", "do", "2", "lis", "67", "26")
	create_header_help(pPageName, "http://webapps.cityofchicago.org/LandmarksWeb/tours", "do", "3", "tou", "62", "26")
	create_header_help(pPageName, "http://webapps.cityofchicago.org/LandmarksWeb/architects", "do", "4", "arc", "96", "26")
	create_header_help(pPageName, "http://webapps.cityofchicago.org/LandmarksWeb/styleGuides", "do", "5", "sty", "99", "26")

    create_header_help(pPageName, "CHRS", "html", "6", "his", "126", "26")
	create_header_help(pPageName, "GeneralInfo", "html", "7", "gen", "99", "26")

	document.write('</TR></TABLE>')

	document.write('</TD></TR>')

	document.write('<TR><TD COLSPAN=2>&nbsp;</TD></TR>')

	document.write('</TABLE>')

}

//

function create_header_help(pPageName, pPageCheck, pExt, pImageNum, pGif, pWidth, pHeight)
{
		if (pPageName == pPageCheck) {
			if(pExt == "")
			{	
				document.write("<TD><A HREF='" + pPageCheck + "'><IMG SRC='images/nav/" + pGif + "2_on.gif' WIDTH=" + pWidth + " HEIGHT=" + pHeight + " BORDER=0></A></TD>")
			}
			else
			{			
				document.write("<TD><A HREF='" + pPageCheck + "." + pExt + "'><IMG SRC='images/nav/" + pGif + "2_on.gif' WIDTH=" + pWidth + " HEIGHT=" + pHeight + " BORDER=0></A></TD>")
			}	
		} else {
			if(pExt == "")
			{	
				document.write("<TD><A HREF='" + pPageCheck + "'><IMG SRC='images/nav/" + pGif + "2_on.gif' WIDTH=" + pWidth + " HEIGHT=" + pHeight + " BORDER=0></A></TD>")
			}
			else
			{
			document.write("<TD><A HREF='" + pPageCheck + "." + pExt + "' onmouseover=\"changeImages('image" + pImageNum + "', 'image" + pImageNum + "on')\" onmouseout=\"changeImages('image" + pImageNum + "', 'image" + pImageNum + "off')\"><IMG SRC='images/nav/" + pGif + "2_off.gif' WIDTH=" + pWidth + " HEIGHT=" + pHeight + " BORDER=0 NAME='image" + pImageNum + "'></A></TD>")
			}
		}
}




//--This function creates the Right Menus



function create_menu(pPageName, pSubPageName)

{

	document.write("<TABLE WIDTH=130 BORDER=0 CELLPADDING=1 CELLSPACING=0>")

	document.write("<TR><TD VALIGN='top'><IMG SRC='/Landmarks/images/nav/bullet.gif' WIDTH=6 HEIGHT=9></TD><TD><A HREF='/Landmarks/Index.html' CLASS='rightnav'>Landmarks Home</A></TD></TR>")

	if (pPageName == "Maps") {			

		create_menu_help(pSubPageName, "Maps/", "Maps.html", "Maps Home")

		document.write('<TR><TD COLSPAN=2><IMG SRC="/Landmarks/images/b.gif" WIDTH=1 HEIGHT=8></TD></TR>')

		create_menu_help(pSubPageName, "Maps/", "Northwest.html", "Northwest")

		create_menu_help(pSubPageName, "Maps/", "Northeast.html", "Northeast")

		create_menu_help(pSubPageName, "Maps/", "LoopNorth.html", "Loop North")

		create_menu_help(pSubPageName, "Maps/", "LoopSouth.html", "Loop South")

		create_menu_help(pSubPageName, "Maps/", "South.html", "South and West")

		create_menu_help(pSubPageName, "Maps/", "FarSouth.html", "Far South")

	} else if (pPageName == "List") {

		create_menu_help(pSubPageName, "", "List.html", "Alphabetical Listing")

		document.write('<TR><TD COLSPAN=2><IMG SRC="/Landmarks/images/b.gif" WIDTH=1 HEIGHT=8></TD></TR>')

	} else if (pPageName == "Tours") {

		create_menu_help(pSubPageName, "Tours/", "Tours.html", "Tours")

		document.write('<TR><TD COLSPAN=2><IMG SRC="/Landmarks/images/b.gif" WIDTH=1 HEIGHT=8></TD></TR>')

		create_menu_help(pSubPageName, "Tours/", "Prefire.html", "Pre-Fire Chicago")

		create_menu_help(pSubPageName, "Tours/", "Interiors.html", "Great Interiors")

		create_menu_help(pSubPageName, "Tours/", "Churches.html", "Churches & Synagogues")

		create_menu_help(pSubPageName, "Tours/", "Modern.html", "The Modern Era")

		create_menu_help(pSubPageName, "Tours/", "Skyscrapers.html", "Early Skyscrapers")

		create_menu_help(pSubPageName, "Tours/", "SubdivPlanTowns.html", "Subdivisions/Planned Towns")

		create_menu_help(pSubPageName, "Tours/", "LaborIndustry.html", "Labor/Industry")

		create_menu_help(pSubPageName, "Tours/", "RailBridges.html", "Railroads & Bridges")

		create_menu_help(pSubPageName, "Tours/", "PrairieSchool.html", "Prairie School")

		create_menu_help(pSubPageName, "Tours/", "BoulMich.html", "Boul Mich")

		create_menu_help(pSubPageName, "Tours/", "MusicArt.html", "Music & Art")

		create_menu_help(pSubPageName, "Tours/", "AfricanAmerican.html", "African-American History")

		create_menu_help(pSubPageName, "Tours/", "ArtDeco.html", "Art Deco")

		create_menu_help(pSubPageName, "Tours/", "TerraCotta.html", "Terra Cotta")

		create_menu_help(pSubPageName, "Tours/", "ExperimentalHousing.html", "Innovative Housing")

		create_menu_help(pSubPageName, "Tours/", "Mansions.html", "Mansions")

		create_menu_help(pSubPageName, "Tours/", "Loop.html", "The Loop")

		create_menu_help(pSubPageName, "Tours/", "Districts.html", "Districts")

		create_menu_help(pSubPageName, "Tours/", "LincolnCivalWar.html", "Abraham Lincoln & Civil War")

		create_menu_help(pSubPageName, "Tours/", "Parks.html", "Parks")

		create_menu_help(pSubPageName, "Tours/", "Education.html", "Education")

	} else if (pPageName == "Architects") {

		create_menu_help(pSubPageName, "Architects/", "Architects.html", "Architects")

		document.write('<TR><TD COLSPAN=2><IMG SRC="/Landmarks/images/b.gif" WIDTH=1 HEIGHT=8></TD></TR>')

		create_menu_help(pSubPageName, "Architects/", "Beman.html", "Solon S. Beman")

		create_menu_help(pSubPageName, "Architects/", "Boyington.html", "William Boyington")

		create_menu_help(pSubPageName, "Architects/", "Burnham.html", "Daniel Burnham")

		create_menu_help(pSubPageName, "Architects/", "Griffin.html", "Walter Burley Griffin")

		create_menu_help(pSubPageName, "Architects/", "Holabird.html", "Holabird &amp; Roche/Root")

		create_menu_help(pSubPageName, "Architects/", "Jenney.html", "William Le Baron Jenney")

		create_menu_help(pSubPageName, "Architects/", "Maher.html", "George W. Maher")

		create_menu_help(pSubPageName, "Architects/", "Pond.html", "Pond & Pond")

		create_menu_help(pSubPageName, "Architects/", "Schmidt.html", "Schmidt, Garden & Martin")

		create_menu_help(pSubPageName, "Architects/", "Sullivan.html", "Louis H. Sullivan")

		create_menu_help(pSubPageName, "Architects/", "VanDerRohe.html", "Mies van der Rohe")

		create_menu_help(pSubPageName, "Architects/", "Wright.html", "Frank Lloyd Wright")

	} else if (pPageName == "StyleGuide") {

		create_menu_help(pSubPageName, "StyleGuide/", "StyleGuide.html", "Style Guide")

		document.write('<TR><TD COLSPAN=2><IMG SRC="/Landmarks/images/b.gif" WIDTH=1 HEIGHT=8></TD></TR>')

		create_menu_help(pSubPageName, "StyleGuide/", "AmerFourSquare.html", "American Four-Square")

		create_menu_help(pSubPageName, "StyleGuide/", "ArtDeco.html", "Art Deco/Moderne")

		create_menu_help(pSubPageName, "StyleGuide/", "ArtsAndCrafts.html", "Arts &amp; Crafts")

		create_menu_help(pSubPageName, "StyleGuide/", "Chateauesque.html", "Chateauesque")

		create_menu_help(pSubPageName, "StyleGuide/", "ChicagoSchool.html", "Chicago School")

		create_menu_help(pSubPageName, "StyleGuide/", "ClassicalRevival.html", "Classical Revival")

		create_menu_help(pSubPageName, "StyleGuide/", "ColonialRevival.html", "Colonial Revival")

		create_menu_help(pSubPageName, "StyleGuide/", "Craftsman.html", "Craftsman")

		create_menu_help(pSubPageName, "StyleGuide/", "DutchColonial.html", "Dutch Colonial Revival")

		create_menu_help(pSubPageName, "StyleGuide/", "EastlakeStick.html", "Eastlake/Stick")

		create_menu_help(pSubPageName, "StyleGuide/", "GothicRevival.html", "Gothic Revival")

		create_menu_help(pSubPageName, "StyleGuide/", "GreekRevival.html", "Greek Revival")

		create_menu_help(pSubPageName, "StyleGuide/", "International.html", "International")

		create_menu_help(pSubPageName, "StyleGuide/", "Italianate.html", "Italianate")

		create_menu_help(pSubPageName, "StyleGuide/", "MiddleEastern.html", "Middle Eastern")

		create_menu_help(pSubPageName, "StyleGuide/", "OrientalStyle.html", "Oriental")

		create_menu_help(pSubPageName, "StyleGuide/", "PrairieSchool.html", "Prairie School")

		create_menu_help(pSubPageName, "StyleGuide/", "QueenAnne.html", "Queen Anne")

		create_menu_help(pSubPageName, "StyleGuide/", "RenaissanceRevival.html", "Renaissance Revival")

		create_menu_help(pSubPageName, "StyleGuide/", "Romanesque.html", "Romanesque Revival")

		create_menu_help(pSubPageName, "StyleGuide/", "SecondEmpire.html", "Second Empire")

		create_menu_help(pSubPageName, "StyleGuide/", "SpanishRevival.html", "Spanish Revival")

		create_menu_help(pSubPageName, "StyleGuide/", "Sullivanesque.html", "Sullivanesque")

		create_menu_help(pSubPageName, "StyleGuide/", "TudorRevival.html", "Tudor Revival")

		create_menu_help(pSubPageName, "StyleGuide/", "WorkersCottage.html", "Worker's Cottage")

	} else if (pPageName == "CHRS") {

		create_menu_help(pSubPageName, "", "CHRS.html", "Historic Resources Survey")

		document.write('<TR><TD COLSPAN=2><IMG SRC="/Landmarks/images/b.gif" WIDTH=1 HEIGHT=8></TD></TR>')

		create_menu_help(pSubPageName, "", "CHRSFaq.html", "Commonly Asked Questions About the Survey")

	} else if (pPageName == "GeneralInfo") {

		create_menu_help(pSubPageName, "","GeneralInfo.html", "General Information")

		create_menu_help(pSubPageName, "", "Ordinance.html", "Landmarks Ordinance & Other Information")

		create_menu_help(pSubPageName, "", "pdf/2008_Annual_Report.pdf", "2008 Annual Report")
				
		create_menu_help(pSubPageName, "", "pdf/2008_Permit_Activity.pdf", " 2008 Permit Activity Report")

		
		create_menu_help(pSubPageName, "", "pdf/Landmark_Address_List.pdf", "Landmark Address List")

		create_menu_help(pSubPageName, "", "Links.html", "Landmarks Links")

		create_menu_help(pSubPageName, "", "Notes.html", "Site Notes")

create_menu_help(pSubPageName, "", "pdf/LandmarksWinter09News.pdf", " Winter 2009 Newsletter")

create_menu_help(pSubPageName, "", "pdf/LandmarksBooklet.pdf", " Landmarks Booklet")


	}

	document.write("</TABLE>")

}



function create_menu_help(pPageName, pPageDir, pPageCheck, pTitle) {

		if (pPageName == pPageCheck) {	

			document.write("<TR><TD VALIGN='top'><IMG SRC='/Landmarks/images/nav/bullet.gif' WIDTH=6 HEIGHT=9></TD><TD CLASS='rightnavactive'>" + pTitle + "</TD></TR>")

		} else {

			document.write("<TR><TD VALIGN='top'><IMG SRC='/Landmarks/images/nav/bullet.gif' WIDTH=6 HEIGHT=9></TD><TD><A HREF='/Landmarks/" + pPageDir + "" + pPageCheck + "' CLASS='rightnav'>" + pTitle + "</A></TD></TR>")

		}

}