//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=10
oCMenu.fromLeft=20 
oCMenu.fromTop=85   
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="file:///C|/temp/stb/scripts/coolmenus/" 
oCMenu.onlineRoot="images/" 
oCMenu.resizeCheck=1 
oCMenu.wait=100 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="100%"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0 
oCMenu.barY=0
oCMenu.barBorderX=0
oCMenu.barBorderY=0
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=90
oCMenu.level[0].height=18 
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=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow="arrow.gif"
oCMenu.level[0].arrowWidth=10
oCMenu.level[0].arrowHeight=10
oCMenu.level[0].align="bottom"

//dynamic effect (controllable for each level)
oCMenu.level[0].clippx=3
oCMenu.level[0].cliptim=1
//special animation filters (IE5.5+ only, controllable for each level)
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 

//Other special animation filters (IE5.5+ only, controllable for each level)
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Barn(duration=0.5,orientation=horizontal)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Blinds(duration=0.5,bands=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.CheckerBoard(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.5,wipeStyle=0)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=STAR)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=CIRCLE)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Pixelate(duration=0.5,maxSquare=40)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Spiral(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Stretch(duration=0.5,stretchStyle=push)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Strips(duration=0.5,motion=rightdown)"


//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=oCMenu.level[0].width-4
oCMenu.level[1].height=18
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
//dynamic effect
oCMenu.level[1].clippx=2
oCMenu.level[1].cliptim=2
//special animation filters
oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 


//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=18
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('top9','','What is Orienteering?','http://orienteering.ie/wiki/doku.php?id=ioa:whatiso','',130,0)
oCMenu.makeMenu('top0','','Fixtures','http://orienteering.ie/builder.php3?Fixtures','',65,0)
	oCMenu.makeMenu('sub00','top0','Fixtures','http://orienteering.ie/builder.php3?Fixtures','',96,0)
	oCMenu.makeMenu('sub01','top0','Northern Ireland','http://www.niorienteering.org.uk/NIOA/?Events','',96,0)

oCMenu.makeMenu('top1','','Results','http://orienteering.ie/builder.php3?Results','',63,0)
	oCMenu.makeMenu('sub10','top1','View Results','http://orienteering.ie/builder.php3?Results','',96,0)
	oCMenu.makeMenu('sub11','top1','RouteGadget','http://orienteering.ie/gadget/cgi-bin/reitti.cgi','',96,0)
	oCMenu.makeMenu('sub12','top1','Leagues','http://orienteering.ie/wiki/doku.php?do=show&id=ioa:leagues','',96,0)
	oCMenu.makeMenu('sub13','top1','Search Results','http://orienteering.ie/builder.php3?results/ResultsSearchPage.php3','',96,0)
	oCMenu.makeMenu('sub14','top1','Upload','http://orienteering.ie/builder.php3?results/ResultsAddPage1.php3','',96,0)
	oCMenu.makeMenu('sub15','top1','Northern Ireland','http://www.niorienteering.org.uk/NIOA/?Results','',96,0)
	oCMenu.makeMenu('sub16','top1','International','','',96,0)
  	    oCMenu.makeMenu('sub161','sub16','Winsplits','http://www.obasen.nu/winsplits/online/en/','',80,0)
	    oCMenu.makeMenu('sub162','sub16','Splitsbrowser','http://www.splitsbrowser.org.uk/browseevents.php','',80,0)
	    oCMenu.makeMenu('sub163','sub16','RouteGadget','http://www.routegadget.net','',80,0)

oCMenu.makeMenu('top5','','Information','',75,0)
	oCMenu.makeMenu('sub51','top5','Orienteering Education','http://orienteering.ie/wiki/doku.php?do=show&id=coaching:index','',175,0)
	oCMenu.makeMenu('sub52','top5','Gear','http://orienteering.ie/wiki/doku.php?id=ioa:shopping','',175,0)
	oCMenu.makeMenu('sub53','top5','GPS','http://orienteering.ie/wiki/doku.php?do=show&id=gps','',175,0)
	oCMenu.makeMenu('sub54','top5','Mapping','http://orienteering.ie/wiki/doku.php?do=show&id=mapping:index','',175,0)
	oCMenu.makeMenu('sub55','top5','SPORTident','http://orienteering.ie/wiki/doku.php?do=show&id=si:index','',175,0)
	oCMenu.makeMenu('sub56','top5','Irish Orienteering Association','http://orienteering.ie/wiki/doku.php?do=show&id=ioa:index','',175,0)
        oCMenu.makeMenu('sub57','top5','Sources of Information','','',175,0)
    	    oCMenu.makeMenu('sub571','sub57','Irish Orienteering Forum','http://groups.yahoo.com/group/irish-orienteering/messages','',150,0)
	    oCMenu.makeMenu('sub572','sub57','Irish MTBO Forum','http://groups.yahoo.com/group/mtbo/messages','',150,0)
	    oCMenu.makeMenu('sub573','sub57','Nopesport','http://nopesport.com','',120,0)
	    oCMenu.makeMenu('sub574','sub57','World of O','http://www.worldofo.com','',120,0)
        oCMenu.makeMenu('sub58','top5','Software','','',175,0)
	    oCMenu.makeMenu('sub581','sub58','&#211;r','http://orienteering.ie/or/index.html','',50,0)
	    oCMenu.makeMenu('sub582','sub58','OE2003','http://www.sportsoftware.de/eng/home.html','',50,0)
	    oCMenu.makeMenu('sub583','sub58','E-Results','http://www.oriento.fi/en','',50,0)
	    oCMenu.makeMenu('sub584','sub58','OCAD','www.ocad.com/','',50,0)
	oCMenu.makeMenu('sub59','top5','FAQ','http://orienteering.ie/wiki/doku.php?id=ioa:faq','',175,0)
	oCMenu.makeMenu('sub5a','top5','TIO Blog','http://tio.orienteering.ie','',175,0)
	oCMenu.makeMenu('sub5b','top5','Control Descriptions','','',175,0)
	    oCMenu.makeMenu('sub5b1','sub5b','IOF Control Descriptions','http://www.orienteering.org/i3/index.php?/iof2006/content/download/830/3903/file/Control%20Descriptions%202004%20symbols%20only.pdf','',125,0)
	    oCMenu.makeMenu('sub5b2','sub5b','Control Descriptions Quiz','http://www.fortnet.org/icd/','',125,0)

	oCMenu.makeMenu('top6','','High Performance','http://orienteering.ie/wiki/doku.php?do=show&id=highperformance','',120,0)
	    oCMenu.makeMenu('top61','top6','Elite Squad','http://irishseniororienteering.blogspot.com/','',150,0)
	    oCMenu.makeMenu('top62','top6','Junior Squad','http://juniors.orienteering.ie','',150,0)
	    oCMenu.makeMenu('top63','top6','Reigning Irish Champions','http://orienteering.ie/wiki/doku.php?do=show&id=ioa:reigningirishchampions','',150,0)
	    oCMenu.makeMenu('top64','top6','Past Irish Champions','http://orienteering.ie/wiki/doku.php?do=show&id=ioa:pastirishchampions','',150,0)
	    oCMenu.makeMenu('top65','top6','IOA Annual Awards','http://orienteering.ie/wiki/doku.php?do=show&id=ioa:ioaannualawards','',150,0)
	    oCMenu.makeMenu('top66','top6','Trophies','http://orienteering.ie/wiki/doku.php?id=ioa:trophies','',150,0)

oCMenu.makeMenu('top7','','Links','','',46,0)
	oCMenu.makeMenu('sub71','top7','Irish Links','http://orienteering.ie/wiki/doku.php?id=ioa:irishlinks','',70,0)
	oCMenu.makeMenu('sub72','top7','Weather','http://www.met.ie','',70,0)
	oCMenu.makeMenu('sub73','top7','Travel','http://orienteering.ie/wiki/doku.php?id=ioa:travel','',70,0)
	
oCMenu.makeMenu('top2','','Contacts','','',70,0)
	oCMenu.makeMenu('sub21','top2','Irish Orienteering Association','http://orienteering.ie/wiki/doku.php?do=show&id=ioa:ioacontact','',180,0)
	oCMenu.makeMenu('sub22','top2','Irish Orienteering Clubs','http://orienteering.ie/builder.php3?Clubs','',180,0)
	oCMenu.makeMenu('sub23','top2','Other Irish Orienteering Groups','http://orienteering.ie/wiki/doku.php?do=show&id=ioa:otherorganisations','',180,0)
	oCMenu.makeMenu('sub24','top2','International','http://orienteering.ie/wiki/doku.php?id=ioa:international','',180,0)
	oCMenu.makeMenu('sub25','top2','Webmaster','mailto:webmaster@orienteering.ie','',180,0)

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