<!--
	function isDecimal(obj) {
		var iChars = ".0123456789";
		outText = obj.value
		for (var i = 0; i < obj.value.length; i++) {
			if (iChars.indexOf(obj.value.charAt(i)) == -1) {
				outText = outText.replace(obj.value.charAt(i),"");
			}
		}
		obj.value = outText;
	}

	function isInt(obj) {
		var iChars = "0123456789";
		outText = obj.value
		for (var i = 0; i < obj.value.length; i++) {
			if (iChars.indexOf(obj.value.charAt(i)) == -1) {
				outText = outText.replace(obj.value.charAt(i),"");
			}
		}
		obj.value = outText;
	}

	function checkMaxChars(object,MaxLen) {
		return (object.value.length <= MaxLen);		
	}

	function popUp(URL) {
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=640,height=480');");
	}

	function CheckEmail(strData) {
		if (strData == "") {
			return false;
		} else {
			var posAt = strData.indexOf("@")
			var strName = strData.substring(0, posAt)
			var strDomain = strData.substring(posAt+1, strData.length)
			var dotPos = strDomain.indexOf(".")
			var strExt = strDomain.substring(dotPos+1,strDomain.length)
			var strDomain = strDomain.substring(0,dotPos)
			if (strName=="" || strDomain=="" || strExt=="") {
				return false;
			} else {
				return true;
			}
		}
	}
-->