﻿_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;
onbgcolor="#202C66";
oncolor="#DFD7CA";
offbgcolor="#DFD7CA";
offcolor="#202C66";
ondecoration="underline";
bordercolor="#028A6F";
borderstyle="solid";
borderwidth=0;
separatorcolor="#028A6F";
separatorsize=0;
padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial";
pagecolor="#202C66";
fontweight="bold"
pagebgcolor="#DFD7CA";
headercolor="#000000";
headerbgcolor="#ffffff";
subimagepadding=2;
overfilter="Fade(duration=0.2);Alpha(opacity=100);";
outfilter="randomdissolve(duration=0.3)";
}

with(menuStyle=new mm_style()){
onbgcolor="#202C66";
oncolor="#DFD7CA";
offbgcolor="#DFD7CA";
offcolor="#202C66";
ondecoration="underline";
bordercolor="#028A6F";
borderstyle="solid";
borderwidth=0;
separatorcolor="#CFC4A5";
separatorsize=1;
padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial";
pagecolor="#CFC4A5";
fontweight="bold"
pagebgcolor="#482B8A";
headercolor="#000000";
headerbgcolor="#ffffff";
subimagepadding=2;
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#004f6d', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}

with(PageStyle=new mm_style()){
styleid=2;
onbgcolor="#202C66";
oncolor="#DFD7CA";
offbgcolor="#DFD7CA";
offcolor="#202C66";
ondecoration="underline";
bordercolor="#028A6F";
borderstyle="solid";
borderwidth=0;
separatorcolor="#CFC4A5";
separatorsize=2;
padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial";
pagecolor="#CFC4A5";
fontweight="bold"
pagebgcolor="#482B8A";
headercolor="#000000";
headerbgcolor="#ffffff";
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=135;
screenposition="center";
orientation="horizontal";
alwaysvisible=1;
aI("text=Legislation;showmenu=legislation;");
aI("text=Officials;showmenu=officials;");
aI("text=Grassroots;showmenu=grassroots;");
aI("text=GR Home;url=/sn/clt/kcdd/default.aspx?ClientCode=kcdd;");
aI("text=KCDD Home;url=http://www.kcdd.ky.gov ;");
}

with(milonic=new menuname("legislation")){
style=menuStyle;
aI("text=Overview Page;url=/sn/leg/l_main.aspx?ClientCode=kcdd&L_Session=&L_Prior=&L_State=&StateName=;");
aI("text=Tracking Level;showmenu=track;");
aI("text=Bill Number;showmenu=billno;");
aI("text=Issues;showmenu=issues;");
aI("text=Federal;url=/sn/leg/l_main.aspx?ClientCode=kcdd&L_Session=2009-2010&L_Prior=2007-2008&L_State=us&L_StateName=Congress;");
}

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=kcdd;");
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=kcdd;");
aI("text=Passed;align=center;oncolor=#000000;offcolor=#000000;offbgcolor=LightGreen;onbgcolor=LightGreen;url=/sn/leg/l_list.aspx?SearchType=TL&SchStr=5&L_Title=Passed&ClientCode=kcdd;");
}

with(milonic=new menuname("billno")){
style=menuStyle;
opacity="99";
aI("text=House Bill;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=kcdd&SchStr=hb&L_Title=House Bill;");
aI("text=House C;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=kcdd&SchStr=hc&L_Title=House C;");
aI("text=House Journal;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=kcdd&SchStr=hj&L_Title=House Journal;");
aI("text=House Resolution;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=kcdd&SchStr=hr&L_Title=House Resolution;");
aI("text=Senate Bill;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=kcdd&SchStr=sbb&L_Title=Senate Bill;");
aI("text=Senate C;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=kcdd&SchStr=sc&L_Title=Senate C;");
aI("text=Senate Journal;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=kcdd&SchStr=sj&L_Title=Senate Journal;");
aI("text=Senate Resolution;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=kcdd&SchStr=sr&L_Title=Senate Resolution;");
}

with(milonic=new menuname("issues")){
style=menuStyle;
opacity="99";
aI("text=Issues - Childcare;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=kcdd&LC_Code=26437;");
aI("text=Issues - Education ;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=kcdd&LC_Code=26430;");
aI("text=Issues - Employment ;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=kcdd&LC_Code=26429;");
aI("text=Issues - Formal and Informal Community Supports ;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=kcdd&LC_Code=26434;");
aI("text=Issues - Healthcare;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=kcdd&LC_Code=26431;");
aI("text=Issues - Housing ;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=kcdd&LC_Code=26432;");
aI("text=Issues - Quality Assurance;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=kcdd&LC_Code=26436;");
aI("text=Issues - Recreation ;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=kcdd&LC_Code=26433;");
aI("text=Issues - Transportation;url=/sn/leg/l_list.aspx?SearchType=LC_Code&ClientCode=kcdd&LC_Code=26435;");
}


with(milonic=new menuname("grassroots")){
style=menuStyle;
aI("text=Join;url=/sn/sec/join.aspx?ClientCode=kcdd;");
aI("text=Login;url=/sn/sec/login.aspx?ClientCode=kcdd;");
}

with(new menuname("officials")){
style=PageStyle;
aI("text=Overview;url=/sn/pol/po_main.aspx?ClientCode=kcdd&State=ky&StateName=Kentucky&StateFIPS=21;");
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=kcdd&State=ky&FIPS=21;");
aI("text=District Lookup;url=/sn/pol/po_districtlookup.aspx?ClientCode=kcdd&State=ky&StateName=Kentucky;");
aI("text=Birthday List;url=/sn/pol/po_bdlist.aspx?ClientCode=kcdd&State=ky&FIPS=21;");
}
with(new menuname("statewide")){
style=PageStyle;
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&List=Statewide&Title=Statewide%20by%20Name;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&List=Statewide&Party=D&Title=Statewide%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&List=Statewide&Party=R&Title=Statewide%20Republicans;");
}
with(new menuname("congress")){
style=PageStyle;
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&List=congress&Title=Congress%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&List=congressdl&Title=Congress%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&List=congress&Party=D&Title=Congress%20-%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&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=kcdd&State=ky&List=stsenate&Title=Senate%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&List=stsenatedl&Title=Senate%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&List=stsenate&Party=D&Title=Senate%20-%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&List=stsenate&Party=R&Title=Senate%20-%20Republicans;");
aI("text=Committees;url=/sn/pol/poc_list.aspx?ClientCode=kcdd&ComState=ky&ComChamber=State Senate;");
}
with(new menuname("house")){
style=PageStyle;
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&List=sthouse&Title=Senate%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&List=sthousedl&Title=Senate%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&List=sthouse&Party=D&Title=Senate%20-%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=kcdd&State=ky&List=sthouse&Party=R&Title=Senate%20-%20Republicans;");
aI("text=Committees;url=/sn/pol/poc_list.aspx?ClientCode=kcdd&ComState=ky&ComChamber=State House;");
}


drawMenus();
