/*	Current Tab Names:
	homeTab - productsTab - servicesTab - industriesTab -	trainingTab - supportTab -  newsTab - eventsTab - companyTab 
*/

/*
	addTabURL syntax:
	addTabURL(  "/directory_path" , "tabName"  );
*/
addTabURL( "/", 				           "homeTab"	);
//addTabURL( "/products.html", 		   "productsTab"	);
//addTabURL( "/services.html", 		   "servicesTab"	);
addTabURL( "/industries.html", 		 "industriesTab"	);
addTabURL( "/about_esri.html", 			"companyTab"	);
addTabURL( "/user_showcase.html", 	 "industriesTab"	);
addTabURL( "/adpages", 			        "companyTab"	);
addTabURL( "/aprimoemails", 		    "companyTab"	);
addTabURL( "/atponly", 			       "trainingTab"	);
addTabURL( "/cd", 			            "companyTab"	);
addTabURL( "/censuswatch", 		     "industriesTab"	);
addTabURL( "/cigt", 			       "servicesTab"	);
addTabURL( "/cnn", 			               "newsTab"	);
addTabURL( "/company", 				    "companyTab"	);
addTabURL( "/company/usergroups", 	     "eventsTab"	);
addTabURL( "/data", 				   "productsTab"	);
addTabURL( "/devsupport", 			   "productsTab"	);
addTabURL( "/directnews", 			       "newsTab"	);
addTabURL( "/disaster_response",       "servicesTab"	);
addTabURL( "/download", 			   "productsTab"	);
addTabURL( "/eeap", 			       "servicesTab"	);
addTabURL( "/enewsletters", 			   "newsTab"	);
addTabURL( "/esripress", 			   "trainingTab"	);
addTabURL( "/events", 				     "eventsTab"	);
addTabURL( "/eventsReg", 				 "eventsTab"	);
addTabURL( "/federalgsa", 			 "industriesTab"	);
addTabURL( "/getting_started", 	           "homeTab"	);
addTabURL( "/gisday", 				     "eventsTab"	);
addTabURL( "/grant", 			     "industriesTab"	);
addTabURL( "/grants", 			     "industriesTab"	);
addTabURL( "/homepage", 			       "homeTab"	);
addTabURL( "/htmlemails", 			       "newsTab"	);
addTabURL( "/htmlform", 			       "newsTab"	);
addTabURL( "/legal", 			        "companyTab"	);
addTabURL( "/ims", 	                   "productsTab"	);
addTabURL( "/industries", 			 "industriesTab"	);
addTabURL( "/intldist", 			    "companyTab"	);
addTabURL( "/lewisandclark",         "industriesTab"	);
addTabURL( "/mars", 	             "industriesTab"	);
addTabURL( "/mops", 			        "companyTab"	);
addTabURL( "/library", 			           "newsTab"	);
addTabURL( "/library/casestudies", 	   "industriesTab"	);
addTabURL( "/library/bestpractices",   "industriesTab"	);
addTabURL( "/library/brochures", 	   "productsTab"	);
addTabURL( "/library/whitepapers", 	   "productsTab"	);
addTabURL( "/library/userconf", 		 "eventsTab"	);
addTabURL( "/library/esripress", 	   "trainingTab"	);
addTabURL( "/licenseagreement", 	   "productsTab"	);
addTabURL( "/mapmuseum", 			       "homeTab"	);
addTabURL( "/news", 				       "newsTab"	);
addTabURL( "/newsletters", 				   "newsTab"	);
addTabURL( "/partners", 			    "companyTab"	);
addTabURL( "/products", 	    	   "productsTab"	);
addTabURL( "/services", 			   "servicesTab"	);
addTabURL( "/showcase",              "industriesTab"	);
addTabURL( "/sag", 					 "industriesTab"	);
addTabURL( "/site", 			        "companyTab"	);
addTabURL( "/software", 			   "productsTab"	);
addTabURL( "/sourcebookamerica", 	   "productsTab"	);
addTabURL( "/special/field-service",              "industriesTab"	);
addTabURL( "/surveys", 		            "companyTab"	);
addTabURL( "/systemsint", 			   "servicesTab"	);
addTabURL( "/technology_trends",           "homeTab"	);
addTabURL( "/terms_conditions", 		"companyTab"	);
addTabURL( "/training", 		       "trainingTab"	);
addTabURL( "/universities",          "industriesTab"	);
addTabURL( "/usersupport", 			    "companyTab"	);
addTabURL( "/utility",               "industriesTab"	);
addTabURL( "/webmaster", 		        "companyTab"	);
//addTabURL( "/forms", 		              "companyTab"	);
addTabURL("/support", "supportTab");
addTabURL("/demonstrations", "solutionsTab");
addTabURL("/showcase/case-studies", "servicesTab");

addTabURL("/forms/salesTechnicalSolutions/", "solutionsTab");

addTabURL("/forms/professionalSupport/bookRequest.aspx", "trainingTab");
addTabURL("/forms/professionalSupport/processBookRequest.aspx", "trainingTab");
addTabURL("/forms/professionalSupport/confirmBookRequest.aspx", "trainingTab");

addTabURL("/forms/professionalSupport/trainingAndEducation", "trainingTab");

addTabURL("/forms/professionalSupport/confirmSupportFeedback.aspx", "supportTab");
addTabURL("/forms/professionalSupport/confirmSupportRequest.aspx", "supportTab");
addTabURL("/forms/professionalSupport/confirmUcFeedback.aspx", "supportTab");
addTabURL("/forms/professionalSupport/supportFeedback.aspx", "supportTab");
addTabURL("/forms/professionalSupport/supportRequest.aspx", "supportTab");
addTabURL("/forms/professionalSupport/ucFeedback.aspx", "supportTab");

// ======================================================================
//  MENUS

// addMainItem(description, URL, _target, tabName);
addMainItem("Home", "/", "", "homeTab");
	
	
// addMainItem(description, URL, _target, tabName);
addMainItem("Products", "/products/", "", "productsTab");
// productsMenu

    // addSubmenuItem(description, URL, _target);
	//addSubmenuItem("Products Overview", "/products/", "");
	
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("ArcGIS", "/software/arcgis/", "");




	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;ArcInfo", "http://www.esri.com/software/arcgis/arcinfo/index.html", "target='_blank'");

	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;ArcEditor", "http://www.esri.com/software/arcgis/arceditor/index.html", "target='_blank'");
	
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;ArcView", "http://www.esri.com/software/arcgis/arcview/index.html", "target='_blank'");
	
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;ArcGIS Explorer", "http://www.esri.com/software/arcgis/explorer/index.html", "target='_blank'");
		
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;ArcGIS Server", "http://www.esri.com/software/arcgis/arcgisserver/index.html", "target='_blank'")
	
    // addSubmenuItem(description, URL, _target);
	//addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;ArcPad", "http://www.esri.com/software/arcgis/arcpad/index.html", "target='_blank'");
	
	// addSubmenuItem(description, URL, _target);	
	//addSubmenuItem("Data", "/products/index.html#6", ""); 


addMainItem("Services", "/services/", "", "servicesTab");
// servicesMenu

    // addSubmenuItem(description, URL, _target);
	addSubmenuItem("Services Overview", "/services/", "");
	
	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("Professional Services", "/services/about_services.html", "");
	addSubmenuItem("Case Studies", "/showcase/case-studies/index.html", "");


	addMainItem("Solutions", "/demonstrations/index.html", "", "solutionsTab");
	addSubmenuItem("Technical Solutions", "/demonstrations/index.html", "");
	addSubmenuItem("What's Possible?", "#", "");
	addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;Out of The Box Applications", "/demonstrations/whatsPossible/ags_out_of_the_box_applications.html", "");
	addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;Customised Applications", "/demonstrations/whatsPossible/ags_customised_applications.html", "");
	addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;Dekho 2.2", "/demonstrations/whatsPossible/dekho_out_of_the_box_applications.html", "");
	addSubmenuItem("Tools And Utilities", "/demonstrations/toolsAndUtilities/speedtest.aspx", "");
	//addSubmenuItem("Feedback", "/forms/salesTechnicalSolutions/technicalSolutionsFeedback.aspx", "");

	//addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;Test Connection Speed to eaglegis.co.nz", "/demonstrations/toolsAndUtilities/speedtest.aspx", "");




	//addMainItem("Industries", "/industries/", "", "industriesTab");
    // industriesMenu
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("Industries Overview", "/industries/", ""); 

	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("User Showcase", "http://www.esri.com/showcase/index.html", "target='_blank'");	
	
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("Case Studies", "/showcase/case-studies/index.html", "");
		
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("Best Practices", "http://www.esri.com/showcase/best-practices/index.html", "target='_blank'");
	
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("Data Models", "http://support.esri.com/index.cfm?fa=downloads.dataModels.gateway", "target='_blank'");
	

	addMainItem("Training", "/training/", "", "trainingTab");
// trainingMenu

    // addSubmenuItem(description, URL, _target);
    addSubmenuItem("Training Overview", "/training/", "");

     // addSubmenuItem(description, URL, _target);
	//addSubmenuItem("EAGLE Training and Education", "http://training.eaglegis.co.nz", "target='_blank'"); 
	
	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("Course Catalog", "http://training.eaglegis.co.nz/schedule.asp", "target='_blank'"); 
	
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("My Training", "http://training.esri.com/gateway/index.cfm?fa=myTraining.gateway", ""); 
	
	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("Learning Center Locations", "/company/locations.html", "");

	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("EAGLE Book Library", "/training/booklibrary.html", "");
	
	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("ESRI Press Books", "http://www.esri.com/training/esri-press-books.html", "target='_blank'");

	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("ESRI Library", "http://training.esri.com/campus/library/index.cfm", "target='_blank'");
		
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("Authorized Training Program", "/training/atp/index.html", ""); 
	
		
		
addMainItem("Support", "/support/", "", "supportTab");
// supportMenu

    // addSubmenuItem(description, URL, _target);
    addSubmenuItem("Support Overview", "/support/", "");

    // addSubmenuItem(description, URL, _target);
    addSubmenuItem("Professional Support", "/support/about_support.html", ""); 

//	// addSubmenuItem(description, URL, _target);
//	addSubmenuItem("ESRI Support Center", "http://support.esri.com", "target='_blank'"); 
	
	// addSubmenuItem(description, URL, _target);
//    addSubmenuItem("Software Support", "http://support.esri.com/index.cfm?fa=software.gateway", "target='_blank'");
	
//	// addSubmenuItem(description, URL, _target);
//	addSubmenuItem("Knowledge Base", "http://support.esri.com/index.cfm?fa=knowledgeBase.gateway", "target='_blank'"); 

//    // addSubmenuItem(description, URL, _target);
//	addSubmenuItem("Downloads", "http://support.esri.com/index.cfm?fa=downloads.gateway", "target='_blank'"); 
		
//	// addSubmenuItem(description, URL, _target);
//	addSubmenuItem("ArcScripts", "http://arcscripts.esri.com/", "target='_blank'"); 
//	
//	// addSubmenuItem(description, URL, _target);
//	addSubmenuItem("User Forums", "http://support.esri.com/index.cfm?fa=forums.gateway", "target='_blank'");
	
	// addSubmenuItem(description, URL, _target);
//	addSubmenuItem("Project Center", "http://support.esri.com/index.cfm?fa=projectCenter.gateway", "target='_blank'"); 

//	// addSubmenuItem(description, URL, _target);
//	addSubmenuItem("Mapping Center", "http://mappingcenter.esri.com/", "target='_blank'"); 
//	
//    // addSubmenuItem(description, URL, _target);
//	addSubmenuItem("ESRI Developer Network", "http://edn.esri.com", "target='_blank'");
			
	// addSubmenuItem(description, URL, _target);
    //addSubmenuItem("Customer Service", "http://service.esri.com", "");

    //addSubmenuItem("Open A Support Request Online", "/forms/professionalSupport/supportRequest.aspx", ""); 


	


addMainItem("Events", "/events/", "", "eventsTab");
// eventsMenu

    // addSubmenuItem(description, URL, _target);
    addSubmenuItem("Events Overview", "/events/", "");
    
    // addSubmenuItem(description, URL, _target);
addSubmenuItem("Events Worldwide", "http://www.esri.com/events/index.html", "target='_blank'"); 
	
	// addSubmenuItem(description, URL, _target);
    //addSubmenuItem("Events Worldwide", "http://www.esri.com/events/index.html", "");
	
	// addSubmenuItem(description, URL, _target);
    addSubmenuItem("Conferences", "#", "");

    // addSubmenuItem(description, URL, _target);
    addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;International User Conference", "http://www.esri.com/events/uc/index.html", "target='_blank'");
    
    // addSubmenuItem(description, URL, _target);
    addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;New Zealand User Conference", "http://www.gisuser.co.nz/html/nzuc/?get=welcome.htm", "target='_blank'"); 	
	
	 	
	
    // addSubmenuItem(description, URL, _target);
	addSubmenuItem("Seminars/User Group Meetings", "http://www.gisuser.co.nz/html/events/?get=regional_meetings.htm", "target='_blank'"); 
	
	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("Trade Shows", "http://www.gisuser.co.nz/html/events/?get=trade_shows.htm", "target='_blank'"); 
					
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("User Group Meetings", "/events/usergroups.html", ""); 
	


addMainItem("News", "/news/", "", "newsTab");
// newsMenu
	 
	// addSubmenuItem(description, URL, _target);	
	addSubmenuItem("News and Publications", "/news/", "");	   

	// addSubmenuItem(description, URL, _target);		
	//addSubmenuItem("RSS News Feed", "#", "");	   

	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("Podcasts", "http://www.esri.com/news/podcasts/index.html", "target='_blank'");	   

	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("<i>ArcNews</i>", "http://www.esri.com/news/arcnews/arcnews.html", "target='_blank'"); 	

	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("<i>ArcUser</i>", "http://www.esri.com/news/arcuser/index.html", "target='_blank'"); 	
 
	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("<i>ArcWatch</i>", "http://www.esri.com/news/arcwatch/index.html", "target='_blank'"); 
	
	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("<i>Spatial Squawker</i>", "http://newsletters.eaglegis.co.nz", "target='_blank'"); 
	
	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("Newsletter Subscriptions", "#", ""); 
	
	 // addSubmenuItem(description, URL, _target);
	addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;Manage Subscriptions", "http://newsletters.eaglegis.co.nz/utilities/managesubscriptions.html", "target='_blank'");
	
	 // addSubmenuItem(description, URL, _target);
	//addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;ESRI Publications", "http://gis.esri.com/newsletters/pubs_form.cfm", "target='_blank'"); 

     //addSubmenuItem(description, URL, _target);
//	addSubmenuItem("ESRI in the News", "http://www.esri.com/news/pressroom/press.html", "target='_blank'");	   
//	 
	 //addSubmenuItem(description, URL, _target); 
	 //addSubmenuItem("News Releases", "/news/releases/index.html", "");	   
	 
	 //addSubmenuItem(description, URL, _target); 
	 //addSubmenuItem("Media Relations", "/news/pressroom/relations.html", "");
	
	
	
addMainItem("Company", "/company/", "", "companyTab");
// companyMenu

	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("General Information", "/company/", ""); 

	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("Locations", "/company/locations.html", ""); 	

	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("Careers", "http://www.eagle.co.nz/jobs.asp", "target='_blank'"); 
	
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("Legal Information", "#", "");	
	
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("&nbsp;&nbsp;&nbsp;&#151;Privacy Policy", "#", "");	
	
	// addSubmenuItem(description, URL, _target);
	addSubmenuItem("Partners", "http://www.eagle.co.nz/partners.asp", "target='_blank'"); 
		
	// addSubmenuItem(description, URL, _target);
	//addSubmenuItem("More ESRI Web Sites", "/company/esri_sites.html", "");	

		// addSubmenuItem(description, URL, _target);
	addSubmenuItem("Contact Us", "/company/contact.html", "");	
	
generateMenus();

