_scrollAmount=5;		// Used for Netscape 4 scrolling
_scrollDelay=10;		// Used for Netscape 4 scrolling

_menuCloseDelay=500;	// The delay for menus to remain visible on mouse off
_menuOpenDelay=150;		// The delay for opening menus on mouse over
_subOffsetTop=0;		// Sub menu offset Top position
_subOffsetLeft=0;		// Sub menu offset Left position

treeOffset=17;			// Used to set the offset of sub menus
singleMasterMenu=false;	// Informs the system to only have one menu open at a time

with(tstyle1=new mm_style()){
menubgcolor="#EBEBC6";
offclass="mmenuOff1";
onclass="mmenuOn1";
bordercolor="#000000";
styleid=2;
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize=1;
padding=3;
rawcss="fontsize:8";
fontweitght="bold";
fontfamily="Arial";
pagecolor="#c80000";
//pagebgcolor="#f6f6f6";
//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)";
////type="tree";
}

with(tstyle2=new mm_style()){
styleid=2;
menubgcolor="#EBEBC6";
offbgcolor="#B6D6C7";
onbgcolor="#D8E3C5";
offclass="mmenuOff2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
////type="tree";
}

with(PageStyle=new mm_style()){
styleid=3;
menubgcolor="#EBEBC6";
offbgcolor="#B6D6C7";
onbgcolor="#D8E3C5";
offclass="mmenuOff2";
bordercolor="#000000";
styleid=2;
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize=1;
padding=3;
rawcss="fontsize:8";
fontweitght="bold";
fontfamily="Arial";
pagecolor="#c80000";
pagebgcolor="#f6f6f6";
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(PageStyle2=new mm_style()){
styleid=3;
onbgcolor="transparent";
oncolor="#000000";
offbgcolor="transparent";
offcolor="#000000";
bordercolor="#000000";
styleid=2;
//bordercolor="#000000";
//borderstyle="solid";
borderwidth=0;
//separatorcolor="transparent";
//separatorsize=3;
padding=0;
//rawcss="fontsize:11";
//fontweight="bold";
fontfamily="Arial";
fontsize="9pt"
//pagecolor="#c80000";
pagebgcolor="#f6f6f6";
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(ButtonStyle1=new mm_style()){
styleid=3;
borderstyle="solid";
//borderwidth=1;
//bordercolor="#000000";
//separatorcolor="#000000";
separatorsize=1;
padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial ";
pagecolor="EFF3DC";
fontweight="bold"
pagebgcolor="#CC3333";
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=PageStyle2;
top=122;
//left="offset=-320";
screenposition="center";
orientation="horizontal";
alwaysvisible=1;
aI("image=/ul/ncagbc/Home_green2.gif;overimage=/ul/ncagbc/Home_black2.gif;url=/sn/clt/ncagbc/default.aspx?ClientCode=ncagbc;");
aI("image=/ul/ncagbc/AboutNCAg_green.gif;overimage=/ul/ncagbc/AboutNCAg_black.gif;showmenu=About;");
aI("image=/ul/ncagbc/AgResources_green.gif;overimage=/ul/ncagbc/AgResources_black.gif;showmenu=AgResources;");
aI("image=/ul/ncagbc/AgEvents_green2.gif;overimage=/ul/ncagbc/AgEvents_black2.gif;showmenu=AgEvents;");
aI("image=/ul/ncagbc/AgAdvocacy_green.gif;overimage=/ul/ncagbc/AgAdvocacy_black.gif;showmenu=AgAdvocacy;");
}

with(new menuname("JoinToday")){
top=35;
left="offset=340";
screenposition="center";
style=ButtonStyle1;
alwaysvisible=1;
orientation="vertical";
aI("image=/ul/ncagbc/hp_jointoday.jpg;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=About_HowtoJoin.txt;");
}


//with(milonic=new menuname("Main")){
//style=tstyle1;
//top=100;
//screenposition="center";
//orientation="horizontal";
////alwaysvisible=1;
//aI("text=News;url=/sn/new/n_main.aspx?ClientCode=ncagbc;");
//aI("text=Legislation;url=/sn/leg/l_main.aspx?ClientCode=ncagbc&L_Session=&L_Prior=&L_State=nc&StateName=North%20Carolina;");
//aI("text=Public Officials;url=/sn/pol/po_main.aspx?ClientCode=ncagbc&StateFIPS=37&State=nc&StateName=North%20Carolina;");
//aI("text=Calendar;url=/sn/cal/c_main.aspx?ClientCode=ncagbc;");
//aI("text=People;url=/sn/peo/p_main.aspx?ClientCode=ncagbc;");
//aI("text=Organizations;url=/sn/org/o_main.aspx?ClientCode=ncagbc;");
//aI("text=Surveys;url=/sn/sur/s_main.aspx?ClientCode=ncagbc;");
//aI("text=Admin;showmenu=admin;");
//aI("text=Home;url=/ncagbc/;");
//}

//with(milonic=new menuname("MainLft")){
//style=tstyle1;
//top=1;
//screenposition="center";
//orientation="horizontal";
//alwaysvisible=1;
//aI("text=Home;url=/ncagbc/;");
//aI("text=About NCAg;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=About_NCAg.txt;showmenu=About;");
//aI("text=AgResources;showmenu=AgResources;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgResources.txt;");
//aI("text=AgEvents;showmenu=AgEvents;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgEvents.txt;");
//aI("text=AgAdvocacy;showmenu=AgAdvocacy;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgAdvocacy.txt;");
////aI("text=Admin;showmenu=admin;");
//}

with(milonic=new menuname("AgEvents")){
style=tstyle2;
aI("text=AgForums with Congressional Delegation;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgForums_with_Congressional_Delegation.txt;");
aI("text=AgBreakfasts with Elected Officals;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgBreakfasts_with_Elected_Officials.txt;");
aI("text=AgDay at the General Assembly;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgDay_at_the_General_Assembly.txt;");
aI("text=AgGolf Tournament;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgGolf_Tournament.txt;");
aI("text=AgFly-In to DC;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgFly-In_to_DC.txt;");
aI("text=AgLeaders Banquet;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgLeaders_Banquet.txt;");
aI("text=AgLuncheon with Council of State;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgLuncheons_with_Elected_Officials.txt;");
aI("text=AgIssue Workshops;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgIssue_Workshops.txt;");
aI("text=AgRaffle;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&Filename=AgRaffle.txt;");
aI("text=AgTour;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&Filename=Fall%202009%20AgTour.txt;");
aI("text=AgLeaders Conference;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgLeaders_Banquet.txt;");
aI("text=AgReception;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgReceptions.txt;");
}

with(new menuname("Home")){
style=tstyle2;
aI("text=NCAg;url=/ncagbc/;");
aI("text=Elected Officials;url=/sn/peo/p_main.aspx?ClientCode=ncagbc;");
aI("text=AgFriends;url=/sn/org/o_main.aspx?ClientCode=ncagbc;");
aI("text=NCAg Members;url=/sn/peo/p_list.aspx?ClientCode=ncagbc&SearchType=PC_Code&PC_Code=10029&CodeSub=;");
}

with(milonic=new menuname("About")){
style=tstyle2;
aI("text=President's Welcome;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=About_PresidentsWelcome.txt;");
aI("text=Mission and Purpose;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=About_Mission_Purpose.txt;");
aI("text=History;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=About_History.txt;");
aI("text=Contact NCAg;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=About_Contact.txt;");
aI("text=Leadership;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=About_Leadership.txt;");
aI("text=Member Testimonials;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=About_Member_Testimonials.txt;");
aI("text=Membership Benefits;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=About_MembershipBenefits.txt;");
//aI("text=How to Join;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=About_HowtoJoin.txt;");
}

with(new menuname("Testimonials")){
style=tstyle2;
aI("text=Linda Harris;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Testimonials_LHarris.txt;");
aI("text=Pender Sharp;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Testimonials_PSharp.txt;");
aI("text=Larry Shoffner;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Testimonials_LShoffner.txt;");
aI("text=Dean Johnny Wynne;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Testimonials_DJWynne.txt;");
aI("text=Ralph Upton;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Testimonials_RUpton.txt;");
aI("text=Representative Dewey Hill;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Testimonials_DHill.txt;");
aI("text=Commissioner Steve Troxler;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Testimonials_CSTroxler.txt;");
aI("text=Terry Ryan;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Testimonials_TRyan.txt;");
}

with(milonic=new menuname("AgResources")){
style=tstyle2;
aI("text=Weather;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Resources_Weather.txt;");
aI("text=Farm Prices;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Resources_FarmPrices.txt;");
aI("text=Media Links;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Resources_NewsLinks.txt;");
aI("text=Daily AgPost;url=/sn/new/n_main.aspx?ClientCode=ncagbc;");
aI("text=Weekly AgNews Update;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=AgNews_Update_Newsletter.txt;");
aI("text=AgGroup Links;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Resources_NCCGLinks.txt;");
aI("text=Government Links;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Resources_GovernmentLinks.txt;");
aI("text=Education Links;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Resources_EducationLinks.txt;");
aI("text=AgCalendar;url=/sn/cal/c_monthly.aspx?ClientCode=ncagbc&Month=&Year=;");
//aI("text=Issue Links;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Resources_IssueLinks.txt;");
}

with(new menuname("AgStats")){
style=tstyle2;
aI("text=County;url=;");
aI("text=State;url=;");
aI("text=Federal;url=;");
aI("text=Crop;url=;");
}

with(new menuname("AgAdvocacy")){
style=tstyle2;
aI("text=NCAg Resolutions;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=NCAg_Resolutions.txt;");
//aI("text=State;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Advocacy_State.txt;");
//aI("text=Federal;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Advocacy_Federal.txt;");
//aI("text=Legislation;url=/sn/leg/l_main.aspx?ClientCode=ncagbc&L_Session=&L_Prior=&L_State=nc&StateName=North%20Carolina;");
aI("text=Immigration Reform;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Immigration_Reform.txt;");
aI("text=Farm Bill;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&FileName=Farm_Bill_2007.txt;");
aI("text=Public Officials;url=/sn/pol/po_main.aspx?ClientCode=ncagbc&StateFIPS=37&State=nc&StateName=North%20Carolina;");
aI("text=Research Station Transfer;url=/sn/adm/editpage.aspx?ClientCode=ncagbc&Filename=Research_Station_Program_Evaluation.txt;");
}

with(milonic=new menuname("admin")){
style=tstyle2;
aI("text=Edit Pages;url=/sn/adm/editpagelist.aspx?ClientCode=ncagbc&ListType=Page;");
aI("text=Edit Email Text;url=/sn/adm/editemaillist.aspx?ClientCode=ncagbc&ListType=Page;");
aI("text=Edit Templates;url=/sn/adm/editpagelist.aspx?ClientCode=ncagbc&ListType=Template;");
aI("text=Upload;url=/sn/adm/upload.aspx?ClientCode=ncagbc;");
aI("text=Modules;showmenu=Modules;");
aI("text=Welcome;url=/sn/sec/welcome.aspx?ClientCode=ncagbc;");
aI("text=Duplicate Emails;url=/sn/peo/p_dupemail.aspx?ClientCode=ncagbc;");
aI("text=Duplicate Toggle Switch;url=/sn/peo/p_duptoggle.aspx?ClientCode=ncagbc;");
aI("text=Help;url=/sn/adm/help.aspx;");
aI("text=Online Editor Help;url=/ul/sh/CI_Online_Editor.pdf;");}

with(milonic=new menuname("Modules")){
style=tstyle2;
aI("text=News;url=/sn/new/n_main.aspx?ClientCode=ncagbc;");
aI("text=Legislation;url=/sn/leg/l_main.aspx?ClientCode=ncagbc&L_Session=&L_Prior=&L_State=nc&StateName=North%20Carolina;");
aI("text=Public Officials;url=/sn/pol/po_main.aspx?ClientCode=ncagbc&StateFIPS=37&State=nc&StateName=North%20Carolina;");
aI("text=Calendar;url=/sn/cal/c_main.aspx?ClientCode=ncagbc;");
aI("text=People;url=/sn/peo/p_main.aspx?ClientCode=ncagbc;");
aI("text=Organizations;url=/sn/org/o_main.aspx?ClientCode=ncagbc;");
aI("text=Surveys;url=/sn/sur/s_main.aspx?ClientCode=ncagbc;");
}

drawMenus();

