jQuery(document).ready(function(){
	var menu_items = $("ul#nav").children();//get all the menu elements
	var rooms_meun;
	//cycle through all menu elements
	menu_items.each(function(){
		var id_list = $(this).attr("id");
		var m_name = $("#"+id_list+" a").html();//find menu names use their ID
		if(m_name.toLowerCase() == "rooms"){
			var rooms_drop = $("#"+id_list+" div.drop ul").children();
			//cycle through "Rooms" drop-down menu
			rooms_drop.each(function(){
				id_list = $(this).attr("id");
				m_name = $("#"+id_list+" a").html();
				//find and hide "Parlor suite amenities
				if(m_name.toLowerCase() == "parlor suite amenities"){
					$("#"+id_list).css({
						'position':'absolute',
						'visibility':'hidden'
					});
				}
			});			
		}
	});
	//get all the sub-menu elements
	var sub_nav = $("ul.sub-menu").children();
	//cycle through all sub-menu elements
	sub_nav.each(function(){
		var a_tag = $(this).children("a");
		//cycle through sub-menu <a> tags
		a_tag.each(function(){
			var sub_name = $(this).children("span").html();
			//Remove the <li> tag associated to "Parlor Suite Amenities"
			if(sub_name.toLowerCase() == "parlor suite amenities"){
				$(this).parent().remove();				
			}	
		});		
	});	
});

