//<script>
function setActiveTab(active, inactive)
{
	btn1 = document.getElementById("tabBtn" + active);
	tab1 = document.getElementById("tabFolder" + active);
	btn2 = document.getElementById("tabBtn" + inactive);
	tab2 = document.getElementById("tabFolder" + inactive);
	
	tab1.style.display = "block";
	tab1.style.marginTop = "-1px";
	tab2.style.display = "none";
	tab2.style.marginTop = "-1px";
	btn1.style.background = "url(/images/content/tabActive.gif) top left no-repeat";
	btn1.style.fontWeight = "bold";
	btn1.style.color = "#007F47";
	btn2.style.background = "url(/images/content/tabInActive.gif) top left no-repeat";
	btn2.style.fontWeight = "normal";
	btn2.style.color = "#333";
}
function showCatFolder(id)
{
    return;
    childrenObj = document.getElementById(id);
    childrenObj.style.display = "block";
    if (childrenObj.style.top == "")
    {
        childrenObj.style.top = childrenObj.offsetTop - 60;
    }
}
function hideCatFolder(id)
{
    return;
    childrenObj = document.getElementById(id);
    childrenObj.style.display = "none";
}
function setSearchOption()
{
    i = window.event.srcElement.selectedIndex;
    if (i == 1)
    {
        document.getElementById("topSearchSimple").style.display = "block";
        document.getElementById("topSearchStore").style.display = "none";
    }
    else
    {
        document.getElementById("topSearchSimple").style.display = "none";
        document.getElementById("topSearchStore").style.display = "block";
    }
}
function runSearch()
{
	window.location.href='/content/store/default/root_site/shmode/10/idt/search.html';
}

function treeNodeProdOver(obj)
{
    obj.className = "treeNodeProdOver";
}

function treeNodeProdOut(obj)
{
    obj.className = "treeNodeProdOut";
}

function itemOverStyle(obj)
{
    obj.style.backgroundColor = "#CCC";
}

function itemOutStyle(obj)
{
    obj.style.backgroundColor = "#F3F2F0";
}

function systemMessage(IDMessage)
{
	var cont = document.getElementById(IDMessage);
	if (cont != null)
	{
	    if (cont.childNodes.length > 0)
	    {
            alert(cont.firstChild.nodeValue);
	    }
	}
}