var form_c = function()
{
	this.getIsValidGroup = function(group_i, switch_a)
	{
		for (var index_i = 0; index_i < switch_a.length; index_i++)
			if (switch_a[index_i] == group_i)
				return true;
	};

	this.getObjectCount = function(object_o)
	{
		var count_i = 0;

		for (var index_s in object_o)
			count_i++;

		return count_i;
	};

	this.setGroupSwitch = function(element_o, prefix_s, switch_o)
	{
		var group_o = {};
		var count_i = this.getObjectCount(switch_o);
		var selected_i = element_o.options[element_o.selectedIndex].value;

		for (var index_i = 1; index_i < (count_i + 1); index_i++)
			if (group_o = document.getElementById(prefix_s + index_i))
				group_o.style.display = this.getIsValidGroup(index_i, switch_o['i' + selected_i]) ? '' : 'none';
	};
};