function toggle_more_info(checkbox_id, information_id)
{
	if (typeof(checkbox_id) == 'object')
	{
		checkbox_id = checkbox_id.htmlFor;
	}
	information_id = information_id || 'help_' + checkbox_id;
	var checkbox_obj = document.getElementById(checkbox_id);
	var information_obj = document.getElementById(information_id);
	if (checkbox_obj && information_obj)
	{
		information_obj.style.display = (checkbox_obj.checked) ? 'block' : 'none';
	}
}

function toggle(id) {
	var obj = document.getElementById(id);
	if(obj) {
		if(obj.style.display=="none") obj.style.display=""; else obj.style.display="none";
	}
	return false;
}

function checkForm(form) {
	var obj = document.getElementById("feedback_select");
	if(obj) {
		if(obj.correction_info.checked ) form.correction_info.value = obj.correction_info.checked ;
		if(obj.correction_typo.checked ) form.correction_typo.value = obj.correction_typo.checked ;
		if(obj.addition_info.checked   ) form.addition_info.value   = obj.addition_info.checked   ;
		if(obj.addition_image.checked  ) form.addition_image.value  = obj.addition_image.checked  ;
		if(obj.addition_profile.checked) form.addition_profile.value= obj.addition_profile.checked;
		if(obj.question_anime.checked  ) form.question_anime.value  = obj.question_anime.checked  ;
		if(obj.question_other.checked  ) form.question_other.value  = obj.question_other.checked  ;
		if(obj.suggestion.checked      ) form.suggestion.value      = obj.suggestion.checked      ;
		if(obj.comment.checked         ) form.comment.value         = obj.comment.checked         ;
	}
	return true;
}
