function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function GP_popupConfirmMsg(msg) { //v1.0
  document.MM_returnValue = confirm(msg);
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_showMenu(menu, x, y, child, imgname) {
	if (!window.mmWroteMenu) return;
	MM_clearTimeout();
	if (menu) {
		var obj = FIND(imgname) || document.images[imgname] || document.links[imgname] || document.anchors[imgname];
		x = moveXbySlicePos (x, obj);
		y = moveYbySlicePos (y, obj);
	}
	if (document.layers) {
		if (menu) {
			var l = menu.menuLayer || menu;
			l.top = l.left = 1;
			hideActiveMenus();
			if (this.visibility) l = this;
			window.ActiveMenu = l;
		} else {
			var l = child;
		}
		if (!l) return;
		for (var i=0; i<l.layers.length; i++) { 			   
			if (!l.layers[i].isHilite) l.layers[i].visibility = "inherit";
			if (l.layers[i].document.layers.length > 0) MM_showMenu(null, "relative", "relative", l.layers[i]);
		}
		if (l.parentLayer) {
			if (x != "relative") l.parentLayer.left = x || window.pageX || 0;
			if (l.parentLayer.left + l.clip.width > window.innerWidth) l.parentLayer.left -= (l.parentLayer.left + l.clip.width - window.innerWidth);
			if (y != "relative") l.parentLayer.top = y || window.pageY || 0;
			if (l.parentLayer.isContainer) {
				l.Menu.xOffset = window.pageXOffset;
				l.Menu.yOffset = window.pageYOffset;
				l.parentLayer.clip.width = window.ActiveMenu.clip.width +2;
				l.parentLayer.clip.height = window.ActiveMenu.clip.height +2;
				if (l.parentLayer.menuContainerBgColor && l.Menu.menuBgOpaque ) l.parentLayer.document.bgColor = l.parentLayer.menuContainerBgColor;
			}
		}
		l.visibility = "inherit";
		if (l.Menu) l.Menu.container.visibility = "inherit";
	} else if (FIND("menuItem0")) {
		var l = menu.menuLayer || menu;	
		hideActiveMenus();
		if (typeof(l) == "string") l = FIND(l);
		window.ActiveMenu = l;
		var s = l.style;
		s.visibility = "inherit";
		if (x != "relative") {
			s.pixelLeft = x || (window.pageX + document.body.scrollLeft) || 0;
			s.left = s.pixelLeft + 'px';
		}
		if (y != "relative") {
			s.pixelTop = y || (window.pageY + document.body.scrollTop) || 0;
			s.top = s.pixelTop + 'px';
		}
		l.Menu.xOffset = document.body.scrollLeft;
		l.Menu.yOffset = document.body.scrollTop;
	}
	if (menu) window.activeMenus[window.activeMenus.length] = l;
	MM_clearTimeout();
}

function mmLoadMenus() {
  if (window.mm_menu_0314190524_0) return;
	window.mm_menu_0314190524_0 = new Menu("root",245,24,"Lucida Sans Unicode, Lucida Grande, Lucida Sans, Tahoma, Geneva, Arial",12,"#FFFFFF","#B5101A","#221F1F","#221F1F","left","middle",0,0,600,-5,7,true,false,true,0,true,false);
  mm_menu_0314190524_0.addMenuItem("Equinox&nbsp;Capital","location='operations-equinox-capital.cfm'");
  mm_menu_0314190524_0.addMenuItem("Golden&nbsp;Fund&nbsp;and&nbsp;CK&nbsp;Investment&nbsp;Fund","location='operations-golden-fund.cfm'");
  mm_menu_0314190524_0.hideOnMouseOut=true;
  mm_menu_0314190524_0.bgColor='#B5101A';
  mm_menu_0314190524_0.menuBorder=0;
  mm_menu_0314190524_0.menuLiteBgColor='#B5101A';
  mm_menu_0314190524_0.menuBorderBgColor='#B5101A';

  window.mm_menu_0314230804_0 = new Menu("root",139,24,"Lucida Sans Unicode, Lucida Grande, Lucida Sans, Tahoma, Geneva, Arial",12,"#FFFFFF","#B5101A","#221F1F","#221F1F","left","middle",0,0,600,-5,7,true,false,true,0,true,false);
  mm_menu_0314230804_0.addMenuItem("88&nbsp;Broadway","location='investments-88-broadway.cfm'");
  mm_menu_0314230804_0.addMenuItem("360&nbsp;Dominion&nbsp;Road","location='investments-360-dominion-road.cfm'");
  mm_menu_0314230804_0.addMenuItem("No&nbsp;1&nbsp;Queen&nbsp;Street","location='investments-no-1-queen-street.cfm'");
  mm_menu_0314230804_0.hideOnMouseOut=true;
  mm_menu_0314230804_0.bgColor='#B5101A';
  mm_menu_0314230804_0.menuBorder=0;
  mm_menu_0314230804_0.menuLiteBgColor='#B5101A';
  mm_menu_0314230804_0.menuBorderBgColor='#B5101A';

  window.mm_menu_0314231742_0 = new Menu("root",130,24,"Lucida Sans Unicode, Lucida Grande, Lucida Sans, Tahoma, Geneva, Arial",12,"#FFFFFF","#B5101A","#221F1F","#221F1F","left","middle",0,0,600,-5,7,true,false,true,0,true,false);
  mm_menu_0314231742_0.addMenuItem("Scene&nbsp;Apartments","location='property-development-scene-apartments.cfm'");
  mm_menu_0314231742_0.addMenuItem("Orakei&nbsp;Point","location='property-development-orakei-point.cfm'");
  mm_menu_0314231742_0.addMenuItem("White&nbsp;Heron&nbsp;Point","location='property-development-white-heron-point.cfm'");
  mm_menu_0314231742_0.addMenuItem("Phoenix,&nbsp;Arizona","location='property-development-phoenix-o4.cfm'");
  mm_menu_0314231742_0.addMenuItem("Pipitea&nbsp;Plaza","location='property-development-pipitea-plaza.cfm'");
  mm_menu_0314231742_0.addMenuItem("Moores&nbsp;Bay","location='property-development-moores-bay.cfm'");
  mm_menu_0314231742_0.hideOnMouseOut=true;
  mm_menu_0314231742_0.bgColor='#B5101A';
  mm_menu_0314231742_0.menuBorder=0;
  mm_menu_0314231742_0.menuLiteBgColor='#B5101A';
  mm_menu_0314231742_0.menuBorderBgColor='#B5101A';

  window.mm_menu_0314232250_0 = new Menu("root",96,24,"Lucida Sans Unicode, Lucida Grande, Lucida Sans, Tahoma, Geneva, Arial",12,"#FFFFFF","#990000","#221F1F","#221F1F","left","middle",0,0,600,-5,7,true,false,true,0,true,false);
  mm_menu_0314232250_0.addMenuItem("Management","location='the-people-management.cfm'");
  mm_menu_0314232250_0.addMenuItem("Principals","location='the-people-principals.cfm'");
  mm_menu_0314232250_0.hideOnMouseOut=true;
  mm_menu_0314232250_0.bgColor='#B5101A';
  mm_menu_0314232250_0.menuBorder=0;
  mm_menu_0314232250_0.menuLiteBgColor='#B5101A';
  mm_menu_0314232250_0.menuBorderBgColor='#B5101A';

mm_menu_0314232250_0.writeMenus();
} 


function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_showHideLayers(objID) { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
