
(function() {
var tree;
function treeInit() {
	tree = new YAHOO.widget.TreeView("nav_content");
	var root = tree.getRoot();            
	
	
        var dataObjWS5b3ccc516d4fbf351e63e3d11a070f7b4a7ff5html = 
        { label: "Adobe ActionScript 2.0 Language Reference",
        href:"WS5b3ccc516d4fbf351e63e3d11a070f7b4a-7ff5.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a070f7b4a7ff5html = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a070f7b4a7ff5html, 
        root, false);
        
        var dataObjWSE5CF3B55E22A4c31A5A94EBBCEE14173html = 
        { label: "Flash Media Server Client-side APIs",
        href:"WSE5CF3B55-E22A-4c31-A5A9-4EBBCEE14173.html",
        target:"_self"};
        var WSE5CF3B55E22A4c31A5A94EBBCEE14173html = 
        new YAHOO.widget.TextNode(dataObjWSE5CF3B55E22A4c31A5A94EBBCEE14173html, 
        WS5b3ccc516d4fbf351e63e3d11a070f7b4a7ff5html, false);
        
        var dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7f26html = 
        { label: "Camera class",
        href:"WS5b3ccc516d4fbf351e63e3d11a070f7ddf-7f26.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a070f7ddf7f26html = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7f26html, 
        WS5b3ccc516d4fbf351e63e3d11a070f7b4a7ff5html, false);
        
        var dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7f8bhtml = 
        { label: "Microphone class",
        href:"WS5b3ccc516d4fbf351e63e3d11a070f7ddf-7f8b.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a070f7ddf7f8bhtml = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7f8bhtml, 
        WS5b3ccc516d4fbf351e63e3d11a070f7b4a7ff5html, false);
        
        var dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7e11html = 
        { label: "MovieClip class",
        href:"WS5b3ccc516d4fbf351e63e3d11a070f7ddf-7e11.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a070f7ddf7e11html = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7e11html, 
        WS5b3ccc516d4fbf351e63e3d11a070f7b4a7ff5html, false);
        
        var dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7eachtml = 
        { label: "NetConnection class",
        href:"WS5b3ccc516d4fbf351e63e3d11a070f7ddf-7eac.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a070f7ddf7eachtml = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7eachtml, 
        WS5b3ccc516d4fbf351e63e3d11a070f7b4a7ff5html, false);
        
        var dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7edehtml = 
        { label: "NetStream class",
        href:"WS5b3ccc516d4fbf351e63e3d11a070f7ddf-7ede.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a070f7ddf7edehtml = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7edehtml, 
        WS5b3ccc516d4fbf351e63e3d11a070f7b4a7ff5html, false);
        
        var dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7ec4html = 
        { label: "SharedObject class",
        href:"WS5b3ccc516d4fbf351e63e3d11a070f7ddf-7ec4.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a070f7ddf7ec4html = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7ec4html, 
        WS5b3ccc516d4fbf351e63e3d11a070f7b4a7ff5html, false);
        
        var dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7de3html = 
        { label: "System class",
        href:"WS5b3ccc516d4fbf351e63e3d11a070f7ddf-7de3.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a070f7ddf7de3html = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7de3html, 
        WS5b3ccc516d4fbf351e63e3d11a070f7b4a7ff5html, false);
        
        var dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7de0html = 
        { label: "Video class",
        href:"WS5b3ccc516d4fbf351e63e3d11a070f7ddf-7de0.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a070f7ddf7de0html = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a070f7ddf7de0html, 
        WS5b3ccc516d4fbf351e63e3d11a070f7b4a7ff5html, false);
        
        var dataObjWS5b3ccc516d4fbf351e63e3d11a070f7a318000html = 
        { label: "Legal notices",
        href:"WS5b3ccc516d4fbf351e63e3d11a070f7a31-8000.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a070f7a318000html = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a070f7a318000html, 
        root, false);
        
        var dataObjWS5b3ccc516d4fbf351e63e3d11a070f7a317fffhtml = 
        { label: "Copyright",
        href:"WS5b3ccc516d4fbf351e63e3d11a070f7a31-7fff.html",
        target:"_self"};
        var WS5b3ccc516d4fbf351e63e3d11a070f7a317fffhtml = 
        new YAHOO.widget.TextNode(dataObjWS5b3ccc516d4fbf351e63e3d11a070f7a317fffhtml, 
        WS5b3ccc516d4fbf351e63e3d11a070f7a318000html, 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);
})();
