﻿_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";
separatorcolor="#596792";
separatorsize=2;
}

with(imageonly=new mm_style()){
styleid=3;
separatorcolor="#596792";
separatorsize=2;
}

with(menuStyle=new mm_style()){
offclass="mmenuOff1";
onclass="mmenuOn1";
bordercolor="#596792";
borderstyle="solid";
borderwidth=1;
separatorcolor="#596792";
separatorsize=1;
padding=3;
fontsize=11;
fontstyle="bold";
fontfamily="Verdana ";
pagecolor="800080";
fontweight="bold"
//pagebgcolor="#FDFCF7";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding=0;
subimage="http://www.ciprg.com/ul/sh/arrow-white.gif";
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="mmenuOff1page";
onclass="mmenuOn1page";
bordercolor="#FDFCF7";
borderstyle="solid";
borderwidth="0";
separatorcolor="#FDFCF7";
separatorsize=2;
fontsize=11;
fontstyle="bold";
fontfamily="Verdana ";
pagecolor="FDFCF7";
fontweight="bold"
pagebgcolor="#727F2E";
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=imageonly;
top=176;
screenposition="center";
left="offset=-145";
orientation="horizontal";
alwaysvisible=1;
aI("image=/ul/tacc/tabHomeOff.gif;overimage=/ul/tacc/tabHomeON.gif;url=/sn/clt/tacc/default.aspx?ClientCode=tacc;");
aI("image=/ul/tacc/tabNewsOff.gif;overimage=/ul/tacc/tabNewsOn.gif;url=/sn/new/n_main.aspx?ClientCode=tacc;");
aI("image=/ul/tacc/tabLegislationOff.gif;overimage=/ul/tacc/tabLegislationOn.gif;showmenu=legislation;");
aI("image=/ul/tacc/tabOfficialsOff.gif;overimage=/ul/tacc/tabOfficialsOn.gif;showmenu=officials;");
aI("image=/ul/tacc/tabAdvocatesOff.gif;overimage=/ul/tacc/tabAdvocatesOn.gif;showmenu=grassroots;");
//aI("image=/ul/tacc/tabPeopleOff.gif;overimage=/ul/tacc/tabPeopleOn.gif;url=/sn/peo/p_main.aspx?ClientCode=tacc;");
//aI("image=/ul/tacc/tabOrganizationsOff.gif;overimage=/ul/tacc/tabOrganizationsOn.gif;url=/sn/org/o_main.aspx?ClientCode=tacc;");
//aI("image=/ul/tacc/tabLogoutOff.gif;overimage=/ul/tacc/tabLogoutOn.gif;url=/sn/sec/logout.aspx?ClientCode=tacc;");
aI("image=/ul/tacc/tabTACCHomeOff.gif;overimage=/ul/tacc/tabTACCHomeOn.gif;url=http://www.tacc.org/;target=_blank;");
//aI("image=/ul/tacc/tabAdminOff.gif;overimage=/ul/tacc/tabAdminOn.gif;showmenu=admin;");
}

with(milonic=new menuname("grassroots")){
style=menuStyle;
aI("text=Join;url=/sn/sec/join.aspx?ClientCode=tacc;");
aI("text=Login;url=/sn/sec/login.aspx?ClientCode=tacc;");
//aI("text=Grassroots Email;url=/sn/gre/gre_main.aspx?ClientCode=tacc;");
}

with(milonic=new menuname("admin")){
style=menuStyle;
aI("text=Edit Pages;align=left;url=/sn/adm/editpagelist.aspx?ClientCode=tacc&ListType=Page;");
aI("text=Edit Email Text;align=left;url=/sn/adm/editemaillist.aspx?ClientCode=tacc&ListType=Page;");
aI("text=Edit Templates;align=left;url=/sn/adm/editpagelist.aspx?ClientCode=tacc&ListType=Template;");
aI("text=Upload;url=/sn/adm/upload.aspx?ClientCode=tacc;");
aI("text=Welcome;url=/sn/sec/welcome.aspx?ClientCode=tacc;");
aI("text=Duplicate Emails;url=/sn/peo/p_dupemail.aspx?ClientCode=tacc;");
aI("text=Duplicate Toggle Switch;url=/sn/peo/p_duptoggle.aspx?ClientCode=tacc;");
}

with(milonic=new menuname("legislation")){
style=menuStyle;
aI("text=Overview Page;url=/sn/leg/l_main.aspx?ClientCode=tacc;");
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=tacc;");
aI("text=New Bills;url=/sn/leg/l_list.aspx?SearchType=TL&SchStr=9&L_Title=New%20Bills&ClientCode=tacc;");
aI("text=Add Bills;url=/sn/leg/l_lookup.aspx?L_State=&L_StateName=&L_Session=&ClientCode=tacc;");
}

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=tacc;");
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=tacc;");
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=tacc;");
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=tacc;");
aI("text=Other;align=center;oncolor=#000000;offcolor=#000000;offbgcolor=LightBlue;onbgcolor=LightBlue;url=/sn/leg/l_list.aspx?SearchType=TL&SchStr=6&L_Title=Other&ClientCode=tacc;");
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=tacc;");
}

with(milonic=new menuname("billno")){
style=menuStyle;
opacity="99";
aI("text=House Bill;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=tacc&SchStr=hb&L_Title=House Bill;");
aI("text=House CR;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=tacc&SchStr=hcr&L_Title=House CR;");
aI("text=House JR;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=tacc&SchStr=hjr&L_Title=House JR;");
aI("text=House Resolution;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=tacc&SchStr=hr&L_Title=House Resolution;");
aI("text=Senate Bill;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=tacc&SchStr=sb&L_Title=Senate Bill;");
aI("text=Senate CR;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=tacc&SchStr=scr&L_Title=Senate CR;");
aI("text=Senate JR;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=tacc&SchStr=sjr&L_Title=Senate JR;");
aI("text=Senate Resolution;url=/sn/leg/l_list.aspx?SearchType=BT&ClientCode=tacc&SchStr=sr&L_Title=Senate Resolution;");
}

with(milonic=new menuname("issues")){
style=menuStyle;
opacity="99";
}

with(milonic=new menuname("officials")){
style=menuStyle;
opacity="99";
aI("text=Overview;url=/sn/pol/po_main.aspx?ClientCode=tacc&State=Tx&StateName=Texas&StateFIPS=48");
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=tacc&State=Tx&FIPS=48;");
aI("text=District Lookup;url=/sn/pol/po_districtlookup.aspx?ClientCode=tacc&State=Tx&FIPS=48;");
aI("text=Birthday List;url=/sn/pol/po_bdlist.aspx?ClientCode=tacc&State=Tx&FIPS=48;");
}

with(milonic=new menuname("statewide")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=Statewide&Title=Statewide%20by%20Name;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=Statewide&Party=D&Title=Statewide%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=Statewide&Party=R&Title=Statewide%20Republicans;");
}

with(milonic=new menuname("congress")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=congress&Title=Congress%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=congressdl&Title=Congress%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=congress&Party=D&Title=Congress%20-%20Democrats;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=congress&Party=R&Title=Congress%20-%20Republicans;");
}

with(milonic=new menuname("senate")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=stsenate&Title=Senate%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=stsenatedl&Title=Senate%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=stsenate&Party=D&Title=Senate%20by%20Name;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=stsenate&Party=R&Title=Senate%20by%20Name;");
aI("text=Committees;url=/sn/pol/poc_list.aspx?ClientCode=tacc&ComState=Tx&ComChamber=State%20Senate;");
}

with(milonic=new menuname("house")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=sthouse&Title=House%20of%20Represenatives%20by%20Name;");
aI("text=By District;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=sthousedl&Title=House%20of%20Represenatives%20by%20District;");
aI("text=Democrats;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=sthouse&Party=D&Title=House%20of%20Represenatives%20by%20Name;");
aI("text=Republicans;url=/sn/pol/po_list.aspx?ClientCode=tacc&State=Tx&List=sthouse&Party=R&Title=House%20of%20Represenatives%20by%20Name;");
aI("text=Committees;url=/sn/pol/poc_list.aspx?ClientCode=tacc&ComState=Tx&ComChamber=State%20House;");
}

drawMenus();



