
/*** 
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
oCMenu2=new makeCM("oCMenu2") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu2.pxBetween=42
oCMenu2.fromLeft=369
oCMenu2.fromTop=50
oCMenu2.rows=1      //determines if the lev 0 will be verticle(0) or horizontal(1)
oCMenu2.menuPlacement="left"                                       
oCMenu2.offlineRoot="" 
oCMenu2.onlineRoot="" 
oCMenu2.resizeCheck=1 
oCMenu2.wait=500
oCMenu2.fillImg="cm_fill.gif"
oCMenu2.zIndex=0

//Background bar properties
oCMenu2.useBar=0             //this turns the background bar on and off... (0) is off!!
oCMenu2.barWidth="0px"
oCMenu2.barHeight="menu" 
oCMenu2.barClass="cl2Bar"
oCMenu2.barX=0 
oCMenu2.barY="menu"
oCMenu2.barBorderX=0
oCMenu2.barBorderY=0
oCMenu2.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu2.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu2.level[0].width=100                //width for each topnav term
oCMenu2.level[0].height=25                //height of top nav bar and text 
oCMenu2.level[0].regClass="cl2Level0"
oCMenu2.level[0].overClass="cl2Level0over"
oCMenu2.level[0].borderX=0
oCMenu2.level[0].borderY=0
oCMenu2.level[0].borderClass="cl2Level0border"
oCMenu2.level[0].offsetX=0   //moving sub menu off to the right so it is not on top of lev 0 menu...
oCMenu2.level[0].offsetY=0   //moves the sub menu up and down...I have it about 1/2 way down now (even would be 18px)
oCMenu2.level[0].rows=0       //determines if the lev 1 will be verticle or horizontal
oCMenu2.level[0].arrow=0
oCMenu2.level[0].arrowWidth=0
oCMenu2.level[0].arrowHeight=0
oCMenu2.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
oCMenu2.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
//oCMenu2.level[1].width=oCMenu2.level[0].width-2
oCMenu2.level[1].width=120
oCMenu2.level[1].height=25
oCMenu2.level[1].regClass="cl2Level1"
oCMenu2.level[1].overClass="cl2Level1over"
oCMenu2.level[1].borderX=0
oCMenu2.level[1].borderY=0
oCMenu2.level[1].align="center" 
oCMenu2.level[1].offsetX=0
oCMenu2.level[1].offsetY=0
oCMenu2.level[1].borderClass="cl2Level1border"
oCMenu2.level[1].rows=0      //determines if the lev 2 will be verticle or horizontal

oCMenu2.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
//oCMenu2.level[2].width=oCMenu2.level[0].width-2
oCMenu2.level[2].width=95
oCMenu2.level[2].height=25
oCMenu2.level[2].regClass="cl2Level2"
oCMenu2.level[2].overClass="cl2Level2over"
oCMenu2.level[2].borderX=0
oCMenu2.level[2].borderY=0
oCMenu2.level[2].align="left" 
oCMenu2.level[2].offsetX=0
oCMenu2.level[2].offsetY=0
oCMenu2.level[2].borderClass="cl2Level2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu2.makeMenu('top0','','Home','index.html','','45')

oCMenu2.makeMenu('top1','','About','about.html','','70')
	
oCMenu2.makeMenu('top3','','Portfolio','','','65')
	oCMenu2.makeMenu('sub30','top3','Web&nbsp;Design','websites.html','','85')
	oCMenu2.makeMenu('sub31','top3','Print&nbsp;Design','print.html','','85')

//oCMenu2.makeMenu('top4','','Property Maintenance','pm.html','','175')	

oCMenu2.makeMenu('top4','','Contact','','','95')
	oCMenu2.makeMenu('sub40','top4','Contact Info','contact.html','','100')
	oCMenu2.makeMenu('sub41','top4','Resume','resume.html','_blank','100')







//Leave this line - it constructs the menu
//oCMenu2.construct()
