﻿_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=12;
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=menuStyle1;
top=156;
screenposition="center";
orientation="horizontal";
alwaysvisible=1;
//aI("itemwidth=80;text=News;url=/sn/new/n_main.aspx?ClientCode=ncvma;");
//aI("itemwidth=110;text=Legislation;showmenu=legislation;");
aI("itemwidth=100;text=Officials;showmenu=officials;");
//aI("itemwidth=100;text=Grassroots;showmenu=grassroots;");
aI("itemwidth=150;text=Members Login;url=/sn/sec/login.aspx?ClientCode=ncvma;");
aI("itemwidth=100;text=Home;url=/sn/clt/ncvma/default.aspx?ClientCode=ncvma;");
}

with(milonic=new menuname("grassroots")){
style=menuStyle1;
aI("text=Join;url=/sn/sec/join.aspx?ClientCode=ncvma;");
aI("text=Login;url=/sn/sec/login.aspx?ClientCode=ncvma;");
}

with(milonic=new menuname("legislation")){
style=menuStyle1;
aI("text=Overview Page;url=/sn/leg/l_main.aspx?ClientCode=ncvma&L_Session=&L_Prior=&L_State=nc&L_StateName=North Carolina;");
aI("text=Tracking Level;showmenu=track;");
aI("text=Bill Number;showmenu=billno;");
aI("text=Issues;showmenu=issues;");
}

with(milonic=new menuname("track")){
style=menuStyle1;
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=ncvma&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=ncvma&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=ncvma&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=ncvma&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=ncvma&L_Session=&L_State=nc&StateName=North Carolina;");
}

with(milonic=new menuname("billno")){
style=menuStyle1;
opacity="99";
aI("text=House Bill;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=ncvma&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=ncvma&SchStr=s&L_Title=Senate Bill&L_Session=&L_State=nc&StateName=North Carolina;");
}

with(milonic=new menuname("issues")){
style=menuStyle1;
opacity="99";
aI("text=Issues - Animal Welfare;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=ncvma&LC_Code=26319;");
aI("text=Issues - Euthanasia;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=ncvma&LC_Code=26320;");
aI("text=Issues - Puppy Mills;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=ncvma&LC_Code=26322;");
aI("text=Issues - Spay/Neuter;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=ncvma&LC_Code=26321;");
}

with(new menuname("officials")){
style=PageStyle;
aI("text=Overview;url=/sn/pol/po_main.aspx?ClientCode=ncvma&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=ncvma&State=nc&FIPS=37;");
aI("text=District Lookup;url=/sn/pol/po_districtlookup.aspx?ClientCode=ncvma&State=nc&StateName=North Carolina;");
aI("text=Birthday List;url=/sn/pol/po_bdlist.aspx?ClientCode=ncvma&State=nc&FIPS=37;");
}

with(new menuname("statewide")){
style=PageStyle;
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=ncvma&State=nc&List=Statewide&Title=Statewide%20by%20Name;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=ncvma&State=nc&List=Statewide&Party=D&Title=Statewide%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=ncvma&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=ncvma&State=nc&List=congress&Title=Congress%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=ncvma&State=nc&List=congressdl&Title=Congress%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=ncvma&State=nc&List=congress&Party=D&Title=Congress%20-%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=ncvma&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=ncvma&State=nc&List=stsenate&Title=Senate%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=ncvma&State=nc&List=stsenatedl&Title=Senate%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=ncvma&State=nc&List=stsenate&Party=D&Title=Senate%20-%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=ncvma&State=nc&List=stsenate&Party=R&Title=Senate%20-%20Republicans;");
aI("text=Committees;url=/sn/pol/poc_list.aspx?ClientCode=ncvma&ComState=nc&ComChamber=State Senate;");
}
with(new menuname("house")){
style=PageStyle;
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=ncvma&State=nc&List=sthouse&Title=Senate%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=ncvma&State=nc&List=sthousedl&Title=Senate%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=ncvma&State=nc&List=sthouse&Party=D&Title=Senate%20-%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=ncvma&State=nc&List=sthouse&Party=R&Title=Senate%20-%20Republicans;");
aI("text=Committees;url=/sn/pol/poc_list.aspx?ClientCode=ncvma&ComState=nc&ComChamber=State House;");
}
drawMenus();


