﻿_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(PageStyle=new mm_style()){
styleid=3;
onbgcolor="#d1e5da";
oncolor="#a52c61";
offbgcolor="#d1e5da";
offcolor="#17784f";
bordercolor="#000000";
//styleid=2;
borderstyle="solid";
borderwidth=0;
separatorcolor="#d1e5da";
separatorsize=15;
padding=3;
//rawcss="fontsize:11";
fontweight="bold";
fontfamily="Arial";
fontsize="14pt"
//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(tstyle2=new mm_style()){
styleid=2;
menubgcolor="#EBEBC6";
offbgcolor="#B6D6C7";
onbgcolor="#D8E3C5";
offclass="mmenuOff2";
onclass="mmenuOn2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
////type="tree";
}

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=PageStyle;
top=370;
left="offset=-320";
screenposition="center";
orientation="vertical";
alwaysvisible=1;
aI("image=/ul/ncagbc/Home_green.gif;overimage=/ul/ncagbc/Home_black.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_green.gif;overimage=/ul/ncagbc/AgEvents_black.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("Header")){
style=PageStyle2;
top=240;
//left="offset=-50";
screenposition="center";
orientation="vertical";
alwaysvisible=1;
aI("text=Thank you for visiting the North Carolina Agribusiness Council’s Website,;");
aI("text=which contains information that is relevant and useful for today’s AgLeader.;");
aI("text=The NCAg website is a constant work in progress and there are substantial;");
aI("text=updates and improvements currently in development that will be available soon.;");
aI("text=So consider bookmarking or listing the NCAG site as a favorite. In fact, you;");
aI("text=might even want to make <b>www.ncagribusiness.com</b> your home page.;url=http://www.ncagribusiness.com");
}

//Thank you for visiting the North Carolina Agribusiness Council’s Website, 
//which contains information that is relevant and useful for today’s AgLeader. 
//The NCAg website is a constant work in progress and there are substantial 
//updates and improvements currently in development that will be available soon. 
//So consider bookmarking or listing the NCAG site as a favorite. In fact, you 
//might even want to make www.ncagribusiness.com your home page.

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(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(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("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;");
}

drawMenus();



