 /***********************************************
*	(c) Ger Versluis 2000 version compat 14 October 2002        *
*	You may use this script on non commercial sites.	          *
*	www.burmees.nl/menu			          *
*	You may remove all comments for faster loading	          *		
************************************************/
	var NoOffFirstLineMenus=7;			// Number of main menu  items
						// Colorvariables:
						// Color variables take HTML predefined color names or "#rrggbb" strings
						//For transparency make colors and border color ""
	var LowBgColor="#506E8F";			// Background color when mouse is not over
	var LowBgColor="#506E8F";			// Background color when mouse is not over
	var HighBgColor="#6D859F";			// Background color when mouse is over
	var FontLowColor="#ffffff";			// Font color when mouse is not over
	var FontHighColor="#ffffff";		// Font color when mouse is over
	var BorderColor="#ffffff";			// Border color
	var BorderWidthMain=0;			// Border width main items
	var BorderWidthSub=0;			// Border width sub items
 	var BorderBtwnMain=0;			// Border between elements main items 1 or 0
	var BorderBtwnSub=0;			// Border between elements sub items 1 or 0
	var FontFamily="arial,verdana";	// Font family menu items
	var FontSize=8;				// Font size menu items
	var FontBold=0;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered="left";		// Item text position left, center or right
	var MenuCentered="left";			// Menu horizontal position can be: left, center, right, justify,
						//  leftjustify, centerjustify or rightjustify. PartOfWindow determines part of window to use
	var MenuVerticalCentered="top";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=.2;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=66;				// Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight
	var StartLeft=0;				// Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=10;				// Left padding
	var TopPaddng=1;				// Top padding
	var FirstLineHorizontal=1;			// First level items layout horizontal 1 or 0
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=200;			// delay before menu folds in
	var UnfoldDelay=0;			// delay before sub unfolds	
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame="";			// Frame where first level appears
	var SecLineFrame="";			// Frame where sub levels appear
	var DocTargetFrame="";			// Frame where target documents appear
	var TargetLoc="";				// span id for relative positioning
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var BottomUp=0;				// enables/ disables Bottom up unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var BaseHref="/";				// BaseHref lets you specify the root directory for relative links. 
						// The script precedes your relative links with BaseHref
						// For instance: 
						// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
						// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
						// Can also be used when you use images in the textfields of the menu
						// "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
						// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

	var Arrws=[BaseHref+"images/spacer.gif",1,10,BaseHref+"images/spacer.gif",1,10,BaseHref+"images/spacer.gif",1,10];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
						// document targets and script are in the same frame.
						// In all other cases it must be 1

	var RememberStatus=0;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
						// When set to 2 only the relevant main item stays highligthed
						// The preset is done by setting a variable in the head section of the target document.
						// <head>
						//	<script type="text/javascript">var SetMenu="2_2_1";</script>
						// </head>
						// 2_2_1 represents the menu item Menu2_2_1=new Array(.......
	var PartOfWindow=.8;			// PartOfWindow: When MenuCentered is justify, sets part of window width to stretch to

						// Below some pretty useless effects, since only IE6+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings
	var BuildOnDemand=0;

	var MenuSlide="";
	
	var MenuShadow="";
	
	var MenuOpacity="";
	
	

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
// "fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
// Color and font variables defined in the menu tree take precedence over the global variables
// Fontsize, fontbold and fontitalic are ignored when set to -1.
// For rollover images ItemText format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" 

	// Home menu
	Menu1=new Array("Home","javascript:location.href='./advertising_top.aspx?target=programs.aspx';urchinTracker('/jsmenu/home')","",0,16,65,"","","","","","",-1,-1,-1,"CENTER","Home");
	
	// Join/Renew menu
	Menu2=new Array("Join/Renew","","",5,16,85,"","","yellow","yellow","","",-1,-1,-1,"CENTER","Join the NRA");
	Menu2_1=new Array("Join the NRA","javascript:location.href='./advertising_top.aspx?target=https://membership.nrahq.org/forms/signup.asp';urchinTracker('/jsmenu/join/join')","",0,15,140,"","","","","","",-1,-1,-1,"","");
	Menu2_2=new Array("Renew Your Membership","javascript:location.href='./advertising_top.aspx?target=https://membership.nrahq.org/forms/renew.asp';urchinTracker('/jsmenu/join/renew')","",0,15,200,"","","","","","",-1,-1,-1,"","");
	Menu2_3=new Array("Sign up a friend","javascript:location.href='./advertising_top.aspx?target=https://membership.nrahq.org/forms/gift.asp';urchinTracker('/jsmenu/join/gift')","",0,15,140,"","","","","","",-1,-1,-1,"","");
	Menu2_4=new Array("Join the Business Alliance Program","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/business/alliance.asp';urchinTracker('/jsmenu/join/ba')","",0,15,140,"","","","","","",-1,-1,-1,"","");
	Menu2_5=new Array("Member Benefits","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/givejoinhelp/membership/benefits.asp';urchinTracker('/jsmenu/join/benefits')","",0,20,140,"","","","","","",-1,-1,-1,"","");

	// Contribute menu
	Menu3=new Array("Contribute","","",6,16,85,"","","yellow","yellow","","",-1,-1,-1,"CENTER","Contribute to the NRA");
	Menu3_1=new Array("National Rifle Association","javascript:location.href='./advertising_top.aspx?target=https://membership.nrahq.org/forms/donate.asp';urchinTracker('/jsmenu/contribute/nra')","",0,15,168,"","","","","","",-1,-1,-1,"","");
	Menu3_2=new Array("Institute for Legislative Action","javascript:location.href='./advertising_top.aspx?target=https://secure.nraila.org/Contribute.aspx';urchinTracker('/jsmenu/contribute/ila')","",0,15,168,"","","","","","",-1,-1,-1,"","");
	Menu3_3=new Array("NRA Foundation","javascript:location.href='./advertising_top.aspx?target=https://www.nrafoundation.org/giving/donate.asp';urchinTracker('/jsmenu/contribute/foundation')","",0,15,168,"","","","","","",-1,-1,-1,"","");
	Menu3_4=new Array("Civil Rights Legal Defense Fund","javascript:location.href='./advertising_top.aspx?target=https://www.nradefensefund.org/contributionsnew.aspx';urchinTracker('/jsmenu/contribute/defensefund')","",0,15,168,"","","","","","",-1,-1,-1,"","");
	Menu3_5=new Array("Whittington Center","javascript:location.href='./advertising_top.aspx?target=http://www.nrawc.org/contribution.asp';urchinTracker('/jsmenu/contribute/wc')","",0,15,168,"","","","","","",-1,-1,-1,"","");
	Menu3_6=new Array("Ways to Give","javascript:location.href='./advertising_top.aspx?target=http://www.nragive.com';urchinTracker('/jsmenu/contribute/wtg')","",0,20,168,"","","","","","",-1,-1,-1,"","");

	// Politics & Legislation image
	Menu4=new Array("Politics & Legislation","","",9,16,130,"","","","","","",-1,-1,-1,"CENTER","Politics & Legislation");
	Menu4_1=new Array("NRA-ILA Home","javascript:location.href='./advertising_top.aspx?target=http://www.nraila.org';urchinTracker('/jsmenu/ila/home')","",0,15,140,"","","","","","",-1,-1,-1,"","");
	Menu4_2=new Array("Issues","javascript:location.href='./advertising_top.aspx?target=http://www.nraila.org/issues';urchinTracker('/jsmenu/ila/issues')","",0,15,140,"","","","","","",-1,-1,-1,"","");
	Menu4_3=new Array("News","javascript:location.href='./advertising_top.aspx?target=http://www.nraila.org/news';urchinTracker('/jsmenu/ila/news')","",0,15,140,"","","","","","",-1,-1,-1,"","");
	Menu4_4=new Array("Federal Legislation","javascript:location.href='./advertising_top.aspx?target=http://www.nraila.org/Legislation/Federal';urchinTracker('/jsmenu/ila/federal')","",0,15,140,"","","","","","",-1,-1,-1,"","");
	Menu4_5=new Array("State Legislation","javascript:location.href='./advertising_top.aspx?target=http://www.nraila.org/Legislation/State';urchinTracker('/jsmenu/ila/state')","",0,15,140,"","","","","","",-1,-1,-1,"","");
	Menu4_6=new Array("Hunting","javascript:location.href='./advertising_top.aspx?target=http://www.nraila.org/Hunting';urchinTracker('/jsmenu/ila/hunting')","",0,15,140,"","","","","","",-1,-1,-1,"","");
	Menu4_7=new Array("Gun Laws","javascript:location.href='./advertising_top.aspx?target=http://www.nraila.org/gunlaws';urchinTracker('/jsmenu/ila/gunlaws')","",0,15,140,"","","","","","",-1,-1,-1,"","");
	Menu4_8=new Array("Grassroots Alerts","javascript:location.href='./advertising_top.aspx?target=http://www.nraila.org/GrassrootsAlerts/read.aspx';urchinTracker('/jsmenu/ila/grassroots')","",0,15,140,"","","","","","",-1,-1,-1,"","");
	Menu4_9=new Array("NRA PVF","javascript:location.href='./advertising_top.aspx?target=http://www.nrapvf.org';urchinTracker('/jsmenu/ila/pvf')","",0,20,140,"","","","","","",-1,-1,-1,"","");

	//Programs menu
	Menu5=new Array("Programs","javascript:location.href='./advertising_top.aspx?target=http://www.nra.org/programs.aspx'","",14,16,75,"","","","","","",-1,-1,-1,"CENTER","NRA Programs");
	Menu5_1=new Array("Clubs and Associations","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/clubs/index.asp';urchinTracker('/jsmenu/programs/clubs')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu5_2=new Array("Competitve Shooting","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/compete/index.asp';urchinTracker('/jsmenu/programs/competitions')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu5_3=new Array("Education and Training","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/education/index.asp';urchinTracker('/jsmenu/programs/education')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu5_4=new Array("Field Representatives","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/fieldreps/index.asp';urchinTracker('/jsmenu/programs/field_reps')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu5_5=new Array("Hunter Services","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/hunting/index.asp';urchinTracker('/jsmenu/programs/hunting')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu5_6=new Array("Law Enforcement","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/law/index.asp';urchinTracker('/jsmenu/programs/law')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu5_7=new Array("National Firearms Museum","javascript:location.href='./advertising_top.aspx?target=http://www.nationalfirearmsmuseum.org';urchinTracker('/jsmenu/programs/museum')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu5_8=new Array("Safety Programs","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/safety/index.asp';urchinTracker('/jsmenu/programs/safety_programs')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu5_9=new Array("Shooting Range Services","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/shootingrange/index.asp';urchinTracker('/jsmenu/programs/range_services')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu5_10=new Array("Woman's Programs","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/women/index.asp';urchinTracker('/jsmenu/programs/womens_programs')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu5_11=new Array("Youth Programs","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/youth/index.asp';urchinTracker('/jsmenu/programs/youth_programs')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu5_12=new Array("Business Opportunities","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/business/index.asp';urchinTracker('/jsmenu/programs/business_opportunities')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu5_13=new Array("Friends of NRA","javascript:location.href='./advertising_top.aspx?target=http://www.nrafoundation.org/friends';urchinTracker('/jsmenu/programs/FNRA')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu5_14=new Array("Recruiting Programs","javascript:location.href='./advertising_top.aspx?target=http://www.nrahq.org/recruiters';urchinTracker('/jsmenu/programs/Recruiter')","",0,20,150,"","","","","","",-1,-1,-1,"","");


// Special Offers
	//Menu8=new Array("Special Offers","","",0,16,110,"","","","","","",-1,-1,-1,"CENTER","Special Offers");
	//Menu8_1=new Array("African Safari","javascript:location.href='./advertising_top.aspx?target=https://www.nrahq.org/safari/Default.asp';urchinTracker('/jsmenu/special_offers/safari')","",0,15,140,"","","","","","",-1,-1,-1,"","");
	//Menu8_2=new Array("Stop The U.N. Gun Ban","javascript:location.href='./advertising_top.aspx?target=http://www.stopungunban.org/';urchinTracker('/jsmenu/special_offers/ungunban')","",0,20,200,"","","","","","",-1,-1,-1,"","");

	// Publications Articles
	Menu6=new Array("Publications","","",11,16,75,"","","","","","",-1,-1,-1,"CENTER","Publications");
	Menu6_1=new Array("President's Column","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/pc/Index.html';urchinTracker('/jsmenu/articles/president')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu6_2=new Array("Standing Guard","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/sg/Index.html';urchinTracker('/jsmenu/articles/standingguard')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu6_3=new Array("Armed Citizen","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/ac/Index.html';urchinTracker('/jsmenu/articles/armedcitizen')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu6_4=new Array("Regional Reports","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/regionals/Index.asp';urchinTracker('/jsmenu/articles/regionalreport')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu6_5=new Array("-----------------------------","","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu6_6=new Array("American Rifleman","javascript:location.href='./advertising_top.aspx?target=http://www.americanrifleman.org';urchinTracker('/jsmenu/articles/ar')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu6_7=new Array("American Hunter","javascript:location.href='./advertising_top.aspx?target=http://www.americanhunter.org';urchinTracker('/jsmenu/articles/ah')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu6_8=new Array("America's 1st FREEDOM","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/a1f/index.html';urchinTracker('/jsmenu/articles/ff')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu6_9=new Array("Shooting Illustrated","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/si/index.html';urchinTracker('/jsmenu/articles/SI')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu6_10=new Array("NRA Insights","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/ins/index.html';urchinTracker('/jsmenu/articles/IS')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu6_11=new Array("Shooting Sports USA","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/ssusa/index.html';urchinTracker('/jsmenu/articles/SS')","",0,20,150,"","","","","","",-1,-1,-1,"","");

	// About Us
	Menu7=new Array("About Us","javascript:location.href='./advertising_top.aspx?target=aboutus.aspx'","",0,16,75,"","","","","","",-1,-1,-1,"CENTER","Contact the NRA");

/*  Before removing special offers 

	*****************************Also make sure change var NoOffFirstLineMenus=7; to number of menuitems  in beginning of the file ******************************

	// Special Offers
	Menu6=new Array("Special Offers","","",0,16,110,"","","","","","",-1,-1,-1,"CENTER","Special Offers");
	//Menu6_1=new Array("African Safari","javascript:location.href='./advertising_top.aspx?target=https://www.nrahq.org/safari/Default.asp';urchinTracker('/jsmenu/special_offers/safari')","",0,15,140,"","","","","","",-1,-1,-1,"","");
	//Menu6_2=new Array("Stop The U.N. Gun Ban","javascript:location.href='./advertising_top.aspx?target=http://www.stopungunban.org/';urchinTracker('/jsmenu/special_offers/ungunban')","",0,20,200,"","","","","","",-1,-1,-1,"","");

	// Publications Articles
	Menu7=new Array("Publications","","",11,16,75,"","","","","","",-1,-1,-1,"CENTER","Publications");
	Menu7_1=new Array("President's Column","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/pc/Index.html';urchinTracker('/jsmenu/articles/president')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu7_2=new Array("Standing Guard","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/sg/Index.html';urchinTracker('/jsmenu/articles/standingguard')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu7_3=new Array("Armed Citizen","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/ac/Index.html';urchinTracker('/jsmenu/articles/armedcitizen')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu7_4=new Array("Regional Reports","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/regionals/Index.asp';urchinTracker('/jsmenu/articles/regionalreport')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu7_5=new Array("-----------------------------","","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu7_6=new Array("American Rifleman","javascript:location.href='./advertising_top.aspx?target=http://www.americanrifleman.org';urchinTracker('/jsmenu/articles/ar')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu7_7=new Array("American Hunter","javascript:location.href='./advertising_top.aspx?target=http://www.americanhunter.org';urchinTracker('/jsmenu/articles/ah')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu7_8=new Array("America's 1st FREEDOM","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/a1f/index.html';urchinTracker('/jsmenu/articles/ff')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu7_9=new Array("Shooting Illustrated","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/si/index.html';urchinTracker('/jsmenu/articles/SI')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu7_10=new Array("NRA Insights","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/ins/index.html';urchinTracker('/jsmenu/articles/IS')","",0,15,150,"","","","","","",-1,-1,-1,"","");
	Menu7_11=new Array("Shooting Sports USA","javascript:location.href='./advertising_top.aspx?target=http://www.nrapublications.org/ssusa/index.html';urchinTracker('/jsmenu/articles/SS')","",0,20,150,"","","","","","",-1,-1,-1,"","");

	// About Us
	Menu8=new Array("About Us","javascript:location.href='./advertising_top.aspx?target=aboutus.aspx'","",0,16,75,"","","","","","",-1,-1,-1,"CENTER","Contact the NRA");
	*/