function dtm_show(tabname, num) {
	for (i = 0; i < 50; i++) {
		tab = document.getElementById(tabname + "_tab_" + i);
		if (typeof tab == "undefined" || tab == null)
			break;
		tabContent = document.getElementById(tabname + "_content_" + i);
		if (typeof tabContent == "undefined" || tabContent == null)
			break;

		if (i == num) {
			tab.className = 'tab selected';
			tabContent.style.display = "block";
		} else {
			tab.className = 'tab';
			tabContent.style.display = "none";
		}
	}
}
