var l = new layerTool();
if (navigator.appName == "Netscape")
{	document.team.captureEvents(Event.MOUSEOVER);
	document.team.onmouseout=hide;
	document.team.onmouseover=show;
	document.pvtequity.captureEvents(Event.MOUSEOVER);
	document.pvtequity.onmouseout=hide;
	document.pvtequity.onmouseover=show;
	document.hedgefunds.captureEvents(Event.MOUSEOVER);
	document.hedgefunds.onmouseout=hide;
	document.hedgefunds.onmouseover=show;	
	//document.news.captureEvents(Event.MOUSEOVER);
	//document.news.onmouseout=hide;
	//document.news.onmouseover=show;
	//document.captureEvents(Event.MOUSEUP);
	//document.onmouseup=hidediv;
}

function layerTool()
{
	if(navigator.appName=="Netscape")
		this.layerProp=navProp;
	else
		this.layerProp=exProp;
}

function exProp()
{
		return document.all[arguments[0]].style;
}

function navProp()
{
	retval="";
	if (document.layers){
	for(var x=0;x<arguments.length;x++)
	{
		retval+="document.layers[\'" +arguments[x]+"\']";
		if(x!=arguments.length-1)
		retval+="." ;
	}
	return eval(retval);
	}else{
		return document.getElementById(arguments[0]).style
	}
}

function showdiv(layr1)
{
if (imagesloaded == 1)
{
	donthide=true;
	l.layerProp(layr1).visibility="visible";
	return true;
}
}

function hidediv()
{
if (imagesloaded==1)
{
	if(!donthide)
	{
		l.layerProp('team').visibility="hidden";
		l.layerProp('pvtequity').visibility="hidden";
		l.layerProp('hedgefunds').visibility="hidden";
		MyMouseOut();		
	}
}
}

function hide()
{
	donthide=false;
	no='true';
	window.clearTimeout;
	window.setTimeout("hidediv('"+no+"')",500);
}

function MyMouseOut()
{
if (imagesloaded == 1)
{
	document.team_.src='images/nav_team_nor.gif';
	document.pvtequity_.src='images/nav_privequ_nor.gif';
	document.hedgefunds_.src='images/nav_hedfun_nor.gif';
}
}

function show()
{
	donthide=true;
	no='false';
	window.clearTimeout;
}
var donthide=false;