function SendPageForm(){
	if (document.myform.sendtoaddress.value=="") {
		alert("Please enter the e-mail address to send this link to")
		document.myform.sendtoaddress.focus()
		return false
	}
	if (document.myform.sendtoaddress.value.length >0){
		i=document.myform.sendtoaddress.value.indexOf("@")
		j=document.myform.sendtoaddress.value.indexOf(".",i)
		k=document.myform.sendtoaddress.value.indexOf(",")
		kk=document.myform.sendtoaddress.value.indexOf(" ")
		jj=document.myform.sendtoaddress.value.lastIndexOf(".")+1
		len=document.myform.sendtoaddress.value.length
   
		if ((i>0) && (j>(i+1)) && (k==-1) && (kk==-1) && (len-jj >=2) && (len-jj<=3)) {
		} else {
			alert("Please enter a valid Email address.\n" + 
			document.myform.sendtoaddress.value + " is invalid.")
			document.myform.sendtoaddress.focus()	 
		return false}
	}
	if (document.myform.email.value=="") {
		alert("Please enter your e-mail address.")
		document.myform.email.focus()
		return false
	}
	if (document.myform.email.value.length >0){
		i=document.myform.email.value.indexOf("@")
		j=document.myform.email.value.indexOf(".",i)
		k=document.myform.email.value.indexOf(",")
		kk=document.myform.email.value.indexOf(" ")
		jj=document.myform.email.value.lastIndexOf(".")+1
		len=document.myform.email.value.length
   
		if ((i>0) && (j>(i+1)) && (k==-1) && (kk==-1) && (len-jj >=2) && (len-jj<=3)) {
		} else {
			alert("Please enter a valid Email address.\n" + 
			document.myform.email.value + " is invalid.")
			document.myform.email.focus()	 
		return false}
	}		
return true
}

function FeedbackForm(){
	if (document.myform.email.value=="") {
		alert("Please enter your e-mail address.")
		document.myform.email.focus()
		return false
	}
	if (document.myform.email.value.length >0){
		i=document.myform.email.value.indexOf("@")
		j=document.myform.email.value.indexOf(".",i)
		k=document.myform.email.value.indexOf(",")
		kk=document.myform.email.value.indexOf(" ")
		jj=document.myform.email.value.lastIndexOf(".")+1
		len=document.myform.email.value.length
   
		if ((i>0) && (j>(i+1)) && (k==-1) && (kk==-1) && (len-jj >=2) && (len-jj<=3)) {
		} else {
			alert("Please enter a valid Email address.\n" + 
			document.myform.email.value + " is invalid.")
			document.myform.email.focus()	 
		return false}
	}
	if (document.myform.subject.value=="") {
		alert("Please enter subject")
		document.myform.subject.focus()
		return false
	}
	if (document.myform.body.value=="") {
		alert("Please enter your message")
		document.myform.body.focus()
		return false
	}		
return true
}
