
/*** 
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

oCMenu.frames = 0

//Menu properties
oCMenu.pxBetween=2
oCMenu.fromLeft=200
oCMenu.fromTop=96
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="0"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0 
oCMenu.barY=0
oCMenu.barBorderX=1
oCMenu.barBorderY=1
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be specified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=60
oCMenu.level[0].height=22
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=22
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="middle"

//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=180
oCMenu.level[1].height=22
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+20
oCMenu.level[1].offsetY=10
oCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to specify 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=22
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
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('top0','','Home','http://www.ufwda.org/index.htm','','',70)
		
oCMenu.makeMenu('top1','','About Us','','',76)
	oCMenu.makeMenu('sub10','top1','Who Are We?','http://www.ufwda.org/about.htm')
	oCMenu.makeMenu('sub11','top1','UFWDA History','http://www.ufwda.org/history.htm')
	oCMenu.makeMenu('sub12','top1','Board of Directors','http://www.ufwda.org/bod.htm')
	/* oCMenu.makeMenu('sub13','top1','Join United','http://www.ufwda.org/joinunited.htm') */
	oCMenu.makeMenu('sub14','top1','UFWDA Bylaws','http://www.ufwda.org/pdfs/UFWDA_Bylaws.pdf','_blank')
	oCMenu.makeMenu('sub15','top1','UFWDA SOP','http://www.ufwda.org/pdfs/UFWDA_SOP_July_2005.pdf','_blank')
	oCMenu.makeMenu('sub16','top1','UFWDA Logos','http://www.ufwda.org/logos.htm')
	oCMenu.makeMenu('sub17','top1','United Store <font color=red><b><i>New</i></b></font>','http://www.ufwda.org/store/','_blank')
	oCMenu.makeMenu('sub18','top1','Site Map','http://www.ufwda.org/sitemap.htm')

/* oCMenu.makeMenu('sub130','sub13','&nbsp;Individual','http://www.ufwda.org/joinunited-people.htm')
oCMenu.makeMenu('sub131','sub13','&nbsp;Membership Information','http://www.ufwda.org/joinunited.htm')
oCMenu.makeMenu('sub132','sub13','&nbsp;Supporting Business','http://www.ufwda.org/joinunited-business.htm') */
	
	
oCMenu.makeMenu('top12','','Benefits','','',70)
	oCMenu.makeMenu('sub120','top12','Communication','http://www.ufwda.org/benefits_communication.htm')
	oCMenu.makeMenu('sub121','top12','Education','http://www.ufwda.org/benefits_education.htm')
	oCMenu.makeMenu('sub122','top12','Growth & Expansion','http://www.ufwda.org/benefits_growth.htm')
	oCMenu.makeMenu('sub123','top12','Legal Representation','http://www.ufwda.org/benefits_legal.htm')
	oCMenu.makeMenu('sub124','top12','A Global Voice','http://www.ufwda.org/benefits_voice.htm')
	
oCMenu.makeMenu('top14','','Join United','http://www.ufwda.org/joinunited.htm','',90)
//oCMenu.makeMenu('sub140','top14','&nbsp;...as a Direct Member','http://www.ufwda.org/joinunited-people.htm')
//oCMenu.makeMenu('sub141','top14','&nbsp;...as a Supporting Business','http://www.ufwda.org/joinunited-business.htm')
//oCMenu.makeMenu('sub142','top14','&nbsp;...as an Organization','http://www.ufwda.org/joinunited.htm')
	
oCMenu.makeMenu('top2','','Land Use','','',80)
	oCMenu.makeMenu('sub20','top2','Legislative Advocate','http://www.ufwda.org/landuse.htm')
	oCMenu.makeMenu('sub21','top2','USFS SUP Rules','http://www.ufwda.org/landuse/SUP/SUP_Rule.htm')
	oCMenu.makeMenu('sub22','top2','USFS OHV Rule','http://www.ufwda.org/landuse/ohvrule/intro_final.htm')
	oCMenu.makeMenu('sub23','top2','Reference Material','http://www.ufwda.org/reference.htm')
	oCMenu.makeMenu('sub24','top2','Glossary of Acronyms','http://www.ufwda.org/glossary.htm')

oCMenu.makeMenu('top3','','Members','','',75)
	oCMenu.makeMenu('sub30','top3','Member Services','http://www.ufwda.org/memberapps/')
	// oCMenu.makeMenu('sub31','top3','Join United','http://www.ufwda.org/joinunited.htm')
	oCMenu.makeMenu('sub32','top3','Organizations List','http://www.ufwda.org/showmembers.php?cat=A')
	oCMenu.makeMenu('sub33','top3','Supporting Businesses List','http://www.ufwda.org/showmembers.php?cat=S')
	// oCMenu.makeMenu('sub34','top3','Update Member Information','http://www.ufwda.org/memberupdate.php')


oCMenu.makeMenu('top4','','Programs','','',78)
	oCMenu.makeMenu('sub40','top4','4WD Awareness Program','http://www.ufwda.org/4wdawareness.htm')
	oCMenu.makeMenu('sub41','top4','Volunteer Trail Patrol','http://www.ufwda.org/trailpatrol.htm')
	oCMenu.makeMenu('sub42','top4','Land Action Fund','http://www.ufwda.org/landactionfund.htm')
	oCMenu.makeMenu('sub43','top4','Trade Shows and Events','http://www.ufwda.org/tradeshows.htm')
	oCMenu.makeMenu('sub44','top4','The Voice','http://www.ufwda.org/thevoice.htm')
	oCMenu.makeMenu('sub45','top4','Adopt-A-Road','http://www.ufwda.org/adopt-a-road.htm')
	oCMenu.makeMenu('sub47','top4','Volunteer Award Program','http://www.ufwda.org/Conservation_Awards_Program.htm')
	oCMenu.makeMenu('sub48','top4','Web Awards','http://www.ufwda.org/web_awards.htm')

		
oCMenu.makeMenu('top5','','Events','','',60)
	oCMenu.makeMenu('sub50','top5','Calendar','http://www.ufwda.org/smf/index.php?action=calendar')
	// oCMenu.makeMenu('sub51','top5','Wheel-In Barnwell','http://www.ufwda.org/pdfs/Wheel-In-Barnwell.pdf','_blank')
	// oCMenu.makeMenu('sub52','top5','Annual Convention','http://ufwda.org/news_view.php?id=55')
	// oCMenu.makeMenu('sub52','top5','2005 Meeting Briefs','http://www.ufwda.org/2005_Annual_Meeting_Briefs.htm')
oCMenu.makeMenu('top6','','<font color=#fedc59><b>Shop</b></font>','http://www.ufwda.org/store/','_blank','',62)
oCMenu.makeMenu('top7','','Forum','http://www.ufwda.org/smf/','_blank','',70)
oCMenu.makeMenu('top8','','Contact','http://www.ufwda.org/contact.htm','',76)
oCMenu.makeMenu('top9','','Facebook','http://www.facebook.com/home.php?#!/pages/United-Four-Wheel-Drive-Associations-UFWDA/100178310035694','',75)
oCMenu.makeMenu('top10','','Twitter','http://twitter.com/#search?q=UFWDA','',70)


//<img src="u_images/facebook_logo.jpg" width="50" height="12" alt="">
//<img src="u_images/twitter_logo.png" width="43" height="10" alt="">
// oCMenu.makeMenu('top8','','<center>&nbsp;Member Services</center>','http://www.ufwda.org/memberapps/')
oCMenu.construct()	

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/
