// JavaScript Document

	function showStatusText(str) {

		window.status = str;
	}

	function GoToUrl(url) {

		window.location.href = url;
	}

	function is_email(email) {

		var pattern = /^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+/;
		var flag = pattern.test(email);

		if (!flag) {
			return false;
		}
		else {
			return true;
		}
	}

	function is_number(value) {

		var checkOK = "0123456789";
		var i;
		var j;

		for (i = 0 ; value.length > i ; i++) {
			ch = value.charAt(i);

			for (j = 0 ; checkOK.length > j ; j++) {
				if (ch == checkOK.charAt(j)) {
					break;
				}
				if (j == checkOK.length) {
					return false;
				}
			}
		}

		return true;
	}

	function NewWindow(mypage, myname, w, h, scroll) {

		var winl = (screen.width - w) / 2;
		var wint = (screen.height - h) / 2;

		winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',noresize'
		win = window.open(mypage, myname, winprops);

		if (parseInt(navigator.appVersion) >= 4) {
			win.focus();
		}
	}
