
// JavaScript Document

function checkInput(form) {

    msg = "Are you sure you want to send the following information?\n"


	// 名前
		
    if (!checkInputText(form.Name)) {

        alert("Please input your name");

        return false;

    }

    msg += "Name : " + form.Name.value + "\n";


	
	
	// Email (Required)

    if (!checkInputText(form.Email)) {

        alert("Please input your Email address");

        return false;

    }

    // Email (Format)

    if (!checkFormatEmail(form.Email)) {

        alert("Please input your Email address correctly.");

        return false;

    }

    msg += "Email Address : " + form.Email.value + "\n";
	
	
	msg += "Tel : " + form.Tel.value + "\n";
	
	msg += "Fax : " + form.Fax.value + "\n";
	
	
	
	// File

   // if (!checkInputfile(form.file)) {

   //     alert("Please attach your resume.");

    //    return false;

   // }
//    msg += "File : " + form.file.value + "\n";
	



    if (!confirm(msg)) {

        return false;

    }    

    return true;

}
