function SwapButton(id, state)
	{
		if(state == "on")
			eval("document." + id + "Button.src='images/btn_" + id + "_sw.gif'");
		else if(state == "off")
			eval("document." + id + "Button.src='images/btn_" + id + ".gif'");
	}