/*** This is the menu creation code - place it right after you body tag Feel free to add this to a stand-alone js file and link it to your page. **/

var oM=new makeCM("oM")
oM.pxBetween=0
oM.fromTop=82
oM.fromLeft=0
oM.menuPlacement="center"
oM.xAdjust=100
oM.wait=600
oM.fillImg="" 
oM.resizeCheck=1
oM.zIndex=100  

oM.onlineRoot=""
oM.offlineRoot=""

oM.rows=1

//Background bar properties
oM.useBar=0
oM.barWidth="100%" 
oM.barHeight="menu"
oM.barX=0
oM.barY="menu"
oM.barClass="clBar" 
oM.barBorderX=0
oM.barBorderY=1
oM.barBorderClass="clB3"

//Level properties
//Syntax for fast creation (advanced users only)
//oM.level[1]=new cm_makeLevel(width,height,regClass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight)

oM.level[0]=new cm_makeLevel()
oM.level[0].width=160
oM.level[0].height=28
oM.level[0].regClass="clT" 
oM.level[0].overClass="clTover"  
oM.level[0].borderX=0
oM.level[0].borderY=0
oM.level[0].borderClass="clB2" 
oM.level[0].rows=0
oM.level[0].align="bottom"
oM.level[0].offsetX=0
oM.level[0].offsetY=-1
oM.level[0].arrow=0
oM.level[0].arrowWidth=0
oM.level[0].arrowHeight=0
oM.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)"

oM.level[1]=new cm_makeLevel()
oM.level[1].width=160
oM.level[1].height=null
oM.level[1].regClass="clS" 
oM.level[1].overClass="clSover" 
oM.level[1].borderX=0
oM.level[1].borderY=1
oM.level[1].borderClass="clB1"
oM.level[1].align="bottomright"
oM.level[1].rows=1
oM.level[1].arrow=0
oM.level[1].arrowWidth=0
oM.level[1].arrowHeight=0
oM.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)"

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oM.makeMenu('top0','','home','http://www.harnishproperties.com/','',75,'','','','','',"bottom") 

oM.makeMenu('top1','','property search','','',150,'','','','','',"bottom")
	oM.makeMenu('1sub10','top1','View Harnish listings <font size=+1>»</font>','http://www.harnishproperties.idxco.com/idx/4601/featured.php','',170,24)
	oM.makeMenu('1sub11','top1','Search all RMLS listings <font size=+1>»</font>','http://www.harnishproperties.idxco.com/idx/4601/basicSearch.php','',170,24)
	oM.makeMenu('1sub12','top1','Map search <font size=+1>»</font>','http://www.harnishproperties.idxco.com/idx/4601/mapSearch.php','',170,24)
	oM.makeMenu('1sub13','top1','View Harnish Lots & Land <font size=+1>»</font>','http://www.harnishproperties.idxco.com/idx/4601/featured.php?pt=ld','',170,24)
	oM.makeMenu('1sub14','top1','Compare Your Home <font size=+1>»</font>','http://www.harnishproperties.com/templates/home_valuation.php','',170,24)

oM.makeMenu('top2','','global marketing partnerships','http://www.harnishproperties.com/templates/marketing_partnerships.php','',245,'','','','','',"bottom")

oM.makeMenu('top3','','local culture','http://www.harnishproperties.com/templates/community_connections.php','',140,'','','','','',"bottom")

oM.makeMenu('top4','','about us','http://www.harnishproperties.com/templates/about_bios.php','',75,'','','','','',"bottom")
	oM.makeMenu('4sub09','top4','Marketing Strategy <font size=+1>»</font>','http://www.harnishproperties.com/templates/marketing_strategy.php','',145,24)
	oM.makeMenu('4sub10','top4','The Harnish Story <font size=+1>»</font>','http://www.harnishproperties.com/templates/about_story.php','',145,24)
	oM.makeMenu('4sub11','top4','Our Purpose <font size=+1>»</font>','http://www.harnishproperties.com/templates/about_purpose.php','',145,24)
	oM.makeMenu('4sub12','top4','Why Choose Us <font size=+1>»</font>','http://www.harnishproperties.com/templates/about_why_us.php','',145,24)
	oM.makeMenu('4sub16','top4','Team Bios <font size=+1>»</font>','http://www.harnishproperties.com/templates/about_bios.php','',145,24)
	oM.makeMenu('4sub17','top4','Partners <font size=+1>»</font>','http://www.harnishproperties.com/templates/about_partners.php','',145,24)
	oM.makeMenu('4sub18','top4','Philanthropy <font size=+1>»</font>','http://www.harnishproperties.com/templates/about_philanthropy.php','',145,24)
	oM.makeMenu('4sub19','top4','Client Testimonials <font size=+1>»</font>','http://www.harnishproperties.com/templates/about_testimonials.php','',145,24)

oM.makeMenu('top5','','contact us','http://www.harnishproperties.idxco.com/idx/4601/contact.php','',105,'','','','','',"bottom") 

oM.construct()