<!--
function FieldCheck(){
    if( document.myform.name.value    == "" ||
	document.myform.mailadd.value    == "" ||
	document.myform.tel.value    == ""  ){
        alert("抜けている必須入力項目があります");
        return false;
    }
}
// -->
<!--
//サブウインドウオープン
function launch(address){
	Wina02=window.open(address,'source','scrollbars=1,resizable=1,width=350,height=300')
	Wina02.opener=self //NN2x用
	//NN3.0~ならサブウィンドウが開くときフォーカス(手前に)する。
	if(navigator.appVersion.charAt(0)>=3){Wina02.focus()}
}

// -->

<!--
function checkEmail(checkString)	{
	var newstr = "";
	var at = false;
	var dot = false;

if (checkString.indexOf("@") != -1) {at = true;}

else if (checkString.indexOf(".") != -1) {dot = true;}

for (var i = 0; i < checkString.length; i++) {ch = checkString.substring(i, i + 1)

if ((ch >= "A" && ch <= "Z") || (ch >= "a" && ch <= "z") || (ch == "@") || (ch == ".") || (ch == "_")
             				      || (ch == "-") || (ch >= "0" && ch <= "9")) {newstr += ch;if (ch == "@") {at=true;}if (ch == ".") {dot=true;} } }

if ((at == true) && (dot == true)) {return newstr;}

else {alert ("メールアドレスは半角で正しく入力してください。");return "";}

}
// -->

<!--
function number(checkString)	{
	var newstr = "";
	var at = false;
	var dot = false;

for (var i = 0; i < checkString.length; i++) {ch = checkString.substring(i, i + 1)

if ((ch == "-") || (ch >= "0" && ch <= "9")) {newstr += ch;if (ch >= "0" && ch <= "9") {at=true;}if  (ch >= "0" && ch <= "9") {dot=true;} } }

if ((at == true) && (dot == true)) {return newstr;}

else {alert ("郵便番号、電話番号は半角数字で入力してください。");return "";}

}

// -->