<!--


function Check()

{
   var atmark = 0;
   var piriod = 0;
   var cc;

	if (document.form1.send_____[1].checked  == "") {
          alert("Please Check the Input end.");
          return false; 
    }

	count = 0;
	for (i=2; i<=5; i++)
		if (document.form1.elements[i].checked) count++;
	if (count==0) {
		alert("Please select the Inquiry item.");
		document.form1.elements[2].focus();
		return false;
	}

    if(document.form1.FirstName.value==""){
        alert("Please input the First Name.");
        document.form1.FirstName.focus();
        return false;
    }

    if(document.form1.LastName_.value==""){
        alert("Please input the Last Name.");
        document.form1.LastName_.focus();
        return false;
    }


    if(document.form1.Email____.value==""){
        alert("Please input E-mail Address.");
        document.form1.Email____.focus();
        return false;
    }
    if (document.form1.Email____.value.indexOf(",") != -1) { 
        alert("[.] period [,] Comma make a mistake.");
        document.form1.Email____.focus();
       return false;
    }
    cc = document.form1.Email____.value.charAt(0);
    if (((cc < "0") || ("9" < cc)) && ((cc < "a") || ("z" < cc)) && ((cc < "A") || ("Z" < cc))) {
        alert("There is injustice in the mail address.");
        document.myform.Email____.focus();
        return(false);
    }
    cc = document.form1.Email____.value.charAt(document.form1.Email____.value.length - 1);
    if (((cc < "0") || ("9" < cc)) && ((cc < "a") || ("z" < cc)) && ((cc < "A") || ("Z" < cc))) {
        alert("There is injustice in the mail address.");
        document.form1.Email____.focus();
        return(false);
    }
    for (i = 1;i < document.form1.Email____.value.length;i++) {
        cc = document.form1.Email____.value.charAt(i);
        if (((cc < "0") || ("9" < cc)) &&
        ((cc < "a") || ("z" < cc)) &&
        ((cc < "A") || ("Z" < cc)) &&
        ("@" != cc) &&
        ("." != cc) &&
        ("_" != cc) &&
        ("-" != cc)) {
        alert("There is injustice in the mail address.")
        document.form1.Email____.focus();
        return(false);
        }
        else if (cc == "@") atmark++;
        else if (cc == ".") piriod++;
    }
    if (atmark < 1) {
        alert("[@] is not included in the mail address.");
        document.form1.Email____.focus();
        return(false);
    }
    else if (atmark > 1) {
        alert("There are a lot of [@] in the mail address.");
        document.form1.Email____.focus();
        return(false);
    }
    if (piriod < 1) {
        alert("The period is not included in the mail address.");
        document.form1.Email____.focus();
        return(false);
    }
    if(document.form1.Email_2__.value==''){
        alert("Please input the mail address for the confirm.");
       document.form1.Email_2__.focus();
        return(false);
    }
    var add=document.form1.Email____.value;
    if(add != document.form1.Email_2__.value){
        alert("The address for the confirmation is not corresponding to the mail address.Please confirm the mail address.");
        document.form1.Email____.focus();
        return(false);
    }


}

//-->

