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=0;
_subOffsetLeft=0;




with(horizStyle=new mm_style()){
bordercolor="#000000";
borderwidth=2;
borderstyle="solid";
separatorsize=2;
separatorcolor="#000000";
seperatorpadding=100;
padding=3;
fontfamily="arial, tahoma";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#ffffff";
headerborder=1;
headercolor="#000000";
offbgcolor="#666699";
offcolor="#FFFFFF";
onbgcolor="#FEFAD2";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="/menus/on_downboxed.gif";
overbgimage="/menus/backon_beige.gif";
subimage="/menus/downboxed.gif";
margin=5;
subimagepadding="5"; 
}

with(vertStyle=new mm_style()){
styleid=1;
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="arial, tahoma";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#AFD1B5";
headerborder=1;
headercolor="#000099";
image="/menus/18_blank.gif";
imagepadding=3;
menubgimage="/menus/backoff_green.gif";
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#FEFAD2";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="/menus/on_13x13_greyboxed.gif";
outfilter="randomdissolve(duration=0.2)";
overfilter="Fade(duration=0.1);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=3)";
padding=3;
separatoralign="right";
separatorcolor="#999999";
separatorpadding=1;
separatorwidth="85%";
subimage="/menus/black_13x13_greyboxed.gif";
menubgcolor="#F5F5F5";
}

with(milonic=new menuname("mainmenu")){
alwaysvisible=1;
left=15;
margin=2;
orientation="horizontal";
style=horizStyle;
top=79;
aI("status=Back To Home Page;text=Home page;url=http://www.thesmartmethod.com/;");
aI("showmenu=Courses;text=Courses;");
aI("text=Prices;text=Prices;url=http://www.thesmartmethod.com/QuickQuoteStep1.htm;");
aI("text=Consultancy;text=Consultancy;url=http://www.thesmartmethod.com/consulting.asp;");
aI("text=About Us;text=About Us;url=http://www.thesmartmethod.com/about_us.asp;");
aI("text=Contact;text=Contact;url=http://www.thesmartmethod.com/contact.asp;");
aI("text=Site Map;text=Site Map;url=http://www.thesmartmethod.com/site_map.htm;");
}


with(milonic=new menuname("Courses")){
margin=3;
style=vertStyle;
top="offset=2";
aI("showmenu=ExcelCourses;image=/menus/18_excel.gif;text=Excel;");
aI("showmenu=AccessCourses;image=/menus/18_access.gif;text=Access;");
aI("showmenu=VBACourses;image=/menus/18_vba.gif;text=Visual Basic for Applications (VBA);");
aI("showmenu=PowerPointCourses;image=/menus/18_powerpoint.gif;text=PowerPoint;");
aI("showmenu=ProjectCourses;image=/menus/18_project.gif;text=Project;");
aI("showmenu=PhotoshopCourses;image=/menus/18_photoshop.gif;text=Photoshop;");
aI("showmenu=FrontPageCourses;image=/menus/18_Frontpage.gif;text=FrontPage;");
aI("showmenu=WordCourses;image=/menus/18_word.gif;text=Word;");
aI("showmenu=OutlookCourses;image=/menus/18_outlook.gif;text=Outlook;");
aI("showmenu=WindowsCourses;image=/menus/18_windows.gif;text=Windows;");
}
with(milonic=new menuname("ExcelCourses")){
margin=3;
style=vertStyle;
aI("text=Excel 97;image=/menus/18_Office97.gif;url=http://www.thesmartmethod.com/Training_Course/Excel_97_Training_Course.asp;");
aI("text=Excel 2000;image=/menus/18_Office2000.gif;url=http://www.thesmartmethod.com/Training_Course/Excel_2000_Training_Course.asp;");
aI("text=Excel 2002 XP;image=/menus/18_OfficeXP.gif;url=http://www.thesmartmethod.com/Training_Course/Excel_2002_XP_Training_Course.asp;");
aI("text=Excel 2003;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Excel_2003_Training_Course.asp;");
aI("text=Excel 2007;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Excel_2007_Training_Course.asp;");
}

with(milonic=new menuname("AccessCourses")){
margin=3;
style=vertStyle;
aI("text=Access 97;image=/menus/18_Office97.gif;url=http://www.thesmartmethod.com/Training_Course/Access_97_Training_Course.asp;");
aI("text=Access 2000;image=/menus/18_Office2000.gif;url=http://www.thesmartmethod.com/Training_Course/Access_2000_Training_Course.asp;");
aI("text=Access 2002 XP;image=/menus/18_OfficeXP.gif;url=http://www.thesmartmethod.com/Training_Course/Access_2002_XP_Training_Course.asp;");
aI("text=Access 2003;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Access_2003_Training_Course.asp;");
aI("text=Access 2007;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Access_2007_Training_Course.asp;");
}

with(milonic=new menuname("VBACourses")){
margin=3;
style=vertStyle;
aI("text=Excel 2000 VBA;image=/menus/18_Office2000.gif;url=http://www.thesmartmethod.com/Training_Course/Excel_2000_Training_Course.asp#VBA;");
aI("text=Excel 2002 XP VBA;image=/menus/18_OfficeXP.gif;url=http://www.thesmartmethod.com/Training_Course/Excel_2002_XP_Training_Course.asp#VBA;");
aI("text=Excel 2003 VBA;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Excel_2003_Training_Course.asp#VBA;");
aI("text=Excel 2007 VBA;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Excel_2007_Training_Course.asp#VBA;");
aI("text=Access 2000 VBA;image=/menus/18_Office2000.gif;url=http://www.thesmartmethod.com/Training_Course/Access_2000_Training_Course.asp#VBA;");
aI("text=Access 2002 XP VBA;image=/menus/18_OfficeXP.gif;url=http://www.thesmartmethod.com/Training_Course/Access_2002_XP_Training_Course.asp#VBA;");
aI("text=Access 2003 VBA;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Access_2003_Training_Course.asp#VBA;");
aI("text=Access 2007 VBA;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Access_2007_Training_Course.asp#VBA;");
}

with(milonic=new menuname("PowerPointCourses")){
margin=3;
style=vertStyle;
aI("text=PowerPoint 97;image=/menus/18_Office97.gif;url=http://www.thesmartmethod.com/Training_Course/PowerPoint_97_Training_Course.asp;");
aI("text=PowerPoint 2000;image=/menus/18_Office2000.gif;url=http://www.thesmartmethod.com/Training_Course/PowerPoint_2000_Training_Course.asp;");
aI("text=PowerPoint 2002 XP;image=/menus/18_OfficeXP.gif;url=http://www.thesmartmethod.com/Training_Course/PowerPoint_2002_XP_Training_Course.asp;");
aI("text=PowerPoint 2003;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/PowerPoint_2003_Training_Course.asp;");
aI("text=PowerPoint 2007;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/PowerPoint_2007_Training_Course.asp;");
}

with(milonic=new menuname("ProjectCourses")){
margin=3;
style=vertStyle;
aI("text=Project 2000;image=/menus/18_Office2000.gif;url=http://www.thesmartmethod.com/Training_Course/Project_2000_Training_Course.asp;");
aI("text=Project 2002 XP;image=/menus/18_OfficeXP.gif;url=http://www.thesmartmethod.com/Training_Course/Project_2002_XP_Training_Course.asp;");
aI("text=Project 2003;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Project_2003_Training_Course.asp;");
aI("text=Project 2007;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Project_2007_Training_Course.asp;");
}

with(milonic=new menuname("PhotoshopCourses")){
margin=3;
style=vertStyle;
aI("text=Photoshop 7;image=/menus/18_photoshop.gif;url=http://www.thesmartmethod.com/Training_Course/Photoshop_7_Training_Course.asp;");
}

with(milonic=new menuname("FrontPageCourses")){
margin=3;
style=vertStyle;
aI("text=FrontPage 2000;image=/menus/18_Office2000.gif;url=http://www.thesmartmethod.com/Training_Course/FrontPage_2000_Training_Course.asp;");
aI("text=FrontPage 2002 XP;image=/menus/18_OfficeXP.gif;url=http://www.thesmartmethod.com/Training_Course/FrontPage_2002_XP_Training_Course.asp;");
aI("text=FrontPage 2003;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/FrontPage_2003_Training_Course.asp;");
}

with(milonic=new menuname("WordCourses")){
margin=3;
style=vertStyle;
aI("text=Word 97;image=/menus/18_Office97.gif;url=http://www.thesmartmethod.com/Training_Course/Word_97_Training_Course.asp;");
aI("text=Word 2000;image=/menus/18_Office2000.gif;url=http://www.thesmartmethod.com/Training_Course/Word_2000_Training_Course.asp;");
aI("text=Word 2002 XP;image=/menus/18_OfficeXP.gif;url=http://www.thesmartmethod.com/Training_Course/Word_2002_XP_Training_Course.asp;");
aI("text=Word 2003;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Word_2003_Training_Course.asp;");
aI("text=Word 2007;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Word_2007_Training_Course.asp;");
}

with(milonic=new menuname("OutlookCourses")){
margin=3;
style=vertStyle;
aI("text=Outlook 98;url=http://www.thesmartmethod.com/Training_Course/Outlook_98_Training_Course.asp;");
aI("text=Outlook 2000;image=/menus/18_Office2000.gif;url=http://www.thesmartmethod.com/Training_Course/Outlook_2000_Training_Course.asp;");
aI("text=Outlook 2002 XP;image=/menus/18_OfficeXP.gif;url=http://www.thesmartmethod.com/Training_Course/Outlook_2002_XP_Training_Course.asp;");
aI("text=Outlook 2003;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Outlook_2003_Training_Course.asp;");
aI("text=Outlook 2007;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Outlook_2007_Training_Course.asp;");
}

with(milonic=new menuname("WindowsCourses")){
margin=3;
style=vertStyle;
aI("text=Windows XP Professional;image=/menus/18_OfficeXP.gif;url=http://www.thesmartmethod.com/Training_Course/Windows_2002_XP_Professional_Training_Course.asp;");
aI("text=Windows Vista;image=/menus/18_Office2003.gif;url=http://www.thesmartmethod.com/Training_Course/Windows_Vista_Training_Course.asp;");
}


drawMenus();

