// Define menu object

var aMenu = new Array(
	{
		text : "COMPANY",
		func : function() {
			makeFirstOptionActive();
			loadPanoramaImage("panorama_tunnel.jpg");
			loadContent("company.html",460,350,189,268);
		},
		submenu : new Array(
			{
				text : "Description",
				func : function() {loadContent("company.html",460,290,189,268)}
			},
			{
				text : "Clients",
				func : function() {loadContent("client_feedback.html",500,310,189,250)}
			},
			{
				text : "Global Reach",
				func : function() {loadContent("global_reach.html",460,290,189,268)}
			},
			{
				text : "Contact Information",
				func : function() {loadContent("contact_information.html",440,290,189,268)}
			}
		),
		submenuWidth : 110
	}, 
	{
		text : "TECHNOLOGY",
		func : function() {
			loadPanoramaImage("panorama_bits3.jpg");
			loadContent("technology.html",340,200,215,340);
		},
		submenu : new Array(
			{
				text : "Evolutionary Optimization",
				func : function() {loadFlashCard("evolutionary_optimization.html")}
			},
//			{
//				text : "Online Optimization",
//				func : function() {loadFlashCard("online_optimization.html")}
//			},
			{
				text : "Advanced Conjoint",
				func : function() {loadFlashCard("advanced_conjoint.html")}
			}
		),
		submenuWidth : 150
	},
	{
		text : "APPLICATIONS",
		func : function() {
			loadPanoramaImage("panorama_astroClock.jpg");
			loadContent("applications.html",440,290,189,268);
		},
		submenu : new Array(
			{
				text : "Consumer Goods",
				func : function() {
					loadPanoramaImage("panorama_shopping_cart.jpg");
					loadContent("consumer_goods.html",280,200,189,460);
					showSubsubmenu(0);
				},
				submenu : new Array(
					{
						text : "Concept&nbsp;Screening",
						func : function() {loadContent("goods_concept_screening.html",320,300,190,428)}
					},
					{
						text : "Concept&nbsp;Optimization",
						func : function() {loadContent("goods_concept_optimization.html",320,300,190,428)}
					},
					{
						text : "Accelerated&nbsp;Launch",
						func : function() {loadContent("accelerated_launch.html",320,300,190,428)}
					},
					{
						text : "Brand&nbsp;Revitalization",
						func : function() {loadContent("brand_revitalization.html",320,300,190,428)}
					},
					{
						text : "Package&nbsp;Design&nbsp;Optimization",
						func : function() {loadContent("package_design_optimization.html",320,300,190,428)}
					},
					{
						text : "Ad&nbsp;Strategy&nbsp;Optimization",
						func : function() {loadContent("goods_ad_strategy_optimization.html",320,300,190,428)}
					},
					{
						text : "Promotion&nbsp;Optimization",
						func : function() {loadContent("promotion_optimization.html",320,300,190,428)}
					},
					{
						text : "Pricing Decision Support",
						func : function() {loadContent("pricing_decision_support.html",320,300,190,428)}
					},
					{
						text : "Ad&nbsp;Design&nbsp;Optimization",
						func : function() {loadContent("goods_ad_design_optimization.html",320,300,190,428)}
					},
					{
						text : "Product&nbsp;Line&nbsp;Optimization",
						func : function() {loadContent("line_optimization.html",320,300,190,428)}
					}
				)
			},
			{
				text : "Consumer Services",
				func : function() {
					loadPanoramaImage("panorama_credit_card.jpg");
					loadContent("consumer_services.html",280,250,189,460);					
					showSubsubmenu(1);
				},
				submenu : new Array(
					{
						text : "Concept&nbsp;Screening",
						func : function() {loadContent("services_concept_screening.html",320,300,190,428)}
					},
					{
						text : "Concept&nbsp;Optimization",
						func : function() {loadContent("services_concept_optimization.html",320,300,190,428)}
					},
					{
						text : "Collateral&nbsp;Design&nbsp;Optimization",
						func : function() {loadContent("collateral_design_optimization.html",320,300,190,428)}
					},
					{
						text : "Ad&nbsp;Strategy&nbsp;Optimization",
						func : function() {loadContent("services_ad_strategy_optimization.html",320,300,190,428)}
					},
					{
						text : "Ad&nbsp;Design&nbsp;Optimization",
						func : function() {loadContent("services_ad_design_optimization.html",320,300,190,428)}
					}
				)
			},
			/*
			{
				text : "Retail",
				func : function() {
					loadPanoramaImage("panorama_shopping_cart.jpg");
					loadContent("consumer_goods.html",280,200,189,460);
					showSubsubmenu(2);
				},
				submenu : new Array(
					{
						text : "Retail&nbsp;Concept&nbsp;Optimization",
						func : function() {loadContent("retail_concept_optimization.html",320,300,190,428)}
					},
					{
						text : "Ad&nbsp;Strategy&nbsp;Optimization",
						func : function() {loadContent("goods_ad_strategy_optimization.html",320,300,190,428)}
					},
					{
						text : "Promotion&nbsp;Optimization",
						func : function() {loadContent("promotion_optimization.html",320,300,190,428)}
					}
				)
			},
			*/
			
			
//			{
//				text : "Online Marketing",
//				func : function() {
//					loadPanoramaImage("panorama_online_marketing.jpg");
//					loadContent("online_marketing.html",310,300,189,435);					
//					showSubsubmenu(2);
//				},
//				submenu : new Array(
//					{
//						text : "Landing&nbsp;Page&nbsp;Optimization",
//						func : function() {loadContent("landing_page_optimization.html",320,300,190,428)}
//					},
//				{
//						text : "Online&nbsp;Ad&nbsp;Optimization",
//						func : function() {loadContent("online_ad_optimization.html",320,300,190,428)}
//					},
//					{
//						text : "Web&nbsp;Experience&nbsp;Optimization",
//						func : function() {loadContent("web_experience_optimization.html",310,300,190,438)}
//					}
//				)
//			},
			{
				text : "Other Applications",
				func : function() {
					loadPanoramaImage("panorama_astroClock.jpg");
					loadContent("other_applications.html",440,290,189,268);					
				}
			}
		),
		submenuWidth : 120
	},
	{
		text : "CAREERS",
		func : function() {
			loadPanoramaImage("panorama_racer.jpg");
			makeFirstOptionActive(this);
			loadContent("talent.html",460,300,189,268);
		},
		submenu : new Array(
			{
				text : "Our Philosophy",
				func : function() {loadContent("talent.html",460,300,189,268)}
			},
			{
				text : "Career Search",
				func : function() {
					loadContent("talent_search.html",280,250,189,460);
					showSubsubmenu(1);
				},
				submenu : new Array(
					{
						text : "Analytics",
						func : function() {loadContent("analytics.html",310,300,189,438)}
					},
					{
						text : "Client&nbsp;Support",
						func : function() {loadContent("client_support.html",310,300,189,438)}
					},
					{
						text : "Client&nbsp;Management",
						func : function() {loadContent("client_management.html",310,300,189,438)}
					},
					{
						text : "Design",
						func : function() {loadContent("design.html",310,300,189,438)}
					},
					{
						text : "Marketing",
						func : function() {loadContent("marketing.html",310,300,189,438)}
					},
					{
						text : "Research&nbsp;&amp;&nbsp;Development",
						func : function() {loadContent("programming.html",310,300,189,438)}
					}
				)
			},
			{
				text : "Current Openings",
				func : function() {loadContent("currentOpenings.html",490,320,189,268)}
			}
		),
		submenuWidth : 110
	},
	{
		text : "MEDIA",
		func : function () {
			loadPanoramaImage("panorama_times_square.jpg");
			makeFirstOptionActive(this);
			loadContent("press_releases.html",450,320,189,268);
		},
		submenu : new Array(
			{
				text : "Press Releases",
				func : function() {loadContent("press_releases.html",450,320,189,268)}
			},
			{
				text : "In the News",
				func : function() {loadContent("in_the_news.html",450,320,189,268)}
			},
			{
				text : "Media Inquiries",
				func : function() {loadContent("media_inquiries.html",490,320,189,268)}
			}
		),
		submenuWidth : 120
	},
	{
		text : "RESOURCES",
		func : function() {
			loadPanoramaImage("panorama_library.jpg");
			makeFirstOptionActive(this);
			loadContent("training_center.html",440,290,189,268);
		},
		submenu : new Array(
			{
				text : "Client Training Center",
				func : function() {loadContent("training_center.html",440,290,189,268)}
			},
			{
				text : "Client Initiative Center",
				func : function() {loadContent("project_center.html",440,290,189,268)}
			}
		),
		submenuWidth : 130
	}
)