﻿_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";
offdecoration="underline";
ondecoration="underline";
bordercolor="#FFFFFF";
borderstyle="solid";
borderwidth="0";
separatorcolor="#FFFFFF";
separatorsize=0;
fontsize=12;
fontstyle="bold";
fontfamily="Arial ";
pagecolor="#000000";
fontweight="bold"
pagebgcolor="#CCCCCC";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding=0;
subimage="/ul/sh/arrow-white.gif";
}

with(menuStyle=new mm_style()){
offclass="mmenuOff1";
onclass="mmenuOn1";
offdecoration="underline";
ondecoration="underline";
bordercolor="#eae4bf";
borderstyle="solid";
borderwidth=0;
separatorcolor="#d60000";
separatorsize=0;
fontsize=11;
fontstyle="bold";
fontfamily="Arial ";
pagecolor="#000000";
fontweight="bold"
pagebgcolor="#CCCCCC";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}

with(PageStyle=new mm_style()){
styleid=2;
offclass="mmenuOff1";
onclass="mmenuOn1";
offdecoration="underline";
ondecoration="underline";
bordercolor="#0A7800";
borderstyle="solid";
borderwidth=0;
separatorcolor="#d60000";
separatorsize=0;
fontsize=11;
fontstyle="bold";
fontfamily="Arial ";
pagecolor="#000000";
fontweight="bold"
pagebgcolor="#CCCCCC";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}

with(milonic=new menuname("Main")){
style=menuStyle1;
top=10;
screenposition="center";
//left="offset=70";
orientation="horizontal";
alwaysvisible=1;
aI("text=Home;url=/sn/clt/nceyes/pagedisplay.aspx?ClientCode=nceyes&FileName=current_home.txt;");
aI("text=Legislation;showmenu=legislation;");
aI("text=News;url=/sn/new/n_main.aspx?Client=nceyes;");
aI("text=Grassroots;showmenu=grassroots;");
aI("text=Officials;showmenu=officials;");
}

with(milonic=new menuname("grassroots")){
style=menuStyle;
aI("text=Join;url=/sn/sec/join.aspx?ClientCode=nceyes;");
aI("text=Login;url=/sn/sec/login.aspx?ClientCode=nceyes;");
}

with(milonic=new menuname("legislation")){
style=menuStyle;
aI("text=Overview Page;url=/sn/leg/l_main.aspx?ClientCode=nceyes&L_Session=&L_Prior=&L_State=nc&StateName=North Carolina;");
aI("text=Tracking Level;showmenu=track;");
aI("text=Bill Number;showmenu=billno;");
aI("text=Issues;showmenu=issues;");
aI("text=Structured Search;url=/sn/leg/l_search.aspx?ClientCode=nceyes;");
}

with(milonic=new menuname("track")){
style=menuStyle;
opacity="99";
aI("text=Hot;align=center;oncolor=#000000;offcolor=#000000;offbgcolor=Red;onbgcolor=Red;url=/sn/leg/l_list.aspx?SearchType=TL&SchStr=1&L_Title=Hot&ClientCode=nceyes&L_Session=&L_State=nc&StateName=North Carolina;");
aI("text=Work;align=center;oncolor=#000000;offcolor=#000000;offbgcolor=#FFB432;onbgcolor=#FFB432;url=/sn/leg/l_list.aspx?SearchType=TL&SchStr=2&L_Title=Work&ClientCode=nceyes&L_Session=&L_State=nc&StateName=North Carolina;");
aI("text=Watch;align=center;oncolor=#000000;offcolor=#000000;offbgcolor=Yellow;onbgcolor=Yellow;url=/sn/leg/l_list.aspx?SearchType=TL&SchStr=3&L_Title=Watch&ClientCode=nceyes&L_Session=&L_State=nc&StateName=North Carolina;");
aI("text=Monitor;align=center;oncolor=#000000;offcolor=#000000;offbgcolor=#CCCCCC;onbgcolor=#CCCCCC;url=/sn/leg/l_list.aspx?SearchType=TL&SchStr=4&L_Title=Monitor&ClientCode=nceyes&L_Session=&L_State=nc&StateName=North Carolina;");
aI("text=Passed;align=center;oncolor=#000000;offcolor=#000000;offbgcolor=LightGreen;onbgcolor=LightGreen;url=/sn/leg/l_list.aspx?SearchType=TL&SchStr=6&L_Title=Passed&ClientCode=nceyes&L_Session=&L_State=nc&StateName=North Carolina;");
}

with(milonic=new menuname("billno")){
style=menuStyle;
opacity="99";
aI("text=House Bill;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=nceyes&SchStr=h&L_Title=House Bill&L_Session=&L_State=nc&StateName=North Carolina;");
aI("text=Senate Bill;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=nceyes&SchStr=s&L_Title=Senate Bill&L_Session=&L_State=nc&StateName=North Carolina;");
}

with(milonic=new menuname("issues")){
style=menuStyle;
opacity="99";
aI("text=Issues - Health Care;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=nceyes&LC_Code=healthcare&L_Session=&L_State=nc&StateName=North Carolina;");
aI("text=Issues - Insurance;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=nceyes&LC_Code=Insur&L_Session=&L_State=nc&StateName=North Carolina;");
aI("text=Issues - Medical Practice Act;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=nceyes&LC_Code=pracact&L_Session=&L_State=nc&StateName=North Carolina;");
aI("text=Issues - Optometry;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=nceyes&LC_Code=optometry&L_Session=&L_State=nc&StateName=North Carolina;");
}

with(new menuname("officials")){
style=PageStyle;
aI("text=Overview;url=/sn/pol/po_main.aspx?ClientCode=nceyes&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=nceyes&State=nc&FIPS=37;");
aI("text=District Lookup;url=/sn/pol/po_districtlookup.aspx?ClientCode=nceyes&State=nc&StateName=North Carolina;");
aI("text=Birthday List;url=/sn/pol/po_bdlist.aspx?ClientCode=nceyes&State=nc&FIPS=37;");
}

with(new menuname("statewide")){
style=PageStyle;
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=nceyes&State=nc&List=Statewide&Title=Statewide%20by%20Name;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=nceyes&State=nc&List=Statewide&Party=D&Title=Statewide%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=nceyes&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=nceyes&State=nc&List=congress&Title=Congress%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=nceyes&State=nc&List=congressdl&Title=Congress%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=nceyes&State=nc&List=congress&Party=D&Title=Congress%20-%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=nceyes&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=nceyes&State=nc&List=stsenate&Title=Senate%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=nceyes&State=nc&List=stsenatedl&Title=Senate%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=nceyes&State=nc&List=stsenate&Party=D&Title=Senate%20-%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=nceyes&State=nc&List=stsenate&Party=R&Title=Senate%20-%20Republicans;");
aI("text=Committees;url=/sn/pol/poc_list.aspx?ClientCode=nceyes&ComState=nc&ComChamber=State Senate;");
}
with(new menuname("house")){
style=PageStyle;
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=nceyes&State=nc&List=sthouse&Title=Senate%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=nceyes&State=nc&List=sthousedl&Title=Senate%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=nceyes&State=nc&List=sthouse&Party=D&Title=Senate%20-%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=nceyes&State=nc&List=sthouse&Party=R&Title=Senate%20-%20Republicans;");
aI("text=Committees;url=/sn/pol/poc_list.aspx?ClientCode=nceyes&ComState=nc&ComChamber=State House;");
}

drawMenus();



