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 colLilac="#8E84B7";
var colGreen="#B2D651";
var colGrey="#838281";

with(menuStyle=new mm_style()){
styleid=1;
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
itemwidth=110;
offcolor="#ffffff";
oncolor="#000000";
outfilter="fade(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
rawcss="padding-top:10px;padding-bottom:5px";
separatorcolor="#000000";
separatorsize=1;
subimagepadding=2;
}

with(submenuStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="7pt";
fontstyle="normal";
fontweight="normal";
headercolor="#000000";
offbgcolor="#8E84B7";
offcolor="#ffffff";
onbgcolor="#8E84B7";
oncolor="#000000";
outfilter="fade(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
padding=6;
pagecolor="black";
separatorsize=1;
subimage="../Images/white_7x7.gif";
subimagepadding=8;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
orientation="horizontal";
style=menuStyle;
top=110;
aI("align=center;bgimage=/Images/Button1.gif;status=Home Page;text=Home Page;url=/;");
aI("align=center;bgimage=/Images/Button2.gif;showmenu=ProductInformation;status=Product Information;text=Product Info;");
aI("align=center;bgimage=/Images/Button1.gif;status=Contact Us;text=Contact Us;url=/Contact.aspx;");
aI("align=center;bgimage=/Images/Button2.gif;status=Register;text=Register;url=/Register.aspx;");
/*aI("align=center;bgimage=/Images/Button1.gif;status=Registered Users;text=Registered Users;url=/Registered/Default.aspx;");*/
/* Note that the line below should be replaced with one above until entire website launched */
aI("align=center;bgimage=/Images/Button1.gif;showmenu=RegisteredUsers;status=Registered Users;text=Registered Users;");
aI("align=center;bgimage=/Images/Button2.gif;status=Purchase Software;text=Purchase Software;url=/Registered/Purchase.aspx");
/*aI("align=center;bgimage=/Images/Button1.gif;showmenu=LicensedUsers;status=Licensed Users;text=Licensed Users;url=/Licensed/Default.aspx;");*/
}

with(milonic=new menuname("ProductInformation")){
style=submenuStyle;
aI("align=center;status=Product Information;text=Product Information;url=/ProductInfo.aspx");
aI("align=center;status=Product Screenshots;text=Product Screenshots;url=/Screenshots.aspx");
aI("align=center;status=Product History;text=Product History;url=/ProductHistory.aspx;");
aI("align=center;status=Product News;text=Product News;url=/News.aspx;");
/*aI("align=center;status=Client Testimonials;text=Client Testimonials;url=Testimonials.aspx;");*/
}

with(milonic=new menuname("RegisteredUsers")){
style=submenuStyle;
aI("align=center;status=Registered Users;text=Registered Users;url=/Registered/Default.aspx;");
/*aI("align=center;status=Download Software;text=Download Software;url=/Registered/Download.aspx;");*/
aI("align=center;status=Purchase Software;text=Purchase Software;url=/Registered/Purchase.aspx;");
aI("align=center;status=Support Section (only available to licensed users);text=Support Section;url=/Licensed/Support.aspx;");
}

with(milonic=new menuname("LicensedUsers")){
style=submenuStyle;
}

drawMenus();

