startList = function() {
   
	if (document.all && document.getElementById) {
		navRoot = document.getElementById("dmenu");
		for (i=0; i < navRoot.childNodes.length; i++) {
		
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
					
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
startList1 = function() {

	if (document.all && document.getElementById) {
		navRoot = document.getElementById("dmenu1");
		for (i=0; i < navRoot.childNodes.length; i++) {

			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";

				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
startList2 = function() {

	if (document.all && document.getElementById) {
		navRoot = document.getElementById("dmenu2");
		for (i=0; i < navRoot.childNodes.length; i++) {

			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";

				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}

/*
SB_Corp.html
*/
var totalMenu=11;
function toggleTree(menu,TOT)
{
resetTree(menu,TOT);
var id=document.getElementById(menu).style;
if(id.display=="none")
	id.display="block";
else
	id.display="none";

}

function resetTree(menu,TOT)
{

for(var i=1;i<=TOT;i++)
{
	var menu_="menu"+i;
	if(menu!=menu_)
	{
		if(document.getElementById(menu_).style.display!=undefined)
		{
	document.getElementById(menu_).style.display="none";
		}
	}
}
}

/*sb_corp.html
*/


function showImages(imgs)
{
	if(document.getElementById("gallary").src!=undefined)
	{
	document.getElementById("gallary").src="images.html?name="+imgs;
	}
}

/* xml for sb_corp.html*/
var xmlDoc;
var arr=new Array();
function loadXML()
{
	
//load xml file
// code for IE
if (window.ActiveXObject)
  {
  xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
  xmlDoc.async=false;
  xmlDoc.load("xml/note.xml");
 getmessage();
  }
// code for Mozilla, etc.
else if (document.implementation &&document.implementation.createDocument)
  {
  xmlDoc= document.implementation.createDocument("","",null);
  xmlDoc.load("xml/note.xml");
  xmlDoc.onload=getmessage
  }
else
  {
  alert('Your browser cannot handle this script');
  }
}
function getmessage()
{
for(var i=0;i<xmlDoc.documentElement.childNodes.length;i++)
{
 arr[i]=xmlDoc.documentElement.childNodes[i].firstChild.nodeValue;
}
}

function show(id)
{
if(document.getElementById("outerDisplay").innerHTML!=undefined)
	{
document.getElementById("outerDisplay").innerHTML=arr[id-1];
	}
}

/*function loadOuter(doc) {
srcFrame = document.getElementById("hiddenContent");
srcFrame.src = doc;
show(id);
}*/
