var stylestring = new String("test");
var nosupport = 6;

function highlightmenuitem(inputtext,menuitem,dirprefix)
{

	if (inputtext == "application")
	{
	stylestring = "leftappb";
	img = "/images/applicationdotclear.gif";
	document.getElementById('topapplication').className = "areasmenubapp";
	}

	if (inputtext == "hardware")
	{
	stylestring = "leftharb";
	img = "/images/hardwaredotclear.gif";
	document.getElementById('tophardware').className = "areasmenubhar";
	}

	if (inputtext == "integrated")
	{
	stylestring = "leftintb";
	img = "/images/integrateddotclear.gif";
	document.getElementById('topintegration').className = "areasmenubint";
	}

	if (inputtext == "network")
	{
	stylestring = "leftnetb";
	img = "/images/networkdotclear.gif";
	document.getElementById('topnetwork').className = "areasmenubnet";
	}

	if (inputtext == "service")
	{
	stylestring = "leftserb";
	img = "/images/servicedotclear.gif";
	document.getElementById('topservices').className = "areasmenubser";
	}
	
	if (inputtext == "support")
	{
	stylestring = "leftsupb";
	img = "/images/supportdotclear.gif";
	document.getElementById('topsupport').className = "areasmenubsup";
	}

	if (inputtext == "trading")
	{
	stylestring = "lefttrdb";
	img = "/images/tradingdotclear.gif";
	document.getElementById('toptrading').className = "areasmenubtrd";
	}

	if (inputtext == "training")
	{
	stylestring = "lefttrnb";
	img = "/images/trainingdotclear.gif";
	document.getElementById('toptraining').className = "areasmenubtrn";
	}

	if (inputtext == "corporate")
	{
	stylestring = "leftcorpb";
	img = "/images/corpdotclear.gif";
	}

	if (menuitem == "mnuitm1")
	{
		document.getElementById('mnuitm1').className = stylestring;
		document.getElementById('mnuimg1').src = dirprefix + img;
	}

	if (menuitem == "mnuitm2")
	{
		document.getElementById('mnuitm2').className = stylestring;
		document.getElementById('mnuimg2').src =  dirprefix + img;
	}

	if (menuitem == "mnuitm3")
	{
		document.getElementById('mnuitm3').className = stylestring;
		document.getElementById('mnuimg3').src =  dirprefix + img;
	}

	if (menuitem == "mnuitm4")
	{
		document.getElementById('mnuitm4').className = stylestring;
		document.getElementById('mnuimg4').src =  dirprefix + img;
	}

	if (menuitem == "mnuitm5")
	{
		document.getElementById('mnuitm5').className = stylestring;
		document.getElementById('mnuimg5').src =  dirprefix + img;
	}

	if (menuitem == "mnuitm6")
	{
		document.getElementById('mnuitm6').className = stylestring;
		document.getElementById('mnuimg6').src =  dirprefix + img;
	}

	if (menuitem == "mnuitm7")
	{
		document.getElementById('mnuitm7').className = stylestring;
		document.getElementById('mnuimg7').src =  dirprefix + img;
	}

	if (menuitem == "mnuitm8")
	{
		document.getElementById('mnuitm8').className = stylestring;
		document.getElementById('mnuimg8').src =  dirprefix + img;
	}
}

