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;

with(menuStyle=new mm_style()){
;;bordercolor="#296488";
;;borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle="normal";
;;headerbgcolor="black";
;;headercolor="#000000";
offbgcolor="black";
offcolor="white";
onbgcolor="black";
oncolor="aqua";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=2;
pagebgcolor="#82B6D7";
pagecolor="black";
;;separatorcolor="#2D729D";
separatorsize=3;
subimagepadding=2;
subimage="Images/black_13x13_greyboxed.gif";
onsubimage="Images/on_13x13_greyboxed.gif";
}

with(submenuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="62%";
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=2;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=3;
subimagepadding=2;
subimage="Images/black_13x13_greyboxed.gif";
onsubimage="Images/on_13x13_greyboxed.gif";
}

with(submenuStyle2=new mm_style()){
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="62%";
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";
separatorcolor="#DCE9F0";
separatorsize=10;
subimagepadding=2;
subimage="Images/black_13x13_greyboxed.gif";
onsubimage="Images/on_13x13_greyboxed.gif";
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
top=150;
left=420;
aI("text=Home;url=http://www.raxinc.com/;");
aI("text=Products;url=products.html;");
aI("text=Support;url=support.html;");
aI("text=News;url=RAX_Newsletter_200802.pdf;");
aI("text=About Rax;url=about.html;");
aI("text=Contact;url=contact.html");
aI("text=Project Requests;url=Projects/login.htm;");
}

with(milonic=new menuname("Sort")){
left=180;
top=80;
orientation="horizontal";
style=submenuStyle;
aI("align=center;text=Status;url=javascript:sortbyStatus();");
aI("align=center;text=Customer;url=javascript:sortbyCustomer();");
aI("align=center;text=Type;url=javascript:sortbyType();");
aI("align=center;text=Billed;url=javascript:sortbyBilled();");
aI("align=center;text=Module;url=javascript:sortbyModule();");
}

with(milonic=new menuname("Help")){
left=270;
top=80;
orientation="horizontal";
style=submenuStyle;
aI("text=Rax;tooltip=Use this to go to the Rax Web Site;");
aI("text=List;tooltip=Use this to display the list of requests. This will show all requests and the status (open, in progress, closed) of each request;");
aI("text=New Case;tooltip=Use this to add a new Project request;");
aI("text=Sort By;tooltip=Use this to sort the requests. They can be sorted by Status, Customer, Type, Billed, or Module;");
aI("text=Search;tooltip=Use this to search for a specific or group or requests;");
aI("showmenu=Status;text=Status");
aI("showmenu=Sponsors;text=Sponsors");
aI("text=Logoff;tooltip=Use this to logoff of the Web page;");
}

with(milonic=new menuname("Status")){
left=500;
top=100;
orientation="horizontal";
style=submenuStyle2;
aI("text=Open;tooltip=The request has been made but no action has been taken;image=Images/open.bmp");
aI("text=In Progress;tooltip=The development/programming is in progress;image=Images/run.bmp");
aI("text=Closed;tooltip=The request has been completed and closed;image=Images/closed.bmp");
aI("text=Rax Testing;tooltip=The request has been programmed and is being tested by Rax;image=Images/flag.bmp");
aI("text=Beta Testing;tooltip=The request has been programmed and is being tested by the customer;image=Images/customer.bmp");
}

with(milonic=new menuname("Sponsors")){
left=500;
top=100;
orientation="horizontal";
style=submenuStyle2;
aI("text=Sponsor the Project;tooltip=Click this picture to become a Sponsor of the project. You can only sponsor 5 projects at any time;image=Images/plus_box.gif");
aI("text=Sponsor List;tooltip=Click this picture to list the Sponsors of a project.;image=Images/list.bmp");
}

/*  could not get the bubble image positioned correctly so don't use it for now (LJC 05/06/2007)
with(bubbleTipStyle=new mm_style()){
	offcolor = "#000000";
	fontsize = "10px";
	fontstyle = "normal";
	fontfamily = "tahoma, verdana"; 
	overfilter = "Fade(duration=0.2);"
}

with(new menuname("bubbleTip"))
{
	top="offset=-160"
	left="offset=10"
	style=bubbleTipStyle;
	orientation="horizontal"
	menuwidth=225
	menuheight=166
	ignorecollision=true
	if(_W.M_maxTipWidth)maxwidth=M_maxTipWidth
	aI("text=;type=ToolTip;align=center;valign=middle;padding=0px 10px 30px 15px;itemwidth=220;bgimage=Images/oval_bubble2.gif");
	//aI("text=;type=ToolTip;align=center;valign=middle;padding=0px 10px 30px 15px;itemwidth=220;bgimage=Images/oval_bubble.gif");
}
*/

drawMenus();
