function switchImg(m_sImageName, m_sState)
{
	if (document.images)
	{
		imgSource = document[m_sImageName].src;
		if (m_sState == "on")
		{
			onState = imgSource.replace(/_off/i,"_on");
			document[m_sImageName].src = onState;
		}
		else 
		{
			offState = imgSource.replace(/_on/i,"_off");
			document[m_sImageName].src = offState;
		}
	}
}

if (document.images)
{
  aboutus_on = new Image(); aboutus_on.src = "images/aboutus_on.jpg";
  products_on = new Image(); products_on.src = "images/products_on.jpg";
  solutions_on = new Image(); solutions_on.src = "images/solutions_on.jpg";
  contact_on = new Image(); contact_on.src = "images/contact_on.jpg";
  enter_on = new Image(); enter_on.src = "images/splash_footer_enter_on.jpg";
}

function rollOn(imgName)
{
	if (document.images)
	{
		document[imgName].src = eval(imgName + '_on.src');
	}
}

function rollOff(imgName)
{
	if (document.images)
	{ 
		document[imgName].src = eval(imgName + '_off.src');
	}
}