fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500; //This is the time before the sub menus dissapear after the curser has been moved away.
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;




with(XPMainStyle=new mm_style()){ //This is the style array for the menu
align="center"; //R.Shawley added - this parameter aligns text 
//bgimage="filename.extension"; //R.Shawley added - Use this if you want to use an image as the background
bordercolor="#25150E"; //Border colour for the whole nav bar
borderstyle="solid";  
borderwidth=0; //Sets border size
itemwidth=115; //R.Shawley added - this parameter sets the with of each menu cell
fontfamily="candara"; //Font
fontsize="70%"; //This sets text size, can be percentage or pixels
fontstyle="normal";
fontweight="Normal"; //Normal, Bold, Italic or combination of these.
offbgcolor="645918"; //This sets a solid background colour - will not work if you are useing a background image -NOTE can be set to transparent offbgcolor="transparent";
offcolor="#ffffff"; //This sets the FONT COLOUR!!! (not obvious)
//onbgcolor="#C1D2EE"; //This sets a solid mouse over background colour - will not work if you are useing a mouseover background image
onborder="1px solid #25150E"; //This sets the mouse over border - IMPORTANT - This does not set the border for the menu cells
oncolor="#25150E"; //This sets the mouse over FONT COLOUR!!! (not obvious)
//onsubimage="http://www.milonic.com/menuimages/on_downboxed.gif"; //This is the mouse over image for the side image on sub menus
bgimage="nav_bg.jpg"; //This sets a background image, instead of useing a solid colour, can use GIF, transparency is suported
overbgimage="nav_bg.jpg"; //R.Shawley added - Mouse over background image
padding=3; //Sets padding for both Hight and Width - this space includes mouse overs so if you change, resize mouse over image
//It is possible to seperate each menu cell so a side image can be added as a rollover, useful to signify that the tab is a drop down menu!
//separatoralign="right"; //R.Shawley added - This means the image will sit to right of the text
//separatorcolor="#999999"; //R.Shawley added - change the seperator colour
//separatorwidth="85%"; //R.Shawley added - This percentage is the amount of space in the menu cell dedicated to text
//subimage="http://www.milonic.com/menuimages/downboxed.gif"; This is the side image - NOTE - this will only appear on the dropdown menu headers, if the menu item is a direct link with no drop down the image will not appear
}

//This array controls the style of the sub menus, it uses all the same parameters as the menu above.
with(XPMenuStyle=new mm_style()){
styleid=1;
bordercolor="#25150E";
itemwidth=150;
borderstyle="solid";
borderwidth=1;
fontfamily="candara";
fontsize="70%";
fontstyle="normal";
fontweight="bold"
headerbgcolor="#ffffff";
headercolor="#ffffff";
//image="http://www.milonic.com/menuimages/xpblank.gif";
imagepadding=3;
menubgimage="navbacksub.gif";
offbgcolor="transparent";
offcolor="#ffffff";
onbgcolor="#F5F5F5";
onborder="1px solid #000000";
oncolor="#25150E";
//outfilter="randomdissolve(duration=0.3)"; //R.Shawley added - This Filter is an effect for IE, just makes the menu dissapear nicely, not compatible with other browsers but causes no problems, however effect doesnt work over flash areas, doesnt affect functionality, but looks messy
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#B8D1F8', Direction=135, Strength=5)"; //R.Shawley added - Another IE filter gives sub menu a drop shadow
padding=4;
//separatoralign="right"; //R.Shawley added - These seperators and sub images have the same functions as the ones in the above array, but are used for a tertiary menus or a sub sub menu 
//separatorcolor="#6A8CCB";
//separatorpadding=1;
//separatorwidth="80%";
//subimage="http://www.milonic.com/menuimages/arrow.gif";
//subimagepadding=3;
//menubgcolor="#EBF0EC";
}
//This is the listing and positioning for the main navbar
with(milonic=new menuname("Main Menu")){
alwaysvisible=1; //0 or 1, 1 is always visible
screenposition="center"; //R.Shawley added - This sets the alignment for the navbar in the page
followscroll=0; //R.Shawley added - This makes the menu follow the scroll - 1=follow 0=dont
left=0; //This sets the offset for the navbar - NOTE - This does not work in conjunction with screenposition, if useing screen position leave set to 0 (DONT LEAVE BLANK!)
margin=2; //This sets the margin around each menu cell. This space will not be affected by mouse over backgrounds or images!
orientation="horizontal"; //Change between horizontal and verticle
style=XPMainStyle;
top=504; //This sets the offset from the top of the page
//example aI("#IMAGE TO THE LEFT OF THE TEXT GOES HERE#image=filename.extension;#NEXT IS THE TEXT#text=yourmenutext;#NEXT COMES THE LINK#url=webpagefromdirectory or address;");
aI("image=;showmenu=group;text=GROUP INFO;");
aI("image=;showmenu=bar;text=THE BAR;");
aI("image=;text=THE RESTAURANTS;url=restaurant-tour.htm;");
aI("image=;text=THE KING ROOM;url=the-king-room.htm;");
aI("image=;text=THE QUEEN ROOM;url=the-queen-room.html;");
aI("image=;showmenu=online;text=RESERVE;");
}
//This is the listing and positioning for the sub menu, each sub menu will require its own list
//with(milonic=new menuname("menu")){
//margin=2; //same as in above array
//style=XPMenuStyle;
//aI("image=;text=MAIN MENU (PDF);url=Menu.htm");
//aI("image=;text=LUNCH MENU;url=Lunch.htm;");
//}
//This is the listing and positioning for the sub menu, each sub menu will require its own list
with(milonic=new menuname("online")){
margin=2; //same as in above array
style=XPMenuStyle;
<!--aI("image=;text=DELIVERY ORDER ONLINE INSTANTLY;url=http://www.cuisinenetguide.co.uk/cgi-bin/Rest_OnlineOrder_FrameControl_V3.0.asp?RestId=11851&MenuSetName=Delivery&TransType=Delivery&HowMany=5&RestaurantName=SILK&Town=&County=0&Cuisine=0&OnlineSystems=True&SearchType=Restaurants&StartPoint=1;target=new;");
<!--aI("image=;text=TAKEAWAY ORDER ONLINE INSTANTLY;url=http://www.cuisinenetguide.co.uk/cgi-bin/Rest_OnlineOrder_FrameControl_V3.0.asp?RestId=11851&MenuSetName=Delivery&TransType=TakeAway&HowMany=5&RestaurantName=SILK&Town=&County=0&Cuisine=0&OnlineSystems=True&SearchType=Restaurants&StartPoint=1;target=new;");--->
aI("image=;text=RESERVE ONLINE INSTANTLY;url=http://www.cuisinenetguide.co.uk/cgi-bin/Rest_OnlineOrder_ConfirmationPage_V3.0.asp?RestId=11851&MenuSetName=To+Dine+at+Restaurant&TransType=Reserve&HowMany=5&RestaurantName=southwar&Town=&County=0&Cuisine=0&OnlineSystems=True&SearchType=Restaurants&StartPoint=1;target=new;");
<!---aI("image=;text=RESERVE & PRE-ORDER ONLINE INSTANTLY;url=http://www.cuisinenetguide.co.uk/cgi-bin/Rest_OnlineOrder_FrameControl_V3.0.asp?RestId=11851&MenuSetName=To+Dine+at+Restaurant&TransType=RPreOrd&HowMany=5&RestaurantName=thai+silk&Town=&County=0&Cuisine=0&OnlineSystems=True&SearchType=Restaurants&StartPoint=1;target=new;");
<!--aI("image=;text=SIGNATURE LUNCH;url=http://www.cuisinenetguide.co.uk/cgi-bin/Rest_OnlineOrder_FrameControl_V3.0.asp?RestId=11851&MenuSetName=Signature+Lunch&TransType=RPreOrd&HowMany=5&RestaurantName=Thai+silk&Town=&County=0&Cuisine=0&OnlineSystems=True&SearchType=Restaurants&StartPoint=1;target=new;");--->
<!---aI("image=;text=EARLY BIRD MENU ;url=http://www.cuisinenetguide.co.uk/cgi-bin/Rest_OnlineOrder_FrameControl_V3.0.asp?RestId=11851&MenuSetName=Early+Bird&TransType=RPreOrd&HowMany=5&RestaurantName=Thai+silk&Town=&County=0&Cuisine=0&OnlineSystems=True&SearchType=Restaurants&StartPoint=1;target=new;");--->
}
//This is the listing and positioning for the sub menu, each sub menu will require its own list
with(milonic=new menuname("group")){
margin=2; //same as in above array
style=XPMenuStyle;
aI("image=;text=Group - HOMEPAGE;url=../index.htm;");
aI("image=;text=Thai Silk at Southwark - HOMEPAGE;url=southwark_welcome.htm;");
aI("image=;text=Thai Silk at The O2 - HOMEPAGE;url=../O2_thai_silk/O2_welcome.htm;");
//aI("image=;text=ELVIS CHARITY DINNER;url=elvis.htm;");
}
//This is the listing and positioning for the sub menu, each sub menu will require its own list
with(milonic=new menuname("bar")){
margin=2; //same as in above array
style=XPMenuStyle;
aI("image=;text=The Bar - intro;url=barinfo.htm;");
//aI("image=;text=Drinks Menu;url=drinksmenu.htm;");
aI("image=;text=Bar Food Menu;url=../images/bar_menu_winter_2011.pdf;target=new");
aI("image=;text=Wine List;url=wines.htm;");
aI("image=;text=Cocktails List;url=cocktail.htm;");
//aI("image=;text=Promotions;url=promotions.htm;");
//aI("image=;text=ELVIS CHARITY DINNER;url=elvis.htm;");
}
//This is the listing and positioning for the sub menu, each sub menu will require its own list
with(milonic=new menuname("offer")){
margin=2; //same as in above array
style=XPMenuStyle;
aI("image=;text=Thai Silk at Southwark;url=Events.htm;");
aI("image=;text=Thai Silk at The O2;url=Offers.htm;");
//aI("image=;text=ELVIS CHARITY DINNER;url=elvis.htm;");
}
//This is the listing and positioning for the sub menu, each sub menu will require its own list
with(milonic=new menuname("about")){
margin=2; //same as in above array
style=XPMenuStyle;
//aI("image=;text=ABOUT RICKSHAW;url=about_us.htm;");
//aI("image=;text=TEAM;url=Team.htm;");
//aI("image=;text=PRESS;url=Press.htm;");
}

with(milonic=new menuname("contact")){
margin=2; //same as in above array
style=XPMenuStyle;
//aI("image=;text=FIND/CONTACT US;url=Map.htm;");
//aI("image=;text=FEEDBACK;url=Feedback.htm;");
}
//This is the listing and positioning for the sub menu, each sub menu will require its own list
//with(milonic=new menuname("design")){
//margin=2; //same as in above array
//style=XPMenuStyle;
//aI("image=navsubarrow.gif;text=360&deg; TOUR OF RESTAURANT;url=Tour.htm;");
//aI("image=;text=GALLERY;url=Photo.htm;");
//}

drawMenus(); //DO NOT REMOVE!!!!!!!!!!!!!!!!!!!!!!!


