﻿
		function ShowTab(vintTab) {
			document.getElementById("imgTab").src = "/Images/Tab" + vintTab + "Selected.jpg";

			var intLoop = 1;
			while (document.getElementById("divImage" + intLoop) != null) {
				if (intLoop == vintTab) {
					document.getElementById("divImage" + intLoop).style.display = "block";
					document.getElementById("divContent" + intLoop).style.display = "block";
				}
				else {
					document.getElementById("divImage" + intLoop).style.display = "none";
					document.getElementById("divContent" + intLoop).style.display = "none";
				}
				intLoop++;
			}
		}

