
(function() {
var tree;
function treeInit() {
	tree = new YAHOO.widget.TreeView("nav_content");
	var root = tree.getRoot();            
	
	
        var dataObjWS5b3ccc516d4fbf351e63e3d11a0d3ed9997eb5html = 
        { label: "Administration API Reference",
        href:"WS5b3ccc516d4fbf351e63e3d11a0d3ed999-7eb5.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a0d3ed9997eb5html = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a0d3ed9997eb5html, 
        root, false);
        
        var dataObjWS5b3ccc516d4fbf351e63e3d11a0d3ed7c28000html = 
        { label: "Legal notices",
        href:"WS5b3ccc516d4fbf351e63e3d11a0d3ed7c2-8000.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a0d3ed7c28000html = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a0d3ed7c28000html, 
        root, false);
        
        var dataObjWS5b3ccc516d4fbf351e63e3d11a0d3ed7c27fffhtml = 
        { label: "Copyright",
        href:"WS5b3ccc516d4fbf351e63e3d11a0d3ed7c2-7fff.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a0d3ed7c27fffhtml = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a0d3ed7c27fffhtml, 
        WS5b3ccc516d4fbf351e63e3d11a0d3ed7c28000html, false);
        
	
	if (YAHOO.widget.TreeView.nodeCount > 2) {
        updateTOCClass();
		tree.draw();
		if ( typeof(currentTreeNode) != 'undefined' ) {
			syncTocUsingHref(currentTreeNode);
		}
	}
	else {
		hideElement("search");
		hideElement("col1");
	}
}

function syncTocUsingHref(currentHref) {
  currentNode = tree.getNodeByProperty("href", currentHref)
  if ((currentNode) && (!currentNode.isRoot())) {
	syncTocUsingNode(currentNode.parent);
  }
}

function syncTocUsingNode(currentNode) {
  if ((currentNode) && (!currentNode.isRoot())) {
	syncTocUsingNode(currentNode.parent);
	currentNode.expand();
  }
}
YAHOO.util.Event.onDOMReady(treeInit);
})();
