fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=0              // Sub menu top offset
_subOffsetLeft=0            // Sub menu left offset

// Main menu
with(menuStyle=new mm_style()){
onbgcolor="#e03289";
oncolor="#ffffff";
offbgcolor="#000000";
offcolor="#ffffff";
bordercolor="#296488";
borderstyle="solid";
borderwidth=0;
separatorcolor="#2D729D";
separatorsize="0";
padding="8";
fontsize="100%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#ffffff";
pagebgcolor="#000000";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="2";
// overfilter="Fade(duration=0.2);Alpha(opacity=100);";
// outfilter="randomdissolve(duration=0.3)";
}

// Corporate sub-menu
with(main=new menuname("Corporate")){
style=menuStyle;
zindex=80;
aI("image=/graphics/menu/tmf-aboutus.jpg;overimage=/graphics/menu/tmf-aboutus-pink.jpg;url=/index.php?main_page=page&id=1");
aI("image=/graphics/menu/tmf-latestnews.jpg;overimage=/graphics/menu/tmf-latestnews-pink.jpg;url=/index.php?main_page=news_list");
aI("image=/graphics/menu/tmf-licensing.jpg;overimage=/graphics/menu/tmf-licensing-pink.jpg;url=/index.php?main_page=page&id=3");
aI("image=/graphics/menu/tmf-archive.jpg;overimage=/graphics/menu/tmf-archive-pink.jpg;url=/index.php?main_page=page&id=4");
}

// Shop menu
with(menuShop=new mm_style()){
bordercolor="#81755c";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial";
fontsize="14px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#000000";
onbgcolor="#ffffff";
oncolor="#000000";
padding=4;
pagebgcolor="#ffffff";
pagecolor="black";
separatorcolor="#999999";
separatorsize=0;
subimage="/graphics/mainpage/arrow_resting.png";
subimagepadding=0;
onsubimage="/graphics/mainpage/arrow_active.png";
itemwidth=170;
}

// Shop menu
with(menuShopDropdown=new mm_style()){
bordercolor="#81755c";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial";
fontsize="11px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#000000";
onbgcolor="#F5A0C9";
oncolor="#000000";
padding=4;
pagebgcolor="#ffffff";
pagecolor="black";
separatorcolor="#999999";
separatorsize=0;
itemwidth=170;
zindex=80;
}

// Shop - Brands menu
with(main=new menuname("Brands")){
style=menuShopDropdown;
zindex=80;
aI("text=Dotty Small;showmenu=Brands_DottySmall");
aI("text=Ffred;showmenu=Brands_Ffred");
aI("text=Fuzzy-Felt;showmenu=Brands_FuzzyFelt");
aI("text=Gossip;showmenu=Brands_Gossip");
aI("text=Maisy;showmenu=Brands_Maisy");
aI("text=Marmite;showmenu=Brands_Marmite");
aI("text=Morph;showmenu=Brands_Morph");
aI("text=Mr Men and Little Miss;showmenu=Brands_MrMen");
aI("text=POP;showmenu=Brands_POP");
aI("text=Mr Potato Head;showmenu=Brands_MrP");
aI("text=(not so) Scary Monsters;showmenu=Brands_Monsters");
aI("text=Ransom;showmenu=Brands_Ransom");
aI("text=Retro Weather;showmenu=Brands_Weather");
aI("text=Subbuteo;showmenu=Brands_Subbuteo");
aI("text=Snugglie Mugglies;showmenu=Brands_Snugglie");
aI("text=The Beatles;showmenu=Brands_Beatles");
aI("text=Transformers;showmenu=Brands_Transformers");
aI("text=Wildcards;showmenu=Brands_Wildcards");
}

// Shop - Brands menu
with(main=new menuname("Products")){
style=menuShopDropdown;
zindex=80;
// aI("text=Books;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Book");
aI("text=Bookmarks;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Bookmarks");
aI("text=Cufflinks;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Cufflinks");
aI("text=Danglies;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Danglie");
aI("text=Fridge magnets;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Magnet");
aI("text=Gift bags;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Bag");
aI("text=Gift tags;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Tag");
aI("text=Gift tin;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Tin");
aI("text=Gift wrap;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Wrap");
aI("text=Greetings cards;showmenu=Products_Cards");
aI("text=MoPod;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_MoPod");
aI("text=Soft toys;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Plush");
}

// Shop - Brands menu
with(main=new menuname("Brands_Monsters")){
style=menuShopDropdown;
zindex=80;
aI("text=Gift bags;url=/index.php?main_page=index&cPath=4");
aI("text=Greetings cards;url=/index.php?main_page=index&cPath=3");
aI("text=Soft toys;url=/index.php?main_page=index&cPath=2");
// aI("text=Books;url=/index.php?main_page=index&cPath=6");
}

// Shop - Brands menu
with(main=new menuname("Brands_Wildcards")){
style=menuShopDropdown;
zindex=80;
aI("text=Bookmarks;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Bookmarks");
aI("text=Greetings cards;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfBrand_Wildcards%20tmfType_Card");
}

// Shop - Brands menu
with(main=new menuname("Brands_Maisy")){
style=menuShopDropdown;
zindex=80;
aI("text=Gift Bags;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfBrand_Maisy%20tmfType_Bag");
aI("text=Gift Tags;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfBrand_Maisy%20tmfType_Tag");
aI("text=Gift Wrap;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfBrand_Maisy%20tmfType_Wrap");
aI("text=Greetings cards;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfBrand_Maisy%20tmfType_Card");
aI("text=Letter to Father Christmas;url=/index.php?main_page=product_info&products_id=156");
}

// Shop - Brands menu
with(main=new menuname("Brands_MrMen")){
style=menuShopDropdown;
zindex=80;
aI("text=Danglies;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfBrand_MrMen%20tmfType_Danglie");
aI("text=Mopods;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfBrand_MrMen%20tmfType_MoPod");
}

// Shop - Brands menu
with(main=new menuname("Brands_Ffred")){
style=menuShopDropdown;
zindex=80;
aI("text=Greetings cards;url=/index.php?main_page=index&cPath=7");
}

// Shop - Brands menu
with(main=new menuname("Brands_Morph")){
style=menuShopDropdown;
zindex=80;
aI("text=Greetings cards;url=/index.php?main_page=index&cPath=46");
aI("text=Cufflinks;url=/index.php?main_page=product_info&products_id=450");
}

// Shop - Brands menu
with(main=new menuname("Brands_MrP")){
style=menuShopDropdown;
zindex=80;
aI("text=Gift wrap;url=/index.php?main_page=index&cPath=39");
aI("text=Greetings cards;url=/index.php?main_page=index&cPath=40");
}

// Shop - Brands menu
with(main=new menuname("Brands_Weather")){
style=menuShopDropdown;
zindex=80;
aI("text=Fridge magnets;url=/index.php?main_page=index&cPath=44");
aI("text=Greetings cards;url=/index.php?main_page=index&cPath=43_57");
}

// Shop - Brands menu
with(main=new menuname("Brands_Subbuteo")){
style=menuShopDropdown;
zindex=80;
aI("text=Cufflinks;url=/index.php?main_page=product_info&products_id=376");
}

// Shop - Brands menu
with(main=new menuname("Brands_FuzzyFelt")){
style=menuShopDropdown;
zindex=80;
aI("text=Fridge magnets;url=/index.php?main_page=index&cPath=42");
aI("text=Greetings cards;url=/index.php?main_page=index&cPath=15");
}

// Shop - Brands menu
with(main=new menuname("Brands_Snugglie")){
style=menuShopDropdown;
zindex=80;
aI("text=Greetings cards;url=/index.php?main_page=index&cPath=8");
}

// Shop - Brands menu
with(main=new menuname("Brands_DottySmall")){
style=menuShopDropdown;
zindex=80;
aI("text=Greetings cards;url=/index.php?main_page=index&cPath=31");
}

// Shop - Brands menu
with(main=new menuname("Brands_Beatles")){
style=menuShopDropdown;
zindex=80;
aI("text=Gift Tin;url=/index.php?main_page=product_info&products_id=374");
aI("text=Gift Wrap;url=/index.php?main_page=index&cPath=34");
aI("text=Greetings cards;url=/index.php?main_page=index&cPath=33");
}

// Shop - Brands menu
with(main=new menuname("Brands_Ransom")){
style=menuShopDropdown;
zindex=80;
aI("text=Greetings cards;url=/index.php?main_page=index&cPath=50");
aI("text=Fridge magnets;url=/index.php?main_page=index&cPath=51");
}

// Shop - Brands menu
with(main=new menuname("Brands_Gossip")){
style=menuShopDropdown;
zindex=80;
aI("text=Greetings cards;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=gossip");
}

// Shop - Brands menu
with(main=new menuname("Brands_POP")){
style=menuShopDropdown;
zindex=80;
aI("text=Greetings cards;url=/index.php?main_page=index&cPath=59_62");
}

// Shop - Brands menu
with(main=new menuname("Brands_Transformers")){
style=menuShopDropdown;
zindex=80;
aI("text=Cufflinks;url=/index.php?main_page=product_info&products_id=451");
}

// Shop - Brands menu
with(main=new menuname("Brands_Marmite")){
style=menuShopDropdown;
zindex=80;
aI("text=Fridge magnets;url=/index.php?main_page=product_info&products_id=449");
}

// Shop - Products
with(main=new menuname("Products_Cards")){
style=menuShopDropdown;
zindex=80;
aI("text=Birthday cards;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_Birthday");
aI("text=Christmas cards;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_Xmas");
aI("text=Easter;url=index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_Easter");
aI("text=Fathers day;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_FathersDay");
aI("text=Get well soon;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_GetWell");
aI("text=Good luck;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_GoodLuck");
aI("text=Love;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_Love");
aI("text=Missing you;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_MissingYou");
aI("text=Mothers day;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_MothersDay");
aI("text=New baby;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_NewBaby");
aI("text=New home;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_NewHome");
aI("text=Rejection;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_Rejection");
aI("text=Sorry;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_Sorry");
aI("text=Thank you;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_Thankyou");
aI("text=Valentines day;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_Valentines");
aI("text=Wedding;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_Wedding");
aI("text=Well done;url=/index.php?main_page=advanced_search_result&search_in_description=1&keyword=tmfType_Card+tmfOccasion_WellDone");
}

drawMenus()
