
function showContentDesc(modid, ind, pos)
{
		i = 0;
		switch(pos)
		{
			case "top":
				thisstyle=document.getElementById("menu_" + modid + "_" + ind).style.borderBottom;
				while (document.getElementById("content_" + modid + "_" + i) != null) {
					document.getElementById("content_" + modid + "_" + i).style.display = "none";
					document.getElementById("menu_" + modid + "_" + i).style.borderBottom = thisstyle;
					i++;
				}
				document.getElementById("menu_" + modid + "_" + ind).style.borderBottom = "none";
				break;
			case "bottom":
				thisstyle=document.getElementById("menu_" + modid + "_" + ind).style.borderTop;
				while (document.getElementById("content_" + modid + "_" + i) != null) {
					document.getElementById("content_" + modid + "_" + i).style.display = "none";
					document.getElementById("menu_" + modid + "_" + i).style.borderTop = thisstyle;
					i++;
				}
				document.getElementById("menu_" + modid + "_" + ind).style.borderTop = "none";
				break;
			case "right":
				thisstyle=document.getElementById("menu_" + modid + "_" + ind).style.borderLeft;
				while (document.getElementById("content_" + modid + "_" + i) != null) {
					document.getElementById("content_" + modid + "_" + i).style.display = "none";
					document.getElementById("menu_" + modid + "_" + i).style.borderLeft = thisstyle;
					i++;
				}
				document.getElementById("menu_" + modid + "_" + ind).style.borderLeft = "none";
				break;
			case "left":
			default:
				thisstyle=document.getElementById("menu_" + modid + "_" + ind).style.borderRight;
				while (document.getElementById("content_" + modid + "_" + i) != null) {
					document.getElementById("content_" + modid + "_" + i).style.display = "none";
					document.getElementById("menu_" + modid + "_" + i).style.borderRight = thisstyle;
					i++;
				}
				document.getElementById("menu_" + modid + "_" + ind).style.borderRight = "none";
				break;
		}
		document.getElementById("content_" + modid + "_" + ind).style.display = "inline";
}

