function dothis (){ 
var theForm = document.forms.contact; 
textLength = theForm.name.value.length; 
textLength2 = theForm.name.value; 
if (textLength  < 1){ 
var msg = "Please ensure  Name is entered."; 
alert(msg); 
mycheck = "false"; 
return false;} 
textLength = theForm.telephone.value.length; 
textLength2 = theForm.telephone.value; 

if (textLength  < 1){ 
var msg = "Please ensure  Telephone is entered."; 
alert(msg); 
mycheck = "false"; 
return false;} 
textLength = theForm.email.value.length; 
textLength2 = theForm.email.value; 
if (textLength  < 1){ 
var msg = "Please ensure  Email Address is entered."; 
alert(msg); 
mycheck = "false"; 
return false;} 
 } 