// This is the Javascript configuration file for the javascript menus used on the site
// The program used is called COOLjsMenuPro and can be found at http://javascript.cooldev.com
//
// Changes are made to this file in order to add or subtract items from the menus.
// No changes should be made to coolmenupro.js (the program itself).
//
// Any changes to this file must be made with great care as the syntaqx is very exact 
//     (for example, an out of place comma can cause the menus to stop working)
//
// ------------------------------------------------------------------------------------
//
//The quoted value in the line below should point to the root directory for the site:
//
MCH_URL = 'http://www.mchenrychamber.com/';
//
BLANK_IMAGE = MCH_URL + 'images/b.gif';
//
// The sections below sets overall style information (in combination with items in the CSS)
//
var MAIN_STYLE = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
//	arrow: MCH_URL + "images/arrow.gif",	// image for arrow on sub-menus
//	oarrow: MCH_URL + "images/subarrow_over.gif", 	// arrow image for mouseover state
//	arrsize:[15,10],		// size of arrow images
//	color:{
//		border:"#336699",	// color of the item border, if any
//		shadow:"",	// color of the item shadow, if any
//		bgON:"#336699",		// background color for the items
//		bgOVER:"#003366"		// background color for the item which is under mouse right now
//	}, 
	css:{
		ON:"coolMainOn",		// CSS class for items
		OVER:"coolMainOver"	// CSS class  for item which is under mouse
	} 
};
//
var SUB_STYLE = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:3,			// item's shadow size, pixels; zero means "none"
	arrow: MCH_URL + "images/subarrow.gif",	// image for arrow on sub-menus
	oarrow: MCH_URL + "images/subarrow_over.gif", 	// arrow image for mouseover state
	arrsize:[15,10],		// size of arrow images
	color:{
		border:"#333333",	// color of the item border, if any
		shadow:"#666666",	// color of the item shadow, if any
		bgON:"#FFFFE0",		// background color for the items
		bgOVER:"#003366"		// background color for the item which is under mouse right now
	},
	css:{
		ON:"coolSubOn",		// CSS class for items
		OVER:"coolSubOver"	// CSS class  for item which is under mouse
	}
}; 
//
// Below is the actual menu structure.  If you must make any changes, please keep the following in mind:
//        1. MAKE A BACKUP COPY BEFORE ANY CHANGES ARE MADE - errors will cause the menus to stop working
//        2. The most common changes will be to add/subtract/move menu items.  Remember:
//                - each {code: ...} line creates a menu item
//                - every line, except the last line in each section ends with a comma
//                - each menu item has a cell height of 25 (size:[25,x])... 
//                     in order to keep Internet Explorer happy, the table cell containing the menu  
//                        must be sized to fit the menu - add/subtract from the cell height as needed
//        3. Documentation can be found at http://javascript.cooldev.com
//
var MENU_ITEMS = [
	{pos:'relative', itemoff:[24,0], leveloff:[0,149], style:MAIN_STYLE, size:[25,158]},
	{code:"<img src='"+MCH_URL+"images/homebutton.gif'>", ocode:"<img src='"+MCH_URL+"images/homebutton-over.gif'>", url: MCH_URL + "index.html"},
	{code:"<img src='"+MCH_URL+"images/aboutbutton.gif'>", ocode:"<img src='"+MCH_URL+"images/aboutbutton-over.gif'>", url: MCH_URL + "pages/about_us.html",
		sub:[
			{leveloff:[0,157], style:SUB_STYLE, size:[25,155]},
			{code:"Chamber Overview", url: MCH_URL + "pages/about_us/chamber_overview.html"},
			{code:"Chamber Staff", url: MCH_URL + "pages/about_us/chamber_staff.html"},
			{code:"Board of Directors", url: MCH_URL + "pages/about_us/board_of_directors.html"},
			{code:"Committees", url: MCH_URL + "pages/about_us/committees.html"}
		]
	},
	{code:"<img src='"+MCH_URL+"images/chamberbutton.gif'>", ocode:"<img src='"+MCH_URL+"images/chamberbutton-over.gif'>", url: MCH_URL + "pages/chamber_benefits.html",
		sub:[
			{leveloff:[0,157], style:SUB_STYLE, size:[25,183]},
			{code:"Networking", url: MCH_URL + "pages/networking.html",
				sub:[
				{leveloff:[0,182], style:SUB_STYLE, size:[25,215]},
					{code:"After Hours Mixers", url: MCH_URL + "pages/networking/after_hours_mixers.html"},
					{code:"Golf League", url: MCH_URL + "pages/networking/golf_league.html"},		
					{code:"Scrambles", url: MCH_URL + "pages/networking/scrambles.html"},
					{code:"Luncheons", url: MCH_URL + "pages/networking/luncheons.html"},
					{code:"SOHO", url: MCH_URL + "pages/networking/soho.html"},
					{code:"Referral Groups", url: MCH_URL + "pages/referral_groups.html"},
					{code:"Sales Round Table", url: MCH_URL + "pages/networking/sales_round_table.html"},
					{code:"Young Professionals", url: MCH_URL + "pages/networking/young_professionals.html"},
					{code:"WINGs", url: MCH_URL + "pages/networking/wings.html"},
					{code:"Manufacturing Round Table", url: MCH_URL + "pages/networking/manufacturing_round_table.html"}
				]
			},
			{code:"Joining", url: MCH_URL + "pages/chamber_benefits/joining.html"},
			{code:"Communication Tools", url: MCH_URL + "pages/chamber_benefits/communication_tools.html",
				sub:[
					{leveloff:[0,182], style:SUB_STYLE, size:[25,150]},
					{code:"Newsletter", url: MCH_URL + "pages/chamber_benefits/communication_tools/newsletter.html"},
					{code:"Weekly Fax", url: MCH_URL + "pages/chamber_benefits/communication_tools/weekly_fax.html"},
					{code:"Community Guide", url: MCH_URL + "pages/chamber_benefits/communication_tools/community_guide.html"},
					{code:"Fiesta Days Guide", url: MCH_URL + "pages/chamber_benefits/communication_tools/fiesta_days_guide.html"},
					{code:"Website", url: MCH_URL + "pages/chamber_benefits/communication_tools/website.html"}
				]
			},
			{code:"Promotional Services", url: MCH_URL + "pages/chamber_benefits/promotional_services.html",
				sub:[
					{leveloff:[0,182], style:SUB_STYLE, size:[25,160]},
					{code:"Shop Chamber First", url: MCH_URL + "pages/chamber_benefits/promotional_services/shop_chamber_first.html"},
					{code:"Member Savings", url: MCH_URL + "pages/chamber_benefits/promotional_services/member_savings.html"},
					{code:"Student Reward", url: MCH_URL + "pages/chamber_benefits/promotional_services/student_reward.html"},
					{code:"Gift Checks", url: MCH_URL + "pages/chamber_benefits/promotional_services/gift_checks.html"}
				]
			}
		]
	},
	{code:"<img src='"+MCH_URL+"images/memberbutton.gif'>", ocode:"<img src='"+MCH_URL+"images/memberbutton-over.gif'>", url: MCH_URL + "pages/member_directory.html"},
	{code:"<img src='"+MCH_URL+"images/networkbutton.gif'>", ocode:"<img src='"+MCH_URL+"images/networkbutton-over.gif'>", url: MCH_URL + "pages/networking.html",
		sub:[
			{leveloff:[0,157], style:SUB_STYLE, size:[25,215]},
			{code:"After Hours Mixers", url: MCH_URL + "pages/networking/after_hours_mixers.html"},
			{code:"Golf League", url: MCH_URL + "pages/networking/golf_league.html"},
			{code:"Scrambles", url: MCH_URL + "pages/networking/scrambles.html"},
			{code:"Luncheons", url: MCH_URL + "pages/networking/luncheons.html"},
			{code:"SOHO", url: MCH_URL + "pages/networking/soho.html"},
			{code:"Referral Groups", url: MCH_URL + "pages/referral_groups.html"},
			{code:"Sales Round Table", url: MCH_URL + "pages/networking/sales_round_table.html"},
			{code:"Young Professionals", url: MCH_URL + "pages/networking/young_professionals.html"},
			{code:"WINGs", url: MCH_URL + "pages/networking/wings.html"},
			{code:"Manufacturing Round Table", url: MCH_URL + "pages/networking/manufacturing_round_table.html"}
		]
	},
	{code:"<img src='"+MCH_URL+"images/eventsbutton.gif'>", ocode:"<img src='"+MCH_URL+"images/eventsbutton-over.gif'>", url: MCH_URL + "pages/events.html",
		sub:[
			{leveloff:[0,157], style:SUB_STYLE, size:[25,155]},
			{code:"Event Calendar", url: MCH_URL + "pages/events/event_calendar.html"},
			{code:"Fiesta Days", url: MCH_URL + "pages/events/fiesta_days.html"},
			{code:"Country Meadows", url: MCH_URL + "pages/events/country_meadows.html"},
			{code:"Dinner Dance", url: MCH_URL + "pages/events/dinner_dance.html"},
			{code:"Expo", url: MCH_URL + "pages/events/expo.html"},
			{code:"Scrambles", url: MCH_URL + "pages/networking/scrambles.html"},
			{code:"Luncheons", url: MCH_URL + "pages/networking/luncheons.html"},
			{code:"Golf Outing", url: MCH_URL + "pages/events/golf_outing.html"},
			{code:"Community Events", url: MCH_URL + "pages/events/community_events.html"}
		]
	},
	{code:"<img src='"+MCH_URL+"images/referralbutton.gif'>", ocode:"<img src='"+MCH_URL+"images/referralbutton-over.gif'>", url: MCH_URL + "pages/referral_groups.html"},
	{code:"<img src='"+MCH_URL+"images/businessbutton.gif'>", ocode:"<img src='"+MCH_URL+"images/businessbutton-over.gif'>", url: MCH_URL + "pages/starting_a_business.html"}, 
	{code:"<img src='"+MCH_URL+"images/mchenrybutton.gif'>", ocode:"<img src='"+MCH_URL+"images/mchenrybutton-over.gif'>", url: MCH_URL + "pages/about_mchenry.html"}
];
