<!--
function doFormValidation(){var txtName=document.getElementById('txtYourName');if(txtName!=null&&txtName.value!=null&&txtName.value=="")
{alert("Please enter your name.");return;}
var txtEmail=document.getElementById('txtEmail');if(txtEmail!=null&&txtEmail.value!=null&&txtEmail.value=="")
{alert("Please enter your email address.");return;}
var hdnReturnLink=document.getElementById('hdnReturnLink');if(hdnReturnLink!=null&&hdnReturnLink.value!=null&&hdnReturnLink.value!='')
{document.getElementById('hdnReturnLink').value=hdnReturnLink.value+'?SendReportTo='+txtEmail.value+'&Name='+txtName.value;}
var hdnEmailAddress=document.getElementById('hdnEmailAddress');if(hdnEmailAddress!=null&&hdnEmailAddress.value!=null&&hdnEmailAddress.value!='')
{document.getElementById('hdnEmailAddress').value=txtEmail.value;}
document.getElementById('theform').submit();}