/***
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.
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

//Menu properties
oCMenu.pxBetween=0  // here's the spacing!
//Using the cm_page object to place the menu ----
  //There are some differences between the browsers that I try to fix here.
oCMenu.fromLeft=0 // here's the left placement!!!!!!!!!!!!!!!
oCMenu.fromTop=139  // here's the top placement!!!!!!!!!!!!!!!!
oCMenu.rows=1
oCMenu.menuPlacement="center"

oCMenu.offlineRoot=""
oCMenu.onlineRoot=""
oCMenu.resizeCheck=1
oCMenu.wait=350
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="menu"
oCMenu.barHeight="menu"
oCMenu.barClass="clBar"
oCMenu.barX="menu"
oCMenu.barY="menu"
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=128
oCMenu.level[0].height=18
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="bottom"


//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=oCMenu.level[0].width+16
oCMenu.level[1].height=19
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right"
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+60
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=150
oCMenu.level[2].height=19
oCMenu.level[2].offsetX=500
oCMenu.level[2].offsetY=500
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/

oCMenu.makeMenu('top01','','&nbsp;Welcome!','http://www.citrusmilo.com/zionguide/','',70)

oCMenu.makeMenu('top02','','|','','',9,'','','','','','',1,1)

oCMenu.makeMenu('top03','','&nbsp;Hiking Suggestions','http://www.citrusmilo.com/zionguide/allhikes.cfm','',122)
	oCMenu.makeMenu('suba101','top03','&nbsp;Recommended Hikes','http://www.citrusmilo.com/zionguide/recommend.cfm','',145)
	oCMenu.makeMenu('suba102','top03','&nbsp;View All Hikes!','http://www.citrusmilo.com/zionguide/allhikes.cfm','',145)
	oCMenu.makeMenu('suba103','top03','&nbsp;The Trans-Zion Trek','http://www.citrusmilo.com/zionguide/transziontrek.cfm','',145)


oCMenu.makeMenu('top04','','|','','',9,'','','','','','',1,1)


oCMenu.makeMenu('top10','','&nbsp;Hikes By Section','http://www.citrusmilo.com/zionguide/allhikes.cfm','',110)
	oCMenu.makeMenu('sub201','top10','&nbsp;The Main Canyon ->','http://www.citrusmilo.com/zionguide/maincanyon.cfm','',150)
		oCMenu.makeMenu('suba201','sub201','&nbsp;Emerald Pools Trail','http://www.citrusmilo.com/zionguide/emeraldpools.cfm')
		oCMenu.makeMenu('suba202','sub201','&nbsp;Weeping Rock','http://www.citrusmilo.com/zionguide/weepingrock.cfm')
		oCMenu.makeMenu('suba203','sub201','&nbsp;Riverside Walk','http://www.citrusmilo.com/zionguide/riversidewalk.cfm')	
		oCMenu.makeMenu('suba204','sub201','&nbsp;The Watchman Trail','http://www.citrusmilo.com/zionguide/watchman.cfm')
		oCMenu.makeMenu('suba205','sub201','&nbsp;Angels Landing','http://www.citrusmilo.com/zionguide/angelslanding.cfm')	
		oCMenu.makeMenu('suba206','sub201','&nbsp;Observation Point','http://www.citrusmilo.com/zionguide/obspoint.cfm')
		oCMenu.makeMenu('suba207','sub201','&nbsp;Hidden Canyon','http://www.citrusmilo.com/zionguide/hiddencanyon.cfm')
		oCMenu.makeMenu('suba208','sub201','&nbsp;Cable Mountain','http://www.citrusmilo.com/zionguide/cablemountain.cfm')
		oCMenu.makeMenu('suba209','sub201','&nbsp;Deertrap Mountain','http://www.citrusmilo.com/zionguide/deertrapmountain.cfm')
		oCMenu.makeMenu('suba210','sub201','&nbsp;More...','http://www.citrusmilo.com/zionguide/maincanyon.cfm')
	
	oCMenu.makeMenu('sub202','top10','&nbsp;Upper East Canyon ->','http://www.citrusmilo.com/zionguide/eastcanyon.cfm','',150)
		oCMenu.makeMenu('subb501','sub202','&nbsp;Canyon Overlook Trail','http://www.citrusmilo.com/zionguide/canyonoverlook.cfm','',200)
		oCMenu.makeMenu('subb502','sub202','&nbsp;East Rim Trail','http://www.citrusmilo.com/zionguide/eastrimtrail.cfm','',200)
		oCMenu.makeMenu('subb503','sub202','&nbsp;Clear Creek','http://www.citrusmilo.com/zionguide/clearcreek.cfm','',200)
		oCMenu.makeMenu('subb504','sub202','&nbsp;Bridge Mountain Arch','http://www.citrusmilo.com/zionguide/bridgemountain.cfm','',200)
		oCMenu.makeMenu('subb505','sub202','&nbsp;Pine Creek (Middle Pine Creek)','http://www.citrusmilo.com/zionguide/pinecreek.cfm','',200)	
		oCMenu.makeMenu('subb506','sub202','&nbsp;&quot;Many Pools&quot;','http://www.citrusmilo.com/zionguide/manypools.cfm','',200)
		oCMenu.makeMenu('subb507','sub202','&nbsp;Keyhole Canyon','http://www.citrusmilo.com/zionguide/keyholecanyon.cfm','',200)
		oCMenu.makeMenu('subb508','sub202','&nbsp;East Mesa Trail','http://www.citrusmilo.com/zionguide/eastmesatrail.cfm','',200)		
		oCMenu.makeMenu('subb509','sub202','&nbsp;The Barracks (Parunuweap)','http://www.citrusmilo.com/zionguide/barracks.cfm','',200)
		oCMenu.makeMenu('subb510','sub202','&nbsp;Misery Canyon','http://www.citrusmilo.com/zionguide/miserycanyon.cfm','',200)
		oCMenu.makeMenu('subb511','sub202','&nbsp;More...','http://www.citrusmilo.com/zionguide/eastcanyon.cfm','',200)
	
	oCMenu.makeMenu('sub203','top10','&nbsp;Virgin River Narrows ->','http://www.citrusmilo.com/zionguide/virginriver.cfm','',150)
		oCMenu.makeMenu('subc300','sub203','&nbsp;Zion Narrows -- Overview','http://www.citrusmilo.com/zionguide/zionnarrows.cfm','',215)
		oCMenu.makeMenu('subc301','sub203','&nbsp;Zion Narrows Day Hike','http://www.citrusmilo.com/zionguide/narrowsday.cfm','',215)
		oCMenu.makeMenu('subc302','sub203','&nbsp;Zion Narrows Top-Down Route','http://www.citrusmilo.com/zionguide/narrowsdown.cfm','',215)
		oCMenu.makeMenu('subc303','sub203','&nbsp;Orderville Canyon','http://www.citrusmilo.com/zionguide/ordervillecanyon.cfm','',215)	
		oCMenu.makeMenu('subc304','sub203','&nbsp;More...','http://www.citrusmilo.com/zionguide/virginriver.cfm','',215)

	oCMenu.makeMenu('sub204','top10','&nbsp;The Kolob Terrace ->','http://www.citrusmilo.com/zionguide/terrace.cfm','',150)
		oCMenu.makeMenu('subd401','sub204','&nbsp;West Rim Trail','http://www.citrusmilo.com/zionguide/westrimtrail.cfm','',230)
		oCMenu.makeMenu('subd402','sub204','&nbsp;Northgate Peaks Trail','http://www.citrusmilo.com/zionguide/northgatepeaks.cfm','',230)
		oCMenu.makeMenu('subd403','sub204','&nbsp;Left Fork of North Creek -- Overview','http://www.citrusmilo.com/zionguide/leftfork.cfm','',230)
		oCMenu.makeMenu('subd404','sub204','&nbsp;The Subway (From the Bottom)','http://www.citrusmilo.com/zionguide/lowersubway.cfm','',230)	
		oCMenu.makeMenu('subd405','sub204','&nbsp;The Subway (Top-Down Route)','http://www.citrusmilo.com/zionguide/subway.cfm','',230)
		oCMenu.makeMenu('subd406','sub204','&nbsp;Wildcat Canyon Trail','http://www.citrusmilo.com/zionguide/wildcattrail.cfm','',230)
		oCMenu.makeMenu('subd407','sub204','&nbsp;Hop Valley Trail','http://www.citrusmilo.com/zionguide/hopvalley.cfm','',230)
		oCMenu.makeMenu('subd408','sub204','&nbsp;The Connector Trail','http://www.citrusmilo.com/zionguide/connectortrail.cfm','',230)
		oCMenu.makeMenu('subd409','sub204','&nbsp;More...','http://www.citrusmilo.com/zionguide/terrace.cfm','',230)

	oCMenu.makeMenu('sub205','top10','&nbsp;The Kolob Canyons ->','http://www.citrusmilo.com/zionguide/kolob.cfm','',150)
		oCMenu.makeMenu('sube351','sub205','&nbsp;Timber Creek Overlook','http://www.citrusmilo.com/zionguide/timbercreek.cfm','',180)
		oCMenu.makeMenu('sube352','sub205','&nbsp;Taylor Creek Trail','http://www.citrusmilo.com/zionguide/taylorcreek.cfm','',180)
		oCMenu.makeMenu('sube353','sub205','&nbsp;La Verkin Creek Trail','http://www.citrusmilo.com/zionguide/laverkincreek.cfm','',180)	
		oCMenu.makeMenu('sube354','sub205','&nbsp;Kolob Arch Trail','http://www.citrusmilo.com/zionguide/kolobarch.cfm','',180)
		oCMenu.makeMenu('sube355','sub205','&nbsp;South Fork of Taylor Creek','http://www.citrusmilo.com/zionguide/taylorsouth.cfm','',180)
		oCMenu.makeMenu('sube357','sub205','&nbsp;More...','http://www.citrusmilo.com/zionguide/kolob.cfm','',180)


	oCMenu.makeMenu('sub206','top10','&nbsp;The Desert Lowlands ->','http://www.citrusmilo.com/zionguide/lowlands.cfm','',150)
		oCMenu.makeMenu('sube451','sub206','&nbsp;The Chinle Trail','http://www.citrusmilo.com/zionguide/chinletrail.cfm','',180)
		oCMenu.makeMenu('sube452','sub206','&nbsp;More...','http://www.citrusmilo.com/zionguide/lowlands.cfm','',180)

oCMenu.makeMenu('top15','','|','','',9,'','','','','','',1,1)

oCMenu.makeMenu('top40','','&nbsp;More Information&nbsp;','','',112)
	oCMenu.makeMenu('sub402','top40','&nbsp;Maps and GPS Coordinates','http://www.citrusmilo.com/zionguide/maps.cfm','',180)	
	oCMenu.makeMenu('sub403','top40','&nbsp;Current Conditions','http://www.citrusmilo.com/zionguide/conditions.cfm','',180)	
	oCMenu.makeMenu('sub406','top40','&nbsp;Other Resources','http://www.citrusmilo.com/zionguide/links.cfm','',180)
	oCMenu.makeMenu('sub404','top40','&nbsp;Contact Joe!','http://www.citrusmilo.com/zionguide/contact.cfm','',180)
	oCMenu.makeMenu('sub405','top40','&nbsp;Support this Site!','http://www.citrusmilo.com/zionguide/support.cfm','',180)



oCMenu.makeMenu('top45','','|','','',9,'','','','','','',1,1)

oCMenu.makeMenu('top50','','&nbsp;Joe Braun Photography&nbsp','http://www.citrusmilo.com/home.cfm','',146)
	oCMenu.makeMenu('sub300','top50','&nbsp;Zion the Beautiful!','http://www.citrusmilo.com/zionthebeautiful/','',186)
	oCMenu.makeMenu('sub301','top50','&nbsp;Zion the Magnificent!','http://www.citrusmilo.com/zionthemagnificent/','',186)
	oCMenu.makeMenu('sub302','top50','&nbsp;Photo Ordering Information','http://www.citrusmilo.com/purchase/','',186)
	oCMenu.makeMenu('sub303','top50','&nbsp;Photography Beyond Zion...','http://www.citrusmilo.com/home.cfm','',186)






//Leave this line - it constructs the menu
oCMenu.construct()
