_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=2;


Goverfilter="Alpha(style=1,opacity=25,finishOpacity=100,startX=0,finishX=100,startY=100,finishY=0);Fade(duration=0.2);Shadow(color='#777777', Direction=135, Strength=5)";
Goverfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
Goutfilter="randomdissolve(duration=0.3)";
Goutfilter="";
Goverfilter="";

AllMargin=0;

treeOffset=0;  // Used to set the offset of sub menus
singleMasterMenu=true // Informs the system to on;y have one menu open at a time

with(tstyle1=new mm_style()){
offcolor = "#ffffff";
//onbgcolor = "#D70B0B";
onbgcolor = "#cccccc";
//offbgcolor="#006699"
offbgcolor="#3672AA"
oncolor = "#FFFFFF";

//ondecoration="underline"
borderstyle = "solid";
//subimage="white_arrow.gif"
//onsubimage="white_arrow_down.gif"
subimage="trans1.gif"
onsubimage="trans1.gif"

//bordercolor="black"
bordercolor="#3672AA"
borderwidth=1
padding = 2
fontfamily="Verdana, Tahoma, Arial";
fontsize="9.5px";
fontstyle="normal";
//fontsize = "9px";
//fontfamily = "arial, verdana, tahoma";    
subimageposition="top right" ;
separatorsize=1
//separatorcolor="#003366";
separatorcolor="#3672AA";
image="trans.gif"
subimagepadding=3
imagepadding=2
itemwidth=175
}

sub1Style=new copyOf(tstyle1)
sub1Style.offcolor = "#ffffff";
//sub1Style.offbgcolor="#8EA2BB"
sub1Style.offbgcolor="#3672AA"
//sub1Style.separatorcolor="#556E8C"
sub1Style.separatorcolor="#3672AA"

sub2Style=new copyOf(tstyle1)
sub2Style.offcolor = "#000000";
sub2Style.offbgcolor="#D6DDE6"
//sub2Style.separatorcolor="#8EA2BB"
sub2Style.separatorcolor="#3672AA"


tstyle1.clickcolor="#ffffff"
//tstyle1.clickbgcolor="#D70B0B"
//tstyle1.clickbgcolor="#3672AA"
tstyle1.clickbgcolor="#cccccc"
//tstyle1.clickimage="red_blip.gif"
tstyle1.clickimage="trans.gif"
//tstyle1.clicksubimage="white_arrow_down.gif"
tstyle1.clicksubimage="trans.gif"


with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#eeeeee";
offcolor="#000000";
onbgcolor="#ddffdd";
oncolor="#000099";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
//subimage="arrow.gif";
subimagepadding=2;
}

//submenus for the horizontal menu
with(milonic=new menuname("Company")){
overflow="scroll";
style=menuStyle;
keepalive=0;
aI("text=President's Message;url=http://www.uscomputers.com/presidents_message.html;");
aI("text=Our Mission;url=http://www.uscomputers.com/mission.html;");
aI("text=Management;url=http://www.uscomputers.com/management.html;");
aI("text=Our History;url=http://www.uscomputers.com/history.html;");
aI("text=Locations;url=http://www.uscomputers.com/locations.html;");
}

with(milonic=new menuname("Solutions")){
overflow="scroll";
style=menuStyle;
aI("text=USC Accounting System;url=http://www.uscomputers.com/accounting.html;");
aI("text=Business Technology;url=http://www.uscomputers.com/business_technology.html;");
aI("text=Custom Software;url=http://www.uscomputers.com/custom_software.html;");
aI("text=Outsourcing;url=http://www.uscomputers.com/outsourcing.html;");
}

with(milonic=new menuname("Partners")){
overflow="scroll";
style=menuStyle;
//aI("text=HP;url=http://www.uscomputers.com/index.html;");
//aI("text=CA;url=http://www.uscomputers.com/index.html;");
//aI("text=Microsoft;url=http://www.uscomputers.com/index.html;");
//aI("text=Cisco;url=http://www.uscomputers.com/index.html;");
//aI("text=SurfControl;url=http://www.uscomputers.com/index.html;");
//aI("text=Symantec;url=http://www.uscomputers.com/index.html;");
//aI("text=Barracuda Networks;url=http://www.uscomputers.com/index.html;");

}

with(milonic=new menuname("News")){
overflow="scroll";
style=menuStyle;

}

with(milonic=new menuname("ContactUS")){
overflow="scroll";
style=menuStyle;

}

//submenus for the collapsible menu
	with(milonic=new menuname("USCAccounting")){
	style = sub1Style;
	margin=AllMargin;
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>General Ledger</b>;url=http://www.uscomputers.com/construction.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Accounts Receivable</b>;url=http://www.uscomputers.com/construction.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Accounts Payable</b>;url=http://www.uscomputers.com/construction.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Payroll</b>;url=http://www.uscomputers.com/construction.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Purchase Order</b>;url=http://www.uscomputers.com/construction.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Inventory Control</b>;url=http://www.uscomputers.com/construction.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Order Processing</b>;url=http://www.uscomputers.com/construction.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Job Cost</b>;url=http://www.uscomputers.com/construction.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Point of Sale</b>;url=http://www.uscomputers.com/construction.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Bank Reconciliation</b>;url=http://www.uscomputers.com/construction.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Employee Training</b>;url=http://www.uscomputers.com/construction.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Equipment</b>;url=http://www.uscomputers.com/construction.html;");

}

	with(milonic=new menuname("BusinessTechnology")){
	style = sub1Style;
	margin=AllMargin;
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Email</b>;url=http://www.uscomputers.com/email.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Networking</b>;url=http://www.uscomputers.com/networking.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Internet Monitoring</b>;url=http://www.uscomputers.com/internet_monitoring.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Storage and Backup</b>;url=http://www.uscomputers.com/storage.html;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Security</b>;url=http://www.uscomputers.com/security.html;");

}

	with(milonic=new menuname("CustomSoftware")){
	style = sub1Style;
	margin=AllMargin;
	//aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Custom App Design</b>;url=#");
	//aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Application Integration</b>;url=#");
	//aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Application Consulting</b>;url=#");

}

	with(milonic=new menuname("Outsourcing")){
	style = sub1Style;
	margin=AllMargin;
	//aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Helpdesk Services</b>;url=#");
	//aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>Contract IT Services</b>;url=#");
	//aI("text=&nbsp;&nbsp;&nbsp;&nbsp;<b>IT Consulting</b>;url=#");

}

drawMenus();	//1) Draw the submenus