function SwitchMenu(MnuName,Status,State,Img)
{
	Mnu1 = eval("Bg"+MnuName);
	Mnu2 = eval("FW"+MnuName);
	Mnu3 = eval("IMG"+MnuName);
	//alert ("IMG"+MnuName);
	//alert (Mnu3.src);
	//alert (Img);
	//alert (Mnu1);
	if (Status == 1) // off
	{
		if (State == 1) // if page selected is this one
		{
			Mnu1.style.backgroundColor="#D85402";
			Mnu3.src="http://www.xceedsoft.com/images/SousNav/"+Img;
		}
		else
		{
			Mnu1.style.backgroundColor="#D85402";
			Mnu3.src="http://www.xceedsoft.com/images/SousNav/"+Img;
			Mnu2.style.color="#FFFFFF";
		}
	}
	if (Status == 0) //on
	{
		if (State == 1) // if page selected is this one
		{
			Mnu1.style.backgroundColor="#019702";
			Mnu3.src="http://www.xceedsoft.com/images/SousNav/"+Img;
		}
		else
		{
			Mnu1.style.backgroundColor="#FFFFFF";
			Mnu3.src="http://www.xceedsoft.com/images/SousNav/"+Img;
			Mnu2.style.color="#000000";
		}
	}
}
