/*****************************************************************************
Menu design Copywrite (c) 2006 The Goldfish Online www.goldfish.org.uk

The actual javascript has the following copywrite information

Copyright (c) 2001 Thomas Brattli (webmaster@dhtmlcentral.com)

DHTML coolMenus - Get it at coolmenus.dhtmlcentral.com Version 4.0_beta
******************************************************************************/

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

oCMenu.frames = 0

//Menu properties
oCMenu.pxBetween=0
oCMenu.fromLeft=132
oCMenu.fromTop=100
oCMenu.rows=1
oCMenu.menuPlacement="left"

oCMenu.offlineRoot="file:///C:/Documents%20and%20Settings/mjhoward/My%20Documents/webpages/www.goldfish.org.uk.7.12.06/"
oCMenu.onlineRoot="/"
oCMenu.resizeCheck=1
oCMenu.wait=1000
oCMenu.fillImg="/images/cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
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=100
oCMenu.level[0].height=20
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow='images/arrow_d.gif'
oCMenu.level[0].arrowWidth=9
oCMenu.level[0].arrowHeight=9
oCMenu.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
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-2
oCMenu.level[1].height=20
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right"
oCMenu.level[1].offsetX=-(oCMenu.level[0].width)/4
oCMenu.level[1].offsetY=oCMenu.level[1].height/2
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].arrow='images/arrow_r.gif'
oCMenu.level[1].arrowWidth=9
oCMenu.level[1].arrowHeight=9

//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=oCMenu.level[0].width
oCMenu.level[2].height=20
oCMenu.level[2].offsetX=-(oCMenu.level[1].width)/4
oCMenu.level[2].offsetY=oCMenu.level[2].height/2
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('top0','','<center>Home</center>','index.html','',60)

oCMenu.makeMenu('top1','','<center>LEGO</center>','lego.html')
	oCMenu.makeMenu('sub10','top1','Aeroplane','aeroplane.html')
                oCMenu.makeMenu('sub100','sub10','Joystick','joystick.html')
                oCMenu.makeMenu('sub101','sub10','Ailerons','ailerons.html')
                oCMenu.makeMenu('sub102','sub10','Rotary Engine','rotaryengine.html')
                oCMenu.makeMenu('sub103','sub10','Flaps','flaps.html')
                oCMenu.makeMenu('sub104','sub10','Rudder and Elevators','rudder.html','','',35)
	oCMenu.makeMenu('sub11','top1','Logic Gates','logic.html')
		oCMenu.makeMenu('sub110','sub11','NOT/Buffer','not.html')
                oCMenu.makeMenu('sub111','sub11','AND/NOR','andnor.html')
                oCMenu.makeMenu('sub112','sub11','OR/NAND','ornand.html')
                oCMenu.makeMenu('sub113','sub11','XOR','xor.html')
                oCMenu.makeMenu('sub114','sub11','Flip-Flop','flipflop.html')
                oCMenu.makeMenu('sub115','sub11','Clocked Logic','clocked.html')
                oCMenu.makeMenu('sub116','sub11','Half Adder','halfadder.html')
	oCMenu.makeMenu('sub12','top1',"Rubik's Cube",'rubik.html')
		oCMenu.makeMenu('sub120','sub12','Corner Pieces','rccorners.html')
		oCMenu.makeMenu('sub121','sub12','Edge Pieces','rcedges.html')
                oCMenu.makeMenu('sub122','sub12','Internal Mechanism','rcinternal.html')
                oCMenu.makeMenu('sub123','sub12','Construction','rcconstruct.html')
        oCMenu.makeMenu('sub13','top1',"DIY RCX",'diyrcx.html')
        oCMenu.makeMenu('sub14','top1',"Piano",'piano.html')
        oCMenu.makeMenu('sub15','top1',"Millenium Falcon",'mfalc.html')
        oCMenu.makeMenu('sub16','top1',"Marine Chronometer",'chronometer.html','','',35)
        oCMenu.makeMenu('sub17','top1',"Difference Engine",'difference.html')

oCMenu.makeMenu('top2','','<center>Games</center>','games.html','',97)
	oCMenu.makeMenu('sub21','top2','Blood Bowl Soccer','bbsoccer.html','',95,35)
	oCMenu.makeMenu('sub22','top2','1930!','1930.html', '', 95)

oCMenu.makeMenu('top3','','<center>Monopoly Pub Crawl</center>','monopolypubcrawl.html', '',160)
	oCMenu.makeMenu('sub31','top3','Pub Crawl Route','monopolypubcrawl.html','',160)
	oCMenu.makeMenu('sub32','top3','Pub Crawl Photos','monopolyphotos.html','',160)
/*we're not quite ready for this yet
oCMenu.makeMenu('top4','','<center>Hedge Fund</center>','hedgefund.html')
	oCMenu.makeMenu('sub31','top4','Trading Notes','hfnotes.html')
	oCMenu.makeMenu('sub32','top4','Graphs & Charts','hfgraphs.html')
*/
oCMenu.makeMenu('top5','','<center>CV/Resume</center>','cv.html')

oCMenu.makeMenu('top6','','<center>Comments</center>',ceml("goldfish", "tiscali", "co","uk"),'',90)

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