	function hide(element_id) {
		var table_row = document.getElementById(element_id);
		table_row.style.display="none";
	}
	function show(element_id) {
		var table_row = document.getElementById(element_id);
		table_row.style.display="";
	}
	function show_and_hide(element_id,image_id,open_image_path,close_image_path,section_row_id,bg_color,font_color,highlight_bg_color,highlight_font_color,number_of_font_elements,section_row_prefix,font_highlight_prefix) {
		var table_image;
		var table_row = document.getElementById(element_id);
		if (image_id != null) {
			table_image = document.getElementById(image_id);
		}
		if (section_row_prefix == null) {
			section_row_prefix = 'section_row_';
		}
		if (font_highlight_prefix == null) {
			font_highlight_prefix = 'font_highlight_';
		}

		if (table_row.style.display == 'none') {
			table_row.style.display="";
			if (table_image) {
				table_image.src = close_image_path;
				table_image.alt = "Close";
			}
			if (section_row_id) {
				var section_row = document.getElementById(section_row_prefix + section_row_id);
				section_row.style.background = highlight_bg_color;
			}
			for (i=1;i <= number_of_font_elements;i++) {
				if (section_row_id) {
					font_element = document.getElementById(font_highlight_prefix + section_row_id + "_" + i);
					if (font_element) {
						font_style = font_element.style;
						font_style.color = highlight_font_color;
					}
				}
			}
		} else {
			table_row.style.display="none";
			if (table_image) {
				table_image.src = open_image_path;
				table_image.alt = "Open";
			}
			
			if (section_row_id) {
				var section_row = document.getElementById(section_row_prefix + section_row_id);
				section_row.style.background = bg_color;
			}
			for (i=1;i <= number_of_font_elements;i++) {
				if (section_row_id) {
					font_element = document.getElementById(font_highlight_prefix + section_row_id + "_" + i);
					if (font_element) {
						font_style = font_element.style;
						font_style.color = font_color;
					}
				}
			}
		}
	}

	function show_all(row_id_text,image_id_text,section_id_text,open_image_path,close_image_path,bg_color,font_color,highlight_bg_color,highlight_font_color,number_of_font_elements,font_highlight_prefix) {
		var counter = 0;
		var table_row;
		var table_image;
		table_row = document.getElementById(row_id_text + counter);
		table_image = document.getElementById(image_id_text + counter);
		if (font_highlight_prefix == null) {
			font_highlight_prefix = 'font_highlight_';
		}
		while (table_row) {
			table_row.style.display="";
			if (table_image) {
				table_image.src = close_image_path;
				table_image.alt = "Close";
			}
			var section_row = document.getElementById(section_id_text + counter);
			if (section_row) {
				section_row.style.background = highlight_bg_color;
			}
			for (i=1;i <= number_of_font_elements;i++) {
				font_element = document.getElementById(font_highlight_prefix + counter + "_" + i);
				if (font_element) {
					font_style = font_element.style;
					font_style.color = highlight_font_color;
				}
			}
			counter = counter + 1;
			table_row = document.getElementById(row_id_text + counter);
			table_image = document.getElementById(image_id_text + counter);
		}
	}

	function hide_all(row_id_text,image_id_text,section_id_text,open_image_path,close_image_path,bg_color,font_color,highlight_bg_color,highlight_font_color,number_of_font_elements,font_highlight_prefix) {
		var counter = 0;
		var table_row;
		var table_image;
		table_row = document.getElementById(row_id_text + counter);
		table_image = document.getElementById(image_id_text + counter);
		if (font_highlight_prefix == null) {
			font_highlight_prefix = 'font_highlight_';
		}
		while (table_row) {
			table_row.style.display="none";
			if (table_image) {
				table_image.src = open_image_path;
				table_image.alt = "Open";
			}
			var section_row = document.getElementById(section_id_text + counter);
			if (section_row) {
				section_row.style.background = bg_color;
			}
			for (i=1;i <= number_of_font_elements;i++) {
				font_element = document.getElementById(font_highlight_prefix + counter + "_" + i);
				if (font_element) {
					font_style = font_element.style;
					font_style.color = font_color;
				}
			}
			counter = counter + 1;
			table_row = document.getElementById(row_id_text + counter);
			table_image = document.getElementById(image_id_text + counter);
		}
	}
	function vKPFooterFix() { }
