// Script for APEC 2006 Phase 2 Web site menus
//Based on model from Microsft Sharepoint site
//
//This script requires the menu.js script in the same directory
//
//Change log:
// 2 Oct 2005; RVW: Moved to actual 2006 Phase 2 folder.  End of experimenting, on to deployment
// 8 Oct 2005; RVW: Updates as requested by the committee
//28 Oct 2005; RVW: Added seminar highlights link
//30 Oct 2005; RVW: Changed "Technical Program" to "Conference Program"
//31 OCt 2005; RVW: Added how to buy additional proceedings link
//31 Oct 2005; RVW: Commented out the submenu titles in author's and speakers info



// Main APEC Home Page (Menu1A)
var oMenu1 = new Menu();

	var oMenu1A = oMenu1.CreateLink();
	oMenu1A.displayHtml = "<span class=\"bold\">APEC Home Page</span>";
	oMenu1A.href = "/index.php";
//	oMenu1A.displayHtml = "<hr size=\"1\" noshade>";
oMenu1.AddItem(oMenu1A);


//APEC 2006 Home Page (Menu1B)
	var oMenu1B = oMenu1.CreateLink();
	oMenu1B.displayHtml = "<span class=\"bold\">APEC 2006 Home Page</span>";
	oMenu1B.href = "APEC06_Home_Page.html";
oMenu1.AddItem(oMenu1B);


// Frequently Asked Questions (Menu1C)
	var oMenu1C = oMenu1.CreateLink();
	oMenu1C.displayHtml = "Frequently Asked Questions";
	oMenu1C.href = "APEC06_FAQ.html";
oMenu1.AddItem(oMenu1C);


// Conference Highlights (Menu1D)
	var oMenu1D = oMenu1.CreateMenu();
	oMenu1D.displayHtml = "Conference Highlights";

		var oMenu1D_a = oMenu1.CreateLink();
		oMenu1D_a.displayHtml = "Welcome To<br>APEC 2006";
		oMenu1D_a.href = "APEC06_Welcome.html";
	oMenu1D.AddItem(oMenu1D_a);

		var oMenu1D_b = oMenu1.CreateLink();
		oMenu1D_b.displayHtml = "Dallas &ndash;<br>The Big \"D\"";
		oMenu1D_b.href = "APEC06_Dallas.html";
	oMenu1D.AddItem(oMenu1D_b);

		var oMenu1D_c = oMenu1.CreateLink();
		oMenu1D_c.displayHtml = "Plenary Session";
		oMenu1D_c.href = "APEC06_Highlight_Plenary.html";
	oMenu1D.AddItem(oMenu1D_c);

		var oMenu1D_d = oMenu1.CreateLink();
		oMenu1D_d.displayHtml = "Technical<br>Program";
		oMenu1D_d.href = "APEC06_Highlight_Progam.html";
	oMenu1D.AddItem(oMenu1D_d);

		var oMenu1D_e = oMenu1.CreateLink();
		oMenu1D_e.displayHtml = "Special<br>Presentations";
		oMenu1D_e.href = "APEC06_Highlight_Special.html";
	oMenu1D.AddItem(oMenu1D_e);

		var oMenu1D_f = oMenu1.CreateLink();
		oMenu1D_f.displayHtml = "Exposition";
		oMenu1D_f.href = "APEC06_Highlight_Exposition.html";
	oMenu1D.AddItem(oMenu1D_f);

		var oMenu1D_g = oMenu1.CreateLink();
		oMenu1D_g.displayHtml = "Seminars";
		oMenu1D_g.href = "APEC06_Highlight_Seminars.html";
	oMenu1D.AddItem(oMenu1D_g);

		var oMenu1D_h = oMenu1.CreateLink();
		oMenu1D_h.displayHtml = "Rap Sessions";
		oMenu1D_h.href = "APEC06_Highlight_Rap.html";
	oMenu1D.AddItem(oMenu1D_h);

	//No menu 1D_i as i is too easily confused with other letters
		
		var oMenu1D_j = oMenu1.CreateLink();
		oMenu1D_j.displayHtml = "MicroMouse Contest";
		oMenu1D_j.href = "APEC06_MicroMouse.html";
	oMenu1D.AddItem(oMenu1D_j);

		var oMenu1D_k = oMenu1.CreateLink();
		oMenu1D_k.displayHtml = "Social &amp;<br>Guest Program";
		oMenu1D_k.href = "APEC06_Highlight_Social.html";
	oMenu1D.AddItem(oMenu1D_k);

	oMenu1D.SetOrientation("v");

oMenu1.AddItem(oMenu1D);


// Conference At A Glance (Menu1E)
	var oMenu1E = oMenu1.CreateLink();
	oMenu1E.displayHtml = "Conference<br>At A Glance";
	oMenu1E.href = "APEC06_At_A_Glance.html";
oMenu1.AddItem(oMenu1E);


//Registration Information (Menu1F)
	var oMenu1F = oMenu1.CreateLink();
	oMenu1F.displayHtml = "Registration Information";
	oMenu1F.href = "APEC06_Registration.html";
oMenu1.AddItem(oMenu1F);


//Technical Program Information (Menu1G)
	var oMenu1G = oMenu1.CreateMenu();
	oMenu1G.displayHtml = "Conference Program";

			var oMenu1G_a = oMenu1.CreateLink();
			oMenu1G_a.displayHtml = "Plenary Session";
			oMenu1G_a.href = "APEC06_Plenary.html";
		oMenu1G.AddItem(oMenu1G_a);
		
			var oMenu1G_b = oMenu1.CreateLink();
			oMenu1G_b.displayHtml = "Technical Paper Presentation Sessions";
			oMenu1G_b.href = "APEC06_Presentation.html";
		oMenu1G.AddItem(oMenu1G_b);

			var oMenu1G_c = oMenu1.CreateLink();
			oMenu1G_c.displayHtml = "Technical Paper Dialogue Sessions";
			oMenu1G_c.href = "APEC06_Dialogue.html";
		oMenu1G.AddItem(oMenu1G_c);
		
			var oMenu1G_d = oMenu1.CreateLink();
			oMenu1G_d.displayHtml = "Special Presentations";
			oMenu1G_d.href = "APEC06_Special.html";
		oMenu1G.AddItem(oMenu1G_d);

			var oMenu1G_e = oMenu1.CreateLink();
			oMenu1G_e.displayHtml = "Professional Education Seminars";
			oMenu1G_e.href = "APEC06_Seminars.html";
		oMenu1G.AddItem(oMenu1G_e);
		
			var oMenu1G_f = oMenu1.CreateLink();
			oMenu1G_f.displayHtml = "Exhibitor's Seminars";
			oMenu1G_f.href = "APEC06_Exhibitor_Seminars.html";
		oMenu1G.AddItem(oMenu1G_f);

			var oMenu1G_g = oMenu1.CreateLink();
			oMenu1G_g.displayHtml = "Rap Sessions";
			oMenu1G_g.href = "APEC06_Rap.html";
		oMenu1G.AddItem(oMenu1G_g);

		oMenu1G.SetOrientation("v");

oMenu1.AddItem(oMenu1G);


//Exposition Information (Menu1H)
	var oMenu1H = oMenu1.CreateMenu();
	oMenu1H.displayHtml = "Exposition";

			var oMenu1H_a = oMenu1.CreateLink();
			oMenu1H_a.displayHtml = "Exposition Hours And Events";
			oMenu1H_a.href = "APEC06_Exposition.html";
		oMenu1H.AddItem(oMenu1H_a);
		
			var oMenu1H_b = oMenu1.CreateLink();
			oMenu1H_b.displayHtml = "Exhibitor Listing";
			oMenu1H_b.href = "APEC06_Exhibitor_List.html";
		oMenu1H.AddItem(oMenu1H_b);

			var oMenu1H_c = oMenu1.CreateLink();
			oMenu1H_c.displayHtml = "Exhibitor's Seminars";
			oMenu1H_c.href = "APEC06_Exhibitor_Seminars.html";
		oMenu1H.AddItem(oMenu1H_c);

			var oMenu1H_d = oMenu1.CreateLink();
			oMenu1H_d.displayHtml = "Social Events In The Exhibit Hall";
			oMenu1H_d.href = "APEC06_Exhibit_Social.html";
		oMenu1H.AddItem(oMenu1H_d);
		
			var oMenu1H_e = oMenu1.CreateLink();
			oMenu1H_e.displayHtml = "Exposition Prize Giveaway";
			oMenu1H_e.href = "APEC06_Exhibit_Giveaway.html";
		oMenu1H.AddItem(oMenu1H_e);

		oMenu1H.SetOrientation("v");

oMenu1.AddItem(oMenu1H);


//No Menu1I - too hard to read the 1 and the I together


//Travel Information (Menu1J)
	var oMenu1J = oMenu1.CreateMenu();
	oMenu1J.displayHtml = "Travel, Hotel And Dining";

			var oMenu1J_a = oMenu1.CreateLink();
			oMenu1J_a.displayHtml = "Travel Information";
			oMenu1J_a.href = "APEC06_Travel.html";
		oMenu1J.AddItem(oMenu1J_a);
		
			var oMenu1J_b = oMenu1.CreateLink();
			oMenu1J_b.displayHtml = "Hotel And Reservations";
			oMenu1J_b.href = "APEC06_Hotel.html";
		oMenu1J.AddItem(oMenu1J_b);

			var oMenu1J_c = oMenu1.CreateLink();
			oMenu1J_c.displayHtml = "Dining At<br>APEC 2006";
			oMenu1J_c.href = "APEC06_Dining.html";
		oMenu1J.AddItem(oMenu1J_c);
		
			var oMenu1J_d = oMenu1.CreateLink();
			oMenu1J_d.displayHtml = "Information For<br>International Travelers";
			oMenu1J_d.href = "APEC06_International.html";
		oMenu1J.AddItem(oMenu1J_d);

		oMenu1J.SetOrientation("v");

oMenu1.AddItem(oMenu1J);


//Social Program (Menu1K)
	var oMenu1K = oMenu1.CreateMenu();
	oMenu1K.displayHtml = "Social And Guest Programs";

			var oMenu1K_a = oMenu1.CreateLink();
			oMenu1K_a.displayHtml = "APEC Social Event";
			oMenu1K_a.href = "APEC06_Social_Event.html";
		oMenu1K.AddItem(oMenu1K_a);
		
			var oMenu1K_b = oMenu1.CreateLink();
			oMenu1K_b.displayHtml = "Spouse And Guest Program";
			oMenu1K_b.href = "APEC06_Guest.html";
		oMenu1K.AddItem(oMenu1K_b);

			var oMenu1K_c = oMenu1.CreateLink();
			oMenu1K_c.displayHtml = "Social Events In The Exhibit Hall";
			oMenu1K_c.href = "APEC06_Exhibit_Social.html";
		oMenu1K.AddItem(oMenu1K_c);

		oMenu1K.SetOrientation("v");

oMenu1.AddItem(oMenu1K);



// General Information (Menu1L)

	var oMenu1L = oMenu1.CreateMenu();
	oMenu1L.displayHtml = "General Information";

			var oMenu1L_a = oMenu1.CreateLink();
			oMenu1L_a.displayHtml = "Buying Additional Proceedings And Seminar Workbooks";
			oMenu1L_a.href = "APEC06_Additional_Proceedings.html";
		oMenu1L.AddItem(oMenu1L_a);	

			var oMenu1L_b = oMenu1.CreateLink();
			oMenu1L_b.displayHtml = "Sponsors' Membership Desks";
			oMenu1L_b.href = "APEC06_Membership.html";
		oMenu1L.AddItem(oMenu1L_b);

			var oMenu1L_c = oMenu1.CreateLink();
			oMenu1L_c.displayHtml = "Shipping Services";
			oMenu1L_c.href = "APEC06_Shipping.html";
		oMenu1L.AddItem(oMenu1L_c);

			var oMenu1L_d = oMenu1.CreateLink();
			oMenu1L_d.displayHtml = "Messages For APEC Attendees";
			oMenu1L_d.href = "APEC06_Message.html";
		oMenu1L.AddItem(oMenu1L_d);

			var oMenu1L_e = oMenu1.CreateLink();
			oMenu1L_e.displayHtml = "Internet Access At APEC";
			oMenu1L_e.href = "APEC06_Internet.html";
		oMenu1L.AddItem(oMenu1L_e);

			var oMenu1L_f = oMenu1.CreateLink();
			oMenu1L_f.displayHtml = "Printing Papers From CD-ROM";
			oMenu1L_f.href = "APEC06_Printing.html";
		oMenu1L.AddItem(oMenu1L_f);

			var oMenu1L_g = oMenu1.CreateLink();
			oMenu1L_g.displayHtml = "Holding A Meeting At APEC 2006";
			oMenu1L_g.href = "APEC06_Meetings.html";
		oMenu1L.AddItem(oMenu1L_g);

			var oMenu1L_h = oMenu1.CreateLink();
			oMenu1L_h.displayHtml = "Conference Committee &amp; Management";
			oMenu1L_h.href = "APEC06_Committee.html";
		oMenu1L.AddItem(oMenu1L_h);


		oMenu1L.SetOrientation("v");

	oMenu1L.SetOrientation("v");

oMenu1.AddItem(oMenu1L);



//Exhibiting Information (Menu1M)

	var oMenu1M = oMenu1.CreateLink();
	oMenu1M.displayHtml = "Exhibitor's Page";
	oMenu1M.href = "APEC06_Exhibiting.html";

oMenu1.AddItem(oMenu1M);


//Press & Analyst Page (Menu1N)
	var oMenu1N = oMenu1.CreateMenu();
	oMenu1N.displayHtml = "Press &amp; Analyst Info";

			var oMenu1N_a = oMenu1.CreateLink();
			oMenu1N_a.displayHtml = "Press &amp; Analyst Page";
			oMenu1N_a.href = "APEC06_Press.html";
		oMenu1N.AddItem(oMenu1N_a);
		
			var oMenu1N_b = oMenu1.CreateLink();
			oMenu1N_b.displayHtml = "Press &amp; Analyst Registration";
			oMenu1N_b.href = "APEC06_Press_Reg.html";
		oMenu1N.AddItem(oMenu1N_b);

	oMenu1N.SetOrientation("v");

oMenu1.AddItem(oMenu1N);


//No Menu1O - too hard to read the 1 and O (capital O can be taken for a zero (0))


//Presenter's And Author's Pages (Menu1P)
	var oMenu1P = oMenu1.CreateMenu();
	oMenu1P.displayHtml = "Authors &amp; Presenters Info";

//			var oMenu1P_1 = oMenu1.CreateMenu();
//			oMenu1P_1.displayHtml = "<span class=\"Bold\">Instructions For</span>";
//		oMenu1P.AddItem(oMenu1P_1);


			var oMenu1P_a = oMenu1.CreateLink();
			oMenu1P_a.displayHtml = "Oral Technical Session Authors";
			oMenu1P_a.href = "APEC06_Instructions_Regular.html";
		oMenu1P.AddItem(oMenu1P_a);
		
			var oMenu1P_b = oMenu1.CreateLink();
			oMenu1P_b.displayHtml = "Dialogue Session Authors";
			oMenu1P_b.href = "APEC06_Instructions_Dialogue.html";
		oMenu1P.AddItem(oMenu1P_b);

			var oMenu1P_c = oMenu1.CreateLink();
			oMenu1P_c.displayHtml = "Special Presentation Session Speakers";
			oMenu1P_c.href = "APEC06_Instructions_Special.html";
		oMenu1P.AddItem(oMenu1P_c);
		
			var oMenu1P_d = oMenu1.CreateLink();
			oMenu1P_d.displayHtml = "Professional Education Seminar Speakers";
			oMenu1P_d.href = "APEC06_Instructions_Seminar.html";
		oMenu1P.AddItem(oMenu1P_d);

			var oMenu1P_e = oMenu1.CreateLink();
			oMenu1P_e.displayHtml = "Exhibitor Seminar Speakers";
			oMenu1P_e.href = "APEC06_Instructions_Exhibitor.html";
		oMenu1P.AddItem(oMenu1P_e);


//			var oMenu1P_1 = oMenu1.CreateMenu();
//			oMenu1P_1.displayHtml = "<span class=\"Bold\">General Instructions And Information</span>";
//		oMenu1P.AddItem(oMenu1P_1);

		
			var oMenu1P_f = oMenu1.CreateLink();
			oMenu1P_f.displayHtml = "Preparing And Submitting Manuscripts For The Proceedings";
			oMenu1P_f.href = "APEC06_Instructions_Manuscripts.html";
		oMenu1P.AddItem(oMenu1P_f);

			var oMenu1P_g = oMenu1.CreateLink();
			oMenu1P_g.displayHtml = "Preparing Presentations For Projection";
			oMenu1P_g.href = "APEC06_Instructions_Projection.html";
		oMenu1P.AddItem(oMenu1P_g);

			var oMenu1P_h = oMenu1.CreateLink();
			oMenu1P_h.displayHtml = "Requesting A Letter Of Invitation For A Visa";
			oMenu1P_h.href = "APEC06_Visa_Letter.html";
		oMenu1P.AddItem(oMenu1P_h);


		oMenu1P.SetOrientation("v");

oMenu1.AddItem(oMenu1P);

//No Menu1Q - too easy to confuse the Q with an O or 0


//Important Notices (Menu1R)
	var oMenu1R = oMenu1.CreateMenu();
	oMenu1R.displayHtml = "<span class=\"bold\">Important Rules<br>&amp; Notices</span>";

			var oMenu1R_a = oMenu1.CreateLink();
			oMenu1R_a.displayHtml = "Privacy Policy";
			oMenu1R_a.href = "APEC06_Privacy_Policy.html";
		oMenu1R.AddItem(oMenu1R_a);
		
			var oMenu1R_b = oMenu1.CreateLink();
			oMenu1R_b.displayHtml = "<span class=\"bold\">No Recruiting!<br>No Recruiters!</span>";
			oMenu1R_b.href = "APEC06_No_Recruiting.html";
		oMenu1R.AddItem(oMenu1R_b);

			var oMenu1R_c = oMenu1.CreateLink();
			oMenu1R_c.displayHtml = "Distributing<br>Commercial Material<br>At APEC";
			oMenu1R_c.href = "APEC06_Commercial_Material.html";
		oMenu1R.AddItem(oMenu1R_c);
		
			var oMenu1R_d = oMenu1.CreateLink();
			oMenu1R_d.displayHtml = "Badges Required<br>For Admission";
			oMenu1R_d.href = "APEC06_Badges.html";
		oMenu1R.AddItem(oMenu1R_d);

			var oMenu1R_e = oMenu1.CreateLink();
			oMenu1R_e.displayHtml = "Holding A Meeting At APEC 2006";
			oMenu1R_e.href = "APEC06_Meetings.html";
		oMenu1R.AddItem(oMenu1R_e);

			var oMenu1R_f = oMenu1.CreateLink();
			oMenu1R_f.displayHtml = "APEC Policies<br>And Procedures";
			oMenu1R_f.href = "../APEC_Policies.html";
		oMenu1R.AddItem(oMenu1R_f);


		oMenu1R.SetOrientation("v");

oMenu1.AddItem(oMenu1R);


//Contact APEC 2006 Information (Menu1s)
	var oMenu1S = oMenu1.CreateLink();
	oMenu1S.displayHtml = "Contact APEC 2006";
	oMenu1S.href = "APEC06_Contact.html";

oMenu1.AddItem(oMenu1S);


oMenu1.SetOrientation("v");
oMenu1.SetSubMenuImage("flyout_arrow.gif", 4, 7);
oMenu1.SetSize(120, 20);


