<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<menu_bar
 bg_visible="false"
 follows="left|top|right"
 name="Main Menu">
    <menu
     create_jump_keys="true"
     label="Me"
     name="Me"
     tear_off="true">
      <menu_item_call
       label="Profile..."
       name="Profile">
        <menu_item_call.on_click
         function="ShowAgentProfile"
         parameter="agent" />
      </menu_item_call>
      <menu_item_call
       label="Appearance..."
       name="ChangeOutfit">
        <menu_item_call.on_click
         function="CustomizeAvatar" />
        <menu_item_call.on_enable
         function="Edit.EnableCustomizeAvatar" />
      </menu_item_call>
      <menu_item_call
       label="Choose an avatar..."
       name="Avatar Picker">
        <menu_item_call.on_click
         function="Floater.ToggleOrBringToFront"
         parameter="avatar" />
      </menu_item_call>
      <menu_item_separator/>
      <menu_item_check
         label="Inventory..."
         name="Inventory"
         shortcut="control|I"
		     visible="true">
        <menu_item_check.on_check
         function="Floater.Visible"
         parameter="inventory" />
        <menu_item_check.on_click
         function="Floater.Toggle"
         parameter="inventory" />
      </menu_item_check>
      <menu_item_call
       label="New Inventory Window"
       name="NewInventoryWindow"
       shortcut="control|shift|I"
       visible="false">
        <menu_item_call.on_click
         function="Inventory.NewWindow"
         parameter="" />
      </menu_item_call>
      <menu_item_call
       label="Places..."
       name="Places">
        <menu_item_call.on_click
         function="Floater.ToggleOrBringToFront"
         parameter="places" />
      </menu_item_call>
      <menu_item_call
       label="Picks..."
       name="Picks">
        <menu_item_call.on_click
         function="Floater.ToggleOrBringToFront"
         parameter="picks" />
      </menu_item_call>
      <menu_item_call
        label="Experiences..."
        name="Experiences">
        <menu_item_call.on_click
          function="Floater.ToggleOrBringToFront"
          parameter="experiences"/>
      </menu_item_call>
      <menu_item_separator/>
      <menu_item_call
       label="Camera Controls..."
       name="Camera Controls">
        <menu_item_call.on_click
         function="Floater.ToggleOrBringToFront"
         parameter="camera" />
      </menu_item_call>
      <menu
       create_jump_keys="true"
       label="Movement"
       name="Movement"
       tear_off="true">
        <menu_item_call
         label="Sit Down"
         layout="topleft"
         shortcut="alt|shift|S"
         name="Sit Down Here">
          <menu_item_call.on_click
           function="Self.SitDown"
           parameter="" />
          <menu_item_call.on_enable
           function="Self.EnableSitDown" />
        </menu_item_call>
        <menu_item_check
         label="Fly"
         name="Fly"
         shortcut="HOME">
          <menu_item_check.on_check
           function="Agent.getFlying" />
          <menu_item_check.on_click
           function="Agent.toggleFlying" />
          <menu_item_check.on_enable
           function="Agent.enableFlying" />
        </menu_item_check>
        <menu_item_call
         label="Stop flying"
         name="Stop flying"
         shortcut="HOME">
          <menu_item_call.on_click
           function="Agent.toggleFlying" />
          <menu_item_call.on_enable
           function="Agent.getFlying" />
        </menu_item_call>	
        <menu_item_check
         label="Always Run"
         name="Always Run"
         shortcut="control|R">
          <menu_item_check.on_check
           function="World.CheckAlwaysRun" />
          <menu_item_check.on_click
           function="World.AlwaysRun" />
        </menu_item_check>
        <menu_item_call
         label="Stop Animating Me"
         name="Stop Animating My Avatar">
          <menu_item_call.on_click
           function="Tools.StopAllAnimations" />
        </menu_item_call>
        <menu_item_call
         label="Walk / run / fly..."
         name="WalkRunFly">
          <menu_item_call.on_click
           function="Floater.ToggleOrBringToFront"
           parameter="moveview" />
        </menu_item_call>
      </menu>

      <menu
       create_jump_keys="true"
       label="Status"
       name="Status"
       tear_off="true">
        <menu_item_check
         name="Away"
         label="Away">
          <menu_item_check.on_check
           function="View.Status.CheckAway" />
          <menu_item_check.on_click
           function="World.SetAway" />
        </menu_item_check>
        <menu_item_check
         name="Do Not Disturb"
         label="Do Not Disturb">
          <menu_item_check.on_check
           function="View.Status.CheckDoNotDisturb" />
          <menu_item_check.on_click
           function="World.SetDoNotDisturb"/>
        </menu_item_check>
      
    </menu>

      <menu_item_separator/>

      <menu_item_call
         label="Buy L$..."
         name="Buy and Sell L$">
        <menu_item_call.on_click
         function="BuyCurrency" />
      </menu_item_call>
      <menu_item_call
         label="Merchant Outbox..."
         name="MerchantOutbox">
        <menu_item_call.on_click
         function="Floater.ToggleOrBringToFront"
         parameter="outbox" />
      </menu_item_call>
        <menu_item_call
            label="Marketplace listings..."
            name="MarketplaceListings">
            <menu_item_call.on_click
            function="Floater.ToggleOrBringToFront"
            parameter="marketplace_listings" />
        </menu_item_call>
      <menu_item_call
           label="Account dashboard..."
           name="Manage My Account">
        <menu_item_call.on_click
         function="PromptShowURL"
         name="ManageMyAccount_url"
         parameter="WebLaunchJoinNow,http://secondlife.com/account/" />
      </menu_item_call>

      <menu_item_separator/>

      <menu_item_call
         label="Preferences..."
         name="Preferences"
         shortcut="control|P">
            <menu_item_call.on_click
             function="Floater.Toggle"
             parameter="preferences" />
        </menu_item_call>
         <menu_item_call
         label="Toolbar buttons..."
         name="Toolbars">
            <menu_item_call.on_click
             function="Floater.Toggle"
             parameter="toybox" />
        </menu_item_call>
         <menu_item_call
         label="Hide all controls"
         name="Hide UI"
         shortcut="control|shift|U">
           <menu_item_call.on_click
            function="View.ToggleUI" />
         </menu_item_call>
         <menu_item_check
         label="Show HUD Attachments"
         name="Show HUD Attachments"
         shortcut="alt|shift|H">
           <menu_item_check.on_check
            function="View.CheckHUDAttachments" />
            <menu_item_check.on_click
             function="View.ShowHUDAttachments" />
         </menu_item_check>

        <menu_item_separator/>

        <menu_item_call
         label="Exit [APP_NAME]"
         name="Quit"
         shortcut="control|Q">
            <menu_item_call.on_click
             function="File.Quit" />
        </menu_item_call>
    </menu>
    <menu
     create_jump_keys="true"
     label="Communicate"
     name="Communicate"
     tear_off="true">
       <menu_item_check
         label="Conversations..."
         name="Conversations"
         shortcut="control|T">
            <menu_item_check.on_check
             function="Floater.IsOpen"
             parameter="im_container" />
            <menu_item_check.on_click
             function="Floater.ToggleOrBringToFront"
             parameter="im_container" />
	</menu_item_check>
	<menu_item_check
         label="Nearby Chat..."
         name="Nearby Chat"
         shortcut="control|H"
         use_mac_ctrl="true">
            <menu_item_check.on_check
             function="Floater.Visible"
             parameter="nearby_chat" />
            <menu_item_check.on_click
             function="Communicate.NearbyChat"/>
        </menu_item_check>
        <menu_item_check
         label="Speak"
         name="Speak">
            <menu_item_check.on_check
             function="Agent.IsMicrophoneOn"
             parameter="speak" />
            <menu_item_check.on_enable
             function="Agent.IsActionAllowed"
             parameter="speak" />
            <menu_item_check.on_click
             function="Agent.ToggleMicrophone"
             parameter="speak" />
        </menu_item_check>
        <menu_item_check
         name="Conversation Log..."
         label="Conversation Log...">
            <menu_item_check.on_check
             function="Floater.Visible"
             parameter="conversation" />
            <menu_item_check.on_enable
             function="Conversation.IsConversationLoggingAllowed" />
            <menu_item_check.on_click
             function="Floater.Toggle"
             parameter="conversation" />
        </menu_item_check>
        <menu_item_separator/>
      <menu_item_call
        label="Facebook..."
        name="Facebook">
        <menu_item_call.on_click
          function="Floater.Toggle"
          parameter="facebook"/>
      </menu_item_call>
      <menu_item_call
        label="Twitter..."
        name="Twitter">
        <menu_item_call.on_click
          function="Floater.Toggle"
          parameter="twitter"/>
      </menu_item_call>
      <menu_item_call
        label="Flickr..."
        name="Flickr">
        <menu_item_call.on_click
          function="Floater.Toggle"
          parameter="flickr"/>
      </menu_item_call>
        <menu_item_separator/>
        <menu
         label="Voice morphing"
         name="VoiceMorphing"
         visibility_control="VoiceMorphingEnabled">
            <menu_item_check
             label="No voice morphing"
             name="NoVoiceMorphing">
                <menu_item_check.on_check
                 function="Communicate.VoiceMorphing.NoVoiceMorphing.Check" />
                <menu_item_check.on_click
                 function="Communicate.VoiceMorphing.NoVoiceMorphing.Click" />
            </menu_item_check>
            <menu_item_separator/>
            <menu_item_check
             label="Preview..."
             name="Preview">
                <menu_item_check.on_check
                 function="Floater.Visible"
                 parameter="voice_effect" />
                <menu_item_check.on_click
                 function="Floater.Toggle"
                 parameter="voice_effect" />
            </menu_item_check>
            <menu_item_call
             label="Subscribe..."
             name="Subscribe">
                <menu_item_call.on_click
                 function="Communicate.VoiceMorphing.Subscribe" />
            </menu_item_call>
        </menu>
        <menu_item_check
         label="Gestures..."
         name="Gestures"
         shortcut="control|G">
            <menu_item_check.on_check
             function="Floater.Visible"
             parameter="gestures" />
            <menu_item_check.on_click
             function="Floater.Toggle"
             parameter="gestures" />
        </menu_item_check>
        <menu_item_separator/>
        <menu_item_check
         label="Friends"
         name="My Friends"
         shortcut="control|shift|F">
            <menu_item_check.on_check
             function="SideTray.CheckPanelPeopleTab"
             parameter="friends_panel" />
            <menu_item_check.on_click
             function="SideTray.PanelPeopleTab"
             parameter="friends_panel" />
            </menu_item_check>
        <menu_item_check
         label="Groups"
         name="My Groups"
         shortcut="control|shift|G">
         	<menu_item_check.on_check
             function="SideTray.CheckPanelPeopleTab"
             parameter="groups_panel" />
            <menu_item_check.on_click
             function="SideTray.PanelPeopleTab"
             parameter="groups_panel" />
        </menu_item_check>
        <menu_item_check
         label="Nearby people"
         name="Active Speakers"
         shortcut="control|shift|A">
        	 <menu_item_check.on_check
             function="SideTray.CheckPanelPeopleTab"
             parameter="nearby_panel" />
            <menu_item_check.on_click
              function="SideTray.PanelPeopleTab"
              parameter="nearby_panel" />
        </menu_item_check>
        <menu_item_check
         label="Block List"
         name="Block List">
            <menu_item_check.on_check
             function="SideTray.CheckPanelPeopleTab"
             parameter="blocked_panel" />
            <menu_item_check.on_click
              function="SideTray.PanelPeopleTab"
              parameter="blocked_panel" />
        </menu_item_check>
      <menu_item_separator/>
      <menu_item_check
       name="Do Not Disturb"
       label="Do Not Disturb">
        <menu_item_check.on_check
         function="View.Status.CheckDoNotDisturb" />
        <menu_item_check.on_click
         function="World.SetDoNotDisturb"/>
      </menu_item_check>

    </menu>
    <menu
     create_jump_keys="true"
     label="World"
     name="World"
     tear_off="true">
        <menu_item_call
         label="Landmark This Place"
         name="Create Landmark Here">
            <menu_item_call.on_click
             function="World.CreateLandmark" />
            <menu_item_call.on_enable
             function="World.EnableCreateLandmark" />
        </menu_item_call>
        <menu_item_call
         label="Destinations..."
         name="Destinations">
            <menu_item_call.on_click
             function="Floater.ToggleOrBringToFront"
             parameter="destinations" />
        </menu_item_call>
        <menu_item_check
         label="World map"
         name="World Map"
         shortcut="control|M"
         use_mac_ctrl="true">
            <menu_item_check.on_check
             function="Floater.Visible"
             parameter="world_map" />
            <menu_item_check.on_click
             function="Floater.Toggle"
             parameter="world_map" />
        </menu_item_check>
            <menu_item_check
         label="Mini-map"
         name="Mini-Map"
         shortcut="control|shift|M">
            <menu_item_check.on_check
             function="Floater.Visible"
             parameter="mini_map" />
            <menu_item_check.on_click
             function="Floater.Toggle"
             parameter="mini_map" />
        </menu_item_check>
        <menu_item_check
        label="Search"
        name="Search"
        shortcut="control|F">
            <menu_item_check.on_check
             function="Floater.Visible"
             parameter="search" />
            <menu_item_check.on_click
             function="Floater.Toggle"
             parameter="search" />
            </menu_item_check>
        <menu_item_separator/>
        <menu_item_call
         label="Teleport home"
         name="Teleport Home"
         shortcut="control|shift|H">
        <menu_item_call.on_click
         function="World.TeleportHome" />
        <menu_item_call.on_enable
         function="World.EnableTeleportHome" />
        </menu_item_call>
            <menu_item_call
             label="Set home to here"
             name="Set Home to Here">
                <menu_item_call.on_click
                 function="World.SetHomeLocation" />
                <menu_item_call.on_enable
                 function="World.EnableSetHomeLocation" />
            </menu_item_call>
        <menu_item_separator/>
        <menu_item_call
         label="Snapshot"
         name="Take Snapshot"
         shortcut="control|shift|S">
            <menu_item_call.on_click
             function="Floater.Show"
             parameter="snapshot" />
        </menu_item_call>
        <menu_item_separator/>
        <menu_item_call
         label="Place profile"
         layout="topleft"
         name="Place Profile">
            <menu_item_call.on_click
             function="World.PlaceProfile" />
        </menu_item_call>
        <menu_item_call
         label="About land"
         name="About Land">
            <menu_item_call.on_click
             function="Floater.Show"
             parameter="about_land" />
        </menu_item_call>
        <menu_item_call
         label="Region / Estate"
         name="RegionEstate">
            <menu_item_call.on_click
             function="Floater.Show"
             parameter="region_info" />
        </menu_item_call>
        <menu_item_call
         label="My land holdings..."
         name="My Land">
            <menu_item_call.on_click
             function="Floater.Show"
             parameter="land_holdings" />
        </menu_item_call>
        <menu_item_call
         label="Buy this land"
         name="Buy Land">
            <menu_item_call.on_click
             function="Land.Buy" />
            <menu_item_call.on_enable
             function="World.EnableBuyLand" />
            </menu_item_call>

        <menu_item_separator/>

        <menu
           create_jump_keys="true"
           label="Show"
           name="LandShow"
           tear_off="true">
          <menu_item_check
             label="Ban Lines"
             name="Ban Lines">
            <menu_item_check.on_check
               control="ShowBanLines" />
            <menu_item_check.on_click
               function="ToggleControl"
               parameter="ShowBanLines" />
          </menu_item_check>
           <menu_item_check
                 label="Beacons"
                 name="beacons"
                 shortcut="control|alt|shift|N">
                    <menu_item_check.on_check
                     function="Floater.Visible"
                     parameter="beacons" />
                    <menu_item_check.on_click
                     function="Floater.Toggle"
                     parameter="beacons" />
                </menu_item_check>
          <menu_item_check
             label="Property Lines"
             name="Property Lines"
             shortcut="control|alt|shift|P">
            <menu_item_check.on_check
               control="ShowPropertyLines" />
            <menu_item_check.on_click
               function="ToggleControl"
               parameter="ShowPropertyLines" />
          </menu_item_check>
          <menu_item_check
             label="Land Owners"
             name="Land Owners">
            <menu_item_check.on_check
               control="ShowParcelOwners" />
            <menu_item_check.on_click
               function="ToggleControl"
               parameter="ShowParcelOwners" />
          </menu_item_check>
          <menu_item_check
             label="Coordinates"
             name="Coordinates">
            <menu_item_check.on_click
               function="ToggleControl"
               parameter="NavBarShowCoordinates" />
            <menu_item_check.on_check
               control="NavBarShowCoordinates" />
          </menu_item_check>
          <menu_item_check
             label="Parcel Properties"
             name="Parcel Properties">
            <menu_item_check.on_click
               function="ToggleControl"
               parameter="NavBarShowParcelProperties" />
            <menu_item_check.on_check
               control="NavBarShowParcelProperties" />
          </menu_item_check>
          <menu_item_separator />
          <menu_item_check
             label="Advanced Menu"
             name="Show Advanced Menu"
             shortcut="control|alt|shift|D">
            <on_check
               function="CheckControl"
               parameter="UseDebugMenus" />
            <on_click
               function="ToggleControl"
               parameter="UseDebugMenus" />
          </menu_item_check>
        </menu>

        <menu_item_separator/>
    <!--    <menu_item_check
         label="Show Navigation Bar"
         name="ShowNavbarNavigationPanel">
           <menu_item_check.on_click
             function="ToggleControl"
             parameter="ShowNavbarNavigationPanel" />
             <menu_item_check.on_check
             function="CheckControl"
             parameter="ShowNavbarNavigationPanel" />
        </menu_item_check>
       <menu_item_check
         label="Show Favorites Bar"
         name="ShowNavbarFavoritesPanel">
           <menu_item_check.on_click
             function="ToggleControl"
             parameter="ShowNavbarFavoritesPanel" />
             <menu_item_check.on_check
             function="CheckControl"
             parameter="ShowNavbarFavoritesPanel" />
        </menu_item_check>
        <menu_item_separator/>-->

        <menu
         create_jump_keys="true"
         label="Sun"
         name="Sun"
         tear_off="true">
            <menu_item_check
             label="Sunrise"
             name="Sunrise">
                <menu_item_check.on_click
                 function="World.EnvSettings"
                 parameter="sunrise" />
                <menu_item_check.on_check
                 function="World.EnableEnvSettings" 
                 parameter="sunrise" />
            </menu_item_check>
            <menu_item_check
             label="Midday"
             name="Noon"
             shortcut="control|shift|Y">
                <menu_item_check.on_click
                 function="World.EnvSettings"
                 parameter="noon" />
                <menu_item_check.on_check
                 function="World.EnableEnvSettings" 
                 parameter="noon" />
            </menu_item_check>
            <menu_item_check
             label="Sunset"
             name="Sunset"
             shortcut="control|shift|N">
                <menu_item_check.on_click
                 function="World.EnvSettings"
                 parameter="sunset" />
                <menu_item_check.on_check
                 function="World.EnableEnvSettings" 
                 parameter="sunset" />
            </menu_item_check>
            <menu_item_check
             label="Midnight"
             name="Midnight">
                <menu_item_check.on_click
                 function="World.EnvSettings"
                 parameter="midnight" />
                <menu_item_check.on_check
                 function="World.EnableEnvSettings" 
                 parameter="midnight" />
            </menu_item_check>
            <menu_item_separator/>
            <menu_item_check
             label="Use Region Settings"
             name="Use Region Settings">
                <menu_item_check.on_click
                 function="World.EnvSettings"
                 parameter="region" />
                <menu_item_check.on_check
                 function="World.EnableEnvSettings" 
                 parameter="region" />
            </menu_item_check>
        </menu>
	    
   
	    <menu
	     create_jump_keys="true"
	     label="Environment Editor"
	     name="Environment Editor"
	     tear_off="true">
	     	
	     	<menu_item_call
	     	 label="Environment Settings..."
	     	 name="Environment Settings">
	     	 	<menu_item_call.on_click
	     	 	 function="World.EnvSettings"
                 parameter="editor"/>
	     	</menu_item_call>
	     	
	     	<menu_item_separator/>
	     	
	     	<menu
	     	 name="Water Presets"
	     	 label="Water Presets">
	     	 	<menu_item_call
	     	 	 label="New preset..."
	     	 	 name="new_water_preset">
	     	 	 	<menu_item_call.on_click
	     	 	 	function="World.EnvPreset"
	     	 	 	parameter="new_water"/>
	     	 	</menu_item_call>
	     	 	<menu_item_call
	     	 	 label="Edit preset..."
	     	 	 name="edit_water_preset">
	     	 	 	<menu_item_call.on_click
	     	 	 	function="World.EnvPreset"
	     	 	 	parameter="edit_water"/>
	     	 	</menu_item_call>
	     	 	<menu_item_call
	     	 	 label="Delete preset..."
	     	 	 name="delete_water_preset">
	     	 	 	<menu_item_call.on_click
	     	 	 	function="World.EnvPreset"
	     	 	 	parameter="delete_water"/>
	     	 	 	<menu_item_call.on_enable
	     	 	 	function="World.EnableEnvPreset"
	     	 	 	parameter="delete_water"/>
	     	 	</menu_item_call>
	     	</menu>
	     	
	     	<menu
	     	 name="Sky Presets"
	     	 label="Sky Presets">
	     	 	<menu_item_call
	     	 	 label="New preset..."
	     	 	 name="new_sky_preset">
	     	 	 	<menu_item_call.on_click
	     	 	 	function="World.EnvPreset"
	     	 	 	parameter="new_sky"/>
	     	 	</menu_item_call>
	     	 	<menu_item_call
	     	 	 label="Edit preset..."
	     	 	 name="edit_sky_preset">
	     	 	 	<menu_item_call.on_click
	     	 	 	function="World.EnvPreset"
	     	 	 	parameter="edit_sky"/>
	     	 	</menu_item_call>
	     	 	<menu_item_call
	     	 	 label="Delete preset..."
	     	 	 name="delete_sky_preset">
	     	 	 	<menu_item_call.on_click
	     	 	 	function="World.EnvPreset"
	     	 	 	parameter="delete_sky"/>
	     	 	 	<menu_item_call.on_enable
	     	 	 	function="World.EnableEnvPreset"
	     	 	 	parameter="delete_sky"/>
	     	 	</menu_item_call>
	     	</menu>
	     	
	     	<menu
	     	 name="Day Presets"
	     	 label="Day Presets">
	     	 	<menu_item_call
	     	 	 label="New preset..."
	     	 	 name="new_day_preset">
	     	 	 	<menu_item_call.on_click
	     	 	 	function="World.EnvPreset"
	     	 	 	parameter="new_day_cycle"/>
	     	 	</menu_item_call>
	     	 	<menu_item_call
	     	 	 label="Edit preset..."
	     	 	 name="edit_day_preset">
	     	 	 	<menu_item_call.on_click
	     	 	 	function="World.EnvPreset"
	     	 	 	parameter="edit_day_cycle"/>
	     	 	</menu_item_call>
	     	 	<menu_item_call
	     	 	 label="Delete preset..."
	     	 	 name="delete_day_preset">
	     	 	 	<menu_item_call.on_click
	     	 	 	function="World.EnvPreset"
	     	 	 	parameter="delete_day_cycle"/>
	     	 	 	<menu_item_call.on_enable
	     	 	 	function="World.EnableEnvPreset"
	     	 	 	parameter="delete_day_cycle"/>
	     	 	</menu_item_call>
	     	</menu>
	    </menu>
    
    
    </menu>
    <menu
     create_jump_keys="true"
     label="Build"
     name="BuildTools"
     tear_off="true"
     visible="true">
       <menu_item_check
         label="Build"
         name="Show Build Tools"
         shortcut="control|B">
            <menu_item_check.on_check
             function="Build.Active" />
            <menu_item_check.on_click
             function="Build.Toggle" />
            <menu_item_check.on_enable
             function="Build.Enabled" />
       </menu_item_check>
       <menu
          create_jump_keys="true"
          label="Select Build Tool"
          name="Select Tool"
          tear_off="true">
         <menu_item_call
			label="Focus Tool"
			name="Focus"
			shortcut="control|1">
           <menu_item_call.on_click
              function="Tools.SelectTool"
              parameter="focus" />
         </menu_item_call>
         <menu_item_call
			label="Move Tool"
			name="Move"
			shortcut="control|2">
           <menu_item_call.on_click
              function="Tools.SelectTool"
              parameter="move" />
         </menu_item_call>
         <menu_item_call
			label="Edit Tool"
			name="Edit"
			shortcut="control|3">
           <menu_item_call.on_click
              function="Tools.SelectTool"
              parameter="edit" />
         </menu_item_call>
         <menu_item_call
			label="Create Tool"
			name="Create"
			shortcut="control|4">
           <menu_item_call.on_click
              function="Tools.SelectTool"
              parameter="create" />
         </menu_item_call>
         <menu_item_call
			label="Land Tool"
			name="Land"
			shortcut="control|5">
           <menu_item_call.on_click
              function="Tools.SelectTool"
              parameter="land" />
         </menu_item_call>
	   </menu>
        <menu_item_call
           label="Link"
           name="Link"
           shortcut="control|L">
          <menu_item_call.on_click
             function="Tools.Link" />
          <menu_item_call.on_enable
             function="Tools.EnableLink" />
        </menu_item_call>
        <menu_item_call
           label="Unlink"
           name="Unlink"
           shortcut="control|shift|L">
          <menu_item_call.on_click
             function="Tools.Unlink" />
          <menu_item_call.on_enable
             function="Tools.EnableUnlink" />
        </menu_item_call>
        <menu_item_check
             label="Edit Linked Parts"
             name="Edit Linked Parts">
                <menu_item_check.on_check
                 control="EditLinkedParts" />
                <menu_item_check.on_click
                 function="Tools.EditLinkedParts"
                 parameter="EditLinkedParts" />
                <menu_item_check.on_enable
                 function="Tools.EnableToolNotPie" />
            </menu_item_check>
        <menu
         create_jump_keys="true"
         label="Select Linked Parts"
         name="Select Linked Parts"
         tear_off="true">
            <menu_item_call
             label="Select Next Part"
             name="Select Next Part"
	     shortcut="control|.">
                <menu_item_call.on_click
                 function="Tools.SelectNextPart"
                 parameter="next" />
                <menu_item_call.on_enable
                 function="Tools.EnableSelectNextPart" />
            </menu_item_call>
            <menu_item_call
             label="Select Previous Part"
             name="Select Previous Part"
	     shortcut="control|,">
                <menu_item_call.on_click
                 function="Tools.SelectNextPart"
                 parameter="previous" />
                <menu_item_call.on_enable
                 function="Tools.EnableSelectNextPart" />
            </menu_item_call>
            <menu_item_call
             label="Include Next Part"
             name="Include Next Part"
	     shortcut="control|shift|.">
                <menu_item_call.on_click
                 function="Tools.SelectNextPart"
                 parameter="includenext" />
                <menu_item_call.on_enable
                 function="Tools.EnableSelectNextPart" />
            </menu_item_call>
            <menu_item_call
             label="Include Previous Part"
             name="Include Previous Part"
	     shortcut="control|shift|,">
                <menu_item_call.on_click
                 function="Tools.SelectNextPart"
                 parameter="includeprevious" />
                <menu_item_call.on_enable
                 function="Tools.EnableSelectNextPart" />
            </menu_item_call>
        </menu>
        <menu_item_call
            label="Linksets..."
            name="pathfinding_linkset_menu_item">
          <menu_item_call.on_click
              function="Floater.ToggleOrBringToFront"
              parameter="pathfinding_linksets" />
          <menu_item_call.on_enable
              function="Tools.EnablePathfinding" />
        </menu_item_call> 
        <menu_item_separator/>

        <menu_item_call
           label="Focus on Selection"
           name="Focus on Selection"
           shortcut="H">
          <menu_item_call.on_click
             function="Tools.LookAtSelection"
             parameter="focus" />
          <menu_item_call.on_enable
             function="Tools.SomethingSelectedNoHUD" />
        </menu_item_call>
        <menu_item_call
           label="Zoom to Selection"
           name="Zoom to Selection"
           shortcut="shift|H">
          <menu_item_call.on_click
             function="Tools.LookAtSelection"
             parameter="zoom" />
          <menu_item_call.on_enable
             function="Tools.SomethingSelectedNoHUD" />
        </menu_item_call>
		 
        <menu_item_separator/>

        <menu
         create_jump_keys="true"
         label="Object"
         name="Object"
         tear_off="true">
          <menu_item_call
             label="Buy"
             name="Menu Object Buy">
            <menu_item_call.on_click
               function="Tools.BuyOrTake"/>
            <menu_item_call.on_visible
               function="Tools.VisibleBuyObject"/>
            <menu_item_call.on_enable
               function="Tools.EnableBuyOrTake"/>
          </menu_item_call>
          <menu_item_call
             label="Take"
             name="Menu Object Take">
            <menu_item_call.on_click
               function="Tools.BuyOrTake"/>
            <menu_item_call.on_visible
               function="Tools.VisibleTakeObject"/>
            <menu_item_call.on_enable
               function="Tools.EnableBuyOrTake"/>
          </menu_item_call>
          <menu_item_call
			 label="Take Copy"
			 name="Take Copy">
			<menu_item_call.on_click
               function="Tools.TakeCopy" />
			<menu_item_call.on_enable
               function="Tools.EnableTakeCopy" />
          </menu_item_call>
          <menu_item_call
			 label="Save Back to Object Contents"
			 name="Save Object Back to Object Contents">
			<menu_item_call.on_click
               function="Tools.SaveToObjectInventory" />
			<menu_item_call.on_enable
               function="Tools.EnableSaveToObjectInventory" />
          </menu_item_call>
          <menu_item_call
			 label="Return Object"
			 name="Return Object back to Owner">
			<menu_item_call.on_click
               function="Object.Return" />
			<menu_item_call.on_enable
               function="Object.EnableReturn" />
          </menu_item_call>
		</menu>
        <menu
           create_jump_keys="true"
           label="Scripts"
           name="Scripts"
           tear_off="true">
          <menu_item_call
             label="Recompile Scripts (Mono)"
             name="Mono">
            <menu_item_call.on_click
               function="Tools.SelectedScriptAction"
               parameter="compile mono" />
            <menu_item_call.on_enable
               function="EditableSelectedMono" />
          </menu_item_call>
          <menu_item_call
             label="Recompile Scripts (LSL)"
             name="LSL">
            <menu_item_call.on_click
               function="Tools.SelectedScriptAction"
               parameter="compile lsl" />
            <menu_item_call.on_enable
               function="EditableSelected" />
          </menu_item_call>
          <menu_item_call
             label="Reset Scripts"
             name="Reset Scripts">
            <menu_item_call.on_click
               function="Tools.SelectedScriptAction"
               parameter="reset" />
            <menu_item_call.on_enable
               function="EditableSelected" />
          </menu_item_call>
          <menu_item_call
             label="Set Scripts to Running"
             name="Set Scripts to Running">
            <menu_item_call.on_click
               function="Tools.SelectedScriptAction"
               parameter="start" />
            <menu_item_call.on_enable
               function="EditableSelected" />
          </menu_item_call>
          <menu_item_call
             label="Set Scripts to Not Running"
             name="Set Scripts to Not Running">
            <menu_item_call.on_click
               function="Tools.SelectedScriptAction"
               parameter="stop" />
            <menu_item_call.on_enable
               function="EditableSelected" />
          </menu_item_call>
        </menu>

      <menu
         create_jump_keys="true"
         label="Pathfinding"
         name="Pathfinding"
         tear_off="true">
        <menu_item_call
            label="Linksets..."
            name="pathfinding_linksets_menu_item">
          <menu_item_call.on_click
              function="Floater.ToggleOrBringToFront"
              parameter="pathfinding_linksets" />
          <menu_item_call.on_enable
              function="Tools.EnablePathfinding" />
        </menu_item_call>
        <menu_item_call
            label="Characters..."
            name="pathfinding_characters_menu_item">
          <menu_item_call.on_click
              function="Floater.ToggleOrBringToFront"
              parameter="pathfinding_characters" />
          <menu_item_call.on_enable
              function="Tools.EnablePathfinding" />
        </menu_item_call>
        <menu_item_call
            label="View / test..."
            name="pathfinding_console_menu_item">
          <menu_item_call.on_click
              function="Floater.ToggleOrBringToFront"
              parameter="pathfinding_console" />
          <menu_item_call.on_enable
              function="Tools.EnablePathfindingView" />
        </menu_item_call>
        <menu_item_call
            label="Rebake region"
            name="pathfinding_rebake_navmesh_item">
          <menu_item_call.on_click
              function="Tools.DoPathfindingRebakeRegion"/>
          <menu_item_call.on_enable
              function="Tools.EnablePathfindingRebakeRegion" />
        </menu_item_call>
      </menu>


      <menu_item_separator/>

        <menu
         create_jump_keys="true"
         label="Options"
         name="Options"
         tear_off="true">
	   <menu_item_check
	       label="Show Advanced Permissions"
	       name="DebugPermissions">
			  <menu_item_check.on_check
				 function="CheckControl"
				 parameter="DebugPermissions" />
			  <menu_item_check.on_click
				 function="ToggleControl"
				 parameter="DebugPermissions" />
			</menu_item_check>

            <menu_item_separator/>

            <menu_item_check
                 label="Select Only My Objects"
                 name="Select Only My Objects">
                    <menu_item_check.on_check
                     control="SelectOwnedOnly" />
                    <menu_item_check.on_click
                     function="Tools.SelectOnlyMyObjects"
                     parameter="agents" />
                </menu_item_check>
                <menu_item_check
                 label="Select Only Movable Objects"
                 name="Select Only Movable Objects">
                    <menu_item_check.on_check
                     control="SelectMovableOnly" />
                    <menu_item_check.on_click
                     function="Tools.SelectOnlyMovableObjects"
                     parameter="movable" />
                </menu_item_check>
                <menu_item_check
                 label="Select By Surrounding"
                 name="Select By Surrounding">
                    <menu_item_check.on_check
                     control="RectangleSelectInclusive" />
                    <menu_item_check.on_click
                     function="Tools.SelectBySurrounding" />
            </menu_item_check>

          <menu_item_separator/>

                <menu_item_check
                 label="Show Selection Outlines"
                 name="Show Selection Outlines">
                    <menu_item_check.on_check
                     function="CheckControl"
                     parameter="RenderHighlightSelections" />
                    <menu_item_check.on_click
                     function="ToggleControl"
                     parameter="RenderHighlightSelections" />
                </menu_item_check>
                <menu_item_check
                 label="Show Hidden Selection"
                 name="Show Hidden Selection">
                    <menu_item_check.on_check
                     control="RenderHiddenSelections" />
                    <menu_item_check.on_click
                     function="Tools.ShowHiddenSelection" />
                </menu_item_check>
                <menu_item_check
                 label="Show Light Radius for Selection"
                 name="Show Light Radius for Selection">
                    <menu_item_check.on_check
                     control="RenderLightRadius" />
                    <menu_item_check.on_click
                     function="Tools.ShowSelectionLightRadius" />
                </menu_item_check>
                <menu_item_check
                 label="Show Selection Beam"
                 name="Show Selection Beam">
                    <menu_item_check.on_check
                     control="ShowSelectionBeam" />
                    <menu_item_check.on_click
                     function="ToggleControl"
                     parameter="ShowSelectionBeam" />
                </menu_item_check>

        <menu_item_separator/>

                <menu_item_check
                 label="Snap to Grid"
                 name="Snap to Grid"
                 shortcut="G">
                    <menu_item_check.on_check
                     control="SnapEnabled" />
                    <menu_item_check.on_click
                     function="ToggleControl"
                     parameter="SnapEnabled" />
                    <menu_item_check.on_enable
                     function="Tools.EnableToolNotPie" />
                </menu_item_check>
                <menu_item_call
                 label="Snap Object XY to Grid"
                 name="Snap Object XY to Grid"
                 shortcut="shift|X">
                    <menu_item_call.on_click
                     function="Tools.SnapObjectXY" />
                    <menu_item_call.on_enable
                     function="Tools.EnableToolNotPie" />
                </menu_item_call>
                <menu_item_call
                 label="Use Selection for Grid"
                 name="Use Selection for Grid"
                 shortcut="shift|G">
                    <menu_item_call.on_click
                     function="Tools.UseSelectionForGrid" />
                    <menu_item_call.on_enable
                     function="SomethingSelected" />
                </menu_item_call>
                <menu_item_separator/>
                <menu_item_call
                 label="Grid Options..."
                 name="Grid Options"
                 shortcut="control|shift|B">
                    <menu_item_call.on_click
                     function="Floater.Toggle"
                     parameter="build_options" />
                    <menu_item_call.on_enable
                     function="Tools.EnableToolNotPie" />
                </menu_item_call>
                <menu_item_call
                 label="Set Default Permissions..."
                 name="Set default permissions">
                    <menu_item_call.on_click
                     function="Floater.ToggleOrBringToFront"
                     parameter="perms_default" />
                </menu_item_call>
        </menu>
        <menu
         create_jump_keys="true"
         label="Upload"
         layout="topleft"
         name="Upload"
         tear_off="true">
            <menu_item_call
             label="Image (L$[COST])..."
             layout="topleft"
             name="Upload Image"
             shortcut="control|U">
                <menu_item_call.on_click
                 function="File.UploadImage"
                 parameter="" />
                <menu_item_call.on_enable
                 function="File.EnableUpload" />
                <menu_item_call.on_visible
                 function="Upload.CalculateCosts"
                 parameter="Upload Image" />
            </menu_item_call>
            <menu_item_call
             label="Sound (L$[COST])..."
             layout="topleft"
             name="Upload Sound">
                <menu_item_call.on_click
                 function="File.UploadSound"
                 parameter="" />
                <menu_item_call.on_enable
                 function="File.EnableUpload" />
                <menu_item_call.on_visible
                 function="Upload.CalculateCosts"
                 parameter="Upload Sound" />
            </menu_item_call>
            <menu_item_call
             label="Animation (L$[COST])..."
             layout="topleft"
             name="Upload Animation">
                <menu_item_call.on_click
                 function="File.UploadAnim"
                 parameter="" />
                <menu_item_call.on_enable
                 function="File.EnableUpload" />
                <menu_item_call.on_visible
                 function="Upload.CalculateCosts"
                 parameter="Upload Animation" />
            </menu_item_call>
            <menu_item_call
           label="Model..."
           layout="topleft"
           name="Upload Model">
            <menu_item_call.on_click
             function="File.UploadModel"
             parameter="" />
            <menu_item_call.on_enable
             function="File.EnableUploadModel" />
            <menu_item_call.on_visible
            function="File.VisibleUploadModel"/>
            </menu_item_call>
	   <menu_item_call
             label="Bulk (L$[COST] per file)..."
             layout="topleft"
             name="Bulk Upload">
                <menu_item_call.on_click
                 function="File.UploadBulk"
                 parameter="" />
            </menu_item_call>
        </menu>
        <menu_item_separator/>
        <menu_item_call
         enabled="false"
         label="Undo"
         name="Undo"
         allow_key_repeat="true"
         shortcut="control|Z">
            <on_click
             function="Edit.Undo"
             userdata="" />
            <on_enable
             function="Edit.EnableUndo" />
        </menu_item_call>
        <menu_item_call
         enabled="false"
         label="Redo"
         name="Redo"
         allow_key_repeat="true"
         shortcut="control|Y">
            <on_click
             function="Edit.Redo"
             userdata="" />
            <on_enable
             function="Edit.EnableRedo" />
        </menu_item_call>        
    </menu>
    <menu
     create_jump_keys="true"
     label="Help"
     name="Help"
     tear_off="true">
        <menu_item_call
         label="How to..."
         name="How To"
         shortcut="F1">
            <menu_item_call.on_click
             function="Help.ToggleHowTo"
             parameter="" />
        </menu_item_call>
        <menu_item_call
           label="Quickstart"
           name="Quickstart">
            <menu_item_call.on_click
            function="Advanced.ShowURL"
            parameter="http://community.secondlife.com/t5/English-Knowledge-Base/Second-Life-Quickstart/ta-p/1087919"/>
        </menu_item_call>
<!--        <menu_item_call
         label="Tutorial"
         name="Tutorial">
            <menu_item_call.on_click
             function="Floater.Show"
             parameter="hud" />
        </menu_item_call>-->
		<menu_item_separator/>
        <menu_item_call
             label="Knowledge Base"
             name="Knowledge Base">
             <menu_item_call.on_click
                 function="Advanced.ShowURL"
            parameter="http://community.secondlife.com/t5/English-Knowledge-Base/Second-Life-User-s-Guide/ta-p/1244857"/>
        </menu_item_call>
        <menu_item_call
             label="Wiki"
             name="Wiki">
             <menu_item_call.on_click
                 function="Advanced.ShowURL"
                 parameter="http://wiki.secondlife.com"/>
        </menu_item_call>
        <menu_item_call
             label="Community Forums"
             name="Community Forums">
             <menu_item_call.on_click
                 function="Advanced.ShowURL"
                 parameter="http://community.secondlife.com/t5/Forums/ct-p/Forums"/>
        </menu_item_call>         
        <menu_item_call
             label="Support portal"
             name="Support portal">
             <menu_item_call.on_click
                 function="Advanced.ShowURL"
                 parameter="https://support.secondlife.com/"/>         
        </menu_item_call>
        <menu_item_separator/>
        <menu_item_call
             label="[SECOND_LIFE] News"
             name="Second Life News">
             <menu_item_call.on_click
                 function="Advanced.ShowURL"
                 parameter="http://community.secondlife.com/t5/Featured-News/bg-p/blog_feature_news"/>  
        </menu_item_call>
        <menu_item_call
             label="[SECOND_LIFE] Blogs"
             name="Second Life Blogs">
             <menu_item_call.on_click
                 function="Advanced.ShowURL"
                 parameter="http://community.secondlife.com/t5/Blogs/ct-p/Blogs"/>
        </menu_item_call>
        <menu_item_separator/>

        <menu_item_call
             label="Report Abuse"
             name="Report Abuse">
                <menu_item_call.on_click
                 function="ReportAbuse" />
            </menu_item_call>
        <menu_item_call
             label="Report Bug"
             name="Report Bug">
                <menu_item_call.on_click
                 function="Advanced.ReportBug"/>
            </menu_item_call>

        <menu_item_separator/>
		<menu_item_call
             label="Bumps, Pushes &amp; Hits"
             name="Bumps, Pushes &amp;amp; Hits">
                <menu_item_call.on_click
                 function="Floater.Show"
                 parameter="bumps" />
        </menu_item_call>
        <menu_item_separator/>    
        <menu_item_call
         label="About [APP_NAME]"
         name="About Second Life">
            <menu_item_call.on_click
             function="Floater.Show"
             parameter="sl_about" />
        </menu_item_call>
        <menu_item_call
         label="Check for Updates"
         name="Check for Updates">
          <menu_item_call.on_click
           function="Advanced.CheckViewerUpdates"/>
        </menu_item_call>
    </menu>
    <menu
     create_jump_keys="true"
     label="Advanced"
     name="Advanced"
     tear_off="true"
     visible="false">
        <menu_item_call
         label="Rebake Textures"
         name="Rebake Texture"
         shortcut="control|alt|R">
            <menu_item_call.on_click
             function="Advanced.RebakeTextures" />
        </menu_item_call>
        <menu_item_call
           label="Set UI Size to Default"
           name="Set UI Size to Default">
          <menu_item_call.on_click
             function="View.DefaultUISize" />
        </menu_item_call>
        <menu_item_call
         label="Set Window Size..."
         name="Set Window Size...">
          <menu_item_call.on_click
           function="Floater.Show"
           parameter="window_size" />
        </menu_item_call>

        <menu_item_separator/>

        <menu_item_check
         label="Limit Select Distance"
         name="Limit Select Distance">
            <menu_item_check.on_check
             function="CheckControl"
             parameter="LimitSelectDistance" />
            <menu_item_check.on_click
             function="ToggleControl"
             parameter="LimitSelectDistance" />
        </menu_item_check>
        <menu_item_check
         label="Disable Camera Constraints"
         name="Disable Camera Distance">
            <menu_item_check.on_check
             function="CheckControl"
             parameter="DisableCameraConstraints" />
            <menu_item_check.on_click
             function="ToggleControl"
             parameter="DisableCameraConstraints" />
        </menu_item_check>

        <menu_item_separator/>

        <menu_item_check
         label="High-res Snapshot"
         name="HighResSnapshot">
            <menu_item_check.on_check
             function="CheckControl"
             parameter="HighResSnapshot" />
            <menu_item_check.on_click
             function="ToggleControl"
             parameter="HighResSnapshot" />
        </menu_item_check>
        <menu_item_check
         label="Quiet Snapshots to Disk"
         name="QuietSnapshotsToDisk">
            <menu_item_check.on_check
             function="CheckControl"
             parameter="QuietSnapshotsToDisk" />
            <menu_item_check.on_click
             function="ToggleControl"
             parameter="QuietSnapshotsToDisk" />
        </menu_item_check>

        <menu_item_separator/>

        <menu
         create_jump_keys="true"
         label="Performance Tools"
         name="Performance Tools"
         tear_off="true">
            <menu_item_call
             label="Lag Meter"
             name="Lag Meter">
                <menu_item_call.on_click
                 function="Floater.Show"
                 parameter="lagmeter" />
            </menu_item_call>
            <menu_item_check
             label="Statistics Bar"
             name="Statistics Bar"
             shortcut="control|shift|1">
                <menu_item_check.on_check
                 function="Floater.Visible"
                 parameter="stats" />
                <menu_item_check.on_click
                 function="Floater.Toggle"
                 parameter="stats" />
            </menu_item_check>
            <menu_item_call
             label="Scene Load Statistics"
             name="Scene Load Statistics"
             shortcut="control|shift|2">
                <on_click
                 function="Floater.Show"
                 parameter="scene_load_stats" />
            </menu_item_call>
      <menu_item_check
        label="Show Draw Weight for Avatars"
        name="Avatar Rendering Cost">
           <menu_item_check.on_check
            function="Advanced.CheckInfoDisplay"
            parameter="shame" />
           <menu_item_check.on_click
            function="Advanced.ToggleInfoDisplay"
            parameter="shame" />
       </menu_item_check>
        </menu>
        <menu
         create_jump_keys="true"
         label="Highlighting and Visibility"
         name="Highlighting and Visibility"
         tear_off="true">
         <menu_item_check
                 label="Cheesy Beacon"
                 name="Cheesy Beacon">
                    <menu_item_check.on_check
                     function="CheckControl"
                     parameter="CheesyBeacon" />
                    <menu_item_check.on_click
                     function="ToggleControl"
                     parameter="CheesyBeacon" />
                </menu_item_check>
            <menu_item_check
             label="Hide Particles"
             name="Hide Particles"
             shortcut="control|alt|shift|=">
                <menu_item_check.on_check
                 function="View.CheckRenderType"
                 parameter="hideparticles" />
                <menu_item_check.on_click
                 function="View.ToggleRenderType"
                 parameter="hideparticles" />
            </menu_item_check>
            <menu_item_check
             label="Hide Selected"
             name="Hide Selected">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="HideSelectedObjects" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="HideSelectedObjects" />
            </menu_item_check>
            <menu_item_check
             label="Highlight Transparent"
             name="Highlight Transparent"
             shortcut="control|alt|T"
             use_mac_ctrl="true">
                <menu_item_check.on_check
                 function="View.CheckHighlightTransparent" />
                <menu_item_check.on_click
                 function="View.HighlightTransparent" />
            </menu_item_check>
            <menu_item_check
             label="Show Mouselook Crosshairs"
             name="ShowCrosshairs">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="ShowCrosshairs" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="ShowCrosshairs" />
            </menu_item_check>
  <!-- <menu
         create_jump_keys="true"
         label="Hover Tips"
         name="Hover Tips"
         tear_off="true">
            <menu_item_check
             label="Show Tips"
             name="Show Tips"
             shortcut="control|shift|T">
                <menu_item_check.on_check
                 function="View.CheckShowHoverTips" />
                <menu_item_check.on_click
                 function="View.ShowHoverTips" />
            </menu_item_check>

            <menu_item_separator/>

            <menu_item_check
             label="Show Land Tooltips"
             name="Land Tips">
                <menu_item_check.on_check
                 control="ShowLandHoverTip" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="ShowLandHoverTip" />
                <menu_item_check.on_enable
                 function="View.CheckShowHoverTips" />
            </menu_item_check>
           <menu_item_check
             label="Show Tips On All Objects"
             name="Tips On All Objects">
                <menu_item_check.on_check
                 control="ShowAllObjectHoverTip" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="ShowAllObjectHoverTip" />
                <menu_item_check.on_enable
                 function="View.CheckShowHoverTips" />
            </menu_item_check>
        </menu>-->

        </menu>

        <menu
         create_jump_keys="true"
         label="Rendering Types"
         name="Rendering Types"
         tear_off="true">
            <menu_item_check
             label="Simple"
             name="Rendering Type Simple"
             shortcut="control|alt|shift|1">
                <menu_item_check.on_check
                 function="Advanced.CheckRenderType"
                 parameter="simple" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRenderType"
                 parameter="simple" />
            </menu_item_check>
            <menu_item_check
             label="Alpha"
             name="Rendering Type Alpha"
             shortcut="control|alt|shift|2">
                <menu_item_check.on_check
                 function="Advanced.CheckRenderType"
                 parameter="alpha" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRenderType"
                 parameter="alpha" />
            </menu_item_check>
            <menu_item_check
             label="Tree"
             name="Rendering Type Tree"
             shortcut="control|alt|shift|3">
                <menu_item_check.on_check
                 function="Advanced.CheckRenderType"
                 parameter="tree" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRenderType"
                 parameter="tree" />
            </menu_item_check>
            <menu_item_check
             label="Avatars"
             name="Rendering Type Character"
             shortcut="control|alt|shift|4">
                <menu_item_check.on_check
                 function="Advanced.CheckRenderType"
                 parameter="character" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRenderType"
                 parameter="character" />
            </menu_item_check>
            <menu_item_check
             label="Surface Patch"
             name="Rendering Type Surface Patch"
             shortcut="control|alt|shift|5">
                <menu_item_check.on_check
                 function="Advanced.CheckRenderType"
                 parameter="surfacePatch" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRenderType"
                 parameter="surfacePatch" />
            </menu_item_check>
            <menu_item_check
             label="Sky"
             name="Rendering Type Sky"
             shortcut="control|alt|shift|6">
                <menu_item_check.on_check
                 function="Advanced.CheckRenderType"
                 parameter="sky" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRenderType"
                 parameter="sky" />
            </menu_item_check>
            <menu_item_check
             label="Water"
             name="Rendering Type Water"
             shortcut="control|alt|shift|7">
                <menu_item_check.on_check
                 function="Advanced.CheckRenderType"
                 parameter="water" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRenderType"
                 parameter="water" />
            </menu_item_check>
            <menu_item_check
             label="Ground"
             name="Rendering Type Ground"
             shortcut="control|alt|shift|8">
                <menu_item_check.on_check
                 function="Advanced.CheckRenderType"
                 parameter="ground" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRenderType"
                 parameter="ground" />
            </menu_item_check>
            <menu_item_check
             label="Volume"
             name="Rendering Type Volume"
             shortcut="control|alt|shift|9">
                <menu_item_check.on_check
                 function="Advanced.CheckRenderType"
                 parameter="volume" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRenderType"
                 parameter="volume" />
            </menu_item_check>
            <menu_item_check
             label="Grass"
             name="Rendering Type Grass"
             shortcut="control|alt|shift|0">
                <menu_item_check.on_check
                 function="Advanced.CheckRenderType"
                 parameter="grass" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRenderType"
                 parameter="grass" />
            </menu_item_check>
            <menu_item_check
             label="Clouds"
             name="Rendering Type Clouds"
             shortcut="control|alt|shift|-">
                <menu_item_check.on_check
                 function="Advanced.CheckRenderType"
                 parameter="clouds" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRenderType"
                 parameter="clouds" />
            </menu_item_check>
            <menu_item_check
             label="Particles"
             name="Rendering Type Particles"
             shortcut="control|alt|shift|=">
                <menu_item_check.on_check
                 function="Advanced.CheckRenderType"
                 parameter="particles" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRenderType"
                 parameter="particles" />
            </menu_item_check>
            <menu_item_check
             label="Bump"
             name="Rendering Type Bump"
             shortcut="control|alt|shift|\">
                <menu_item_check.on_check
                 function="Advanced.CheckRenderType"
                 parameter="bump" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRenderType"
                 parameter="bump" />
            </menu_item_check>
        </menu>
        <menu
         create_jump_keys="true"
         label="Rendering Features"
         name="Rendering Features"
         tear_off="true">
            <menu_item_check
             label="UI"
             name="ToggleUI"
             shortcut="control|alt|F1">
                <menu_item_check.on_check
                 function="Advanced.CheckFeature"
                 parameter="ui" />
                <menu_item_check.on_click
                 function="Advanced.ToggleFeature"
                 parameter="ui" />
            </menu_item_check>
            <menu_item_check
             label="Selected"
             name="Selected"
             shortcut="control|alt|F2">
                <menu_item_check.on_check
                 function="Advanced.CheckFeature"
                 parameter="selected" />
                <menu_item_check.on_click
                 function="Advanced.ToggleFeature"
                 parameter="selected" />
            </menu_item_check>
            <menu_item_check
             label="Highlighted"
             name="Highlighted"
             shortcut="control|alt|F3">
                <menu_item_check.on_check
                 function="Advanced.CheckFeature"
                 parameter="highlighted" />
                <menu_item_check.on_click
                 function="Advanced.ToggleFeature"
                 parameter="highlighted" />
            </menu_item_check>
            <menu_item_check
             label="Dynamic Textures"
             name="Dynamic Textures"
             shortcut="control|alt|F4">
                <menu_item_check.on_check
                 function="Advanced.CheckFeature"
                 parameter="dynamic textures" />
                <menu_item_check.on_click
                 function="Advanced.ToggleFeature"
                 parameter="dynamic textures" />
            </menu_item_check>
            <menu_item_check
             label="Foot Shadows"
             name="Foot Shadows"
             shortcut="control|alt|F5">
                <menu_item_check.on_check
                 function="Advanced.CheckFeature"
                 parameter="foot shadows" />
                <menu_item_check.on_click
                 function="Advanced.ToggleFeature"
                 parameter="foot shadows" />
            </menu_item_check>
            <menu_item_check
             label="Fog"
             name="Fog"
             shortcut="control|alt|F6">
                <menu_item_check.on_check
                 function="Advanced.CheckFeature"
                 parameter="fog" />
                <menu_item_check.on_click
                 function="Advanced.ToggleFeature"
                 parameter="fog" />
            </menu_item_check>
            <menu_item_check
             label="Test FRInfo"
             name="Test FRInfo"
             shortcut="control|alt|F8">
                <menu_item_check.on_check
                 function="Advanced.CheckFeature"
                 parameter="fr info" />
                <menu_item_check.on_click
                 function="Advanced.ToggleFeature"
                 parameter="fr info" />
            </menu_item_check>
            <menu_item_check
             label="Flexible Objects"
             name="Flexible Objects"
             shortcut="control|alt|F9">
                <menu_item_check.on_check
                 function="Advanced.CheckFeature"
                 parameter="flexible" />
                <menu_item_check.on_click
                 function="Advanced.ToggleFeature"
                 parameter="flexible" />
            </menu_item_check>
        </menu>        
        <menu_item_check
         label="Use Plugin Read Thread"
         name="Use Plugin Read Thread">
            <menu_item_check.on_check
             function="CheckControl"
             parameter="PluginUseReadThread" />
            <menu_item_check.on_click
             function="ToggleControl"
             parameter="PluginUseReadThread" />
        </menu_item_check>
        <menu_item_call
         label="Clear Group Cache"
         name="ClearGroupCache">
            <menu_item_call.on_click
             function="Advanced.ClearGroupCache"
             parameter="ClearGroupCache" />
        </menu_item_call>
        <menu_item_check
         label="Mouse Smoothing"
         name="Mouse Smoothing">
            <menu_item_check.on_check
             function="CheckControl"
             parameter="MouseSmooth" />
            <menu_item_check.on_click
             function="ToggleControl"
             parameter="MouseSmooth" />
        </menu_item_check>
            <menu_item_call
             enabled="false"
             label="Release Keys"
             name="Release Keys">
                <menu_item_call.on_click
                 function="Tools.ReleaseKeys"
                 parameter="" />
                <menu_item_call.on_enable
                 function="Tools.EnableReleaseKeys"
                 parameter="" />
            </menu_item_call>
        <menu_item_separator/>

        <menu
         create_jump_keys="true"
         label="Shortcuts"
         name="Shortcuts"
         tear_off="true"
         visible="false">
            <!-- This second, alternative shortcut for Show Advanced Menu is for backward compatibility.  The main shortcut has been changed so it's Linux-friendly, where the old shortcut is typically eaten by the window manager. -->
            <menu_item_check
               label="Show Advanced Menu - legacy shortcut"
               name="Show Advanced Menu - legacy shortcut"
               shortcut="control|alt|D">
              <on_check
                 function="CheckControl"
                 parameter="UseDebugMenus" />
              <on_click
                 function="ToggleControl"
                 parameter="UseDebugMenus" />
            </menu_item_check>

            <menu_item_separator/>

            <menu_item_call
             label="Close Window"
             name="Close Window"
             shortcut="control|W">
                <menu_item_call.on_click
                 function="File.CloseWindow" />
                <menu_item_call.on_enable
                 function="File.EnableCloseWindow" />
            </menu_item_call>
            <menu_item_call
             label="Close All Windows"
             name="Close All Windows"
             shortcut="control|shift|W">
                <menu_item_call.on_click
                 function="File.CloseAllWindows" />
                <menu_item_call.on_enable
                 function="File.EnableCloseAllWindows" />
            </menu_item_call>

            <menu_item_separator/>

            <menu_item_call
             label="Snapshot to Disk"
             name="Snapshot to Disk"
             shortcut="control|`"
             use_mac_ctrl="true">
                <menu_item_call.on_click
                 function="File.TakeSnapshotToDisk" />
            </menu_item_call>

            <menu_item_separator/>

            <menu_item_call
             label="Mouselook"
             name="Mouselook"
             shortcut="M">
                <menu_item_call.on_click
                 function="View.Mouselook" />
                <menu_item_call.on_enable
                 function="View.EnableMouselook" />
            </menu_item_call>
            <menu_item_check
             label="Joystick Flycam"
             name="Joystick Flycam"
             shortcut="alt|shift|F">
                <menu_item_check.on_check
                 function="View.CheckJoystickFlycam" />
                <menu_item_check.on_click
                 function="View.JoystickFlycam" />
                <menu_item_check.on_enable
                 function="View.EnableJoystickFlycam" />
            </menu_item_check>
            <menu_item_call
             label="Reset View"
             name="Reset View"
             shortcut="Esc">
                <menu_item_call.on_click
                 function="View.ResetView" />
            </menu_item_call>
            <menu_item_call
             label="Look at Last Chatter"
             name="Look at Last Chatter"
             shortcut="control|\">
                <menu_item_call.on_click
                 function="View.LookAtLastChatter" />
                <menu_item_call.on_enable
                 function="View.EnableLastChatter" />
            </menu_item_call>

            <menu_item_separator/>

            <menu_item_call
             label="Zoom In"
             name="Zoom In"
             shortcut="control|0">
                <menu_item_call.on_click
                 function="View.ZoomIn" />
            </menu_item_call>
            <menu_item_call
             label="Zoom Default"
             name="Zoom Default"
             shortcut="control|9">
                <menu_item_call.on_click
                 function="View.ZoomDefault" />
            </menu_item_call>
            <menu_item_call
             label="Zoom Out"
             name="Zoom Out"
             shortcut="control|8">
                <menu_item_call.on_click
                 function="View.ZoomOut" />
            </menu_item_call>
        </menu> <!--Shortcuts-->

        <menu_item_separator/>

        <menu_item_call
         label="Show Debug Settings"
         name="Debug Settings">
            <menu_item_call.on_click
             function="Advanced.ShowDebugSettings"
             parameter="all" />
        </menu_item_call>
     <menu_item_check
         label="Show Develop Menu"
         name="Debug Mode"
         shortcut="control|alt|Q">
            <menu_item_check.on_check
             function="CheckControl"
             parameter="QAMode" />
            <menu_item_check.on_click
             function="ToggleControl"
             parameter="QAMode" />
        </menu_item_check>
    </menu>
    <menu
     create_jump_keys="true"
     label="Develop"
     name="Develop"
     tear_off="true"
     visible="false">
        <menu
         create_jump_keys="true"
         label="Consoles"
         name="Consoles"
         tear_off="true">
            <menu_item_check
             label="Texture Console"
             name="Texture Console"
             shortcut="control|shift|3"
             use_mac_ctrl="true">
                <menu_item_check.on_check
                 function="Advanced.CheckConsole"
                 parameter="texture" />
                <menu_item_check.on_click
                 function="Advanced.ToggleConsole"
                 parameter="texture" />
            </menu_item_check>            
            <menu_item_check
             label="Debug Console"
             name="Debug Console"
             shortcut="control|shift|4"
             use_mac_ctrl="true">
                <menu_item_check.on_check
                 function="Advanced.CheckConsole"
                 parameter="debug" />
                <menu_item_check.on_click
                 function="Advanced.ToggleConsole"
                 parameter="debug" />
            </menu_item_check>
            <menu_item_call
             label="Notifications Console"
             name="Notifications"
             shortcut="control|shift|5">
              <menu_item_call.on_click
               function="Floater.Toggle"
               parameter="notifications_console" />
            </menu_item_call>
            <menu_item_check
             label="Region Debug Console"
             name="Region Debug Console"
             shortcut="control|shift|`"
             use_mac_ctrl="true">
                <menu_item_check.on_check
                 function="Floater.Visible"
                 parameter="region_debug_console" />
                <menu_item_check.on_click
                 function="Floater.Toggle"
                 parameter="region_debug_console" />
            </menu_item_check>
            <menu_item_check
             label="Fast Timers"
             name="Fast Timers"
             shortcut="control|shift|9"
             use_mac_ctrl="true">
                <menu_item_check.on_check
                 function="Advanced.CheckConsole"
                 parameter="fast timers" />
                <menu_item_check.on_click
                 function="Advanced.ToggleConsole"
                 parameter="fast timers" />
            </menu_item_check>
            <menu_item_check
             label="Memory"
             name="Memory"
             shortcut="control|shift|0"
             use_mac_ctrl="true">
                <menu_item_check.on_check
                 function="Advanced.CheckConsole"
                 parameter="memory view" />
                <menu_item_check.on_click
                 function="Advanced.ToggleConsole"
                 parameter="memory view" />
            </menu_item_check>
            <menu_item_check
               label="Scene Statistics"
               name="Scene Statistics">
              <menu_item_check.on_check
               function="Advanced.CheckConsole"
               parameter="scene view" />
              <menu_item_check.on_click
               function="Advanced.ToggleConsole"
               parameter="scene view" />
            </menu_item_check>
            <menu_item_check
                 label="Scene Loading Monitor"
                 name="Scene Loading Monitor">
              <menu_item_check.on_check
               function="Advanced.CheckConsole"
               parameter="scene monitor" />
              <menu_item_check.on_click
               function="Advanced.ToggleConsole"
               parameter="scene monitor" />
            </menu_item_check>
            <menu_item_call
              enabled="false"
              visible="false"
              label="Texture Fetch Debug Console"
              name="Texture Fetch Debug Console">
              <menu_item_call.on_click
                function="Floater.Show"
                parameter="tex_fetch_debugger" />
              <on_enable
                function="Develop.SetTexFetchDebugger" />
              <on_visible
                function="Develop.SetTexFetchDebugger" />
            </menu_item_call>
          
            <menu_item_separator/>

            <menu_item_call
             label="Region Info to Debug Console"
             name="Region Info to Debug Console">
                <menu_item_call.on_click
                 function="Advanced.DumpInfoToConsole"
                 parameter="region" />
            </menu_item_call>
            <menu_item_call
             label="Group Info to Debug Console"
             name="Group Info to Debug Console">
                <menu_item_call.on_click
                 function="Advanced.DumpInfoToConsole"
                 parameter="group" />
            </menu_item_call>
            <menu_item_call
             label="Capabilities Info to Debug Console"
             name="Capabilities Info to Debug Console">
                <menu_item_call.on_click
                 function="Advanced.DumpInfoToConsole"
                 parameter="capabilities" />
            </menu_item_call>

            <menu_item_separator/>

            <menu_item_check
             label="Camera"
             name="Camera">
                <menu_item_check.on_check
                 function="Advanced.CheckHUDInfo"
                 parameter="camera" />
                <menu_item_check.on_click
                 function="Advanced.ToggleHUDInfo"
                 parameter="camera" />
            </menu_item_check>
            <menu_item_check
             label="Wind"
             name="Wind">
                <menu_item_check.on_check
                 function="Advanced.CheckHUDInfo"
                 parameter="wind" />
                <menu_item_check.on_click
                 function="Advanced.ToggleHUDInfo"
                 parameter="wind" />
            </menu_item_check>
            <menu_item_check
             label="FOV"
             name="FOV">
                <menu_item_check.on_check
                 function="Advanced.CheckHUDInfo"
                 parameter="fov" />
                <menu_item_check.on_click
                 function="Advanced.ToggleHUDInfo"
                 parameter="fov" />
            </menu_item_check>
            <menu_item_check
             label="Badge"
             name="Badge"
			 shortcut="alt|control|shift|h">
                <menu_item_check.on_check
                 function="Advanced.CheckHUDInfo"
                 parameter="badge" />
                <menu_item_check.on_click
                 function="Advanced.ToggleHUDInfo"
                 parameter="badge" />
            </menu_item_check>
        </menu>
        <menu
         create_jump_keys="true"
         label="Show Info"
         name="Display Info"
         tear_off="true">
            <menu_item_check
             label="Show Time"
             name="Show Time">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="DebugShowTime" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="DebugShowTime" />
            </menu_item_check>
          <menu_item_check
             label="Show Upload Cost"
             name="Show Upload Cost">
              <menu_item_check.on_check
             function="CheckControl"
             parameter="DebugShowUploadCost" />
            <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="DebugShowUploadCost" />
            </menu_item_check>
            <menu_item_check
             label="Show Render Info"
             name="Show Render Info">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="DebugShowRenderInfo" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="DebugShowRenderInfo" />
            </menu_item_check>
            <menu_item_check
             label="Show Avatar Render Info"
             name="Show Avatar Render Info">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="DebugShowAvatarRenderInfo" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="DebugShowAvatarRenderInfo" />
            </menu_item_check>
			  <menu_item_check
             label="Show Texture Info"
             name="Show Texture Info">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="DebugShowTextureInfo" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="DebugShowTextureInfo" />
            </menu_item_check>
            <menu_item_check
             label="Show Matrices"
             name="Show Matrices">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="DebugShowRenderMatrices" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="DebugShowRenderMatrices" />
            </menu_item_check>
            <menu_item_check
             label="Show Color Under Cursor"
             name="Show Color Under Cursor">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="DebugShowColor" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="DebugShowColor" />
            </menu_item_check>
            <menu_item_check
               label="Show Memory"
               name="Show Memory">
              <menu_item_check.on_check
               function="CheckControl"
               parameter="DebugShowMemory" />
              <menu_item_check.on_click
               function="ToggleControl"
               parameter="DebugShowMemory" />
            </menu_item_check>
	     <menu_item_check
               label="Show Private Mem Info"
               name="Show Private Mem Info">
              <menu_item_check.on_check
               function="CheckControl"
               parameter="DebugShowPrivateMem" />
              <menu_item_check.on_click
               function="ToggleControl"
               parameter="DebugShowPrivateMem" />
            </menu_item_check>

            <menu_item_separator/>

            <menu_item_check
             label="Show Updates to Objects"
             name="Show Updates"
             shortcut="control|alt|shift|U">
                <menu_item_check.on_check
                 function="Advanced.CheckShowObjectUpdates"
                 parameter="ObjectUpdates" />
                <menu_item_check.on_click
                 function="Advanced.ToggleShowObjectUpdates" />
            </menu_item_check>
        </menu>

        <menu_item_separator/>

        <menu
         create_jump_keys="true"
         label="Force an Error"
         name="Force Errors"
         tear_off="true">
            <menu_item_call
             label="Force Breakpoint"
             name="Force Breakpoint"
             shortcut="control|alt|shift|B">
                <menu_item_call.on_click
                 function="Advanced.ForceErrorBreakpoint" />
            </menu_item_call>
            <menu_item_call
             label="Force LLError And Crash"
             name="Force LLError And Crash">
                <menu_item_call.on_click
                 function="Advanced.ForceErrorLlerror" />
            </menu_item_call>
            <menu_item_call
             label="Force Bad Memory Access"
             name="Force Bad Memory Access">
                <menu_item_call.on_click
                 function="Advanced.ForceErrorBadMemoryAccess" />
            </menu_item_call>
            <menu_item_call
             label="Force Infinite Loop"
             name="Force Infinite Loop">
                <menu_item_call.on_click
                 function="Advanced.ForceErrorInfiniteLoop" />
            </menu_item_call>
            <menu_item_call
             label="Force Driver Crash"
             name="Force Driver Carsh">
                <menu_item_call.on_click
                 function="Advanced.ForceErrorDriverCrash" />
            </menu_item_call>
            <menu_item_call
             label="Force Software Exception"
             name="Force Software Exception">
                <menu_item_call.on_click
                 function="Advanced.ForceErrorSoftwareException" />
            </menu_item_call>
            <menu_item_call
             label="Force Disconnect Viewer"
             name="Force Disconnect Viewer">
                <menu_item_call.on_click
                 function="Advanced.ForceErrorDisconnectViewer" />
            </menu_item_call>
            <menu_item_call
             label="Simulate a Memory Leak"
             name="Memory Leaking Simulation">
               <menu_item_call.on_click
                function="Floater.Show"
                parameter="mem_leaking" />
               </menu_item_call>
        </menu>
        <menu
         create_jump_keys="true"
         label="Render Tests"
         name="Render Tests"
         tear_off="true">
            <menu_item_check
             label="Camera Offset"
             name="Camera Offset">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="CameraOffset" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="CameraOffset" />
            </menu_item_check>
            <menu_item_check
             label="Randomize Framerate"
             name="Randomize Framerate">
                <menu_item_check.on_check
                 function="Advanced.CheckRandomizeFramerate"
                 parameter="Randomize Framerate" />
                <menu_item_check.on_click
                 function="Advanced.ToggleRandomizeFramerate" />
            </menu_item_check>
            <menu_item_check
             label="Periodic Slow Frame"
             name="Periodic Slow Frame">
                <menu_item_check.on_check
                 function="Advanced.CheckPeriodicSlowFrame"
                 parameter="points" />
                <menu_item_check.on_click
                 function="Advanced.TogglePeriodicSlowFrame"
                 parameter="points" />
            </menu_item_check>
            <menu_item_check
             label="Frame Test"
             name="Frame Test">
                <menu_item_check.on_check
                 function="Advanced.CheckFrameTest"
                 parameter="Frame Test" />
                <menu_item_check.on_click
                 function="Advanced.ToggleFrameTest" />
            </menu_item_check>
          <menu_item_call
             label="Frame Profile"
             name="Frame Profile">
            <menu_item_call.on_click
             function="Advanced.ClickRenderProfile" />
          </menu_item_call>
            <menu_item_call
             label="Benchmark"
             name="Benchmark">
              <menu_item_call.on_click
               function="Advanced.ClickRenderBenchmark" />
          </menu_item_call>
        </menu>
      <menu
        create_jump_keys="true"
        label="Render Metadata"
        name="Render Metadata"
        tear_off="true">
        <menu_item_check
         label="Bounding Boxes"
         name="Bounding Boxes">
        <menu_item_check.on_check
         function="Advanced.CheckInfoDisplay"
         parameter="bboxes" />
        <menu_item_check.on_click
         function="Advanced.ToggleInfoDisplay"
         parameter="bboxes" />
        </menu_item_check>
        <menu_item_check
         label="Normals"
         name="Normals">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="normals" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="normals" />
        </menu_item_check>
        <menu_item_check
         label="Octree"
         name="Octree">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="octree" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="octree" />
        </menu_item_check>
        <menu_item_check
         label="Shadow Frusta"
         name="Shadow Frusta">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="shadow frusta" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="shadow frusta" />
        </menu_item_check>
        <menu_item_check
         label="Physics Shapes"
         name="Physics Shapes">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="physics shapes" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="physics shapes" />
        </menu_item_check>
        <menu_item_check
         label="Occlusion"
         name="Occlusion">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="occlusion" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="occlusion" />
        </menu_item_check>
        <menu_item_check
         label="Render Batches"
         name="Render Batches">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="render batches" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="render batches" />
        </menu_item_check>
        <menu_item_check
         label="Update Type"
         name="Update Type">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="update type" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="update type" />
        </menu_item_check>
        <menu_item_check
         label="Texture Anim"
         name="Texture Anim">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="texture anim" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="texture anim" />
        </menu_item_check>
        <menu_item_check
         label="Texture Priority"
         name="Texture Priority">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="texture priority" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="texture priority" />
        </menu_item_check>
        <menu_item_check
         label="Texture Area"
         name="Texture Area">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="texture area" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="texture area" />
        </menu_item_check>
        <menu_item_check
         label="Face Area"
         name="Face Area">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="face area" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="face area" />
        </menu_item_check>
        <menu_item_check
         label="LOD Info"
         name="LOD Info">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="lod info" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="lod info" />
        </menu_item_check>
        <menu_item_check
         label="Build Queue"
         name="Build Queue">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="build queue" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="build queue" />
        </menu_item_check>
        <menu_item_check
         label="Lights"
         name="Lights">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="lights" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="lights" />
        </menu_item_check>
        <menu_item_check
         label="Particles"
         name="Particles">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="particles" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="particles" />
        </menu_item_check>
        <menu_item_check
         label="Collision Skeleton"
         name="Collision Skeleton">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="collision skeleton" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="collision skeleton" />
        </menu_item_check>
        <menu_item_check
         label="Joints"
         name="Joints">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="joints" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="joints" />
        </menu_item_check>
        <menu_item_check
         label="Raycast"
         name="Raycast">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="raycast" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="raycast" />
        </menu_item_check>
		<menu_item_check
         label="Wind Vectors"
         name="Wind Vectors">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="wind vectors" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="wind vectors" />
        </menu_item_check>
        <menu_item_check
         label="Render Complexity"
         name="rendercomplexity">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="rendercomplexity" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="rendercomplexity" />
        </menu_item_check>
        <menu_item_check
         label="Attachment Bytes"
         name="attachment bytes">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="attachment bytes" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="attachment bytes" />
        </menu_item_check>
		<menu_item_check
         label="Sculpt"
         name="Sculpt">
          <menu_item_check.on_check
           function="Advanced.CheckInfoDisplay"
           parameter="sculpt" />
          <menu_item_check.on_click
           function="Advanced.ToggleInfoDisplay"
           parameter="sculpt" />
		</menu_item_check>
       <menu
         create_jump_keys="true"
         label="Texture Density"
         name="Texture Density"
         tear_off="true">
          <menu_item_check
           label="None"
           name="None">
            <menu_item_check.on_check
             function="Advanced.CheckDisplayTextureDensity"
             parameter="none" />
            <menu_item_check.on_click
             function="Advanced.SetDisplayTextureDensity"
             parameter="none" />
          </menu_item_check>
          <menu_item_check
           label="Current"
           name="Current">
            <menu_item_check.on_check
             function="Advanced.CheckDisplayTextureDensity"
             parameter="current" />
            <menu_item_check.on_click
             function="Advanced.SetDisplayTextureDensity"
             parameter="current" />
          </menu_item_check>
          <menu_item_check
           label="Desired"
           name="Desired">
            <menu_item_check.on_check
             function="Advanced.CheckDisplayTextureDensity"
             parameter="desired" />
            <menu_item_check.on_click
             function="Advanced.SetDisplayTextureDensity"
             parameter="desired" />
          </menu_item_check>
          <menu_item_check
           label="Full"
           name="Full">
            <menu_item_check.on_check
             function="Advanced.CheckDisplayTextureDensity"
             parameter="full" />
            <menu_item_check.on_click
             function="Advanced.SetDisplayTextureDensity"
             parameter="full" />
          </menu_item_check>
        </menu>
      </menu>
        <menu
         create_jump_keys="true"
         label="Rendering"
         name="Rendering"
         tear_off="true">
            <menu_item_check
             label="Axes"
             name="Axes">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="ShowAxes" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="ShowAxes" />
            </menu_item_check>
            <menu_item_check
             label="Tangent Basis"
             name="Tangent Basis">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="ShowTangentBasis" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="ShowTangentBasis" />
            </menu_item_check>
            <menu_item_call
             label="Selected Texture Info Basis"
             name="Selected Texture Info Basis"
             shortcut="control|alt|shift|T">
                <menu_item_call.on_click
                 function="Advanced.SelectedTextureInfo" />
            </menu_item_call>
            <menu_item_call
             label="Selected Material Info"
             name="Selected Material Info"
             shortcut="control|alt|shift|M">
                <menu_item_call.on_click
                 function="Advanced.SelectedMaterialInfo" />
            </menu_item_call>
            <menu_item_check
             label="Wireframe"
             name="Wireframe"
             shortcut="control|shift|R">
                <menu_item_check.on_check
                 function="Advanced.CheckWireframe"
                 parameter="Wireframe" />
                <menu_item_check.on_click
                 function="Advanced.ToggleWireframe" />
            </menu_item_check>
            <menu_item_check
             label="Object-Object Occlusion"
             name="Object-Object Occlusion"
             shortcut="control|shift|O">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="UseOcclusion" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="UseOcclusion" />
                <menu_item_check.on_enable
                 function="Advanced.EnableObjectObjectOcclusion" />
            </menu_item_check>
          <menu_item_separator />

          <menu_item_check
                       label="Advanced Lighting Model"
                       name="Advanced Lighting Model">
            <menu_item_check.on_check
             function="CheckControl"
             parameter="RenderDeferred" />
            <menu_item_check.on_click
             function="ToggleControl"
             parameter="RenderDeferred" />
            <menu_item_check.on_enable
                 function="Advanced.EnableRenderDeferred" />
          </menu_item_check>
          <menu_item_check
                       label="   Shadows from Sun/Moon/Projectors"
                       name="Shadows from Sun/Moon/Projectors">
            <menu_item_check.on_check
             function="Advanced.CheckRenderShadowOption"
             parameter="RenderShadowDetail" />
            <menu_item_check.on_click
             function="Advanced.ClickRenderShadowOption"
             parameter="RenderShadowDetail" />
            <menu_item_check.on_enable
                 function="Advanced.EnableRenderDeferredOptions" />
          </menu_item_check>
          <menu_item_check
                   label="   SSAO and Shadow Smoothing"
                   name="SSAO and Shadow Smoothing">
            <menu_item_check.on_check
             function="CheckControl"
             parameter="RenderDeferredSSAO" />
            <menu_item_check.on_click
             function="ToggleControl"
             parameter="RenderDeferredSSAO" />
            <menu_item_check.on_enable
                 function="Advanced.EnableRenderDeferredOptions" />
          </menu_item_check>
          <menu_item_separator />

          <menu_item_check
             label="Debug GL"
             name="Debug GL">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="RenderDebugGL" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="RenderDebugGL" />
            </menu_item_check>
            <menu_item_check
             label="Debug Pipeline"
             name="Debug Pipeline">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="RenderDebugPipeline" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="RenderDebugPipeline" />
            </menu_item_check>
            <menu_item_check
             label="Automatic Alpha Masks (deferred)"
             name="Automatic Alpha Masks (deferred)">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="RenderAutoMaskAlphaDeferred" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="RenderAutoMaskAlphaDeferred" />
            </menu_item_check>
            <menu_item_check
             label="Automatic Alpha Masks (non-deferred)"
             name="Automatic Alpha Masks (non-deferred)">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="RenderAutoMaskAlphaNonDeferred" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="RenderAutoMaskAlphaNonDeferred" />
            </menu_item_check>
            <menu_item_check
             label="Animation Textures"
             name="Animation Textures">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="AnimateTextures" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="AnimateTextures" />
            </menu_item_check>
            <menu_item_check
             label="Disable Textures"
             name="Disable Textures">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="TextureDisable" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="TextureDisable" />
            </menu_item_check>
            <menu_item_check
              label="Full Res Textures"
             name="Rull Res Textures">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="TextureLoadFullRes" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="TextureLoadFullRes" />
            </menu_item_check>
            <menu_item_check
             label="Render Attached Lights"
             name="Render Attached Lights">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="RenderAttachedLights" />
                <menu_item_check.on_click
                 function="Advanced.HandleAttachedLightParticles"
                 parameter="RenderAttachedLights" />
            </menu_item_check>
            <menu_item_check
             label="Render Attached Particles"
             name="Render Attached Particles">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="RenderAttachedParticles" />
                <menu_item_check.on_click
                 function="Advanced.HandleAttachedLightParticles"
                 parameter="RenderAttachedParticles" />
            </menu_item_check>
            <menu_item_check
             label="Hover Glow Objects"
             name="Hover Glow Objects">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="RenderHoverGlowEnable" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="RenderHoverGlowEnable" />
            </menu_item_check>
          <menu_item_separator />
          
          <menu_item_call
            enabled="true"
            label="Clear Cache Immediately"
            name="Cache Clear">
            <menu_item_call.on_click
             function="Develop.ClearCache" />
          </menu_item_call>
          
        </menu>

        <menu
         create_jump_keys="true"
         label="Network"
         name="Network"
         tear_off="true">
            <menu_item_check
             label="Pause Agent"
             name="AgentPause">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="AgentPause" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="AgentPause" />
            </menu_item_check>

            <menu_item_separator/>

            <menu_item_call
             label="Enable Message Log"
             name="Enable Message Log">
                <menu_item_call.on_click
                 function="Advanced.EnableMessageLog" />
            </menu_item_call>
            <menu_item_call
             label="Disable Message Log"
             name="Disable Message Log">
                <menu_item_call.on_click
                 function="Advanced.DisableMessageLog" />
            </menu_item_call>

            <menu_item_separator/>

            <menu_item_check
             label="Velocity Interpolate Objects"
             name="Velocity Interpolate Objects">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="VelocityInterpolate" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="VelocityInterpolate" />
            </menu_item_check>
            <menu_item_check
             label="Ping Interpolate Object Positions"
             name="Ping Interpolate Object Positions">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="PingInterpolate" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="PingInterpolate" />
            </menu_item_check>

            <menu_item_separator/>

            <menu_item_call
             label="Drop a Packet"
             name="Drop a Packet"
             shortcut="control|alt|L">
                <menu_item_call.on_click
                 function="Advanced.DropPacket" />
            </menu_item_call>
        </menu>
        <menu_item_call
         label="Dump Scripted Camera"
         name="Dump Scripted Camera">
            <menu_item_call.on_click
             function="Advanced.DumpScriptedCamera" />
        </menu_item_call>      
        <menu
         create_jump_keys="true"
         label="Recorder"
         name="Recorder"
         tear_off="true">
            <menu_item_call visible="false"
             label="Start event recording"
             name="Start event recording">
	      <menu_item_call.on_visible
		 function="displayViewerEventRecorderMenuItems" />
                <menu_item_call.on_click
                 function="Advanced.EventRecorder"
                 parameter="start recording" />
            </menu_item_call>
            <menu_item_call visible="false"
             label="Stop event recording"
             name="Stop event recording">
	      <menu_item_call.on_visible
		 function="displayViewerEventRecorderMenuItems" />
                <menu_item_call.on_click
                 function="Advanced.EventRecorder"
                 parameter="stop recording" />
            </menu_item_call>
            <menu_item_call visible="false"
             label="Playback event recording"
             name="Playback event recording">
	      <menu_item_call.on_visible
		 function="displayViewerEventRecorderMenuItems" />
                <menu_item_call.on_click
                 function="Advanced.EventRecorder"
                 parameter="start playback" />
            </menu_item_call>

            <menu_item_call
             label="Start Playback"
             name="Start Playback">
                <menu_item_call.on_click
                 function="Advanced.AgentPilot"
                 parameter="start playback" />
            </menu_item_call>
            <menu_item_call
             label="Stop Playback"
             name="Stop Playback">
                <menu_item_call.on_click
                 function="Advanced.AgentPilot"
                 parameter="stop playback" />
            </menu_item_call>
            <menu_item_check
             label="Loop Playback"
             name="Loop Playback">
                <menu_item_check.on_check
                 function="Advanced.CheckAgentPilotLoop"
                 parameter="loopPlayback" />
                <menu_item_check.on_click
                 function="Advanced.ToggleAgentPilotLoop" />
            </menu_item_check>
            <menu_item_call
             label="Start Record"
             name="Start Record">
                <menu_item_call.on_click
                 function="Advanced.AgentPilot"
                 parameter="start record" />
            </menu_item_call>
            <menu_item_call
             label="Stop Record"
             name="Stop Record">
                <menu_item_call.on_click
                 function="Advanced.AgentPilot"
                 parameter="stop record" />
            </menu_item_call>
        </menu>

        <menu
         create_jump_keys="true"
         label="World"
         name="DevelopWorld"
         tear_off="true">
            <menu_item_check
             label="Sim Sun Override"
             name="Sim Sun Override">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="SkyOverrideSimSunPosition" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="SkyOverrideSimSunPosition" />
            </menu_item_check>
            <menu_item_check
             label="Fixed Weather"
             name="Fixed Weather">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="FixedWeather" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="FixedWeather" />
            </menu_item_check>
            <menu_item_call
             label="Dump Region Object Cache"
             name="Dump Region Object Cache">
                <menu_item_call.on_click
                 function="Advanced.DumpRegionObjectCache" />
            </menu_item_call>
        </menu>
        <menu
         create_jump_keys="true"
         label="UI"
         name="UI"
         tear_off="true">
         <!--   <menu_item_check
             label="New Bottom Bar"
             name="New Bottom Bar">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="BottomPanelNew" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="BottomPanelNew" />
            </menu_item_check>-->
            <menu_item_call
             label="Media Browser Test"
             name="Web Browser Test">
                <menu_item_call.on_click
                 function="Advanced.WebBrowserTest"
                 parameter="http://secondlife.com/app/search/slurls.html"/>
            </menu_item_call>
          <menu_item_call
           label="Web Content Browser"
           name="Web Content Browser"
           shortcut="control|shift|Z">
            <menu_item_call.on_click
             function="Advanced.WebContentTest"
             parameter="https://callum-linden.s3.amazonaws.com/ceftests.html"/>
          </menu_item_call>
          <menu_item_call
           label="FB Connect Test"
           name="FB Connect Test">
            <menu_item_call.on_click
             function="Advanced.WebContentTest"
             parameter="https://cryptic-ridge-1632.herokuapp.com/"/>
          </menu_item_call>
          <menu_item_call
             label="Dump SelectMgr"
             name="Dump SelectMgr">
                <menu_item_call.on_click
                 function="Advanced.DumpSelectMgr" />
            </menu_item_call>
            <menu_item_call
             label="Dump Inventory"
             name="Dump Inventory">
                <menu_item_call.on_click
                 function="Advanced.DumpInventory" />
            </menu_item_call>
            <menu_item_call
             label="Dump Timers"
             name="Dump Timers">
                <menu_item_call.on_click
                 function="Advanced.DumpTimers" />
            </menu_item_call>
            <menu_item_call
             label="Dump Focus Holder"
             name="Dump Focus Holder">
                <menu_item_call.on_click
                 function="Advanced.DumpFocusHolder" />
            </menu_item_call>
            <menu_item_call
             label="Print Selected Object Info"
             name="Print Selected Object Info"
             shortcut="control|shift|P">
                <menu_item_call.on_click
                 function="Advanced.PrintSelectedObjectInfo" />
            </menu_item_call>
            <menu_item_call
             label="Print Agent Info"
             name="Print Agent Info"
             shortcut="shift|P">
                <menu_item_call.on_click
                 function="Advanced.PrintAgentInfo" />
            </menu_item_call>
            <menu_item_separator />

            <menu_item_check
             label="Debug SelectMgr"
             name="Debug SelectMgr">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="DebugSelectMgr" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="DebugSelectMgr" />
            </menu_item_check>
            <menu_item_check
             label="Debug Clicks"
             name="Debug Clicks">
                <menu_item_check.on_check
                 function="Advanced.CheckDebugClicks"
                 parameter="DebugClicks" />
                <menu_item_check.on_click
                 function="Advanced.ToggleDebugClicks"
                 parameter="DebugClicks" />
            </menu_item_check>
            <menu_item_check
             label="Debug Views"
             name="Debug Views">
                <menu_item_check.on_check
                 function="Advanced.CheckDebugViews" />
                <menu_item_check.on_click
                 function="Advanced.ToggleDebugViews" />
            </menu_item_check>
            <menu_item_check
             label="Debug Name Tooltips"
             name="Debug Name Tooltips">
                <menu_item_check.on_check
                 function="Advanced.CheckXUINameTooltips"
                 parameter="XUINameTooltips" />
                <menu_item_check.on_click
                 function="Advanced.ToggleXUINameTooltips" />
            </menu_item_check>
            <menu_item_check
             label="Debug Mouse Events"
             name="Debug Mouse Events">
                <menu_item_check.on_check
                 function="Advanced.CheckDebugMouseEvents"
                 parameter="MouseEvents" />
                <menu_item_check.on_click
                 function="Advanced.ToggleDebugMouseEvents" />
            </menu_item_check>
            <menu_item_check
             label="Debug Keys"
             name="Debug Keys">
                <menu_item_check.on_check
                 function="Advanced.CheckDebugKeys"
                 parameter="DebugKeys" />
                <menu_item_check.on_click
                 function="Advanced.ToggleDebugKeys" />
            </menu_item_check>
            <menu_item_check
             label="Debug WindowProc"
             name="Debug WindowProc">
                <menu_item_check.on_check
                 function="Advanced.CheckDebugWindowProc"
                 parameter="DebugWindowProc" />
                <menu_item_check.on_click
                 function="Advanced.ToggleDebugWindowProc"
                 parameter="DebugWindowProc" />
            </menu_item_check>
        </menu>
        <menu
         create_jump_keys="true"
         label="XUI"
         name="XUI"
         tear_off="true">
            <menu_item_call
               label="Reload Color Settings"
               name="Reload Color Settings">
              <menu_item_call.on_click
               function="Advanced.ReloadColorSettings" />
            </menu_item_call>
            <menu_item_call
             label="Show Font Test"
             name="Show Font Test">
                <menu_item_call.on_click
                 function="Floater.Show"
                 parameter="font_test" />
            </menu_item_call>
            <menu_item_check
             label="Show XUI Names"
             name="Show XUI Names">
                <menu_item_check.on_check
                 function="Advanced.CheckXUINames"
                 parameter="showUIname" />
                <menu_item_check.on_click
                 function="Advanced.ToggleXUINames" />
            </menu_item_check>
          <menu_item_call
           label="Send Test IMs"
           name="Send Test IMs">
            <menu_item_call.on_click
             function="Advanced.SendTestIMs" />
          </menu_item_call>
          <menu_item_call
           label="Flush Names Caches"
           name="Flush Names Caches">
            <menu_item_call.on_click
             function="Advanced.FlushNameCaches" />
          </menu_item_call>
        </menu>
        <menu
         create_jump_keys="true"
         label="Avatar"
         name="Character"
         tear_off="true">
            <menu
             create_jump_keys="true"
             label="Grab Baked Texture"
             name="Grab Baked Texture"
             tear_off="true">
                <menu_item_call
                 label="Iris"
                 name="Grab Iris">
                    <menu_item_call.on_click
                     function="Advanced.GrabBakedTexture"
                     parameter="iris" />
                    <menu_item_call.on_enable
                     function="Advanced.EnableGrabBakedTexture"
					 parameter="iris" />
                </menu_item_call>
                <menu_item_call
                 label="Head"
                 name="Grab Head">
                    <menu_item_call.on_click
                     function="Advanced.GrabBakedTexture"
                     parameter="head" />
                    <menu_item_call.on_enable
                     function="Advanced.EnableGrabBakedTexture"
					 parameter="head" />
                </menu_item_call>
                <menu_item_call
                 label="Upper Body"
                 name="Grab Upper Body">
                    <menu_item_call.on_click
                     function="Advanced.GrabBakedTexture"
                     parameter="upper" />
                    <menu_item_call.on_enable
                     function="Advanced.EnableGrabBakedTexture"
					 parameter="upper" />
                </menu_item_call>
                <menu_item_call
                 label="Lower Body"
                 name="Grab Lower Body">
                    <menu_item_call.on_click
                     function="Advanced.GrabBakedTexture"
                     parameter="lower" />
                    <menu_item_call.on_enable
                     function="Advanced.EnableGrabBakedTexture"
					 parameter="lower" />
                </menu_item_call>
                <menu_item_call
                 label="Skirt"
                 name="Grab Skirt">
                    <menu_item_call.on_click
                     function="Advanced.GrabBakedTexture"
                     parameter="skirt" />
                    <menu_item_call.on_enable
                     function="Advanced.EnableGrabBakedTexture"
					 parameter="skirt" />
                </menu_item_call>
            </menu>
            <menu
             create_jump_keys="true"
             label="Character Tests"
             name="Character Tests"
             tear_off="true">
                <menu_item_call
                 label="Appearance To XML"
                 name="Appearance To XML">
                    <menu_item_call.on_click
                     function="Advanced.AppearanceToXML" />
                </menu_item_call>
                <menu_item_call
                 label="Toggle Character Geometry"
                 name="Toggle Character Geometry">
                    <menu_item_call.on_click
                     function="Advanced.ToggleCharacterGeometry" />
                    <menu_item_call.on_enable
                     function="IsGodCustomerService" />
                </menu_item_call>
                <menu_item_call
                 label="Test Male"
                 name="Test Male">
                    <menu_item_call.on_click
                     function="Advanced.TestMale" />
                </menu_item_call>
                <menu_item_call
                 label="Test Female"
                 name="Test Female">
                    <menu_item_call.on_click
                     function="Advanced.TestFemale" />
                </menu_item_call>
                <menu_item_check
                 label="Allow Select Avatar"
                 name="Allow Select Avatar">
                    <menu_item_check.on_check
                     function="CheckControl"
                     parameter="AllowSelectAvatar" />
                    <menu_item_check.on_click
                     function="ToggleControl"
                     parameter="AllowSelectAvatar" />
                </menu_item_check>
            </menu>
            <menu
             create_jump_keys="true"
             label="Animation Speed"
             name="Animation Speed"
             tear_off="true">
                <menu_item_call
                 label="All Animations 10% Faster"
                 name="All Animations 10 Faster">
                    <menu_item_call.on_click
                     function="Advanced.AnimTenFaster" />
                </menu_item_call>
                <menu_item_call
                 label="All Animations 10% Slower"
                 name="All Animations 10 Slower">
                    <menu_item_call.on_click
                     function="Advanced.AnimTenSlower" />
                </menu_item_call>
                <menu_item_call
                 label="Reset All Animation Speed"
                 name="Reset All Animation Speed">
                    <menu_item_call.on_click
                     function="Advanced.AnimResetAll" />
                </menu_item_call>
				<menu_item_check
				 label="Slow Motion Animations"
				 name="Slow Motion Animations">
					<menu_item_check.on_check
					 function="CheckControl"
					 parameter="SlowMotionAnimation" />
					<menu_item_check.on_click
					 function="ToggleControl"
					 parameter="SlowMotionAnimation" />
				</menu_item_check>
            </menu>
            <menu_item_call
             label="Force Params to Default"
             name="Force Params to Default">
                <menu_item_call.on_click
                 function="Advanced.ForceParamsToDefault" />
            </menu_item_call>
            <menu_item_check
             label="Animation Info"
             name="Animation Info">
                <menu_item_check.on_check
                 function="Advanced.CheckAnimationInfo"
                 parameter="AnimationInfo" />
                <menu_item_check.on_click
                 function="Advanced.ToggleAnimationInfo"
                 parameter="" />
            </menu_item_check>
            <menu_item_check
             label="Show Look At"
             name="Show Look At">
                <menu_item_check.on_check
                 function="Advanced.CheckShowLookAt"
                 parameter="ShowLookAt" />
                <menu_item_check.on_click
                 function="Advanced.ToggleShowLookAt" />
            </menu_item_check>
            <menu_item_check
             label="Show Point At"
             name="Show Point At">
                <menu_item_check.on_check
                 function="Advanced.CheckShowPointAt"
                 parameter="ShowPointAt" />
                <menu_item_check.on_click
                 function="Advanced.ToggleShowPointAt" />
            </menu_item_check>
            <menu_item_check
             label="Debug Joint Updates"
             name="Debug Joint Updates">
                <menu_item_check.on_check
                 function="Advanced.CheckDebugJointUpdates"
                 parameter="DebugJointUpdates" />
                <menu_item_check.on_click
                 function="Advanced.ToggleDebugJointUpdates" />
            </menu_item_check>
            <menu_item_check
             label="Disable LOD"
             name="Disable LOD">
                <menu_item_check.on_check
                 function="Advanced.CheckDisableLOD"
                 parameter="DisableLOD" />
                <menu_item_check.on_click
                 function="Advanced.ToggleDisableLOD" />
            </menu_item_check>
            <menu_item_check
             label="Debug Character Vis"
             name="Debug Character Vis">
                <menu_item_check.on_check
                 function="Advanced.CheckDebugCharacterVis"
                 parameter="DebugCharacterVis" />
                <menu_item_check.on_click
                 function="Advanced.ToggleDebugCharacterVis" />
            </menu_item_check>
            <menu_item_check
             label="Show Collision Skeleton"
             name="Show Collision Skeleton">
                <menu_item_check.on_check
                 function="Advanced.CheckInfoDisplay"
                 parameter="collision skeleton" />
                <menu_item_check.on_click
                 function="Advanced.ToggleInfoDisplay"
                 parameter="collision skeleton" />
            </menu_item_check>
            <menu_item_check
             label="Show Bones"
             name="Show Bones">
                <menu_item_check.on_check
                 function="Advanced.CheckInfoDisplay"
                 parameter="joints" />
                <menu_item_check.on_click
                 function="Advanced.ToggleInfoDisplay"
                 parameter="joints" />
            </menu_item_check>
            <menu_item_check
             label="Display Agent Target"
             name="Display Agent Target">
                <menu_item_check.on_check
                 function="Advanced.CheckInfoDisplay"
                 parameter="agent target" />
                <menu_item_check.on_click
                 function="Advanced.ToggleInfoDisplay"
                 parameter="agent target" />
            </menu_item_check>
<!-- Appears not to exist anymore
            <menu_item_check
             label="Debug Rotation"
             name="Debug Rotation">
                <menu_item_check.on_check
                 function="CheckControl"
                 parameter="DebugAvatarRotation" />
                <menu_item_check.on_click
                 function="ToggleControl"
                 parameter="DebugAvatarRotation" />
            </menu_item_check> -->
-->
            <menu_item_call
             label="Dump Attachments"
             name="Dump Attachments">
                <menu_item_call.on_click
                 function="Advanced.DumpAttachments" />
            </menu_item_call>
            <menu_item_call
             label="Debug Avatar Textures"
             name="Debug Avatar Textures"
             shortcut="control|alt|shift|A">
                <menu_item_call.on_click
                 function="Advanced.DebugAvatarTextures" />
            </menu_item_call>
            <menu_item_call
             label="Dump Local Textures"
             name="Dump Local Textures"
             shortcut="alt|shift|M">
                <menu_item_call.on_click
                 function="Advanced.DumpAvatarLocalTextures" />
            </menu_item_call>
        </menu>

        <menu_item_separator/>

        <menu_item_check
         label="HTTP Textures"
         name="HTTP Textures">
            <menu_item_check.on_check
             function="CheckControl"
             parameter="ImagePipelineUseHTTP" />
            <menu_item_check.on_click
             function="ToggleControl"
             parameter="ImagePipelineUseHTTP" />
        </menu_item_check>
        <menu_item_call
         label="Compress Images"
         name="Compress Images">
            <menu_item_call.on_click
             function="Advanced.CompressImage" />
        </menu_item_call>

      <menu_item_call
         label="Enable Visual Leak Detector"
         name="Enable Visual Leak Detector">
        <menu_item_call.on_click
           function="Advanced.ToggleVisualLeakDetector" />
        </menu_item_call>
      
        <menu_item_check
         label="Output Debug Minidump"
         name="Output Debug Minidump">
            <menu_item_check.on_check
             function="CheckControl"
             parameter="SaveMinidump" />
            <menu_item_check.on_click
             function="ToggleControl"
             parameter="SaveMinidump" />
        </menu_item_check>
        <menu_item_check
         label="Console Window on next Run"
         name="Console Window">
            <menu_item_check.on_check
             function="CheckControl"
             parameter="ShowConsoleWindow" />
            <menu_item_check.on_click
             function="ToggleControl"
             parameter="ShowConsoleWindow" />
        </menu_item_check>
        <menu
         create_jump_keys="true"
         label="Set Logging Level"
         name="Set Logging Level"
         tear_off="true">
          <menu_item_check
            name="Debug"
            label="Debug">
            <menu_item_check.on_check
              function="Develop.CheckLoggingLevel"
              parameter="0" />
            <menu_item_check.on_click
             function="Develop.SetLoggingLevel"
             parameter="0" />
          </menu_item_check>
          <menu_item_check
            name="Info"
            label="Info">
            <menu_item_check.on_check
              function="Develop.CheckLoggingLevel"
              parameter="1" />
            <menu_item_check.on_click
             function="Develop.SetLoggingLevel"
             parameter="1" />
          </menu_item_check>
          <menu_item_check
            name="Warning"
            label="Warning">
            <menu_item_check.on_check
              function="Develop.CheckLoggingLevel"
              parameter="2" />
            <menu_item_check.on_click
             function="Develop.SetLoggingLevel"
             parameter="2" />
          </menu_item_check>
          <menu_item_check
            name="Error"
            label="Error">
            <menu_item_check.on_check
              function="Develop.CheckLoggingLevel"
              parameter="3" />
            <menu_item_check.on_click
             function="Develop.SetLoggingLevel"
             parameter="3" />
          </menu_item_check>
          <menu_item_check
            name="None"
            label="None">
            <menu_item_check.on_check
              function="Develop.CheckLoggingLevel"
              parameter="4" />
            <menu_item_check.on_click
             function="Develop.SetLoggingLevel"
             parameter="4" />
          </menu_item_check>
       </menu>

        <menu_item_separator/>

        <menu_item_call
         label="Request Admin Status"
         name="Request Admin Options"
         shortcut="control|alt|G">
            <menu_item_call.on_click
             function="Advanced.RequestAdminStatus" />
        </menu_item_call>
        <menu_item_call
         label="Leave Admin Status"
         name="Leave Admin Options"
         shortcut="control|alt|shift|G">
            <menu_item_call.on_click
             function="Advanced.LeaveAdminStatus" />
        </menu_item_call>
		<menu_item_check
         label="Show Admin Menu"
         name="View Admin Options">
            <menu_item_check.on_enable
             function="Advanced.EnableViewAdminOptions" />
            <menu_item_check.on_check
             function="Advanced.CheckViewAdminOptions"
             parameter="ViewAdminOptions" />
            <menu_item_check.on_click
             function="Advanced.ToggleViewAdminOptions" />
        </menu_item_check>
    </menu>
    <menu
     create_jump_keys="true"
     label="Admin"
     name="Admin"
     tear_off="true"
     visible="false">
        <menu
         create_jump_keys="true"
         label="Object"
         name="AdminObject"
         tear_off="true">
            <menu_item_call
             label="Take Copy"
             name="Admin Take Copy"
             shortcut="control|alt|shift|O">
                <menu_item_call.on_click
                 function="Admin.ForceTakeCopy" />
                <menu_item_call.on_enable
                 function="IsGodCustomerService" />
            </menu_item_call>
            <menu_item_call
             label="Force Owner To Me"
             name="Force Owner To Me">
                <menu_item_call.on_click
                 function="Admin.HandleObjectOwnerSelf" />
                <menu_item_call.on_enable
                 function="IsGodCustomerService" />
            </menu_item_call>
            <menu_item_call
             label="Force Owner Permissive"
             name="Force Owner Permissive">
                <menu_item_call.on_click
                 function="Admin.HandleObjectOwnerPermissive" />
                <menu_item_call.on_enable
                 function="IsGodCustomerService" />
            </menu_item_call>
            <menu_item_call
             label="Delete"
             name="Delete"
             shortcut="control|alt|shift|Del">
                <menu_item_call.on_click
                 function="Admin.HandleForceDelete" />
                <menu_item_call.on_enable
                 function="IsGodCustomerService" />
            </menu_item_call>
            <menu_item_call
             label="Lock"
             name="Lock"
             shortcut="control|alt|shift|L">
                <menu_item_call.on_click
                 function="Admin.HandleObjectLock" />
                <menu_item_call.on_enable
                 function="IsGodCustomerService" />
            </menu_item_call>
            <menu_item_call
             label="Get Assets IDs"
             name="Get Assets IDs"
             shortcut="control|alt|shift|I">
                <menu_item_call.on_click
                 function="Admin.HandleObjectAssetIDs" />
                <menu_item_call.on_enable
                 function="IsGodCustomerService" />
            </menu_item_call>
        </menu>
        <menu
         create_jump_keys="true"
         label="Parcel"
         name="Parcel"
         tear_off="true">
            <menu_item_call
             label="Force Owner To Me"
             name="Owner To Me">
                <menu_item_call.on_click
                 function="Admin.HandleForceParcelOwnerToMe" />
                <menu_item_call.on_enable
                 function="IsGodCustomerService" />
            </menu_item_call>
            <menu_item_call
             label="Set to Linden Content"
             name="Set to Linden Content"
             shortcut="control|alt|shift|C">
                <menu_item_call.on_click
                 function="Admin.HandleForceParcelToContent" />
                <menu_item_call.on_enable
                 function="IsGodCustomerService" />
            </menu_item_call>
            <menu_item_call
             label="Claim Public Land"
             name="Claim Public Land">
                <menu_item_call.on_click
                 function="Admin.HandleClaimPublicLand" />
                <menu_item_call.on_enable
                 function="IsGodCustomerService" />
            </menu_item_call>
        </menu>
        <menu
         create_jump_keys="true"
         label="Region"
         name="Region"
         tear_off="true">
            <menu_item_call
             label="Dump Temp Asset Data"
             name="Dump Temp Asset Data">
                <menu_item_call.on_click
                 function="Admin.HandleRegionDumpTempAssetData" />
                <menu_item_call.on_enable
                 function="IsGodCustomerService" />
            </menu_item_call>
            <menu_item_call
             label="Save Region State"
             name="Save Region State">
                <menu_item_call.on_click
                 function="Admin.OnSaveState" />
                <menu_item_call.on_enable
                 function="IsGodCustomerService" />
            </menu_item_call>
        </menu>
        <menu_item_call
         label="God Tools"
         name="God Tools">
            <menu_item_call.on_click
             function="Floater.Show"
             parameter="god_tools" />
            <menu_item_call.on_enable
             function="IsGodCustomerService" />
        </menu_item_call>
    </menu>
    <menu
     create_jump_keys="true"
     label="Admin"
     name="Deprecated"
     tear_off="true"
     visible="false">
        <menu
         create_jump_keys="true"
         label="Attach Object"
         mouse_opaque="false"
         name="Attach Object"
         tear_off="true" />
        <menu
         create_jump_keys="true"
         label="Detach Object"
         mouse_opaque="false"
         name="Detach Object"
         tear_off="true" />
        <menu
         create_jump_keys="true"
         label="Take Off Clothing"
         mouse_opaque="false"
         name="Take Off Clothing"
         tear_off="true">
            <menu_item_call
             label="Shirt"
             name="Shirt">
                <menu_item_call.on_click
                 function="Edit.TakeOff"
                 parameter="shirt" />
                <menu_item_call.on_enable
                 function="Edit.EnableTakeOff"
                 parameter="shirt" />
            </menu_item_call>
            <menu_item_call
             label="Pants"
             name="Pants">
                <menu_item_call.on_click
                 function="Edit.TakeOff"
                 parameter="pants" />
                <menu_item_call.on_enable
                 function="Edit.EnableTakeOff"
                 parameter="pants" />
            </menu_item_call>
            <menu_item_call
             label="Shoes"
             name="Shoes">
                <menu_item_call.on_click
                 function="Edit.TakeOff"
                 parameter="shoes" />
                <menu_item_call.on_enable
                 function="Edit.EnableTakeOff"
                 parameter="shoes" />
            </menu_item_call>
            <menu_item_call
             label="Socks"
             name="Socks">
                <menu_item_call.on_click
                 function="Edit.TakeOff"
                 parameter="socks" />
                <menu_item_call.on_enable
                 function="Edit.EnableTakeOff"
                 parameter="socks" />
            </menu_item_call>
            <menu_item_call
             label="Jacket"
             name="Jacket">
                <menu_item_call.on_click
                 function="Edit.TakeOff"
                 parameter="jacket" />
                <menu_item_call.on_enable
                 function="Edit.EnableTakeOff"
                 parameter="jacket" />
            </menu_item_call>
            <menu_item_call
             label="Gloves"
             name="Gloves">
                <menu_item_call.on_click
                 function="Edit.TakeOff"
                 parameter="gloves" />
                <menu_item_call.on_enable
                 function="Edit.EnableTakeOff"
                 parameter="gloves" />
            </menu_item_call>
            <menu_item_call
             label="Undershirt"
             name="Menu Undershirt">
                <menu_item_call.on_click
                 function="Edit.TakeOff"
                 parameter="undershirt" />
                <menu_item_call.on_enable
                 function="Edit.EnableTakeOff"
                 parameter="undershirt" />
            </menu_item_call>
            <menu_item_call
             label="Underpants"
             name="Menu Underpants">
                <menu_item_call.on_click
                 function="Edit.TakeOff"
                 parameter="underpants" />
                <menu_item_call.on_enable
                 function="Edit.EnableTakeOff"
                 parameter="underpants" />
            </menu_item_call>
            <menu_item_call
             label="Skirt"
             name="Skirt">
                <menu_item_call.on_click
                 function="Edit.TakeOff"
                 parameter="skirt" />
                <menu_item_call.on_enable
                 function="Edit.EnableTakeOff"
                 parameter="skirt" />
            </menu_item_call>
            <menu_item_call
             label="Alpha"
             name="Alpha">
                <menu_item_call.on_click
                 function="Edit.TakeOff"
                 parameter="alpha" />
                <menu_item_call.on_enable
                 function="Edit.EnableTakeOff"
                 parameter="alpha" />
            </menu_item_call>
            <menu_item_call
             label="Tattoo"
             name="Tattoo">
                <menu_item_call.on_click
                 function="Edit.TakeOff"
                 parameter="tattoo" />
                <menu_item_call.on_enable
                 function="Edit.EnableTakeOff"
                 parameter="tattoo" />
            </menu_item_call>
            <menu_item_call
             label="Physics"
             name="Physics">
                <menu_item_call.on_click
                 function="Edit.TakeOff"
                 parameter="physics" />
                <menu_item_call.on_enable
                 function="Edit.EnableTakeOff"
                 parameter="physics" />
            </menu_item_call>
            <menu_item_call
             label="All Clothes"
             name="All Clothes">
                <menu_item_call.on_click
                 function="Edit.TakeOff"
                 parameter="all" />
            </menu_item_call>
        </menu>
        <menu
         create_jump_keys="true"
         label="Help"
         name="DeprecatedHelp"
         tear_off="true">
            <menu_item_call
             label="Official Linden Blog"
             name="Official Linden Blog">
                <menu_item_call.on_click
                 function="PromptShowURL"
                 name="OfficialLindenBlog_url"
                 parameter="WebLaunchSupportWiki,http://blog.secondlife.com/" />
            </menu_item_call>
            <menu_item_call
             label="Scripting Portal"
             name="Scripting Portal">
                <menu_item_call.on_click
                 function="PromptShowURL"
                 name="ScriptingPortal_url"
                 parameter="WebLaunchLSLWiki,http://wiki.secondlife.com/wiki/LSL_Portal" />
            </menu_item_call>
            <menu
             create_jump_keys="true"
             label="Bug Reporting"
             name="Bug Reporting"
             tear_off="true">
                <menu_item_call
                 label="Public Issue Tracker"
                 name="Public Issue Tracker">
                    <menu_item_call.on_click
                     function="PromptShowURL"
                     name="PublicIssueTracker_url"
                     parameter="WebLaunchPublicIssue,http://jira.secondlife.com" />
                </menu_item_call>
                <menu_item_call
                 label="Public Issue Tracker Help"
                 name="Publc Issue Tracker Help">
                    <menu_item_call.on_click
                     function="PromptShowURL"
                     name="PublicIssueTrackerHelp_url"
                     parameter="WebLaunchPublicIssueHelp,http://wiki.secondlife.com/wiki/Issue_tracker" />
                </menu_item_call>

                <menu_item_separator/>

                <menu_item_call
                 label="Bug Reporting 101"
                 name="Bug Reporing 101">
                    <menu_item_call.on_click
                     function="PromptShowURL"
                     name="BugReporting101_url"
                     parameter="WebLaunchBugReport101,http://wiki.secondlife.com/wiki/Bug_Reporting_101" />
                </menu_item_call>
                <menu_item_call
                 label="Security Issues"
                 name="Security Issues">
                    <menu_item_call.on_click
                     function="PromptShowURL"
                     name="SecurityIssues_url"
                     parameter="WebLaunchSecurityIssues,http://wiki.secondlife.com/wiki/Security_issues" />
                </menu_item_call>
                <menu_item_call
                 label="QA Wiki"
                 name="QA Wiki">
                    <menu_item_call.on_click
                     function="PromptShowURL"
                     name="QAWiki_url"
                     parameter="WebLaunchQAWiki,http://wiki.secondlife.com/wiki/QA_Portal" />
                </menu_item_call>
            </menu>
        </menu>
    </menu>
</menu_bar>