<!-- // START MENU CODE
// NOTE: If you use a ' add a slash before it like this \'


StartMenu()


// MENU OPTIONS - you will find more options in the corporatestyle.css

MFL		= -1; 					// MENU DISTANCE FROM EDGE
MFT		= 0; 					// MENU DISTANCE FROM TOP
ALIGN		= "left"				// MENU LEFT OR RIGHT
TMH		= 20;					// TOP MENU HEIGHT
TMFS		= "12";					// TOP MENU FONT SIZE
TMFW		= "bold";				// TOP MENU FONT WEIGHT bold/normal
TMFF		= " arial, verdana, helvetica, sans";	// TOP MENU FONT FACE
TMC		= "FFFFFF";				// TOP MENU OFF FONT COLOR
TMBC		= "595E86";				// TOP MENU OFF BACKGROUND COLOR
TMBI		= "picts/menu.gif";			// TOP MENU OFF BACKGROUND IMAGE
TMHC		= "FFFFFF";				// TOP MENU HOVER TEXT COLOR
TMHBC		= "000880";				// TOP MENU HOVER BACKGROUND COLOR
TMHBI		= "picts/menuon.gif";			// TOP MENU HOVER BACKGROUND IMAGE
MO		= TMH-2;				// Y MENU OVERLAP CHANGE NUMBER VALUE
SUBshift	= 0;					// SHIFT SUBMENU RIGHT




//C0C0C0 START SUBMENU OPTIONS - you will find more options in the corporatestyle.css

SMH		= 20;					// SUB MENU HEIGHT
SMFS		= "10";					// SUB MENU FONT SIZE
SMFW		= "bold";				// SUB MENU FONT WEIGHT bold/normal
SMFF		= "arial,MS Sans Serif,sans-serif";	// SUB MENU FONT FACE
SMC		= "FFFFFF";	                        // SUB MENU OFF FONT COLOR
SMBC		= "7070af";				// SUB MENU OFF BACKGROUND COLOR
SMHC		= "ffffff";				// SUB MENU HOVER TEXT COLOR
SMHBC		= "000880";				// SUB MENU HOVER BACKGROUND COLOR


SubMenu()

// START MENU NUMBER 1 COPY AND PASTE A GROUP TO ADD A NEW TOP LEVEL SEE NOTE BELOW

Top_Width[0]=130; Sub_Menu_Width[0]=140;
m[0]='  Home ';n[0]='index.php';st[0]="";s[0]=""

Top_Width[1]=140; Sub_Menu_Width[1]=140;
m[1]='  About Us ';n[1]='aboutus.php';st[1]="";s[1]=""

Top_Width[2]=190; Sub_Menu_Width[2]=190;
m[2]=' Property Search';n[2]='search.php';st[2]="";s[2]=""

Top_Width[3]=210; Sub_Menu_Width[3]=210;
m[3]=' Services We Provide';n[3]='comn_serv.php?PageId=3';st[3]="";s[3]=""
+l+"comn_serv.php?PageId=3"+r+"Tenant Representation"+c
+l+"comn_serv.php?PageId=4"+r+"Landlord Representation"+c
+l+"comn_serv.php?PageId=5"+r+"Property Management"+c
+l+"comn_serv.php?PageId=6"+r+"Investment Properties"+c

Top_Width[4]=120; Sub_Menu_Width[4]=120;
m[4]=' Contact Us';n[4]='contactus.php';st[4]="";s[4]=""


// IF YOU ADD ANOTHER TOP LEVEL MENU YOU MUST ADD TO THE BOTTOM OF THIS LIST

ADJ[0]=MFL;
ADJ[1]=(Top_Width[0])+MFL;
ADJ[2]=(Top_Width[0]+Top_Width[1])+MFL;
ADJ[3]=(Top_Width[0]+Top_Width[1]+Top_Width[2])+MFL;
ADJ[4]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3])+MFL;



MENU=m.length
for (i=0; i < MENU; i++)
{
	// START WRITING TOP LEVEL MENUS"+Top_Width[i]+"
	document.write("<div style='position:absolute;"+ALIGN+":"+ADJ[i]+";top:"+MFT+";VERTICAL-ALIGN: center;width:"+Top_Width[i]+"' onmouseover='o["+i+"].ShowMenu()' onmouseout='o["+i+"].HideMenu()'>")
	browser_version= parseInt(navigator.appVersion);
	browser_type = navigator.appName;

	if (browser_type == "Netscape") 
	{
		document.write("<a class='menu_TOP' style='text-decoration:none; height:"+TMH+"; color:#"+TMC+"; background-image: url("+TMBI+"); background-color:#"+TMBC+"; font-size:"+TMFS+"pt; font-weight:"+TMFW+"; font-family: "+TMFF+"; "+spn+"' href='"+n[i]+"'>&nbsp;&nbsp;"+m[i]+"</a></div>")
	}
	else 
	{
		document.write("<a class='menu_TOP' style='text-decoration:none; height:"+TMH+"; color:#"+TMC+"; background-image: url("+TMBI+"); background-color:#"+TMBC+"; font-size:"+TMFS+"pt; font-weight:"+TMFW+"; font-family: "+TMFF+"; "+spn+"' onmouseover=\"this.style.backgroundColor='#"+TMHBC+"';this.style.color='"+TMHC+"';this.style.backgroundImage='URL("+TMHBI+")'\"  onmouseout=\"this.style.backgroundColor='#"+TMBC+"';this.style.color='"+TMC+"';this.style.backgroundImage='URL("+TMBI+")'\" href='"+n[i]+"'>&nbsp;&nbsp;"+m[i]+"</a></div>")
	}
}


for (i=0; i < MENU; i++)
{
	// START WRITING SUB MENUS
	if (s[i]!="") 
	{
		document.write("<div id='SUB"+i+"' class='menu_DIV' style='text-decoration:none; position: absolute; "+ALIGN+":"+(ADJ[i]+SUBshift)+";top:"+(MFT+MO)+";width:"+Sub_Menu_Width[i]+";background-color:#"+SMBC+";' onmouseover='o["+i+"].ShowMenu()' onmouseout='o["+i+"].HideMenu()'>"+s[i]+"</div>")
	}
	else
	{
		document.write("<div id='SUB"+i+"' class='menu_DIV' style='text-decoration:none; position: absolute; "+ALIGN+":"+(ADJ[i]+SUBshift)+";top:"+(MFT+MO)+";width:0;background-color:#"+SMBC+";'>"+s[i]+"</div>")	
	}

}
//document.write("<div id='SUB"+10+"' class='menu_DIV' style='position: absolute; "+"left"+":"+650+";top:"+(MFT+MO)+";width:"+175+";background-color:#"+SMBC+";' onmouseover='o["+5+"].ShowMenu()' onmouseout='o["+5+"].HideMenu()'>"+s[5]+"</div>")



function StartMenu()
{
	var D6=window,Y7=document;
	function DETECT()
	{
		this.ver=navigator.appVersion;this.agent=navigator.userAgent;this.dom=Y7.getElementById?1:0;this.opera5=this.agent.indexOf("Opera 5")>-1;this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;this.ie4=(Y7.all && !this.dom && !this.opera5)?1:0;this.ie=this.ie4||this.ie5||this.ie6;this.mac=this.agent.indexOf("Mac")>-1;this.ns6=(this.dom && parseInt(this.ver)>=5)?1:0;this.ns4=(Y7.layers && !this.dom)?1:0;this.BWD=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera5);return this
	}

	BWD=new DETECT();
	z=0;
	b=0;
	spn="";
	if(BWD.opera5||BWD.ns6)
	{
		b=2
	};
	if(BWD.ie)
	{
		spn=" width: 100%"
	}
	else
	{
		z=6
	}
} 


function SubMenu()
{
	document.write("<div width='800' style='height:"+TMH+";position:absolute;top:"+MFT+";width:800;background-image: url("+TMBI+"); background-color:#"+TMBC+";'></div>")
	browser_version= parseInt(navigator.appVersion);
	browser_type = navigator.appName;

	if (browser_type == "Netscape")
	{
		l="<a class='menu_SUB' style='text-decoration:none; height:"+SMH+"; color:#"+SMC+"; background-color:#"+SMBC+"; font-size:"+SMFS+"pt; font-weight:"+SMFW+"; font-family: "+SMFF+";"+spn+"' href='";
	}
	else if(browser_type == "Mozilla")
	{
		l="<a class='menu_SUB' style='text-decoration:none; height:"+SMH+"; color:#"+SMC+"; background-color:#"+SMBC+"; font-size:"+SMFS+"pt; font-weight:"+SMFW+"; font-family: "+SMFF+";"+spn+"' href='";
	}
	else
	{
		l="<a class='menu_SUB' style='text-decoration:none; height:"+SMH+"; color:#"+SMC+"; background-color:#"+SMBC+"; font-size:"+SMFS+"pt; font-weight:"+SMFW+"; font-family: "+SMFF+";"+spn+"' onmouseover=\"this.style.backgroundColor='#"+SMHBC+"';this.style.color='"+SMHC+"'\"  onmouseout=\"this.style.backgroundColor='#"+SMBC+"';this.style.color='"+SMC+"'\" href='";
	}
	r="'>&nbsp;&nbsp;&nbsp;";
	c="</a>";


m=new Array();
n=new Array();
s=new Array();
Sub_Menu_Width=new Array();
su		  = new Array();
st		  = new Array();
Top_Width = new Array();
ADJ       = new Array()

}


function lib_obj(obj,nest)
{
	nest=(!nest) ? "":'document.'+nest+'.';
	this.evnt=BWD.dom? document.getElementById(obj):BWD.ie4?document.all[obj]:BWD.ns4?eval(nest+"document.layers." +obj):0;
	this.css=BWD.dom||BWD.ie4?this.evnt.style:this.evnt;
	this.ref=BWD.dom||BWD.ie4?document:this.css.document;
	this.x=parseInt(this.css.top)||this.css.pixeltop||this.evnt.offsettop||0;
	this.y=parseInt(this.css.left)||this.css.pixelleft||this.evnt.offsetleft||0;
	return this
}

function lib_doc_size()
{
	this.x=0;this.x2=BWD.ie && document.body.offsetWidth-20||innerWidth||0;
	this.y=0;this.y2=BWD.ie && document.body.offsetHeight-5||innerHeight||0;
	this.x50=this.x2/2;this.y50=this.y2/2;return this;
}

lib_obj.prototype.ShowMenu = function()
{
	this.css.visibility="visible"
}

lib_obj.prototype.HideMenu = function()
{
	this.css.visibility="hidden"
}

function libinit()
{
	page=new lib_doc_size();
	o=new Array();
	for (i=0; i < MENU; i++)
	{		
		o[i]=new lib_obj('SUB'+i);o[i].HideMenu()
	}
}

libinit()


// END MENU CODE -->




