// Javascript Included Code Menu Config

<!--
	// set up drop downs anywhere in the body of the page. I think the bottom of the page is better.. 
	// but you can experiment with effect on loadtime.
	if (TransMenu.isSupported()) {

		//==================================================================================================
		// create a set of dropdowns
		//==================================================================================================
		// the first param should always be down, as it is here
		//
		// The second and third param are the top and left offset positions of the menus from their actuators
		// respectively. To make a menu appear a little to the left and bottom of an actuator, you could use
		// something like -5, 5
		//
		// The last parameter can be .topLeft, .bottomLeft, .topRight, or .bottomRight to inidicate the corner
		// of the actuator from which to measure the offset positions above. Here we are saying we want the 
		// menu to appear directly below the bottom left corner of the actuator
		//==================================================================================================
		var ms = new TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
//		var menu1 = ms.addMenu(document.getElementById("home"));
//		menu1.addItem("Home", "");

//		var submenu0 = menu1.addMenu(menu1.items[0]);
//		submenu0.addItem("homeitem", "");
//		submenu0.addItem("homeitem", "");

		//==================================================================================================

		//==================================================================================================
		var menu1 = ms.addMenu(document.getElementById("btnnews"));
		menu1.addItem("All Articles", "http://www.asiasponsorshipnews.com/index.php?stream=1");
		menu1.addItem("Sponsorship Database", "http://www.asiasponsorshipnews.com/nl06_sp_list_db.php?search=n");
		menu1.addItem("FAQs", "http://www.asiasponsorshipnews.com/nl06_content.php?wpage=faq");
//		menu1.addItem("Search", "nl06_content.php?wpage=sdb-home");
//		menu1.addItem("", "");
		menu1.addItem("Comments", "http://www.asiasponsorshipnews.com/nl06_cm_site_browse_forum.php");
		menu1.addItem("RSS News Feeds", "http://www.asiasponsorshipnews.com/nl06_stream_rss_site.php");
		
//		var submenu0 = menu1.addMenu(menu1.items[0]);
//		submenu0.addItem("Sub Item", "");
//		submenu0.addItem("Sub Item", "");
				
//		var submenu1 = menu1.addMenu(menu1.items[2]);
//		submenu1.addItem("Sample Sub Item", "");
//		submenu1.addItem("Sample Sub Item", "");
		
				
		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("btnsubscribe"));
		menu2.addItem("FULL Subscription", "https://www.asiasponsorshipnews.com/nl06_scc_subscribe_d1.php?sm=m&be=0&act=1&dbase=Y");
		menu2.addItem("LITE Subscription", "https://www.asiasponsorshipnews.com/nl06_scc_subscribe_d1.php?sm=m&be=0&act=1&dbase=N");
//		menu2.addItem("", "");
//		menu2.addItem("Single User Subscription", "https://www.asiasponsorshipnews.com/nl06_scc_subscribe_d1.php?sm=s&be=0&act=1");
//		menu2.addItem("Subscribe 2 - Multi-User", "nl06_scc_subscribe_d1.php?sm=m&be=0&act=1");
//		menu2.addItem("Subscribe 3 - Multi-User", "nl06_scc_subscribe_d1.php?sm=m&be=0&act=1");
//		menu2.addItem("Subscribe 4 - Multi-User", "nl06_scc_subscribe_d1.php?sm=m&be=0&act=1");
		
//		var submenu0 = menu2.addMenu(menu2.items[3]);
//		submenu0.addItem("Sample Sub Item", "");
//		submenu0.addItem("Sample Sub Item", "");
		
		
		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("btnopportunities"));
		menu3.addItem("Corporate Hospitality", "http://www.asiasponsorshipnews.com/nl06_event_site_browse.php");
		menu3.addItem("Sponsorship Opportunities", "http://www.asiasponsorshipnews.com/nl06_consult_site_browse.php");
//		menu3.addItem("Ticket Watch", "http://www.asiasponsorshipnews.com/nl06_news_selected.php?stream=C&selkey=1002&pagetitle=TicketWatch");
		

		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("btnresources"));
//		menu4.addItem("Recent and upcoming events", "freevents-freevents.html");
		menu4.addItem("Industry Links", "http://www.asiasponsorshipnews.com/nl06_link_site_browse.php");
		menu4.addItem("Jobs", "");
		menu4.addItem("Sponsorship Database", "http://www.asiasponsorshipnews.com/nl06_sp_list_db.php?search=n");
//		menu4.addItem("Sponsorship Charts", "http://www.asiasponsorshipnews.com/nl06_news_selected.php?stream=C&selkey=1003&pagetitle=Sponsorship Charts");
//		menu4.addItem("Industry Links", "");
//		menu4.addItem("&nbsp;&nbsp;  - Sample Item", "");
//		menu4.addItem("&nbsp;&nbsp;  - Sample Item", "");
//		menu4.addItem("&nbsp;&nbsp;  - Sample Item", "");

		var submenu0 = menu4.addMenu(menu4.items[1]);
		submenu0.addItem("Browse Jobs", "http://www.asiasponsorshipnews.com/nl06_rc_job_site_browse.php");
		submenu0.addItem("Post a Job", "http://www.asiasponsorshipnews.com/nl06_rc_job_site_add.php?act=1");

//		var submenu0 = menu4.addMenu(menu4.items[2]);
//		submenu0.addItem("AFL Major Sponsors", "http://www.asiasponsorshipnews.com/nl06_news_selected.php?stream=1-3-1&selkey=1004");
//		submenu0.addItem("NRL Major Sponsors", "http://www.asiasponsorshipnews.com/nl06_news_selected.php?stream=1-3-2&selkey=1005")
//		submenu0.addItem("Super 14 Major Sponsors", "http://www.asiasponsorshipnews.com/nl06_news_selected.php?stream=1-3-3&selkey=1006");
//		submenu0.addItem("Cricket Major Sponsors", "http://www.asiasponsorshipnews.com/nl06_news_selected.php?stream=1-3-10&selkey=1007");
//		submenu0.addItem("A League Major Sponsors", "http://www.asiasponsorshipnews.com/nl06_news_selected.php?stream=1-3-4&selkey=1008");
//		submenu0.addItem("NBL Major Sponsors", "http://www.asiasponsorshipnews.com/nl06_news_selected.php?stream=1-3-8&selkey=1009");


		//==================================================================================================

		//==================================================================================================
//		var menu5 = ms.addMenu(document.getElementById("btnjobs"));
//		menu5.addItem("Browse Jobs", "http://www.asiasponsorshipnews.com/nl06_rc_job_site_browse.php");
//		menu5.addItem("Post a Job", "http://www.asiasponsorshipnews.com/nl06_rc_job_site_add.php?act=1");
		
		//==================================================================================================

		//==================================================================================================
//		var menu6 = ms.addMenu(document.getElementById("btnaboutus"));
//		menu6.addItem("About Recognition", "aboutus-about_recognition.html");
//		menu6.addItem("About Outsource", "aboutus-outsource.html");
//		menu6.addItem("Contact Us", "aboutus-contact.html");
//		menu6.addItem("Careers at Recognition", "aboutus-careers.html");
//		menu6.addItem("Interns at Recognition", "aboutus-interns.html");
			
					
		//==================================================================================================

		//==================================================================================================
		//==================================================================================================

		//==================================================================================================
		// write drop downs into page
		//==================================================================================================
		// this method writes all the HTML for the menus into the page with document.write(). It must be
		// called within the body of the HTML page.
		//==================================================================================================
		TransMenu.renderAll();
	}
//-->