function soopaSetup() {
	var img, sh, sn
	for (var i = 0; (img = document.images[i]); i++) {
		if (img.getAttribute) {
			sn = img.getAttribute("src");
			sh = img.getAttribute("hsrc");
			if (sn != "" && sn != null) {
				img.n = new Image();
				img.n.src = img.src;
				if (sh != "" && sh != null) {
					img.h = new Image();
					img.h.src = sh;
					img.onmouseover = soopaSwapOn
					img.onmouseout  = soopaSwapOff
				}
			}
		}
	}
}

function soopaSwapOn() {
	this.src = this.h.src;
}

function soopaSwapOff() {
	this.src  = this.n.src;
}

function soopaSwapUp() {
	var ths = soopaSwapUp.img;
	ths.src = ths.n.src;
	if (ths.temp) document.onmouseup = ths.temp;
}

function Only_Character(e) {	
	var whichCode = (window.Event) ? e.which : e.keyCode;
	if (whichCode == 13) return true;  // Enter
	if (whichCode == 32) return true;  // Space ( )
	if (whichCode == 199) return true;  // Ç
	if (whichCode == 231) return true;  // ç
	if (whichCode == 246) return true;  // Ö
	if (whichCode == 214) return true;  // ö
	if (whichCode == 220) return true;  // Ü
	if (whichCode == 252) return true;  // ü
	if (whichCode == 286) return true;  // &ETH;
	if (whichCode == 287) return true;  // &eth;
	if (whichCode == 304) return true;  // &Yacute;
	if (whichCode == 305) return true;  // &yacute;
	if (whichCode == 350) return true;  // &THORN;
	if (whichCode == 351) return true;  // &thorn;
	if (whichCode < 45 ){return false;}
	if (whichCode > 57 && whichCode < 64){return false;}
	if (whichCode > 90 && whichCode < 97){return false;}
	if (whichCode > 122){return false;}
}

function Only_text(e) {	
	var whichCode = (window.Event) ? e.which : e.keyCode;
	if (whichCode == 13) return true;  // Enter
	if (whichCode == 32) return true;  // Space ( )
	if (whichCode == 45) return true;  // line (-)
	if (whichCode == 46) return true;  // dot (.)
	if (whichCode == 199) return true;  // Ç
	if (whichCode == 231) return true;  // ç
	if (whichCode == 246) return true;  // Ö
	if (whichCode == 214) return true;  // ö
	if (whichCode == 220) return true;  // Ü
	if (whichCode == 252) return true;  // ü
	if (whichCode == 286) return true;  // &ETH;
	if (whichCode == 287) return true;  // &eth;
	if (whichCode == 304) return true;  // &Yacute;
	if (whichCode == 305) return true;  // &yacute;
	if (whichCode == 350) return true;  // &THORN;
	if (whichCode == 351) return true;  // &thorn;
	if (whichCode < 48 ){return false;}
	if (whichCode > 57 && whichCode < 64){return false;}
	if (whichCode > 90 && whichCode < 97){return false;}
	if (whichCode > 122){return false;}
}

function Only_Numeric(e) {	
	var whichCode = (window.Event) ? e.which : e.keyCode;
	if (whichCode == 13) return true;  // Enter
	if (whichCode == 46) return true;  // dot (.)
	if (whichCode < 48 ) {return false;}
	if (whichCode > 57) {return false;}
}

function Only_domain(e) {	
	var whichCode = (window.Event) ? e.which : e.keyCode;
	if (whichCode == 13) return true;  // Enter
	if (whichCode == 45) return true;  // line (-)
	if (whichCode < 48 ){return false;}
	if (whichCode > 57 && whichCode < 64){return false;}
	if (whichCode > 90 && whichCode < 97){return false;}
	if (whichCode > 122){return false;}
}

function Only_IP(e) {	
	var whichCode = (window.Event) ? e.which : e.keyCode;
	if (whichCode == 13) return true;  // Enter
	if (whichCode == 46) return true;  // line (.)
	if (whichCode < 48){return false;}
	if (whichCode > 57){return false;}
}

function Only_domname(e) {	
	var whichCode = (window.Event) ? e.which : e.keyCode;
	if (whichCode == 13) return true;  // Enter
	if (whichCode == 45) return true;  // line (-)
	if (whichCode == 95) return true;  // line (_)
	if (whichCode == 46) return true;  // line (.)
	if (whichCode < 48){return false;}
	if (whichCode > 57 && whichCode < 64){return false;}
	if (whichCode > 90 && whichCode < 97){return false;}
	if (whichCode > 122){return false;}
}