var xx
var isNav = (navigator.appName.indexOf("Netscape") !=-1);
var isIE = (navigator.appName.indexOf("Microsoft") !=-1);
md="off"
menu="off"
function openIt(x) 
{
	link2a="<a href='accounts_rec.htm' onmouseover='clearTimeout(xx)' onmouseout='closeMenu()'><img src='images/wwd_button_ar.gif' border='0'></a>"
	link2b="<a href='employee_train.htm' onmouseover='clearTimeout(xx)' onmouseout='closeMenu()'><img src='images/wwd_button_et.gif' border='0'></a>"
	link2c="<a href='interim_mgmt.htm' onmouseover='clearTimeout(xx)' onmouseout='closeMenu()'><img src='images/wwd_button_im.gif' border='0'></a>"
	link2d="<a href='bus_dev.htm' onmouseover='clearTimeout(xx)' onmouseout='closeMenu()'><img src='images/wwd_button_bd.gif' border='0'></a>"
	link2e="<a href='software_solutions.htm' onmouseover='clearTimeout(xx)' onmouseout='closeMenu()'><img src='images/wwd_button_ss.gif' border='0'></a>"
	link2f="<a href='home_infusion.htm' onmouseover='clearTimeout(xx)' onmouseout='closeMenu()'><img src='images/wwd_button_hi.gif' border='0'></a>"
	link2g="<a href='merg_acq.htm' onmouseover='clearTimeout(xx)' onmouseout='closeMenu()'><img src='images/wwd_button_ma.gif' border='0'></a>"
	link2h="<a href='ar_audit.htm' onmouseover='clearTimeout(xx)' onmouseout='closeMenu()'><img src='images/wwd_button_audit.gif' border='0'></a>"
	link3a="<a href='consultants.htm' onmouseover='clearTimeout(xx)' onmouseout='closeMenu()'><img src='images/exp_button_con.gif' border='0'></a>"
	link3b="<a href='projects.htm' onmouseover='clearTimeout(xx)' onmouseout='closeMenu()'><img src='images/exp_button_pro.gif' border='0'></a>"
	
	
	a=""
	b="<br>"
	c=""


	if (x==2)
	{
		text=a+link2a+b+link2b+b+link2c+b+link2d+b+link2e+link2f+b+link2g+b+link2h+b+c  //links should match the htm of course
		dropPos=158
	}
	if (x==3)
	{
		text=a+link3a+b+link3b+c  //links should match the htm of course
		dropPos=419
	}
	if(x==0)text="&nbsp;"
	
	
	//topPos=(((x-1)*22)+37)
	//linePos=(((x-1)*22)+39)

	if(isNav) 
	{
		document.theMenu.document.write(text)
		document.theMenu.document.close()
		document.theMenu.left=(dropPos)
		document.theMenu.top=123
		//document.theMenu.top=(topPos-(x*1))
  	}
	if(isIE) 
	{
		if(x==0)linePos=0
		theMenu.style.pixelLeft=(dropPos)
		//theMenu.style.pixelTop=(topPos-5)
		theMenu.style.pixelTop=(123)
		theMenu.innerHTML=text
   	}
}

function handlerMD()
{
	md="off"
	if (menu=="on")menu="off",md="on",openIt(0)
}

function closeMenu()
{
	xx=setTimeout("handlerMD()",1000)
}

function doIt(xx)
{
	if (md=="on") md="off",menu="on"
	if (menu=="off")menu="on",openIt(xx)
	else menu="off",openIt(0)
}

function menuOn()
{
	menu="on"
}

function checkIt(xx)
{
	if (menu=="on")openIt(xx)
}
