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

//Menu properties   
oCMenu1.pxBetween=0
oCMenu1.fromLeft=20
oCMenu1.fromTop=152
oCMenu1.rows=1
oCMenu1.menuPlacement="left"

oCMenu1.offlineRoot="file:///H:/Beyonex/Web Site/" 
oCMenu1.onlineRoot="http://www.beyonex.net/" 
oCMenu1.resizeCheck=1
oCMenu1.wait=200 
//oCMenu1.fillImg="http://www.beyonex.net/images/menu_back.gif"
oCMenu1.zIndex=0

//Background bar properties
oCMenu1.useBar=0
oCMenu1.barWidth="80%"
oCMenu1.barHeight="menu"
oCMenu1.barClass="clBar"
oCMenu1.barX=0
oCMenu1.barY=163
oCMenu1.barBorderX=0
oCMenu1.barBorderY=0
//oCMenu.barBorderClass="clLevel2border"

//Level properties - ALL properties have to be spesified in level 0
oCMenu1.level[0]=new cm_makeLevel() //Add this for each new level

oCMenu1.level[0].width=125
oCMenu1.level[0].height=19
oCMenu1.level[0].regClass="cl2Level0"
oCMenu1.level[0].overClass="cl2Level0over"
oCMenu1.level[0].borderX=0
oCMenu1.level[0].borderY=0
oCMenu1.level[0].borderClass="cl2Level0border"
oCMenu1.level[0].offsetX=-125
oCMenu1.level[0].offsetY=+20
oCMenu1.level[0].rows=0
oCMenu1.level[0].arrow=""
oCMenu1.level[0].arrowWidth=9
oCMenu1.level[0].arrowHeight=9
oCMenu1.level[0].align="center"

//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
oCMenu1.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)

oCMenu1.level[1].clippx=0

oCMenu1.level[1].width=180
oCMenu1.level[1].height=20
oCMenu1.level[1].regClass="cl2Level1"
oCMenu1.level[1].overClass="cl2Level1over"
oCMenu1.level[1].borderX=0
oCMenu1.level[1].borderY=0
oCMenu1.level[1].align="right"
oCMenu1.level[1].offsetX=-(oCMenu1.level[0].width+800)/10+90
oCMenu1.level[1].borderClass="cl2Level1border"
oCMenu1.level[1].offsetY=5
oCMenu1.level[1].arrow=""

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

oCMenu1.makeMenu('top1','','COMPUTER REPAIR','content/computer_repair.html')

oCMenu1.makeMenu('top2','','DESKTOP SYSTEMS','content/desktops.html')

oCMenu1.makeMenu('top3','','SUPPORT','content/software_downloads.html')
	
oCMenu1.makeMenu('top5','','CONTACT US','content/contact.html')

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

//Extra test code to customize the CoolMenus.
var xx,yy

function getCoords(e){
	xx=(bw.ns4 || bw.ns6)?e.pageX:event.x||event.clientX
  yy=(bw.ns4 || bw.ns6)?e.pageY:event.y||event.clientY
}

//Capturing onmousemove event
if(bw.ns4) document.captureEvents(Event.MOUSEMOVE)
document.onmousemove=getCoords;	
