fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;

var mm_rollOffText; 
var mm_rollItem; 

function mm_onText(rollOnText) 
{ 
mm_rollItem = _itemRef; 
mm_rollOffText = _mi[mm_rollItem][1]; 
_mi[mm_rollItem][1] = rollOnText; 
BDMenu(_mi[mm_rollItem][0]); 
itemOn(mm_rollItem); 
} 

function mm_offText() 
{ 
_mi[mm_rollItem][1] = mm_rollOffText; 
BDMenu(_mi[mm_rollItem][0]); 
itemOff(mm_rollItem); 
} 



with(menuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#DCE9F0";
offcolor="#515151";
onbgcolor="#4F8EB6";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
subimage="http://www.milonic.com/menuimages/arrow.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
top=185;
screenposition="center";
overflow="scroll";
followscroll=1;
style=menuStyle;
aI("image=/images/tiny/home_1.gif;overimage=/images/tiny/home_2.gif;text=Home;url=index.htm;onfunction=mm_onText('Just as Cosy');offfunction=mm_offText();");
aI("image=/images/tiny/food_1.gif;overimage=/images/tiny/food_3.gif;showmenu=Service;text=Food & Drinks;");
aI("image=/images/tiny/phone_1.gif;overimage=images/tiny/roadmap_1.gif;text=Contact/Find Us;url=contact.htm;onfunction=mm_onText('Get in touch');offfunction=mm_offText();");
aI("image=/images/tiny/nikon1.gif;overimage=/images/tiny/nikon2.gif;text=North Yorkshire Places to go;url=visit.htm;onfunction=mm_onText('We are perfectly placed');offfunction=mm_offText();");
aI("image=/images/tiny/links_1.gif;overimage=/images/tiny/links_2.gif;text=Useful Links;url=links.htm;onfunction=mm_onText('People we rely on');offfunction=mm_offText();");
aI("image=/images/tiny/penfold.gif;overimage=/images/tiny/penfold_over.gif;showmenu=Digs;text=More about us;");
}

with(milonic=new menuname("Digs")){
style=menuStyle;
orientation="horizontal";
aI("text=Random Pictures;url=accom_pics.htm;onfunction=mm_onText('Our Slide Show');offfunction=mm_offText();");
aI("text=Room Tariff;url=accom_prices.htm;onfunction=mm_onText('Modest Prices');offfunction=mm_offText();");
aI("text=Opening Times;url=north-yorkshire-inns-hotels-openings.htm;onfunction=mm_onText('Our Hours');offfunction=mm_offText();");
}

with(milonic=new menuname("Service")){
style=menuStyle;
orientation="horizontal";
aI("text=The Food;url=north-yorkshire-inns-hotels-food.htm;onfunction=mm_onText('To Eat');offfunction=mm_offText();");
aI("text=The Drinks;url=north-yorkshire-pubs-near-the-A1-drinks.htm;onfunction=mm_onText('Best prices in town');offfunction=mm_offText();");
}


drawMenus();

