 var triptype = {

	sel:		function(n) {
				for (q=1; q<=3; q++) document.getElementById("sTypeC"+q).className = "s_txt2";

				this.gobj("sTypeC"+n).className = "s_txt1";
				this.gobj("sType"+n).checked = true;

				if (n == 1) {
					this.gobj("typeT31").style.display = "none";
					this.gobj("typeT32").style.display = "none";

					this.gobj("typeT21").style.visibility = "visible";
					this.gobj("typeT22").style.visibility = "visible";
				}

				if (n == 2) {
					this.gobj("typeT31").style.display = "none";
					this.gobj("typeT32").style.display = "none";

					this.gobj("typeT21").style.visibility = "hidden";
					this.gobj("typeT22").style.visibility = "hidden";
				}

				if (n == 3) {
					this.gobj("typeT31").style.display = "";
					this.gobj("typeT32").style.display = "";

					this.gobj("typeT21").style.visibility = "visible";
					this.gobj("typeT22").style.visibility = "visible";
				}
			},

	gobj:		function (id) {
				return document.getElementById(id);
			}

 }
