/*** 
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
coolMenu2=new makeCM("coolMenu2") //Making the menu object. Argument: menuname

coolMenu2.frames = 0

//Menu properties   
coolMenu2.pxBetween=2
coolMenu2.fromLeft=13
coolMenu2.fromTop=180
//coolMenu2.fromTop=134
coolMenu2.rows=0
coolMenu2.menuPlacement=0
                                                             
coolMenu2.offlineRoot="" 
coolMenu2.onlineRoot="" 
coolMenu2.resizeCheck=1 
coolMenu2.wait=1000 
coolMenu2.fillImg="/images/standard/clear.gif"
coolMenu2.zIndex=0

//Background bar properties
coolMenu2.useBar=0
coolMenu2.barWidth="100%"
coolMenu2.barHeight="menu" 
coolMenu2.barClass="clBar"
coolMenu2.barX=0 
coolMenu2.barY=0
coolMenu2.barBorderX=0
coolMenu2.barBorderY=0
coolMenu2.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
coolMenu2.level[0]=new cm_makeLevel() //Add this for each new level
coolMenu2.level[0].width=122
coolMenu2.level[0].height=18
coolMenu2.level[0].regClass="coolMenu2Level0"
coolMenu2.level[0].overClass="coolMenu2Level0over"
coolMenu2.level[0].borderX=0
coolMenu2.level[0].borderY=0
coolMenu2.level[0].borderClass="coolMenu2Level0border"
coolMenu2.level[0].offsetX=118
coolMenu2.level[0].offsetY=-17
coolMenu2.level[0].rows=0
coolMenu2.level[0].arrow=0
coolMenu2.level[0].arrowWidth=0
coolMenu2.level[0].arrowHeight=0
coolMenu2.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
coolMenu2.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
//coolMenu2.level[1].width=coolMenu2.level[0].width-2
coolMenu2.level[1].width=140
coolMenu2.level[1].height=18
coolMenu2.level[1].regClass="coolMenu2Level1"
coolMenu2.level[1].overClass="coolMenu2Level1over"
coolMenu2.level[1].borderX=1
coolMenu2.level[1].borderY=1
coolMenu2.level[1].align="bottom" 
coolMenu2.level[1].offsetX=130
coolMenu2.level[1].offsetY=-15
coolMenu2.level[1].borderClass="coolMenu2Level1border"

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
