 function checkData (){
                                if (document.Form1.fname.value == "") {
                                        alert("Please fill in First Name.")
                                        document.Form1.fname.focus()
                                        return false}
										
								 if (document.Form1.lname.value == "") {
                                        alert("Please fill in Last Name.")
                                        document.Form1.lname.focus()
                                        return false}
										
								if (document.Form1.from.value == "") {
                                        alert("Please fill in e-mail address.")
                                        document.Form1.from.focus()
                                        return false}
								if (document.Form1.from.value!="") {
								if (document.Form1.from.value.indexOf("@")==-1 || document.Form1.from.value.indexOf(".")==-1 || document.Form1.from.value.indexOf(" ")!=-1 || document.Form1.from.value.length<6) {
								alert("Sorry, your email address is not valid.");document.Form1.from.select();return false
								}}
								
								 if (document.Form1.phone.value == "") {
                                        alert("Please fill in Phone Number.")
                                        document.Form1.phone.focus()
                                        return false}
								
		                                
                                else return getPermission();
                        }
function getPermission() {
        return window.confirm("Do you declare the the information you have supplied , is true to the best of your knowledge")
}
