/*** 
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=135 
oCMenu.fromTop=116   
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="file:///D|/Projektit/lappiuudet2/" 
oCMenu.onlineRoot="/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="640"
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=100
oCMenu.level[0].height=27 
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=+10
oCMenu.level[0].offsetY=0
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].height=25
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-2)/2+20
oCMenu.level[1].offsetY=+10
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=160
oCMenu.level[2].height=22
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','','<img src="/kuvat/0_tyhja.jpg">','','','35')

oCMenu.makeMenu('top1','','<img src="/kuvat/1_info.jpg" alt="INFO">','','','53')
  oCMenu.makeMenu('sub10','top1','Suomeksi','info/finnish.html')
  oCMenu.makeMenu('sub11','top1','English','info/english.html')
	
oCMenu.makeMenu('top2','','<img src="/kuvat/2_alacarte.jpg" alt="A LA CARTE">','','','115')
	oCMenu.makeMenu('sub20','top2','Suomeksi','','','120')
		oCMenu.makeMenu('sub200','sub20','Alkuruoat','alacarte/finnish/alkuruoat.html')
		oCMenu.makeMenu('sub201','sub20','Keitot / kasvisruoka','alacarte/finnish/keitotkasvisruoka.html')
		oCMenu.makeMenu('sub202','sub20','Liharuoat','alacarte/finnish/liharuoat.html')
		oCMenu.makeMenu('sub203','sub20','Kalaruoat','alacarte/finnish/kalaruoat.html')
		oCMenu.makeMenu('sub204','sub20','Jälkiruoat','alacarte/finnish/jalkiruoat.html')
	oCMenu.makeMenu('sub21','top2','English','','','120')
		oCMenu.makeMenu('sub210','sub21','Appetizers','alacarte/english/appetizers.html')
		oCMenu.makeMenu('sub211','sub21','Soups / Vegetable dish','alacarte/english/soupsvegetable.html')
		oCMenu.makeMenu('sub212','sub21','Main dishes','alacarte/english/maindishes.html')
		oCMenu.makeMenu('sub213','sub21','Fish dishes','alacarte/english/fishdishes.html')
		oCMenu.makeMenu('sub214','sub21','Desserts','alacarte/english/desserts.html')
	oCMenu.makeMenu('sub22','top2','German','','','120')
		oCMenu.makeMenu('sub220','sub22','Vorspeisen','alacarte/german/vorspeisen.html')
		oCMenu.makeMenu('sub221','sub22','Suppen / Vegetarische Gerichte','alacarte/german/suppenvegetarischegerichte.html')
		oCMenu.makeMenu('sub222','sub22','Fleischgerichte','alacarte/german/fleischgerichte.html')
		oCMenu.makeMenu('sub223','sub22','Fischgerichte','alacarte/german/fischgerichte.html')
		oCMenu.makeMenu('sub224','sub22','Desserts','alacarte/german/desserts.html')
	oCMenu.makeMenu('sub23','top2','French','','','120')
		oCMenu.makeMenu('sub230','sub23','Hors d´oeuvre','alacarte/french/horsdoeuvre.html')
		oCMenu.makeMenu('sub231','sub23','Les potages / Plats végétarien','alacarte/french/lespotagesplatsvegetarien.html')
		oCMenu.makeMenu('sub232','sub23','Plats de viande','alacarte/french/platsdeviande.html')
		oCMenu.makeMenu('sub233','sub23','Plats de poisson','alacarte/french/platsdepoisson.html')
		oCMenu.makeMenu('sub234','sub23','Desserts','alacarte/french/desserts.html')
	oCMenu.makeMenu('sub24','top2','Spanish','','','120')
		oCMenu.makeMenu('sub240','sub24','Entremeses','alacarte/spanish/entremeses.html')
		oCMenu.makeMenu('sub241','sub24','Sopas / Plato de verduras','alacarte/spanish/sopasplatodeverduras.html')
		oCMenu.makeMenu('sub242','sub24','Carnes','alacarte/spanish/carnes.html')
		oCMenu.makeMenu('sub243','sub24','Pescados','alacarte/spanish/pescados.html')
		oCMenu.makeMenu('sub244','sub24','Postres','alacarte/spanish/postres.html')
	oCMenu.makeMenu('sub25','top2','Italian','','','120')
		oCMenu.makeMenu('sub250','sub25','Antipasti','alacarte/italian/antipasti.html')
		oCMenu.makeMenu('sub251','sub25','Zuppe / Piatti vegetariani','alacarte/italian/zuppepiattivegetariani.html')
		oCMenu.makeMenu('sub252','sub25','Piatti di carne','alacarte/italian/piattidicarne.html')
		oCMenu.makeMenu('sub253','sub25','Piatti di pesce','alacarte/italian/piattidipesce.html')
		oCMenu.makeMenu('sub254','sub25','Dessert','alacarte/italian/dessert.html')
	oCMenu.makeMenu('sub26','top2','Swedish','','','120')
		oCMenu.makeMenu('sub260','sub26','Förrätter','alacarte/swedish/forratter.html')
		oCMenu.makeMenu('sub261','sub26','Soppor / Vegetariska koster','alacarte/swedish/sopporvegetariskakoster.html')
		oCMenu.makeMenu('sub262','sub26','Kötträtter','alacarte/swedish/kottratter.html')
		oCMenu.makeMenu('sub263','sub26','Fiskrätter','alacarte/swedish/fiskratter.html')
		oCMenu.makeMenu('sub264','sub26','Efterrätter','alacarte/swedish/efterratter.html')
	oCMenu.makeMenu('sub27','top2','Dutch','','','120')
		oCMenu.makeMenu('sub270','sub27','Voorgerechten','alacarte/dutch/voorgerechten.html')
		oCMenu.makeMenu('sub271','sub27','Soepen / Vegetarische gerechten','alacarte/dutch/soepen.html')
		oCMenu.makeMenu('sub272','sub27','Vleesgerechten','alacarte/dutch/vleesgerechten.html')
		oCMenu.makeMenu('sub273','sub27','Visgerechten','alacarte/dutch/visgerechten.html')
		oCMenu.makeMenu('sub274','sub27','Dessert','alacarte/dutch/dessert.html')
	oCMenu.makeMenu('sub28','top2','China / Japan / Russia','alacarte/english/alacarte.html','','120')
	oCMenu.makeMenu('sub29','top2','Czech','','','120')
		oCMenu.makeMenu('sub290','sub29','Predkrmy','alacarte/czech/predkrmy.html')
		oCMenu.makeMenu('sub291','sub29','Polivky / Pro vegetariany','alacarte/czech/polivkyprovegetariany.html')
		oCMenu.makeMenu('sub292','sub29','Maso','alacarte/czech/maso.html')
		oCMenu.makeMenu('sub293','sub29','Ryby','alacarte/czech/ryby.html')
		oCMenu.makeMenu('sub294','sub29','Dezerty','alacarte/czech/dezerty.html')
	oCMenu.makeMenu('sub2a','top2','Romania','','','120')
		oCMenu.makeMenu('sub2a0','sub2a','Aperitive','alacarte/romania/aperitive.html')
		oCMenu.makeMenu('sub2a1','sub2a','Supe / Meniu Vegetarian','alacarte/romania/supevegetarian.html')
		oCMenu.makeMenu('sub2a2','sub2a','Preparate pe baza de carne','alacarte/romania/carne.html')
		oCMenu.makeMenu('sub2a3','sub2a','Preparate din peste','alacarte/romania/peste.html')
		oCMenu.makeMenu('sub2a4','sub2a','Deserturi','alacarte/romania/deserturi.html')

oCMenu.makeMenu('top3','','<img src="/kuvat/3_cocktails.jpg" alt="COCKTAILS">','','','99')
	oCMenu.makeMenu('sub30','top3','Suomeksi','','','120')
		oCMenu.makeMenu('sub300','sub30','Aperitiiviksi','cocktails/finnish/aperitiiviksi.html','','100')
		oCMenu.makeMenu('sub301','sub30','Jälkiruokadrinkit','cocktails/finnish/jalkiruokadrinkit.html','','100')
	oCMenu.makeMenu('sub31','top3','English','','','120')
		oCMenu.makeMenu('sub310','sub31','Aperitifs','cocktails/english/aperitifs.html','','100')
		oCMenu.makeMenu('sub311','sub31','Dessert Drinks','cocktails/english/dessertdrinks.html','','100')
	oCMenu.makeMenu('sub32','top3','German','','','120')
		oCMenu.makeMenu('sub320','sub32','zum Aperitiv','cocktails/german/zumaperitiv.html','','100')
		oCMenu.makeMenu('sub321','sub32','Dessert Getränke','cocktails/german/dessertgetranke.html','','100')
	oCMenu.makeMenu('sub33','top3','French','','','120')
		oCMenu.makeMenu('sub330','sub33','Apéritifs','cocktails/french/aperitifs.html','','100')
		oCMenu.makeMenu('sub331','sub33','Dessert cocktails','cocktails/french/dessertcocktails.html','','100')
	oCMenu.makeMenu('sub34','top3','Spanish','','','120')
		oCMenu.makeMenu('sub340','sub34','Aperitivos','cocktails/spanish/aperitivos.html','','100')
		oCMenu.makeMenu('sub341','sub34','Bebidas de postre','cocktails/spanish/bebidasdepostre.html','','100')
	oCMenu.makeMenu('sub35','top3','Italian','','','120')
		oCMenu.makeMenu('sub350','sub35','Aperitivi','cocktails/italian/aperitivi.html','','100')
		oCMenu.makeMenu('sub351','sub35','Bevande dessert','cocktails/italian/bevandedessert.html','','100')
	oCMenu.makeMenu('sub36','top3','Swedish','','','120')
		oCMenu.makeMenu('sub360','sub36','Aperitiver','cocktails/swedish/aperitiver.html','','100')
		oCMenu.makeMenu('sub361','sub36','Dessertdrycker','cocktails/swedish/dessertdrycker.html','','100')
	oCMenu.makeMenu('sub37','top3','Dutch','','','120')
		oCMenu.makeMenu('sub370','sub37','Aperitifs','cocktails/dutch/aperitifs.html','','100')
		oCMenu.makeMenu('sub371','sub37','Dessertdrankjes','cocktails/dutch/dessertdrankjes.html','','100')
	oCMenu.makeMenu('sub38','top3','Czech','','','120')
		oCMenu.makeMenu('sub380','sub38','Aperitivy','cocktails/czech/aperitivy.html','','100')
		oCMenu.makeMenu('sub381','sub38','Dezertini napoje','cocktails/czech/dezertininapoje.html','','100')
	oCMenu.makeMenu('sub39','top3','Romania','','','120')
		oCMenu.makeMenu('sub390','sub39','Aperitive – Bauturi','cocktails/romania/aperitive.html','','130')
		oCMenu.makeMenu('sub391','sub39','Bauturi pentru desert','cocktails/romania/bauturipentru.html','','130')

		
oCMenu.makeMenu('top4','','<img src="/kuvat/4_menus.jpg" alt="MENUS">','','','71')
	oCMenu.makeMenu('sub40','top4','Ryhmämenut - Suomeksi','menus/finnish.html','','150')
	oCMenu.makeMenu('sub41','top4','Group menus - English','menus/english.html','','150')
	oCMenu.makeMenu('sub42','top4','Group menus - German','menus/german.html','','150')
	oCMenu.makeMenu('sub43','top4','Group menus - Russian','menus/other.html','','150')

oCMenu.makeMenu('top5','','<img src="/kuvat/5_wines.jpg" alt="WINES">','','','67')
	oCMenu.makeMenu('sub50','top5','Suomeksi','','','90')
		oCMenu.makeMenu('sub500','sub50','Punaviinit','wines/finnish/vanhanmaailmanpunaviinit.html')
		oCMenu.makeMenu('sub501','sub50','Valkoviinit','wines/finnish/vanhanmaailmanvalkoviinit.html')
		oCMenu.makeMenu('sub502','sub50','Tilaviini / Roseviini / Kuohuviini / Samppanjat','wines/finnish/muut.html','','','40')
	oCMenu.makeMenu('sub51','top5','English','','','90')
		oCMenu.makeMenu('sub510','sub51','Red Wines','wines/english/redwinesfromoldworld.html')
		oCMenu.makeMenu('sub511','sub51','White Wines','wines/english/whitewinesfromoldworld.html')
		oCMenu.makeMenu('sub512','sub51','Finnish Fruit Wines / Rosé Wine / Sparkling Wines / Champagnes','wines/english/fruitwinerosewine.html','','','50')
	
oCMenu.makeMenu('top6','','<img src="/kuvat/6_gallery.jpg" alt="GALLERY">','gallery/finnish.html','','86')
oCMenu.makeMenu('top7','','<img src="/kuvat/7_kammi.jpg" alt="KAMMI">','','','113')
	oCMenu.makeMenu('sub70','top7','Suomeksi','kammi/finnish.html','','90')
	oCMenu.makeMenu('sub71','top7','English','kammi/english.html','','90')


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