﻿_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=10              // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset



with(menuStyle1=new mm_style()){
styleid=1;
offclass="mmenuOff1";
onclass="mmenuOn1";
subimage="/ul/menu/Arrow3_white_down.gif";
subimagepadding=2;
}

with(menuStyle=new mm_style()){
offclass="mmenuOff1";
onclass="mmenuOn1";
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=0;
separatorcolor="#333366";
separatorsize=1;
//padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial";
pagecolor="#e0e0e0";
fontweight="bold";
//pagebgcolor="#008457";
headercolor="#000000";
headerbgcolor="#ffffff";
subimagepadding=2;
subimage="/ul/menu/Arrow3_white_5x7.gif";
overimage="/ul/menu/Arrow3_yellow_5x7.gif";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#000000', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}

with(PageStyle=new mm_style()){
styleid=2;
offclass="mmenuOff1";
onclass="mmenuOn1";
bordercolor="#028A6F";
borderstyle="solid";
borderwidth=0;
separatorcolor="#ffffff";
separatorsize=2;
//padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial";
pagecolor="#ffff33";
fontweight="bold"
////pagebgcolor="#0d3276";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/ul/menu/Arrow3_white_down.gif";
subimagepadding=2;
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#004f6d', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}

with(milonic=new menuname("Main")){
style=PageStyle;
top=104;
screenposition="center";
orientation="horizontal";
alwaysvisible=1;
aI("text=Home;url=http://www.ncsba.org/;target=_blank;");
aI("text=Officials;showmenu=officials;");
aI("text=Grassroots;showmenu=grassroots;");
}

with(milonic=new menuname("grassroots")){
style=PageStyle;
aI("text=Join;url=/sn/sec/join.aspx?ClientCode=ncsba;");
aI("text=Login;url=/sn/sec/login.aspx?ClientCode=ncsba;");
}

with(new menuname("officials")){
style=PageStyle;
aI("text=Overview;url=/sn/pol/po_main.aspx?ClientCode=ncsba&State=nc&StateName=North Carolina&StateFIPS=37;");
aI("text=Statewide;showmenu=statewide;");
aI("text=Congress;showmenu=congress;");
aI("text=Senate;showmenu=senate;");
aI("text=House;showmenu=house;");
aI("text=County;url=/sn/pol/pocty_list.aspx?ClientCode=ncsba&State=nc&FIPS=37;");
aI("text=District Lookup;url=/sn/pol/po_districtlookup.aspx?ClientCode=ncsba&State=nc&StateName=North Carolina;");
aI("text=Birthday List;url=/sn/pol/po_bdlist.aspx?ClientCode=ncsba&State=nc&FIPS=37;");
}

with(new menuname("statewide")){
style=PageStyle;
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=Statewide&Title=Statewide%20by%20Name;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=Statewide&Party=D&Title=Statewide%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=Statewide&Party=R&Title=Statewide%20Republicans;");
}
with(new menuname("congress")){
style=PageStyle;
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=congress&Title=Congress%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=congressdl&Title=Congress%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=congress&Party=D&Title=Congress%20-%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=congress&Party=R&Title=Congress%20-%20Republicans;");
}
with(new menuname("senate")){
style=PageStyle;
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=stsenate&Title=Senate%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=stsenatedl&Title=Senate%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=stsenate&Party=D&Title=Senate%20-%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=stsenate&Party=R&Title=Senate%20-%20Republicans;");
aI("text=Committees;url=/sn/pol/poc_list.aspx?ClientCode=ncsba&ComState=nc&ComChamber=State Senate;");
}
with(new menuname("house")){
style=PageStyle;
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=sthouse&Title=Senate%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=sthousedl&Title=Senate%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=sthouse&Party=D&Title=Senate%20-%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=ncsba&State=nc&List=sthouse&Party=R&Title=Senate%20-%20Republicans;");
aI("text=Committees;url=/sn/pol/poc_list.aspx?ClientCode=ncsba&ComState=nc&ComChamber=State House;");
}

drawMenus();
