
/*** 
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
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=155
oCMenu.fromTop=40   
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="95%"
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 spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=108
oCMenu.level[0].height=18 
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=5
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
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].width=190
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="left" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+70
oCMenu.level[1].offsetY=5
oCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify 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=20
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('top0','','&nbsp;About EGS','../about-egs/index.html','',90,0)
  oCMenu.makeMenu('sub00','top0','Board of EGS','../about-egs/board.html')
//    oCMenu.makeMenu('sub001','sub00','- New DHTML API released','','',160,0)
//	  oCMenu.makeMenu('sub002','sub00','- Explorer 7 is out','','',160,0)
//	  oCMenu.makeMenu('sub003','sub00','- Opera 6 supports innerHTML','','',160,0)
	oCMenu.makeMenu('sub01','top0','Aims of EGS','../about-egs/aims.html')
	oCMenu.makeMenu('sub02','top0','Logo and Font of EGS','../about-egs/logo.html')
	oCMenu.makeMenu('sub03','top0','Scientific committee','../about-egs/scientific.html')
	oCMenu.makeMenu('sub04','top0','Full members of EGS','../about-egs/members.html')
	oCMenu.makeMenu('sub05','top0','Associated members of EGS','../about-egs/associated.html')
	oCMenu.makeMenu('sub06','top0','Represented patients of EGS','../about-egs/represented.html')
	oCMenu.makeMenu('sub07','top0','Photos of EGS','../about-egs/photos.html')	
	
	
oCMenu.makeMenu('top1','','&nbsp;National Groups','../groups/index.html','',110,0)
	oCMenu.makeMenu('sub10','top1','Austria','../groups/austria.html')
    oCMenu.makeMenu('sub101','sub10','Website of Austria','http://austria.galactosaemia.eu','_blank',160,0)
	oCMenu.makeMenu('sub11','top1','Belgium','../groups/belgium.html')
	oCMenu.makeMenu('sub12','top1','Denmark','../groups/denmark.html')
    oCMenu.makeMenu('sub121','sub12','Website of Denmark','http://denmark.galactosaemia.eu','_blank',160,0)
	oCMenu.makeMenu('sub13','top1','Estonia','../groups/estonia.html')
	oCMenu.makeMenu('sub14','top1','France','../groups/france.html')
    oCMenu.makeMenu('sub141','sub14','Website of France','http://france.galactosaemia.eu','_blank',160,0)
	oCMenu.makeMenu('sub15','top1','Germany','../groups/germany.html')
    oCMenu.makeMenu('sub151','sub15','Website of Germany','http://germany.galactosaemia.eu','_blank',160,0)
	oCMenu.makeMenu('sub16','top1','Ireland','../groups/ireland.html')
	oCMenu.makeMenu('sub17','top1','Italy','../groups/italy.html')
	oCMenu.makeMenu('sub18','top1','Norway','../groups/norway.html')
    oCMenu.makeMenu('sub181','sub18','Website of Norway','http://norway.galactosaemia.eu','_blank',160,0)
	oCMenu.makeMenu('sub19','top1','The Netherlands','../groups/netherlands.html')
    oCMenu.makeMenu('sub191','sub19','Website of The Netherlands','http://netherlands.galactosaemia.eu','_blank',180,0)
	oCMenu.makeMenu('sub20','top1','Spain','../groups/spain.html')
    oCMenu.makeMenu('sub201','sub20','Website of Spain','http://spain.galactosaemia.eu','_blank',180,0)	
	oCMenu.makeMenu('sub21','top1','Switzerland','../groups/switzerland.html')
    oCMenu.makeMenu('sub211','sub21','Website of Switzerland','http://switzerland.galactosaemia.eu','_blank',160,0)
	oCMenu.makeMenu('sub22','top1','United Kingdom','../groups/uk.html')
    oCMenu.makeMenu('sub221','sub22','Website of United Kingdom','http://uk.galactosaemia.eu','_blank',180,0)


oCMenu.makeMenu('top2','','&nbsp;About Galactosaemia','../galactosaemia/index.html','',142,0)
	oCMenu.makeMenu('sub30','top2','Classical Galactosaemia','../galactosaemia/what-is-galactosaemia.html')
	oCMenu.makeMenu('sub31','top2','Milestones','../galactosaemia/milestones.html')
	oCMenu.makeMenu('sub32','top2','Screening for Galactosaemia','../galactosaemia/screening.html')
	oCMenu.makeMenu('sub33','top2','Metabolism','../galactosaemia/metabolism.html')
	oCMenu.makeMenu('sub34','top2','Hormones','../galactosaemia/hormones.html')
	oCMenu.makeMenu('sub35','top2','Endogenous galactose','../galactosaemia/endogenous-galactose.html')
	oCMenu.makeMenu('sub36','top2','Duarte Variant','../galactosaemia/duarte-variant.html')
	oCMenu.makeMenu('sub37','top2','Galactokinase deficiency','../galactosaemia/galactokinase.html')
	oCMenu.makeMenu('sub38','top2','International research','../galactosaemia/research.html')	
	oCMenu.makeMenu('sub39','top2','Proposal for Guidelines','../galactosaemia/proposal.html')	


oCMenu.makeMenu('top3','','&nbsp;Diet & Tourism','../diet-tourism/index.html','',110,0)
	oCMenu.makeMenu('sub40','top3','One diet for Europe?','../one-diet-for-europe/index.html')
	oCMenu.makeMenu('sub41','top3','Other names for milk','../diet-tourism/milkalias.html')
	oCMenu.makeMenu('sub43','top3','Diet passport','../diet-passport/index.html')
	oCMenu.makeMenu('sub431','sub43','Bosnian passport','../diet-passport/bosnian-print.html','_blank',160,0)
	oCMenu.makeMenu('sub432','sub43','Croatian passport','../diet-passport/croatian-print.html','_blank',160,0)
	oCMenu.makeMenu('sub433','sub43','Danish passport','../diet-passport/dansk-print.html','_blank',160,0)
	oCMenu.makeMenu('sub434','sub43','Dutch passport','../diet-passport/dutch-print.html','_blank',160,0)
    oCMenu.makeMenu('sub435','sub43','English passport','../diet-passport/english-print.html','_blank',160,0)
	oCMenu.makeMenu('sub436','sub43','Estonian passport','../diet-passport/estonian-print.html','_blank',160,0)
	oCMenu.makeMenu('sub437','sub43','Finnish passport','../diet-passport/finnish-print.html','_blank',160,0)
    oCMenu.makeMenu('sub438','sub43','French passport','../diet-passport/french-print.html','_blank',160,0)
    oCMenu.makeMenu('sub439','sub43','German passport','../diet-passport/german-print.html','_blank',160,0)
    oCMenu.makeMenu('sub440','sub43','Hungarian passport','../diet-passport/hungarian-print.html','_blank',160,0)
    oCMenu.makeMenu('sub441','sub43','Italian passport','../diet-passport/italian-print.html','_blank',160,0)
    oCMenu.makeMenu('sub442','sub43','Norvegian passport','../diet-passport/norvegian-print.html','_blank',160,0)
    oCMenu.makeMenu('sub443','sub43','Polish passport','../diet-passport/polish-print.html','_blank',160,0)
    oCMenu.makeMenu('sub444','sub43','Romanian passport','../diet-passport/romanian-print.html','_blank',160,0)
	oCMenu.makeMenu('sub445','sub43','Spanish/Catalan passport','../diet-passport/spanish-catalan-print.html','_blank',160,0)	
	oCMenu.makeMenu('sub45','top3','Recipes','../diet-tourism/recipes.html')
	oCMenu.makeMenu('sub46','top3','Tourist Information','../diet-tourism/tourism.html')	

oCMenu.makeMenu('top4','','&nbsp;Events & Publications','../events-publications/index.html','',137,0)
	oCMenu.makeMenu('sub60','top4','Annual EGS-meetings','../meeting/index.html')
    oCMenu.makeMenu('sub601','sub60','Rotterdam 2002','../meeting/2002.html','',160,0)
    oCMenu.makeMenu('sub602','sub60','Barcelona 2003','../meeting/2003.html','',160,0)
    oCMenu.makeMenu('sub603','sub60','Lille 2004','../meeting/2004.html','',160,0)
    oCMenu.makeMenu('sub604','sub60','Son 2005','../meeting/2005.html','',160,0)
    oCMenu.makeMenu('sub605','sub60','Dublin 2006','../meeting/2006.html','',160,0)
    oCMenu.makeMenu('sub606','sub60','Darmstadt 2007','../meeting/2007.html','',160,0)
    oCMenu.makeMenu('sub607','sub60','Aarhus 2008','../meeting/2008.html','',160,0)
    oCMenu.makeMenu('sub608','sub60','Paris 2009','../meeting/2009.html','',160,0)
	oCMenu.makeMenu('sub61','top4','Events in Europe','../events-publications/events.html')
	oCMenu.makeMenu('sub62','top4','Galactosaemic Conferences','../events-publications/conferences.html')
	oCMenu.makeMenu('sub63','top4','EGS News','../news/index.html')
    oCMenu.makeMenu('sub631','sub63','EGS-News 01 - 1998','../news/news01.html','',190,0)
    oCMenu.makeMenu('sub632','sub63','EGS-News 02 - 1999','../news/news02.html','',190,0)
    oCMenu.makeMenu('sub633','sub63','EGS-News 03 - 2000','../news/news03.html','',190,0)
    oCMenu.makeMenu('sub634','sub63','EGS-News 04 - 2001','../news/news04.html','',190,0)
    oCMenu.makeMenu('sub635','sub63','EGS-News 05 - 2002','../news/news05.html','',190,0)
    oCMenu.makeMenu('sub636','sub63','EGS-News 06 - 2003','../news/news06.html','',190,0)
    oCMenu.makeMenu('sub637','sub63','EGS-News 07 - 2004','../news/news07.html','',190,0)
    oCMenu.makeMenu('sub638','sub63','EGS-News 08 - 2005','../news/news08.html','',190,0)

oCMenu.makeMenu('top5','','&nbsp;Links','../links/index.html','',60,0)
	oCMenu.makeMenu('sub80','top5','&nbsp;International Groups','../links/index.html','')
		oCMenu.makeMenu('sub800','sub80','Galactosemic Children (USA)','http://www.galactosemia.org','_blank',240,0)
		oCMenu.makeMenu('sub801','sub80','Galactosemia Information (USA)','http://www.galactosemia.com','_blank',240,0)
	oCMenu.makeMenu('sub81','top5','&nbsp;Medical Organisations','../links/index.html')
		oCMenu.makeMenu('sub810','sub81','Kompetenzzentrum Galaktosämie (DE)','http://www.uniklinik-duesseldorf.de/galaktosaemie','_blank',240,0)
		oCMenu.makeMenu('sub811','sub81','SSIEM - Charity Society (UK)','http://www.ssiem.org.uk','_blank',240,0)
	oCMenu.makeMenu('sub82','top5','&nbsp;Companies','../links/index.html')
		oCMenu.makeMenu('sub820','sub82','SHS International','http://www.shsweb.co.uk','_blank',240,0)
	
	

//Leave this line - it constructs the menu
oCMenu.construct()		
