<!---
// Use Freely as long as following disclaimer is intact ::
//---------------------------------------------------------------
// Cross Browser Multi-Orientation Menu v1.5 17th August 2004
// This script written by Rik Comery. www.ricom.co.uk
// For support, visit the "Resources" section at www.ricom.co.uk
// All rights reserved.
// Featured in the SimplytheBest DHTML Scripts Library at http://simplythebest.net/scripts/

//Define Constant Values for Main Menu
var MainPage=999;
var Home=0;
var AboutUs=1;
var ApartmentSeekers=2;
var BondArchives=3;
var Developers=4;
var Programs=5;
var PressRoom=6;
var FeatureDev=7;
var OtherResources=8;
var Enespanol=9;

//Sub Menu Position
varSubMenuLeftPos=150;

//  MENU ITEMS //
// DUPLICATE THIS ENTIRE SECTION FOR MULTIPLE MENUS.  PLEASE SEE THE INSTRUCTIONS FILE FOR DETAILS ///
var Menu1 = new Array ()
var subMenu1 = new Array ()
var MasterMenu1 = new Array ()
var MasterMenuName1 = new Array ()
var MasterMenuLink1 = new Array ()
var MasterSubMenuName1 = new Array ()
var MasterSubMenuLink1 = new Array ()

function createMenuArrays(varMenuType)
{
	CreateAllMenu();
	if (varMenuType==PressRoom)
	{
	Menu1[0] = new Array("<img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>HOME<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
		subMenu1[0] = new Array()

	Menu1[1] = new Array("<img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>ABOUT US<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
		subMenu1[1] = new Array()

	Menu1[2] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>PROGRAMS<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
		subMenu1[2] = new Array()

	Menu1[3] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>DEVELOPERS<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
		subMenu1[3] = new Array()

	Menu1[4] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>APARTMENT SEEKERS<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
		subMenu1[4] = new Array()

	Menu1[5] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>BOND ARCHIVES<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "right")
		subMenu1[5] = new Array()

	Menu1[6] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>PRESS ROOM<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
		subMenu1[6] = new Array()
	Menu1[7] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='25' height='1'><a href=InTheNews.html class=subnav>In the News</a><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","_top", "left")
		subMenu1[7] = new Array()
	Menu1[8] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='25' height='1'><a href=PR2007.html class=subnav>Press Releases</a><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","_top", "left")
		subMenu1[8] = new Array()
	Menu1[9] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='25' height='1'><a href=PublicMeetingsEvents.html class=subnav>Meetings and Events</a><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","_top", "left")
		subMenu1[9] = new Array()
	Menu1[10] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='25' height='1'><a href=FeaturedDevelopments.html class=subnav>Featured Developments</a><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","_top", "left")
		subMenu1[10] = new Array()
	Menu1[11] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='25' height='1'><a href=RegisterforPressReleases.asp class=subnav>Register for Press Releases</a><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","_top", "left")
		subMenu1[11] = new Array()

	Menu1[12] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>OTHER RESOURCES<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
		subMenu1[121] = new Array()
	return;
	}
	if (varMenuType==ApartmentSeekers)
	{
		Menu1[0] = new Array("<img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>HOME<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
			subMenu1[0] = new Array()

		Menu1[1] = new Array("<img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>ABOUT US<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
			subMenu1[1] = new Array()

		Menu1[2] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>PROGRAMS<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
			subMenu1[2] = new Array()

		Menu1[3] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>DEVELOPERS<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
			subMenu1[3] = new Array()

		Menu1[4] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>APARTMENT SEEKERS<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
			subMenu1[4] = new Array()

		Menu1[5] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='25' height='1'><a href=AMIcalc.asp class=subnav>Program Finder</a><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","_top", "left")
			subMenu1[5] = new Array()
		Menu1[6] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='25' height='1'><a href=faq.html class=subnav>FAQs</a><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","_top", "left")
			subMenu1[6] = new Array()
		Menu1[7] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='25' height='1'><a href=Applications.html class=subnav>Applications</a><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","_top", "left")
			subMenu1[7] = new Array()
		Menu1[8] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='25' height='1'><a href=future_developments.html class=subnav>Applications</a><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","_top", "left")
			subMenu1[8] = new Array()
		Menu1[9] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='25' height='1'><a href=LIRentalDevelopments.html class=subnav>Low-Income</a><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","_top", "left")
			subMenu1[9] = new Array()
		Menu1[10] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='25' height='1'><a href=MIRentalDevelopments.html class=subnav>Middle-Income</a><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","_top", "left")
			subMenu1[10] = new Array()
		Menu1[11] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='25' height='1'><a href=ApartmentsforSale.html class=subnav>Apartments for Sale</a><br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","_top", "left")
			subMenu1[11] = new Array()

		Menu1[12] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>BOND ARCHIVES<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "right")
			subMenu1[12] = new Array()

		Menu1[13] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>PRESS ROOM<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
			subMenu1[13] = new Array()

		Menu1[14] = new Array("<img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/spacer.gif' border='0' alt='' width='15' height='1'>OTHER RESOURCES<br><img src='../../website/images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../../website/images/gray.gif' border='0' alt='' width='145' height='1'><br>", "../../website/index.html","_top", "left")
			subMenu1[14] = new Array()
	return;
	}	
}
/// FORMAT MENU  ///
menuStyle = "flat"                                  // Menu Style (flat, 3d)
cellPadding = "0"                                   // Cell Padding
cellBorder = 0                                      // Border width (for no border, enter 0)  THIS VALUE APPLIES TO ALL MENUS
verticalOffset = "0"                                // Vertical offset of Sub Menu.
horizontalOffset = "0"                              // Horizontal offset of Sub Menu.
subMenuDelay = 2                                    // Time sub menu stays visible for (in seconds). THIS VALUE APPLIES TO ALL MENUS
subIndicate = 1                                     // Show if a sub menu is present (use 0 for "no")  THIS VALUE APPLIES TO ALL MENUS
indicator = "<img src='images/spacer.gif' border='0'>" // Symbol to show if a sub menu is present (subIndicate must be to set to 1)
                                                    // Use standard HTML <img> tag. You can use a character instead of an image.
                                                    // e.g.      indicator = ">"
// Main Menu Items
menuWidth = "0"                  // Width of menu item.  Use 0 for default
borderColor = "#cccccc"            // Border Colour (flat mode only)
borderHighlight = "#97BBD3"      // Border Highlight Colour (3d mode only)
borderShadow = "#31556D"         // Border Shadow Colour (3d mode only)
menuBackground = "White"       // Cell Background Colour
menuHoverBackground = "White"    // Cell Background Colour on mouse rollover
fontFace = "arial"               // Font Face
fontColour = "#BA691B"           // Font Colour
fontHoverColour = "#FF3300"      // Font Colour on mouse rollover
fontSize = "8pt"                 // Font Size
fontDecoration = "none"          // Style of the link text (none, underline, overline, line-through)
fontWeight = "normal"            // Font Weight (normal, bold)

// Sub Menu Items
smenuWidth = "0"                 // Width of sub menu item.  Use 0 for default
sborderColor = "#cccccc"           // Border Colour (flat mode only)
sborderHighlight = "#E9E9E2"     // Border Highlight Colour (3d mode only)
sborderShadow = "#83837C"        // Border Shadow Colour (3d mode only)
smenuBackground = "#FCF3D8"        // Cell Background Colour
smenuHoverBackground = "White" // Cell Background Colour on mouse rolloverr
sfontFace = "arial"              // Font Face
sfontColour = "#666666"          // Font Colour
sfontHoverColour = "#FF3300"     // Font Colour on mouse rollover
sfontSize = "8pt"                // Font Size
sfontDecoration = "none"         // Style of the link text (none, underline, overline, line-through)
sfontWeight = "normal"           // Font Weight (normal, bold)

quantity = 1
/// END FORMAT MENU  ////

/// DO NOT EDIT BELOW THIS LINE  ///
// Browser Sniffer
var isIE = (document.getElementById && document.all)?true:false;
var isNS4 = (document.layers)?true:false;
var isNS6 = (document.getElementById && !document.all)?true:false;
var timer;
var obj = (isIE)?"document.all":"document.getElementById"
// Menu Styles
function createStyles(quant){
styleBorder=(menuStyle.split(",")[quant-1].toLowerCase() == "flat")?cellBorder:0
  document.writeln ('<style>');
  document.writeln ('.rcMenuStatic'+quant+' {font-family:'+fontFace.split(",")[quant-1]+';font-size:'+fontSize.split(",")[quant-1]+';color:'+fontColour.split(",")[quant-1]+';font-weight:'+fontWeight.split(",")[quant-1]+';background-color:'+menuBackground.split(",")[quant-1]+'; cursor:hand; text-decoration:'+fontDecoration.split(",")[quant-1]+'}');
  document.writeln ('.rcMenuHover'+quant+'  {font-family:'+fontFace.split(",")[quant-1]+';font-size:'+fontSize.split(",")[quant-1]+';color:'+fontHoverColour.split(",")[quant-1]+';font-weight:'+fontWeight.split(",")[quant-1]+';background-color:'+menuHoverBackground.split(",")[quant-1]+'; cursor:hand; text-decoration:'+fontDecoration.split(",")[quant-1]+'}');
  document.writeln ('.rcSubMenuStatic'+quant+' {font-family:'+sfontFace.split(",")[quant-1]+';font-size:'+sfontSize.split(",")[quant-1]+';color:'+sfontColour.split(",")[quant-1]+';font-weight:'+sfontWeight.split(",")[quant-1]+';text-decoration:'+sfontDecoration.split(",")[quant-1]+';background-color:'+smenuBackground.split(",")[quant-1]+'; cursor:hand}');
  document.writeln ('.rcSubMenuHover'+quant+'  {font-family:'+sfontFace.split(",")[quant-1]+';font-size:'+sfontSize.split(",")[quant-1]+';color:'+sfontHoverColour.split(",")[quant-1]+';font-weight:'+sfontWeight.split(",")[quant-1]+';text-decoration:'+sfontDecoration.split(",")[quant-1]+';background-color:'+smenuHoverBackground.split(",")[quant-1]+'; cursor:hand}');
  document.writeln ('</style>');
}
// Build and show the main menu items
function showMenus(quant,definedOrientation,menuType)
{
if(qs()=="prntPage")
{return;
}

if (menuType==999)
{
	indicator = "<img src='images/spacer.gif' border='0'>" 
}
else {
	indicator = "<img src='../images/spacer.gif' border='0'>"
}
  createMenuArrays1(menuType);
  
  createStyles(quant);
  if(definedOrientation!=""){orientation=definedOrientation}
  if (orientation.toLowerCase() == "vertical"){document.writeln ('<table border="0" cellpadding="0" cellspacing="'+styleBorder+'" bgColor="'+borderColor.split(",")[quant-1]+'">')}
  else{document.writeln ('<table border="0" cellpadding="0" cellspacing="'+styleBorder+'" bgColor="'+borderColor.split(",")[quant-1]+'"><tr>')}
  for (x=0; x<eval("Menu"+quant).length; x++)
  {
    if (orientation.toLowerCase()=="vertical") document.writeln('<tr>')
    document.writeln ('<td width="'+menuWidth+'" onclick="tdMouseClick(\''+quant+'mainLink'+x+'\')" onMouseOver="hoverMenu(); popDown(\''+quant+'\','+x+', \''+quant+'button'+x+'\',\''+orientation+'\'); " onMouseOut="clearMenu('+quant+','+x+')" ')
    if (menuStyle.split(",")[quant-1].toLowerCase() == "3d"){document.writeln ('style="border-left:'+cellBorder+'px solid '+borderHighlight.split(",")[quant-1]+';border-top:'+cellBorder+'px solid '+borderHighlight.split(",")[quant-1]+';border-right:'+cellBorder+'px solid '+borderShadow.split(",")[quant-1]+';border-bottom:'+cellBorder+'px solid '+borderShadow.split(",")[quant-1]+';"');}
    document.writeln ('><div id="'+quant+'button'+x+'"><table border="0" cellpadding="'+cellPadding.split(",")[quant-1]+'" cellspacing="0" width="100%"><tr><td class="rcMenuStatic'+quant+'" id="'+quant+'cell'+x+'" nowrap>');
    document.writeln ('<a id="'+quant+'mainLink'+x+'" href="'+eval("Menu"+quant)[x][1]+'" target="'+eval("Menu"+quant)[x][2]+'" class="rcMenuStatic'+quant+'">'+eval("Menu"+quant)[x][0]+'</a></td>');
    if (subIndicate == 1&&eval("subMenu"+quant)[x].length>=1){
      document.writeln('<td class="rcMenuStatic'+quant+'" id="'+quant+'cell'+x+'a" align="right">');
      document.writeln ('<a id="'+quant+'mainLink'+x+'a" href="'+eval("Menu"+quant)[x][1]+'" target="'+eval("Menu"+quant)[x][2]+'" class="rcMenuStatic'+quant+'">'+indicator+'</a></td>');}
    document.writeln ('</tr></table></div></td>');
    if (orientation.toLowerCase()=="vertical") document.writeln('</tr>')
  }
  if (orientation.toLowerCase() == "vertical"){document.writeln ('</table>');}
  else{document.writeln ('</tr></table>');}
// Build the sub menu items
  for (x=0; x<eval("Menu"+quant).length; x++)
  {
    if (eval("subMenu"+quant)[x].length > 0)
    {
      document.writeln ('<div id="'+quant+'MENU'+x+'" style="visibility:hidden; position:absolute; z-index:2" >');
      document.writeln ('<table width="'+smenuWidth.split(",")[quant-1]+'" border="0" cellpadding="'+cellPadding.split(",")[quant-1]+'" cellspacing="'+styleBorder+'" bgColor="'+sborderColor.split(",")[quant-1]+'">');
      for (y=0; y<eval("subMenu"+quant)[x].length; y++)
      {
        document.writeln ('<tr>');
        if (eval("subMenu"+quant)[x][y][1].indexOf("#") != -1)
        {
          //document.writeln ('<td bgColor="'+eval("subMenu"+quant)[x][y][2]+'" id="'+quant+'subMenu'+x+y+'" onMouseOver="hoverMenu(); highlightMenu(\'sub\','+x+','+y+',\'\','+quant+')" nowrap')
          document.writeln ('<td id="'+quant+'subMenu'+x+y+'" class="rcSubMenuStatic'+quant+'" onMouseOver="hoverMenu(); highlightMenu(\'sub\','+x+','+y+',\'\','+quant+')" onMouseOut="clearMenu('+quant+','+x+');" onclick="tdMouseClick(\''+quant+'subLink'+x+y+'\')" nowrap')
          if (menuStyle.split(",")[quant-1].toLowerCase() == "3d"){document.writeln ('style="border-left:'+cellBorder+'px solid '+sborderHighlight.split(",")[quant-1]+';border-top:'+cellBorder+'px solid '+sborderHighlight.split(",")[quant-1]+';border-right:'+cellBorder+'px solid '+sborderShadow.split(",")[quant-1]+';border-bottom:'+cellBorder+'px solid '+sborderShadow.split(",")[quant-1]+';"');}
          //document.writeln ('><p style="font-family:'+sfontFace.split(",")[quant-1]+'; font-size:'+sfontSize.split(",")[quant-1]+'; color:'+eval("subMenu"+quant)[x][y][1]+'"id="'+quant+'subLink'+x+y+'">'+eval("subMenu"+quant)[x][y][0]+'</p></td></tr>');
          document.writeln ('><a id="'+quant+'subLink'+x+y+'" href="'+eval("subMenu"+quant)[x][y][1]+'" target="'+eval("subMenu"+quant)[x][y][2]+'" class="rcSubMenuStatic'+quant+'">'+eval("subMenu"+quant)[x][y][0]+'</a></td></tr>');
        }
        else
        {
          document.writeln ('<td id="'+quant+'subMenu'+x+y+'" class="rcSubMenuStatic'+quant+'" onMouseOver="hoverMenu(); highlightMenu(\'sub\','+x+','+y+',\'\','+quant+')" onMouseOut="clearMenu('+quant+','+x+');" onclick="tdMouseClick(\''+quant+'subLink'+x+y+'\')" nowrap')
          if (menuStyle.split(",")[quant-1].toLowerCase() == "3d"){document.writeln ('style="border-left:'+cellBorder+'px solid '+sborderHighlight.split(",")[quant-1]+';border-top:'+cellBorder+'px solid '+sborderHighlight.split(",")[quant-1]+';border-right:'+cellBorder+'px solid '+sborderShadow.split(",")[quant-1]+';border-bottom:'+cellBorder+'px solid '+sborderShadow.split(",")[quant-1]+';"');}
          document.writeln ('><a id="'+quant+'subLink'+x+y+'" href="'+eval("subMenu"+quant)[x][y][1]+'" target="'+eval("subMenu"+quant)[x][y][2]+'" class="rcSubMenuStatic'+quant+'">'+eval("subMenu"+quant)[x][y][0]+'</a></td></tr>');
        }
      }
      document.writeln ('</table></div>');
    }
  }
}
// Change colour or menu and submenu items when the mouse hovers over.
function highlightMenu(element,mainMenu,dropMenu,state,quant)
{
  hoverMenu();
  state=(state == "hover")?"rcMenuHover"+quant:"rcMenuStatic"+quant
  if (element == "sub")
  {
    for (x=0; x < eval("subMenu"+quant)[mainMenu].length; x++)
    {
      if (eval("subMenu"+quant)[mainMenu][x][1].indexOf("#") == -1){
        eval(obj+'("'+quant+'subMenu'+mainMenu+x+'").className = "rcSubMenuStatic'+quant+'"')
        eval(obj+'("'+quant+'subLink'+mainMenu+x+'").className = "rcSubMenuStatic'+quant+'"')
      }
    }
    if (eval("subMenu"+quant)[mainMenu][dropMenu][1].indexOf("#") == -1)  {
      eval(obj+'("'+quant+'subMenu'+mainMenu+dropMenu+'").className="rcSubMenuHover'+quant+'"')
      eval(obj+'("'+quant+'subLink'+mainMenu+dropMenu+'").className="rcSubMenuHover'+quant+'"')
    }
  }
  else
  {
    eval(obj+'("'+quant+'cell'+mainMenu+'").className = "'+state+'"')
    eval(obj+'("'+quant+'mainLink'+mainMenu+'").className = "'+state+'"')
    if (subIndicate == 1&&eval("subMenu"+quant)[mainMenu].length>=1)
    {
      eval(obj+'("'+quant+'cell'+mainMenu+'a").className = "'+state+'"')
      eval(obj+'("'+quant+'mainLink'+mainMenu+'a").className = "'+state+'"')
    }
  }
}
// Find positioning for sub menus
function getOffset(obj, dim)
{
  if(dim=="left")
  {
    oLeft = obj.offsetLeft;
    while(obj.offsetParent!=null)
    {
      oParent = obj.offsetParent
      oLeft += oParent.offsetLeft
      obj = oParent
    }
    return oLeft
  }
  else if(dim=="top")
  {
    oTop = obj.offsetTop;
    while(obj.offsetParent!=null)
    {
      oParent = obj.offsetParent
      oTop += oParent.offsetTop
      obj = oParent
    }
    return oTop
  }
  else if(dim=="width")
  {
    oWidth = obj.offsetWidth
    oWidth = varSubMenuLeftPos;
    return oWidth
  }
  else if(dim=="height")
  {
    oHeight = obj.offsetHeight
    return oHeight
  }
  else
  {
    alert("Error: invalid offset dimension '" + dim + "' in getOffset()")
    return false;
  }
}
// Show sub menus
function popDown(quant, param, id, orientation)
{
  var cellBorderOffset = (isNS6)?cellBorder:eval(cellBorder*2)
  var browserAdjustment = (isNS6)?cellBorder:0
  var menu;
  var button;

  if (id)
  {
    getOffset(eval(obj+'(id)'),'left');
    getOffset(eval(obj+'(id)'),'top');
    getOffset(eval(obj+'(id)'),'width');
    getOffset(eval(obj+'(id)'),'height');

    if (eval("Menu"+quant+"["+param+"][3]")=="right" && eval("subMenu"+quant+"["+param+"].length")>0)
    {
      oLeft=oLeft
      oLeft=oLeft+oWidth;
      getOffset(eval(obj+'("'+quant+'MENU'+param+'")'),'width');
      oLeft=oLeft-oWidth ;
      alignAdjustment = cellBorder*2 + 1
    }
    else
    {
      alignAdjustment = 0
      oLeft=oLeft
    }
  }


  n = 0;
  while (n < eval("Menu"+quant).length)
  {
    menu = quant+"MENU"+n
    if (param == n)
    {
      theObj = eval(obj+'(menu)');
      if (theObj)
      {
         theObj.style.visibility = "visible"
          if (orientation.toLowerCase()=="vertical"){
            theObj.style.left=(menuStyle.split(",")[quant-1].toLowerCase()=="flat")?oLeft+oWidth+cellBorder+parseInt(horizontalOffset.split(",")[quant-1]):oLeft+oWidth+cellBorderOffset+parseInt(horizontalOffset.split(",")[quant-1]);
            theObj.style.top=(menuStyle.split(",")[quant-1].toLowerCase()=="flat")?oTop-cellBorder+parseInt(verticalOffset.split(",")[quant-1]):oTop+parseInt(verticalOffset.split(",")[quant-1])-browserAdjustment}
          else{
            theObj.style.left=(menuStyle.split(",")[quant-1].toLowerCase()=="flat")?oLeft-cellBorder+parseInt(horizontalOffset.split(",")[quant-1])+alignAdjustment:oLeft+parseInt(horizontalOffset.split(",")[quant-1])-browserAdjustment+alignAdjustment;
            theObj.style.top=(menuStyle.split(",")[quant-1].toLowerCase()=="flat")?oTop+oHeight+cellBorder+parseInt(verticalOffset.split(",")[quant-1]):oTop+oHeight+cellBorderOffset+parseInt(verticalOffset.split(",")[quant-1]);}
        }

       highlightMenu('main',n,'','hover',quant)
       if (eval("subMenu"+quant)[param].length > 0)
       {
         for (x=0; x<eval("subMenu"+quant)[param].length; x++)
         {
           if(eval("subMenu"+quant)[param][x][1].indexOf("#") == -1){
             eval (obj+'("'+quant+'subMenu'+param+x+'").className = "rcSubMenuStatic'+quant+'"')
             eval (obj+'("'+quant+'subLink'+param+x+'").className = "rcSubMenuStatic'+quant+'"')
           }
         }
       }
    }
    else
    {
      for (x=1; x<quantity+1; x++)
      {
        menu = x+"MENU"+n
        //alert(menu)
        if (eval(obj+'(menu)'))
        {
          eval(obj+'(menu).style.visibility = "hidden"')
        }
        highlightMenu ('main',n,'','static',quant)
      }
    }

    n++
  }
}
// Re-set timer for sub menus
function hoverMenu()
{
  if(timer)
  clearTimeout(timer)
}
// Set timer for sub menus
function clearMenu(quant,menu)
{
  setDelay = subMenuDelay*100
  delay = (eval("subMenu"+quant)[menu].length > 0)?setDelay:1

  timer = setTimeout("popDown("+quant+","+(eval("Menu"+quant).length + 1)+")",delay)
}
// when you click the box, perform the same function as if the user had clicked the hyperlink
function tdMouseClick(theElement)
{
  eval(obj+'(theElement).click()')
}

//used by apt.html template files.
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
	
		button_top_over = newImage("images/button_top-over.gif");
				
		preloadFlag = true;
	}
}

function preloadImages(argshowDisclaimer) {
	if (document.images) {
	
		button_top_over = newImage("images/button_top-over.gif");
				
		preloadFlag = true;
	}
	if (argshowDisclaimer=="showDisclaimer")
	{
	showDisclaimer();
	}
}




function CreateAllMenu()
{
	MasterMenuName1[0]= new Array("HOME")
	MasterMenuLink1[0]= new Array("index.html")
		MasterSubMenuName1[0] = new Array()
		MasterSubMenuLink1[0] = new Array()

	MasterMenuName1[1]= new Array("ABOUT HDC")
	MasterMenuLink1[1]= new Array("about/aboutindex.html")
	
		MasterSubMenuName1[1] = new Array()
		MasterSubMenuLink1[1] = new Array()

		MasterSubMenuName1[1][0] = new Array ("What is HDC?")
		MasterSubMenuName1[1][1] = new Array ("Accomplishments")
		MasterSubMenuName1[1][2] = new Array ("History of HDC")
		MasterSubMenuName1[1][3] = new Array ("Annual Reports")
		MasterSubMenuName1[1][4] = new Array ("HDC Leadership")
		MasterSubMenuName1[1][5] = new Array ("Subsidiaries")
		MasterSubMenuName1[1][6] = new Array ("HDC Board Info")

		MasterSubMenuLink1[1][0] = new Array ("about/about.html")
		MasterSubMenuLink1[1][1] = new Array ("about/ca.html")
		MasterSubMenuLink1[1][2] = new Array ("about/History.html")
		MasterSubMenuLink1[1][3] = new Array ("about/ar.html?a=About")
		MasterSubMenuLink1[1][4] = new Array ("about/hdc_gb.html?a=About")
		MasterSubMenuLink1[1][5] = new Array ("about/subsidiaries.html")
		MasterSubMenuLink1[1][6] = new Array ("about/boarddocs.html")
		

	MasterMenuName1[2]= new Array("APARTMENT SEEKERS")
	MasterMenuLink1[2]= new Array("ApartmentSeekers/apartmentseekersindex.html")
		MasterSubMenuName1[2] = new Array()
		MasterSubMenuLink1[2] = new Array()


		MasterSubMenuName1[2][0] = new Array ("Program Finder")
		MasterSubMenuName1[2][1] = new Array ("FAQs")
		MasterSubMenuName1[2][2] = new Array ("Now Renting")
		MasterSubMenuName1[2][3] = new Array ("Future Developments")
		MasterSubMenuName1[2][4] = new Array ("Low-Income Rentals")
		MasterSubMenuName1[2][5] = new Array ("Middle-Income Rentals")
		MasterSubMenuName1[2][6] = new Array ("Apartments for Sale")

		MasterSubMenuLink1[2][0] = new Array ("ApartmentSeekers/AMIcalc.asp")
		MasterSubMenuLink1[2][1] = new Array ("ApartmentSeekers/faq.html")
		MasterSubMenuLink1[2][2] = new Array ("ApartmentSeekers/Applications.html")
		MasterSubMenuLink1[2][3] = new Array ("ApartmentSeekers/Future_developments.html")
		MasterSubMenuLink1[2][4] = new Array ("ApartmentSeekers/LI_Rental.html")
		MasterSubMenuLink1[2][5] = new Array ("ApartmentSeekers/MI_Rental.html")
		MasterSubMenuLink1[2][6] = new Array ("ApartmentSeekers/AS.html")

	MasterMenuName1[3]= new Array("INVESTORS")
	MasterMenuLink1[3]= new Array("BondArchives/investorindex.html")
		MasterSubMenuName1[3] = new Array()
		MasterSubMenuLink1[3] = new Array()

		MasterSubMenuName1[3][0] = new Array ("Official Statements")
		MasterSubMenuName1[3][1] = new Array ("Material Event Notices")
		MasterSubMenuName1[3][2] = new Array ("Annual Information")
		MasterSubMenuName1[3][3] = new Array ("Annual Reports")
		MasterSubMenuName1[3][4] = new Array ("Credit Ratings")
		MasterSubMenuName1[3][5] = new Array ("Press Releases")
		MasterSubMenuName1[3][6] = new Array ("Development Programs")
		MasterSubMenuName1[3][7] = new Array ("HDC Leadership")
		MasterSubMenuName1[3][8] = new Array ("Public Reports")
		MasterSubMenuName1[3][9] = new Array ("Contact")

		MasterSubMenuLink1[3][0] = new Array ("BondArchives/BondArchivesDisclaimer.html")
		MasterSubMenuLink1[3][1] = new Array ("BondArchives/MaterialEventNotices.html")		
		MasterSubMenuLink1[3][2] = new Array ("BondArchives/AnnualInformation.html")
		MasterSubMenuLink1[3][3] = new Array ("about/ar.html?a=Investor")
		MasterSubMenuLink1[3][4] = new Array ("BondArchives/Ratings.html")		
		MasterSubMenuLink1[3][5] = new Array ("Pressroom/PR2010.html?a=Investor")		
		MasterSubMenuLink1[3][6] = new Array ("program/program_page.htm?a=Investor#p4")
		MasterSubMenuLink1[3][7] = new Array ("about/hdc_gb.html?a=Investor")
		MasterSubMenuLink1[3][8] = new Array ("PublicReport/Publicreports.html")
		MasterSubMenuLink1[3][9] = new Array ("BondArchives/Contacts.html")

	MasterMenuName1[4]= new Array("DOING BUSINESS WITH HDC")
	MasterMenuLink1[4]= new Array("developers/developersindex.html")
		MasterSubMenuName1[4] = new Array()
		MasterSubMenuLink1[4] = new Array()
		
		MasterSubMenuName1[4][0] = new Array ("Program Term Sheets")
		MasterSubMenuName1[4][1] = new Array ("Marketing Guidelines")
		MasterSubMenuName1[4][2] = new Array ("Forms")
		MasterSubMenuName1[4][3] = new Array ("Procurement Guidelines")

		MasterSubMenuLink1[4][0] = new Array ("developers/developer_page.htm")
		MasterSubMenuLink1[4][1] = new Array ("developers/marketing_guidelines.html")
		MasterSubMenuLink1[4][2] = new Array ("developers/Forms.htm")
		MasterSubMenuLink1[4][3] = new Array ("developers/procurement_guidelines.html")

	MasterMenuName1[5]= new Array("PROGRAMS")
	MasterMenuLink1[5]= new Array("program/program_page.htm?a=Programs#p4")
		MasterSubMenuName1[5] = new Array()
		MasterSubMenuLink1[5] = new Array()
		
		MasterSubMenuName1[5][0] = new Array ("LAMP")
		MasterSubMenuName1[5][1] = new Array ("New Hop")
		MasterSubMenuName1[5][2] = new Array ("Mixed-Income")
		MasterSubMenuName1[5][3] = new Array ("80/20")
		MasterSubMenuName1[5][4] = new Array ("Coops")
		MasterSubMenuName1[5][5] = new Array ("Mitchell-Lama")
		MasterSubMenuName1[5][6] = new Array ("LAMP Preservation")
		MasterSubMenuName1[5][7] = new Array ("New Housing Marketplace")
		
		
		MasterSubMenuLink1[5][0] = new Array ("program/program_page.htm?a=Programs#p4")
		MasterSubMenuLink1[5][1] = new Array ("program/program_page.htm?a=Programs#p8")
		MasterSubMenuLink1[5][2] = new Array ("program/program_page.htm?a=Programs#p7")
		MasterSubMenuLink1[5][3] = new Array ("program/program_page.htm?a=Programs#p1")
		MasterSubMenuLink1[5][4] = new Array ("program/program_page.htm?a=Programs#p3")
		MasterSubMenuLink1[5][5] = new Array ("program/program_page.htm?a=Programs#p6")
		MasterSubMenuLink1[5][6] = new Array ("program/program_page.htm?a=Programs#p2")
		MasterSubMenuLink1[5][7] = new Array ("program/program_page.htm?a=Programs#p9")
		

	MasterMenuName1[6]= new Array("PRESS ROOM")
	MasterMenuLink1[6]= new Array("PressRoom/PressRoomindex.html")
		MasterSubMenuName1[6] = new Array()
		MasterSubMenuLink1[6] = new Array()

		MasterSubMenuName1[6][0] = new Array ("In The News")
		MasterSubMenuName1[6][1] = new Array ("Press Releases")
		MasterSubMenuName1[6][2] = new Array ("Meetings and Events")
		MasterSubMenuName1[6][3] = new Array ("Recent Awards")
		MasterSubMenuName1[6][4] = new Array ("Register with HDC")

		MasterSubMenuLink1[6][0] = new Array ("PressRoom/IntheNews.html")
		MasterSubMenuLink1[6][1] = new Array ("PressRoom/PR2010.html?a=PressRoom")
		MasterSubMenuLink1[6][2] = new Array ("PressRoom/PublicMeetingsEvents.html")
		MasterSubMenuLink1[6][3] = new Array ("PressRoom/RecentAwards.html")
		MasterSubMenuLink1[6][4] = new Array ("PressRoom/RegisterforPressReleases.asp")

	MasterMenuName1[7]= new Array("FEATURED DEVELOPMENTS")
	MasterMenuLink1[7]= new Array("Featured_Development/featuredev.html")
		MasterSubMenuName1[7] = new Array()
		MasterSubMenuLink1[7] = new Array()

	MasterMenuName1[8]= new Array("OTHER RESOURCES")
	MasterMenuLink1[8]= new Array("OtherResources/Publications.html")
		MasterSubMenuName1[8] = new Array()
		MasterSubMenuLink1[8] = new Array()

		MasterSubMenuName1[8][0] = new Array ("Publications / Research")
		MasterSubMenuName1[8][1] = new Array ("Useful Links")

		MasterSubMenuLink1[8][0] = new Array ("OtherResources/Publications.html")
		MasterSubMenuLink1[8][1] = new Array ("OtherResources/FavoriteLinks.html")

	MasterMenuName1[9]= new Array("EN ESPA&Ntilde;OL")
	MasterMenuLink1[9]= new Array("en_espanol.html")
		MasterSubMenuName1[9] = new Array()
		MasterSubMenuLink1[9] = new Array()

	MasterMenuName1[10]= new Array("EXTRANET")
	MasterMenuLink1[10]= new Array("http://www.nychdc.com/logon.htm")
		MasterSubMenuName1[10] = new Array()
		MasterSubMenuLink1[10] = new Array()
		return;
}

function SetCookie() {
 var today = new Date();
 var expire = new Date();
 expire.setTime(today.getTime() + 3600000*24*10000);
 document.cookie = "BondArchives"+"="+escape("IAgree")
                 + ";expires="+expire.toGMTString();
}

function GetCookie( name ) {
	
var start = document.cookie.indexOf( name + "=" );
var len = start + name.length + 1;
if ( ( !start ) &&
( name != document.cookie.substring( 0, name.length ) ) )
{
return null;
}
if ( start == -1 ) return null;
var end = document.cookie.indexOf( ";", len );
if ( end == -1 ) end = document.cookie.length;
return unescape( document.cookie.substring( len, end ) );
}

function IAgree()
{
	SetCookie()
	location.replace('../BondArchives/OfficialStatements.html');
}
function showDisclaimer()
{
	if (GetCookie("BondArchives") == null)
	{
		return;
	}
	else
	{
		location.replace('../BondArchives/OfficialStatements.html');
	}
	//document.location='../ApartmentSeekers/LI_StatenIsland.html';
}

function createMenuArrays1(varMenuType)
{
	var MenuCount=0;
	var MasterMenuCount=0;
	var SubMenuCount=0;
	var SubSubMenuCount=0;
	var menuText='';
	CreateAllMenu();
	
	for (MasterMenuCount=0; MasterMenuCount < MasterMenuName1.length; MasterMenuCount++)
	{
		if (varMenuType==999)
		{
			Menu1[MenuCount] = new Array("<img src='images/gray.gif' border='0' alt='' width='145' height='1'><br><img src='images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='images/spacer.gif' border='0' alt='' width='15' height='1'>"+ MasterMenuName1[MasterMenuCount] + "<br><img src='images/spacer.gif' border='0' alt='' width='1' height='9'><br>", "" + MasterMenuLink1[MasterMenuCount] + "","_top", "left")
		}
		else
		{
			if (MasterMenuName1[MasterMenuCount]!="EXTRANET")
			{
				Menu1[MenuCount] = new Array("<img src='../images/gray.gif' border='0' alt='' width='145' height='1'><br><img src='images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../images/spacer.gif' border='0' alt='' width='15' height='1'>"+ MasterMenuName1[MasterMenuCount] + "<br><img src='../images/spacer.gif' border='0' alt='' width='1' height='9'><br>", "../" + "" + MasterMenuLink1[MasterMenuCount] + "","_top", "left")
			}
			else
			{
				Menu1[MenuCount] = new Array("<img src='../images/gray.gif' border='0' alt='' width='145' height='1'><br><img src='images/spacer.gif' border='0' alt='' width='1' height='9'><br><img src='../images/spacer.gif' border='0' alt='' width='15' height='1'>"+ MasterMenuName1[MasterMenuCount] + "<br><img src='../images/spacer.gif' border='0' alt='' width='1' height='9'><br>", "" + MasterMenuLink1[MasterMenuCount] + "","_top", "left")
			}
		}
		subMenu1[MenuCount] = new Array()

		if (varMenuType==MenuCount)
		{
			for (SubSubMenuCount=0; SubSubMenuCount < MasterSubMenuName1[varMenuType].length; SubSubMenuCount++)
			{
				MenuCount=MenuCount+1;
				menuText=menuText+MasterSubMenuLink1[varMenuType][SubSubMenuCount];
				if (menuText.indexOf("#") != -1)
				{
					Menu1[MenuCount] = new Array("<img src='images/spacer.gif' border='0' alt='' width='25' height='1'><a href='../" + MasterSubMenuLink1[varMenuType][SubSubMenuCount]  +  "' class=subnav> " + MasterSubMenuName1[varMenuType][SubSubMenuCount] + "</a><br><img src='images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","", "left")
				}
				else
				{
					Menu1[MenuCount] = new Array("<img src='images/spacer.gif' border='0' alt='' width='25' height='1'><a href='../" + MasterSubMenuLink1[varMenuType][SubSubMenuCount]  +  "' class=subnav> " + MasterSubMenuName1[varMenuType][SubSubMenuCount] + "</a><br><img src='images/spacer.gif' border='0' alt='' width='1' height='7'><br>", "#","_top", "left")
				}
				subMenu1[MenuCount] = new Array()
			}

		}
		else
		{
			if (varMenuType==999)
			{
				for (SubSubMenuCount=0; SubSubMenuCount < MasterSubMenuName1[MasterMenuCount].length; SubSubMenuCount++)
				{
					menuText=menuText+MasterSubMenuLink1[MasterMenuCount][SubSubMenuCount];
					if (menuText.indexOf("#") != -1)
					{
						subMenu1[MenuCount][SubSubMenuCount] = new Array ("<img src='images/spacer.gif' border='0' alt='' width='1' height='7'><br><img src='images/spacer.gif' border='0' alt='' width='10' height='1'>" + MasterSubMenuName1[MasterMenuCount][SubSubMenuCount] + "<img src='images/spacer.gif' border='0' alt='' width='15' height='1'><img src='images/spacer.gif' border='0' alt='' width='10' height='1'><br><img src='images/gray.gif' border='0' alt='' width='145' height='1'><img src='images/spacer.gif' border='0' alt='' width='1' height='7'><img src='images/spacer.gif' border='0' alt='' width='10' height='1'>",""+MasterSubMenuLink1[MasterMenuCount][SubSubMenuCount]+"","")
					}
					else
					{
						subMenu1[MenuCount][SubSubMenuCount] = new Array ("<img src='images/spacer.gif' border='0' alt='' width='1' height='7'><br><img src='images/spacer.gif' border='0' alt='' width='10' height='1'>" + MasterSubMenuName1[MasterMenuCount][SubSubMenuCount] + "<img src='images/spacer.gif' border='0' alt='' width='15' height='1'><img src='images/spacer.gif' border='0' alt='' width='10' height='1'><br><img src='images/gray.gif' border='0' alt='' width='145' height='1'><img src='images/spacer.gif' border='0' alt='' width='1' height='7'><img src='images/spacer.gif' border='0' alt='' width='10' height='1'>",""+MasterSubMenuLink1[MasterMenuCount][SubSubMenuCount]+"","_top")
					}
				}
			}
			else
			{
				for (SubSubMenuCount=0; SubSubMenuCount < MasterSubMenuName1[MasterMenuCount].length; SubSubMenuCount++)
				{
					menuText=menuText+MasterSubMenuLink1[MasterMenuCount][SubSubMenuCount];
					if (menuText.indexOf('#') != -1)
					{
						subMenu1[MenuCount][SubSubMenuCount] = new Array ("<img src='../images/spacer.gif' border='0' alt='' width='1' height='7'><br><img src='../images/spacer.gif' border='0' alt='' width='10' height='1'>" + MasterSubMenuName1[MasterMenuCount][SubSubMenuCount] + "<img src='../images/spacer.gif' border='0' alt='' width='15' height='1'><img src='../images/spacer.gif' border='0' alt='' width='1' height='7'><br><img src='../images/gray.gif' border='0' alt='' width='145' height='1'><img src='../images/spacer.gif' border='0' alt='' width='1' height='7'><img src='../images/spacer.gif' border='0' alt='' width='10' height='1'>",""+"../"+MasterSubMenuLink1[MasterMenuCount][SubSubMenuCount]+"","")
					}
					else
					{
						subMenu1[MenuCount][SubSubMenuCount] = new Array ("<img src='../images/spacer.gif' border='0' alt='' width='1' height='7'><br><img src='../images/spacer.gif' border='0' alt='' width='10' height='1'>" + MasterSubMenuName1[MasterMenuCount][SubSubMenuCount] + "<img src='../images/spacer.gif' border='0' alt='' width='1' height='7'><img src='../images/spacer.gif' border='0' alt='' width='10' height='1'><br><img src='../images/gray.gif' border='0' alt='' width='145' height='1'><img src='../images/spacer.gif' border='0' alt='' width='1' height='7'><img src='../images/spacer.gif' border='0' alt='' width='10' height='1'>",""+"../"+MasterSubMenuLink1[MasterMenuCount][SubSubMenuCount]+"","_top")
					}
				}
			}
		}
		MenuCount=MenuCount+1;
	}
}
//-->

function checkNum(field) {

  var isNum = true;
  var toCheck = field.value;
  if ((toCheck == null) || (toCheck == "")) {

    isNum = false;

    return isNum;

  }

  for (j = 0; j < toCheck.length; j++) {

    if ((toCheck.substring(j,j+1) != "0") &&

        (toCheck.substring(j,j+1) != "1") &&

        (toCheck.substring(j,j+1) != "2") &&

        (toCheck.substring(j,j+1) != "3") &&

        (toCheck.substring(j,j+1) != "4") &&

        (toCheck.substring(j,j+1) != "5") &&

        (toCheck.substring(j,j+1) != "6") &&

        (toCheck.substring(j,j+1) != "7") &&

        (toCheck.substring(j,j+1) != "8") &&

        (toCheck.substring(j,j+1) != "9")){

      isNum = false;
  }

  }
  if (!isNum)
  {
	alert("Enter a valid whole number");
	field.focus();field.select();
	field.value = "";
  }  
  return isNum;

}


function noText(e)
 {
   if (e.keyCode < 48 || e.keyCode > 57 ) 
   {
   return false;
   }
 }

function Phone(e)
 {
   if (e.keyCode == 45 ) 
   {
      return true; 
   }
   if (e.keyCode < 48 || e.keyCode > 57 ) 
   {
   return false;
   }
 }

function showme(link1)
{
//alert(link1.value)
//window.location.href="http://www.yahoo.com";
}


function sendme()
{
window.location.href="http://www.yahoo.com";
}


function sendback()
{
history.go(-1);
}

 

var qsParm = new Array();
function qs() {
var query = window.location.search.substring(1);
var parms = query.split('&');
for (var i=0; i<parms.length; i++) {
   var pos = parms[i].indexOf('=');
   if (pos > 0) {
      var key = parms[i].substring(0,pos);
      var val = parms[i].substring(pos+1);
      return val;
      }
   }
}


function Headerimg()
{
if (qs()=="prntPage")
{
   document.writeln ('<img src="../images/spacer.gif" border="0" alt="" width="610" height="48"><br>');
}
else {
   document.writeln ('<img src="../images/banner_top.jpg" border="0" alt="" width="610" height="48"><br>');
}
}


function Developerimg()
{
if (qs()=="prntPage")
{
   document.writeln ('<IMG SRC="../images/spacer.gif" ALT="" border="0" hspace="0" align="right" width="281" height="55"><br>');
}
else {
   document.writeln ('<IMG SRC="../images/devcom.gif" ALT="" border="0" hspace="0" align="right" width="281" height="55"><br>');
}
}


function PrinterFriendlytop()
{
if (qs()=="prntPage")
{
   document.writeln ('<a href="MI_Bronx.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a href="MI_Bronx.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="MI_Bronx.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottom()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="MI_Bronx.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="MI_Bronx.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}


function HomeFooter()
{
   document.writeln ('<table bgcolor="#F3A962" height="100%" BORDER=0 CELLPADDING=0 CELLSPACING=0>');
   document.writeln ('<tr>');
   document.writeln ('<td valign="top">');
   document.writeln ('<img src="images/spacer.gif" width="170" height="1" alt="" border="0"><br>');
   document.writeln ('</td>');
   document.writeln ('<td valign="top" align="center" width="650">');
   document.writeln ('<a href="index.html" class="bottomnav">HOME</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="contact/Contact.htm" class="bottomnav">CONTACT US</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="PrivacyPolicy/Privacy.htm" class="bottomnav">PRIVACY POLICY</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="join/JoinUs.htm" class="bottomnav">JOIN US</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="logon.htm" class="bottomnav">EXTRANET</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="siteindex.htm" class="bottomnav">SITE INDEX</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="contact/confidentialhotline.htm" class="bottomnav">DOI</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="http://www.nyc.gov/portal/site/nycgov/" class="bottomnav">NYC GOV</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="dr/logon.aspx" class="bottomnav">HDC DR</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('</td>');
   document.writeln ('</tr>');
   document.writeln ('</table>');
}


function PrinterFooter()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<table bgcolor="#F3A962" height="100%" BORDER=0 CELLPADDING=0 CELLSPACING=0>');
   document.writeln ('<tr>');
   document.writeln ('<td valign="top">');
   document.writeln ('<img src="images/spacer.gif" width="170" height="1" alt="" border="0"><br>');
   document.writeln ('</td>');
   document.writeln ('<td valign="top" align="center" width="650">');
   document.writeln ('<a href="index.html" class="bottomnav">HOME</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="contact/Contact.htm" class="bottomnav">CONTACT US</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="PrivacyPolicy/Privacy.htm" class="bottomnav">PRIVACY POLICY</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="join/JoinUs.htm" class="bottomnav">JOIN US</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="logon.htm" class="bottomnav">EXTRANET</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="siteindex.htm" class="bottomnav">SITE INDEX</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="contact/confidentialhotline.htm" class="bottomnav">DOI</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="http://www.nyc.gov/portal/site/nycgov/" class="bottomnav">NYC GOV</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('</td>');
   document.writeln ('</tr>');
   document.writeln ('</table>');
}
}


function PrinterFootersub()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<table bgcolor="#F3A962" height="100%" BORDER=0 CELLPADDING=0 CELLSPACING=0>');
   document.writeln ('<tr>');
   document.writeln ('<td valign="top">');
   document.writeln ('<img src="images/spacer.gif" width="170" height="1" alt="" border="0"><br>');
   document.writeln ('</td>');
   document.writeln ('<td valign="top" align="center" width="650">');
   document.writeln ('<a href="../index.html" class="bottomnav">HOME</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="../contact/Contact.htm" class="bottomnav">CONTACT US</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="../PrivacyPolicy/Privacy.htm" class="bottomnav">PRIVACY POLICY</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="../join/JoinUs.htm" class="bottomnav">JOIN US</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="../logon.htm" class="bottomnav">EXTRANET</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="../siteindex.htm" class="bottomnav">SITE INDEX</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="../contact/confidentialhotline.htm" class="bottomnav">DOI</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('<a href="http://www.nyc.gov/portal/site/nycgov/" class="bottomnav">NYC GOV</a><img src="images/spacer.gif" width="10" height="1" alt="" border="0">');
   document.writeln ('</td>');
   document.writeln ('</tr>');
   document.writeln ('</table>');
}
}

function PrinterBronx()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="MI_Bronx.html">Bronx</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="420" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="MI_Bronx.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlinkon" href="MI_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a class="mediumlink" href="MI_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="MI_Manhattan.html">Manhattan</a> &nbsp;|&nbsp; <a class="mediumlink" href="MI_Queens.html">Queens</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="MI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="MI_Bronx.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="MI_Bronx.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterBronxLI()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="LI_Bronx.html">Bronx</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="420" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="LI_Bronx.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlinkon" href="LI_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a class="mediumlink" href="LI_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="LI_Manhattan.html">Manhattan</a> &nbsp;|&nbsp; <a class="mediumlink" href="LI_Queens.html">Queens</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="LI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="LI_Bronx.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="LI_Bronx.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterBronxAS()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="AS_Bronx.html">Bronx</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="420" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_Bronx.html">Back to the previous page</a><br>');
}
else {

   document.writeln ('<a class="mediumlinkon" href="AS_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a class="mediumlink" href="AS_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_Manhattan.html">Manhattan</a>  &nbsp;|&nbsp; <a class="mediumlink" href="AS_Queens.html">Queens</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_Bronx.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="AS_Bronx.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterBrooklyn()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="MI_Brooklyn.html">Brooklyn</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="410" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="MI_Brooklyn.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlink" href="MI_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a class="mediumlinkon" href="MI_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="MI_Manhattan.html">Manhattan</a> &nbsp;|&nbsp; <a class="mediumlink" href="MI_Queens.html">Queens</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="MI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="MI_Brooklyn.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="MI_Brooklyn.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterBrooklynLI()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="LI_Brooklyn.html">Brooklyn</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="410" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="LI_Brooklyn.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlink" href="LI_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a class="mediumlinkon" href="LI_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="LI_Manhattan.html">Manhattan</a> &nbsp;|&nbsp; <a class="mediumlink" href="LI_Queens.html">Queens</a>  &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="LI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="LI_Brooklyn.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="LI_Brooklyn.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterBrooklynAS()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="AS_Brooklyn.html">Brooklyn</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="360" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_Brooklyn.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlinkon" href="AS_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_Manhattan.html">Manhattan</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="220" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_Brooklyn.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="AS_Brooklyn.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}


function PrinterManhattan()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="MI_Manhattan.html">Manhattan</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="400" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="MI_Manhattan.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlink" href="MI_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a class="mediumlink" href="MI_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlinkon" href="MI_Manhattan.html">Manhattan</a> &nbsp;|&nbsp; <a class="mediumlink" href="MI_Queens.html">Queens</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="MI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="MI_Manhattan.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="MI_Manhattan.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterManhattanLI()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="LI_Manhattan.html">Manhattan</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="400" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="LI_Manhattan.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlink" href="LI_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a class="mediumlink" href="LI_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlinkon" href="LI_Manhattan.html">Manhattan</a>  &nbsp;|&nbsp; <a class="mediumlink" href="LI_Queens.html">Queens</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="LI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="LI_Manhattan.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="LI_Manhattan.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterManhattanAS()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="AS_Manhattan.html">Manhattan</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="395" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_Manhattan.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlink" href="AS_Bronx.html">Bronx</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlinkon" href="AS_Manhattan.html">Manhattan</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="180" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_Manhattan.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="AS_Manhattan.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterQueens()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="MI_Queens.html">Queens</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="410" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="MI_Queens.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlink" href="MI_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a class="mediumlink" href="MI_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="MI_Manhattan.html">Manhattan</a> &nbsp;|&nbsp; <a class="mediumlinkon" href="MI_Queens.html">Queens</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="MI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="MI_Queens.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="MI_Queens.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterQueensLI()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="LI_Queens.html">Queens</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="410" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="LI_Queens.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlink" href="LI_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a class="mediumlink" href="LI_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="LI_Manhattan.html">Manhattan</a>  &nbsp;|&nbsp; <a class="mediumlinkon" href="LI_Queens.html">Queens</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="LI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="LI_Queens.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="LI_Queens.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterQueensAS()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="AS_Queens.html">Queens</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="395" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_Queens.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlink" href="AS_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a class="mediumlink" href="AS_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_Manhattan.html">Manhattan</a> &nbsp;|&nbsp; <a class="mediumlinkon" href="AS_Queens.html">Queens</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_Queens.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="AS_Queens.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterStatenIsland()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="MI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="380" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="MI_StatenIsland.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlink" href="MI_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a class="mediumlink" href="MI_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="MI_Manhattan.html">Manhattan</a> &nbsp;|&nbsp; <a class="mediumlink" href="MI_Queens.html">Queens</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlinkon" href="MI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="MI_StatenIsland.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="MI_StatenIsland.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterStatenIslandLI()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="LI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="380" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="LI_StatenIsland.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlink" href="LI_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a class="mediumlink" href="LI_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="LI_Manhattan.html">Manhattan</a> &nbsp;|&nbsp; <a class="mediumlink" href="LI_Queens.html">Queens</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlinkon" href="LI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="LI_StatenIsland.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="LI_StatenIsland.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterStatenIslandAS()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="AS_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="360" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_StatenIsland.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlink" href="AS_Bronx.html">Bronx</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_Manhattan.html">Manhattan</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlinkon" href="AS_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="180" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_StatenIsland.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="AS_StatenIsland.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}

function PrinterBrooklynAS()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="AS_Brooklyn.html">Brooklyn</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="360" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_Brooklyn.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlink" href="AS_Bronx.html">Bronx</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlinkon" href="AS_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_Manhattan.html">Manhattan</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="180" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_Brooklyn.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="AS_Brooklyn.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}
function PrinterBronxAS1()
{
if (qs()=="prntPage")
{
   document.writeln ('<a class="mediumlinkon" href="AS_Bronx.html">Bronx</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="360" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_Bronx.html">Back to the previous page</a><br>');
}
else {
   document.writeln ('<a class="mediumlinkon" href="AS_Bronx.html">Bronx</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_Manhattan.html">Manhattan</a> &nbsp;|&nbsp;');
   document.writeln ('<a class="mediumlink" href="AS_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="180" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<a href="AS_Bronx.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="AS_Bronx.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}
}


function PrinterFriendlybottomMIBx()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="MI_Bronx.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="MI_Bronx.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomLIBx()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="LI_Bronx.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="LI_Bronx.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomASBx()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="AS_Bronx.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="AS_Bronx.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomMIBr()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="MI_Brooklyn.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="MI_Brooklyn.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomLIBr()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="LI_Brooklyn.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="LI_Brooklyn.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomASBr()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="AS_Brooklyn.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="AS_Brooklyn.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomMIMn()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="MI_Manhattan.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="MI_Manhattan.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomLIMn()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="LI_Manhattan.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="LI_Manhattan.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomASMn()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="AS_Manhattan.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="AS_Manhattan.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomMIQu()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="MI_Queens.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="MI_Queens.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomLIQu()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="LI_Queens.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="LI_Queens.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomASQu()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="AS_Queens.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="AS_Queens.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomMISi()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="MI_StatenIsland.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="MI_StatenIsland.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomLISi()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="LI_StatenIsland.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="LI_StatenIsland.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomASSi()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="AS_StatenIsland.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="AS_StatenIsland.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function PrinterFriendlybottomASBr()
{
if (qs()=="prntPage")
{
   return;
}
else {
   document.writeln ('<br><a href="AS_Brooklyn.html?a=prntPage">Printer Friendly Version</a>');
   document.writeln ('<a href="AS_Brooklyn.html?a=prntPage"><IMG SRC="../images/printer.jpg" ALT="" border="0"></a><br>');
}
}

function poponload(link1)
{
testwindow= window.open (link1, "mywindow","location=0,status=0,scrollbars=1,width=550,height=400");
testwindow.moveTo(200,200);
//return false;
}

function Submenuselection()
{
if (qs()=="About")
{
   showMenus(1,'Vertical',AboutUs);
}
else if (qs()=="Investor")
 {
   showMenus(1,'Vertical',BondArchives);
}
else if (qs()=="PressRoom")
 {
   showMenus(1,'Vertical',PressRoom);
}
else if (qs()=="Programs")
 {
   showMenus(1,'Vertical',Programs);
}
else 
 {
   showMenus(1,'Vertical',999);
}
}


function LIRENTAL()
{
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
   document.writeln ('<a href="LI_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a href="LI_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a href="LI_Manhattan.html">Manhattan</a> &nbsp;|&nbsp; <a href="LI_Queens.html">Queens</a> &nbsp;|&nbsp;');
   document.writeln ('<a href="LI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');

}

function MIRENTAL()
{
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
   document.writeln ('<a href="MI_Bronx.html">Bronx</a> &nbsp;|&nbsp; <a href="MI_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a href="MI_Manhattan.html">Manhattan</a> &nbsp;|&nbsp; <a href="MI_Queens.html">Queens</a> &nbsp;|&nbsp;');
   document.writeln ('<a href="MI_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}

function AS_BORO()
{
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
   document.writeln ('<a  href="AS_Bronx.html">Bronx</a> &nbsp;|&nbsp;');
   document.writeln ('<a  href="AS_Brooklyn.html">Brooklyn</a> &nbsp;|&nbsp;');
   document.writeln ('<a  href="AS_Manhattan.html">Manhattan</a> &nbsp;|&nbsp;');
   document.writeln ('<a  href="AS_StatenIsland.html">Staten Island</a>');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="120" HEIGHT="1" ALT="" border="0">');
   document.writeln ('<IMG SRC="../images/spacer.gif" WIDTH="1" HEIGHT="11" ALT="" border="0"><br>');
}

function submitform_asp4()
{
    if ((document.form1a.passwd.value !="nychdcgood"))
	 {
	  alert("Incorrect password entered.");
	  return false;
	  }
    else 
	   { 
	   return true;
	   }
}

function DetectBlackBerry()
{
//   var deviceBB = "blackberry";
//   var uagent = navigator.userAgent.toLowerCase();
   if (screen.width < 800)
    {
window.location.href="http://www.nychdc.com/mobiletest.htm";
     }
  

}
function DetectBlackBerry2()
{
   var deviceBB = "blackberry";
   var uagent = navigator.userAgent.toLowerCase();
   if (uagent.search(deviceBB) > -1)
    {
window.location.href="http://www.nychdc.com/mobiletest.htm";
     }
   else
	 {
window.location.href="http://www.nychdc.com/mobilereg.htm";
	  }

}
