/*****************************************************************************
Default browsercheck - Leave this one
******************************************************************************/
/*function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion; this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
var bw=new lib_bwcheck() //Making browsercheck object*/

var mDebugging=2

oCMenu=new makeCoolMenu("oCMenu") 
oCMenu.useframes=0 
oCMenu.frame="frmMain" 

oCMenu.useclick=0 

oCMenu.useNS4links=1  

oCMenu.NS4padding=2 

oCMenu.checkselect=0

oCMenu.offlineUrl="file:///C|/Inetpub/wwwroot/carloforte_net/danicolo/"

oCMenu.onlineUrl="http://www.carloforte.net/danicolo/" 
//oCMenu.onlineUrl="http://pietroxp/carloforte_net/danicolo/" 

oCMenu.pagecheck=1 
oCMenu.checkscroll=1 
oCMenu.resizecheck=1 
oCMenu.wait=1000 

//Background bar properties
oCMenu.usebar=1 
oCMenu.barcolor="#f5f5d5" 
oCMenu.barwidth="menu" 
oCMenu.barheight="100%" 
oCMenu.barx="menu" 
oCMenu.bary=0 
oCMenu.barinheritborder=1 

//Placement properties
oCMenu.rows=0 
oCMenu.fromleft=10 
oCMenu.fromtop=0 
oCMenu.pxbetween=25 

oCMenu.menuplacement=0

//TOP LEVEL PROPERTIES - ALL OF THESE MUST BE SPESIFIED FOR LEVEL[0]
oCMenu.level[0]=new Array() 
oCMenu.level[0].width=190 
oCMenu.level[0].height=25 
oCMenu.level[0].bgcoloroff="#ffffd5" 
oCMenu.level[0].bgcoloron="#FFD700" 
oCMenu.level[0].textcolor="#003366" 
oCMenu.level[0].hovercolor="#191970" 
oCMenu.level[0].style="padding:1px; font-family:arial,helvetica; font-size:12px; font-weight:bold" 
oCMenu.level[0].border=1 
oCMenu.level[0].bordercolor="#006699" 
oCMenu.level[0].offsetX=40 
oCMenu.level[0].offsetY=0 
oCMenu.level[0].NS4font="tahoma,arial,helvetica"
oCMenu.level[0].NS4fontSize="2"

oCMenu.level[0].align="bottom" //Value: "top" || "bottom" || "left" || "right" 

//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to spesify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new Array() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=120
oCMenu.level[1].height=20
oCMenu.level[1].bgcoloroff="#FFEFD5"
oCMenu.level[1].bgcoloron="#E0FFFF"
oCMenu.level[1].style="padding:2px; font-family:tahoma, arial,helvetica; font-size:11px; font-weight:bold"
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-10
oCMenu.level[1].offsetY=5
oCMenu.level[1].border=1 
oCMenu.level[1].bordercolor="#006699"
oCMenu.level[1].align="right" 

//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 Array() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=oCMenu.level[1].width
oCMenu.level[2].height=20
oCMenu.level[2].bgcoloroff="#F5F5DC"
oCMenu.level[2].bgcoloron="#E0FFFF"
oCMenu.level[2].textcolor=""
oCMenu.level[2].style="padding:2px; font-family:tahoma,arial,helvetica; font-size:10px; font-weight:bold"
oCMenu.level[2].align="right" 
oCMenu.level[2].offsetX=-10
oCMenu.level[2].offsetY=-5
oCMenu.level[2].border=1 
oCMenu.level[2].bordercolor="#006699"
oCMenu.level[2].NS4font="tahoma,arial,helvetica"
oCMenu.level[2].NS4fontSize="1"
oCMenu.level[2].align="right" 

oCMenu.makeMenu('top0','','Da Nicolo','index.htm','','190','33','danicolo_menu.jpg')
	//oCMenu.makeMenu('sub00','top0','Newest news','/news/index.asp')
		//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','News archive','/news/archive.asp')
	
oCMenu.makeMenu('top1','','<br>Il Ristorante','','','190','27','ristorante_menu.jpg')
	oCMenu.makeMenu('sub10','top1','Il locale all\'aperto','locale_aperto.htm')
	oCMenu.makeMenu('sub11','top1','Il Niko Bistrot','locale.htm')
	//oCMenu.makeMenu('sub12','top1','Popular scripts','/scripts/index.asp?show=pop')
	
oCMenu.makeMenu('top2','','','','',190,27,'cucina_menu.jpg')
	oCMenu.makeMenu('sub21','top2','&nbsp;La nostra filosofia','cucina.htm')
		//oCMenu.makeMenu('sub210','sub21','Antipasti','antipasti.htm')
		//oCMenu.makeMenu('sub211','sub21','Primi','/tutorials/archive.asp')
	oCMenu.makeMenu('sub22','top2','&nbsp;Alcune ricette','')
		oCMenu.makeMenu('sub220','sub22','Buon divertimento!','ricette_intro.htm')
		oCMenu.makeMenu('sub221','sub22','Il Primo','ricetta_primo.htm')
		oCMenu.makeMenu('sub222','sub22','Il Secondo','ricetta_secondo.htm')
		oCMenu.makeMenu('sub223','sub22','Ed ecco il dolce!','ricetta_dolce.htm')
	oCMenu.makeMenu('sub23','top2','&nbsp;Dicono di noi','recensioni.htm')

oCMenu.makeMenu('top3','','','','',190,6,'barra_menu.jpg')
	
oCMenu.makeMenu('top5','','Il Bar','bar.htm','','190','27','bar_menu.jpg')

oCMenu.makeMenu('top6','','<br>Il NicHotel','nichotel.htm','','190','27','nichotel_menu.jpg')
	//oCMenu.makeMenu('sub060','top6','Sitemap','dhtmlcentral/sitemap.asp')
	//oCMenu.makeMenu('sub061','top6','Who and why?','dhtmlcentral/who.asp')
	//oCMenu.makeMenu('sub062','top6','Help','dhtmlcentral/help.asp')
	//oCMenu.makeMenu('sub063','top6','Link to us','dhtmlcentral/link.asp')
	//oCMenu.makeMenu('sub064','top6','Advertise','dhtmlcentral/advertise.asp')

oCMenu.makeMenu('top7','','','','',190,6,'barra_menu.jpg')

oCMenu.makeMenu('top8','','','','',190,27,'angolo_luigi_menu.jpg')
	oCMenu.makeMenu('sub81','top8','&nbsp;Mi presento...','angolo_luigi.htm')
	oCMenu.makeMenu('sub82','top8','&nbsp;La prova del cuoco','prova_cuoco.htm')
	oCMenu.makeMenu('sub83','top8','&nbsp;Il libro delle ricette','libro_ricette_luigi.htm')
	//oCMenu.makeMenu('sub84','top8','&nbsp;Corsi e Stages','stages.htm')

oCMenu.makeMenu('top9','','','mailto:danicolo@carloforte.net','',190,27,'scrivi_menu.jpg')

		
//Leave these two lines! Making the styles and then constructing the menu
oCMenu.makeStyle(); oCMenu.construct()			
