﻿var lastParent=null;
var activeParent=null;
var activeChildrenBox=null;
function parentClick(obj)
{
    if (activeParent!=null)
    {
	    activeParent.className = "Style_Parent";
        activeChildrenBox.className = "Style_ChildrenBox";	
    }
	obj.className = "Style_ParentSelected";
	var childContainer = document.getElementById(obj.id +"Container");
    if (childContainer.innerHTML!="")	
    {
        childContainer.className= "Style_ChildrenBoxSelected";
    }
	activeParent = obj;  
	activeChildrenBox = childContainer;
}
var lastChild=null;
var activeChild=null;

function childClick(obj)
{	if (activeChild!=null)
	{
		
	}
activeChild = obj;  
}
