function styleChanger(element, className)
{
	element.className = className;
}

function show_inline(id)
{
	document.getElementById(id).style.display = 'inline';
}

function ournewsclick(id_str, news_id)
{
	var id_array = id_str.split(':');
	var main_check = document.getElementById(news_id);

	var checking = 'true';
	if (main_check.checked == true) checking = 'false';

	var i = 1;
	for (i=0; i < id_array.length; i++)
	{
		var el = document.getElementById(id_array[i]);
		el.checked = checking == 'true' ? false : true;

		el.disabled = checking == 'true' ? false : true;
	}

}
