/*** 
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.openOnClick=1
oCMenu.closeOnClick=0

//Menu properties   
oCMenu.pxBetween=5
oCMenu.fromLeft=0
oCMenu.fromTop=168   
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="http://www.icatfood.it/img/cm_fill.gif"
oCMenu.zIndex=1000

//Netscape 4 and Opera form work-around !! !! !! !! !!
//if(bw.ns4 || bw.op5 || bw.op6){
// oCMenu.onshow="document.layers?document.layers.formLayer.visibility='hidden':document.getElementById('formDiv').style.visibility='hidden';"
// oCMenu.onhide="document.layers?document.layers.formLayer.visibility='visible':document.getElementById('formDiv').style.visibility='visible';"
//}

//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 spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=60
oCMenu.level[0].height=10 
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=-1
oCMenu.level[0].offsetY=-1
oCMenu.level[0].rows=0
oCMenu.level[0].roundBorder=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=80
oCMenu.level[1].height=22
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-1
oCMenu.level[1].offsetY=-2
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].roundBorder=1


//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=80
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"
oCMenu.level[2].roundBorder=1


/******************************************
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','','','http://www.icatfood.it/interna.asp?path=908&box1=909&box2=621','',110,20,'http://www.icatfood.it/img/pixel.gif','http://www.icatfood.it/img/pixel.gif','','',"bottom")
	//oCMenu.makeMenu('sub1','top0','STORIA','/','',110,20,'','','','','bottom')	
	//oCMenu.makeMenu('sub2','top0','MISSIONE','/','',110,20,'','','','','bottom')	
	
oCMenu.makeMenu('top1','','','','',55,20,'http://www.icatfood.it/img/pixel.gif','http://www.icatfood.it/img/pixel.gif','','',"bottom")
	oCMenu.makeMenu('sub12','top1','PRODOTTI ITTICI&nbsp; &raquo;','','',120,20)		
		oCMenu.makeMenu('sub120','sub12','Acciughe/alici','http://www.icatfood.it/interna_scheda_prodotti.asp?path=869&menu1=871&box1=870&box2=872&box3=621','',110,20,'','','','','bottom')
		oCMenu.makeMenu('sub121','sub12','Granchio','http://www.icatfood.it/interna_scheda_prodotti.asp?path=873&menu1=874&box1=875&box2=872&box3=621','',110,20,'','','','','bottom')	
		oCMenu.makeMenu('sub122','sub12','Lompo','http://www.icatfood.it/interna_scheda_prodotti.asp?path=876&menu1=877&box1=878&box2=872&box3=621','',110,20,'','','','','bottom')	
		oCMenu.makeMenu('sub123','sub12','Salmone','http://www.icatfood.it/interna_scheda_prodotti.asp?path=879&menu1=880&box1=881&box2=872&box3=621','',110,20,'','','','','bottom')	
		oCMenu.makeMenu('sub124','sub12','Sardine/sarde','http://www.icatfood.it/interna_scheda_prodotti.asp?path=882&menu1=883&box1=884&box2=872&box3=621','',110,20,'','','','','bottom')	
		oCMenu.makeMenu('sub125','sub12','Sgombri/mackerel','http://www.icatfood.it/interna_scheda_prodotti.asp?path=885&menu1=886&box1=887&box2=872&box3=621','',110,20,'','','','','bottom')	
		oCMenu.makeMenu('sub126','sub12','Tonno','http://www.icatfood.it/interna_scheda_prodotti.asp?path=888&menu1=889&box1=890&box2=872&box3=621','',110,20,'','','','','bottom')
		oCMenu.makeMenu('sub127','sub12','Vongole','http://www.icatfood.it/interna_scheda_prodotti.asp?path=891&menu1=892&box1=893&box2=872&box3=621','',110,20,'','','','','bottom')
		oCMenu.makeMenu('sub128','sub12','Stoccafisso','http://www.icatfood.it/interna_stoccafisso.asp?path=894&box1=895&box2=872&box3=621','',110,20,'','','','','bottom')
	oCMenu.makeMenu('sub13','top1','ALTRI PRODOTTI&nbsp; &raquo;','','',120,20)
		oCMenu.makeMenu('sub130','sub13','Ananas','http://www.icatfood.it/interna_scheda_prodotti.asp?path=896&menu1=897&box1=898&box2=872&box3=621','',110,20,'','','','','bottom')
		oCMenu.makeMenu('sub131','sub13','Asparagi','http://www.icatfood.it/interna_scheda_prodotti.asp?path=899&menu1=900&box1=901&box2=872&box3=621','',110,20,'','','','','bottom')	
		oCMenu.makeMenu('sub132','sub13','Olive','http://www.icatfood.it/interna_scheda_prodotti.asp?path=902&menu1=903&box1=904&box2=872&box3=621','',110,20,'','','','','bottom')	
		oCMenu.makeMenu('sub133','sub13','Palmito','http://www.icatfood.it/interna_scheda_prodotti.asp?path=905&menu1=906&box1=907&box2=872&box3=621','',110,20,'','','','','bottom')				
	oCMenu.makeMenu('sub14','top1','MARCHE&nbsp; &raquo;','','',120,20)
		oCMenu.makeMenu('sub154','sub14','Ada','http://www.icatfood.it/interna_marca.asp?path=1090&menu1=1089&box1=1091&box2=1092','',110,20,'','','','','bottom')
		oCMenu.makeMenu('sub140','sub14','Alisa','http://www.icatfood.it/interna_marca.asp?path=682&menu1=680&box1=679&box2=681','',110,20,'','','','','bottom')
		oCMenu.makeMenu('sub155','sub14','Alto Mare','http://www.icatfood.it/interna_marca.asp?path=1184&menu1=1183&box1=1185&box2=1186','',110,20,'','','','','bottom')
		oCMenu.makeMenu('sub141','sub14','Ardea','http://www.icatfood.it/interna_marca.asp?path=710&menu1=707&box1=709&box2=708','',110,20,'','','','','bottom')	
		oCMenu.makeMenu('sub142','sub14','Captain Byrd','http://www.icatfood.it/interna_marca.asp?path=720&menu1=719&box1=721&box2=722','',110,20,'','','','','bottom')	
		oCMenu.makeMenu('sub143','sub14','Consorcio','http://www.icatfood.it/interna_marca.asp?path=641&menu1=639&box1=662&box2=640','',110,20,'','','','','bottom')	
		oCMenu.makeMenu('sub144','sub14','Donzela','http://www.icatfood.it/interna_marca.asp?path=727&menu1=728&box1=729&box2=730','',110,20,'','','','','bottom')	
		oCMenu.makeMenu('sub145','sub14','Moro','http://www.icatfood.it/interna_marca.asp?path=632&menu1=624&box1=623&box2=625','',110,20,'','','','','bottom')	
		oCMenu.makeMenu('sub146','sub14','Ocean','http://www.icatfood.it/interna_marca.asp?path=779&menu1=777&box1=778&box2=780','',110,20,'','','','','bottom')
		oCMenu.makeMenu('sub147','sub14','Parodi','http://www.icatfood.it/interna_marca.asp?path=666&menu1=665&box1=663&box2=664','',110,20,'','','','','bottom')
		oCMenu.makeMenu('sub148','sub14','Pink Seal','http://www.icatfood.it/interna_marca.asp?path=793&menu1=791&box1=792&box2=794','',110,20,'','','','','bottom')
		oCMenu.makeMenu('sub149','sub14','Primier','http://www.icatfood.it/interna_marca.asp?path=797&menu1=798&box1=799&box2=800','',110,20,'','','','','bottom')
		oCMenu.makeMenu('sub150','sub14','Sea Royal','http://www.icatfood.it/interna_marca.asp?path=821&menu1=822&box1=823&box2=824','',110,20,'','','','','bottom')
		oCMenu.makeMenu('sub151','sub14','Soleado','http://www.icatfood.it/interna_marca.asp?path=827&menu1=828&box1=829&box2=830','',110,20,'','','','','bottom')
		oCMenu.makeMenu('sub152','sub14','Stella Verde','http://www.icatfood.it/interna_marca.asp?path=849&menu1=850&box1=851&box2=852','',110,20,'','','','','bottom')
		//oCMenu.makeMenu('sub153','sub14','Union','http://www.icatfood.it/interna_marca.asp?path=861&menu1=862&box1=863&box2=864','',110,20,'','','','','bottom')
	
oCMenu.makeMenu('top2','','','/promozioni_regioni.asp ','',70,20,'http://www.icatfood.it/img/pixel.gif','http://www.icatfood.it/img/pixel.gif','','',"bottom")
	

oCMenu.makeMenu('top3','','','/','',40,20,'http://www.icatfood.it/img/pixel.gif','http://www.icatfood.it/img/pixel.gif','','',"bottom")
	oCMenu.makeMenu('sub30','top3','RASSEGNA STAMPA','http://www.icatfood.it/interna.asp?path=959&box1=960&box2=958','',110,20,'','','','','bottom')	
	oCMenu.makeMenu('sub31','top3','COMUNICATI STAMPA','http://www.icatfood.it/interna.asp?path=956&box1=957&box2=958','',110,30,'','','','','bottom')	
	oCMenu.makeMenu('sub32','top3','PRESS KIT','/press_kit.asp','',110,20,'','','','','bottom')	
	//oCMenu.makeMenu('sub33','top3','CONTATTI','/press_contatti.asp','',110,20,'','','','','bottom')	
	
oCMenu.makeMenu('top4','','','mailto:marketing@icatfood.it ','',80,20,'http://www.icatfood.it/img/pixel.gif','http://www.icatfood.it/img/pixel.gif','','',"bottom")
	
oCMenu.makeMenu('top5','','','http://www.icatfood.it/interna.asp?path=910&box1=911&box2=621','',65,20,'http://www.icatfood.it/img/pixel.gif','http://www.icatfood.it/img/pixel.gif','','',"bottom")
	

		
oCMenu.makeMenu('top6','','','','',306,3,'http://www.icatfood.it/img/pixel.gif','http://www.icatfood.it/img/pixel.gif','','','','',1)
	
	
			
//Leave this line - it constructs the menu
oCMenu.construct()	
/*
oCMenu.m["top0"].b.moveIt(0,0)
oCMenu.m["top1"].b.moveIt(0,0)
oCMenu.m["top2"].b.moveIt(0,0)
oCMenu.m["top3"].b.moveIt(0,0)
oCMenu.m["top4"].b.moveIt(0,0)
oCMenu.m["top5"].b.moveIt(0,0)
oCMenu.m["top6"].b.moveIt(0,0)
oCMenu.m["top7"].b.moveIt(0,0)

*/

