function Validate()
{
     var Msg="";

     if (document.getElementById("first_name").value.length == 0)
     { Msg=Msg + "* Your First Name\n"; }
	 
     if (document.getElementById("last_name").value.length == 0)
     { Msg=Msg + "* Your Last Name\n"; }

     if (document.getElementById("email").value.length == 0)
     { Msg=Msg + "* Your Email Address\n"; }
	 
     if (document.getElementById("confirm_email").value.length == 0)
     { Msg=Msg + "* The Confirmation of Your Email Address\n"; }

     if (document.getElementById("message").value.length == 0)
     { Msg=Msg + "* A Message\n"; }

     if (Msg != "")
     { alert('Sorry, but before this email can be sent,\nthe following field(s) must be filled-in:\n\n' + Msg); }


	else
     { return true; }

	return false;
}


if (typeof document.getElementById("contactusform").addEventListener != "undefined")
{ document.getElementById("contactusform").onsubmit=Validate; }

if (typeof document.getElementById("contactusform").attachEvent != "undefined")
{ document.getElementById("contactusform").attachEvent("onsubmit",Validate); }
