var bn=navigator.platform
var ie=navigator.appName
var leftmargin=0
if(ie.indexOf("Microsoft Internet Explorer")!=-1)
leftmargin=-3;

_menuCloseDelay=100           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=5              // Sub menu top offset
_subOffsetLeft=0            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x


with(menuStyle=new mm_style()){
onbgcolor="#666666";
oncolor="#ffffff";
offbgcolor="#000000";
offcolor="#ffffff";
bordercolor="#296488";
borderstyle="solid";
borderwidth=0;
separatorcolor="#2D729D";
separatorsize="1";
padding=2;
fontsize="10px";
fontstyle="bold";
fontfamily="verdana,san-serif,Arial,Helvetica";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
//subimage="images/arrow.gif";
subimagepadding="5";
}

with(submenuStyle=new mm_style()){
separatorsize="0";
padding=0;
fontsize="10px";
fontweight="bold"
fontstyle="bold";
fontfamily="verdana,Arial,Helvetica,san-serif";
pagecolor="white";
pagebgcolor="#000000";
headercolor="#ffffff";
headerbgcolor="#ffffff";
//subimage="images/arrow.gif";
subimagepadding="5";
}

//Accommmodations
with(milonic=new menuname("the")){
orientation="horizontal";
style=submenuStyle;
left=-0;
top=3;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='images/destinazione_off.gif' alt='Destinazione' title='Destinazione' name='myimage1' id='myimage1' onmouseover='menu_highlight(\"myimage1\",\"destinazione_on.gif\")' onmouseout='menu_drop(\"myimage1\",\"destinazione_off.gif\")'>;url=destinazione/index.cfm;");

aI("text=<img src='images/attivita_off.gif' alt='Attivita' title='Attivita' name='myimage2' id='myimage2' onmouseover='menu_highlight(\"myimage2\",\"attivita_on.gif\")' onmouseout='menu_drop(\"myimage2\",\"attivita_off.gif\")'>;url=activities/attivita.cfm;");

aI("text=<img src='images/famiglia_off.gif' alt='Famiglia' title='Famiglia' name='myimage3' id='myimage3' onmouseover='menu_highlight(\"myimage3\",\"famiglia_on.gif\")' onmouseout='menu_drop(\"myimage3\",\"famiglia_off.gif\")'>;url=family/index.cfm;");

}


//sistemazioni
with(milonic=new menuname("sis")){
orientation="horizontal";
style=submenuStyle;
left=-0;
top=3;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='images/camere_off.gif' alt='Camere' title='Camere' name='myimage3a' id='myimage3a' onmouseover='menu_highlight(\"myimage3a\",\"camere_on.gif\")' onmouseout='menu_drop(\"myimage3a\",\"camere_off.gif\")'>;url=sistemazioni/camere.cfm;");

aI("text=<img src='images/ville_off.gif' alt='Ville' title='Ville' name='myimage4' id='myimage4' onmouseover='menu_highlight(\"myimage4\",\"ville_on.gif\")' onmouseout='menu_drop(\"myimage4\",\"ville_off.gif\")'>;url=sistemazioni/ville.cfm;");

}

//meetings
with(milonic=new menuname("org")){
orientation="horizontal";
style=submenuStyle;
left=-0;
top=3;
if(bn.indexOf("Win")==-1) 
overflow="scroll";
aI("text=<img src='images/meetings_off.gif' alt='Meetings' title='Meetings' name='myimage5' id='myimage5' onmouseover='menu_highlight(\"myimage5\",\"meetings_on.gif\")' onmouseout='menu_drop(\"myimage5\",\"meetings_off.gif\")'>;url=meetings-and-events/index.cfm;");

aI("text=<img src='images/matrimoni_off.gif' alt='Matrimoni' title='Matrimoni' name='myimage6' id='myimage6' onmouseover='menu_highlight(\"myimage6\",\"matrimoni_on.gif\")' onmouseout='menu_drop(\"myimage6\",\"matrimoni_off.gif\")'>;url=matrimoni/index.cfm;");

}



function menu_highlight(imgname,imgsrc)
{
	document.images[imgname].src='images/'+imgsrc;
}

function menu_drop(imgname,imgsrc)
{
	document.images[imgname].src='images/'+imgsrc;
}

drawMenus();

