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;
		}
	}
}



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');
	}
}