/*** 
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.
**/

var oM=new makeCM("oM")
oM.pxBetween =0
oM.fromTop=160
oM.fromLeft=0
oM.menuPlacement="center"
oM.wait=600
oM.fillImg=0
oM.zIndex=100 
oM.resizeCheck=0
oM.zIndex=100  

oM.onlineRoot=""
oM.offlineRoot=""

oM.rows=1

//Level properties
//Syntax for fast creation (advanced users only)
//oM.level[1]=new cm_makeLevel(width,height,regClass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight)

oM.level[0]=new cm_makeLevel()
oM.level[0].width=180
oM.level[0].height=20
oM.level[0].regClass="clT" 
oM.level[0].overClass="clTover"  
oM.level[0].borderX=1
oM.level[0].borderY=0
oM.level[0].borderClass="clB2" 
oM.level[0].rows=0
oM.level[0].align="bottom"
oM.level[0].offsetX=0
oM.level[0].offsetY=0
oM.level[0].arrow=0
oM.level[0].arrowWidth=0
oM.level[0].arrowHeight=0

oM.level[1]=new cm_makeLevel()
oM.level[1].width=180
oM.level[1].height=20
oM.level[1].regClass="clS" 
oM.level[1].overClass="clSover" 
oM.level[1].borderX=1
oM.level[1].borderY=1
oM.level[1].borderClass="clB1"
oM.level[1].align="bottomright"
oM.level[1].rows=1
oM.level[1].arrow=0
oM.level[1].arrowWidth=1
oM.level[1].arrowHeight=1

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

	
oM.makeMenu('top0','','tHe beaT','','',130,'','','','','',"center")
	oM.makeMenu('0sub01','top0','About Us','the-beat.html','',130,20)
	oM.makeMenu('0sub02','top0','Services','services.html','',130,20)
	oM.makeMenu('0sub03','top0','Apparel','apparel.html','',130,20)
	
oM.makeMenu('top1','','Faculty','','',130,'','','','','',"center")
	oM.makeMenu('1sub01','top1','Charisse Craft-Barry','faculty-Charisse.html','',180,20)
	oM.makeMenu('1sub02','top1','Brixey Blankenship','faculty-Brixey.html','',180,20)
	oM.makeMenu('1sub03','top1','Richard d&rsquo;Alton','faculty-Richard.html','',180,20)
	oM.makeMenu('1sub04','top1','Ray Dones','faculty-Ray.html','',180,20)
	oM.makeMenu('1sub05','top1','Marlana Walsh-Doyle','faculty-Marlana.html','',180,20)
	oM.makeMenu('1sub06','top1','Kelli Hecker','faculty-Kelli.html','',180,20)
	oM.makeMenu('1sub07','top1','Kim Kelley','faculty-Kim.html','',180,20)
	oM.makeMenu('1sub08','top1','Michelle Manzanales','faculty-Michelle.html','',180,20)
	oM.makeMenu('1sub09','top1','Frances Manzo','faculty-Frances.html','',180,20)
	oM.makeMenu('1sub10','top1','Trisha Owens Nees','faculty-Trisha.html','',180,20)
	oM.makeMenu('1sub11','top1','Quinton Weathers','faculty-Quinton.html','',180,20)
	oM.makeMenu('1sub12','top1','Jade Whitmire','faculty-Jade.html','',180,20)
	oM.makeMenu('1sub13','top1','Holley Owens Windle','faculty-Holly.html','',180,20)

oM.makeMenu('top2','','Registration','','',130,'','','','','',"center")
	oM.makeMenu('2sub01','top2','To Register','to-register.html','',130,20)
	oM.makeMenu('2sub02','top2','Registration Form','documents/thebeat-registration.pdf','_blank',130,20)
	oM.makeMenu('2sub03','top2','Terms &amp; Conditions','documents/theBeat-Terms.pdf','',130,20)
	oM.makeMenu('2sub04','top2','Release &amp; Waiver','documents/theBeat-Waiver.pdf','',130,20)
	oM.makeMenu('2sub05','top2','Fee','fee.html','',130,20)

oM.makeMenu('top3','','Tour','','',130,'','','','','',"center")
	oM.makeMenu('3sub01','top3','Tour Info','home-beat.html','',130,20)
	oM.makeMenu('3sub02','top3','Scholarships','beat-scholarship.html','',130,20)

oM.construct()

//Extra test code to customize the CoolMenus.
var xx,yy
oM.m["top0"].b.hideIt() //Hiding the 1st item.
oM.m["top1"].b.hideIt() //Hiding the 2nd item.
oM.m["top2"].b.hideIt() //Hiding the 3rd item.
oM.m["top3"].b.hideIt() //Hiding the 4th item.

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;
