<!-- hide me
function validateForm(){
var testresults;
var strFirstName = document.form.Fname.value;
var strLastName = document.form.Lname.value;
var strCompanyName = document.form.Company.value;
var strEmail = document.form.Email.value;
var strsecuritycode = document.form.securitycode.value;
var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
//var dhfygiennum=/(^\d+$)|(^\d+\.\d+$)/;
var telnum=/[\d\D]+$/;
if( strFirstName != "" && strLastName != "" && strCompanyName != "" && strEmail != "" && strsecuritycode != "" )
{
	testresults=true;
	
	if (!telnum.test(strsecuritycode))
	{
		alert("Security Code is incorrect!");
		testresults=false;
	}
	if (!filter.test(strEmail))
	{
		alert("Please input a valid email address!");
		testresults=false;
	}	
}
else
{
	var strAlert = "Please fill in";
	if(strFirstName == "")
	{
		strAlert = strAlert + " - First Name";
	}
	
	if(strLastName == "")
	{
		strAlert = strAlert + " - Last Name";
	}
	
	if(strCompanyName == "")
	{
		strAlert = strAlert + " - Company Name";
	}
	
	if(strEmail == "")
	{
		strAlert = strAlert + " - Email";
	}
	
	if(strsecuritycode == "")
	{
		strAlert = strAlert + " - Security Code";
	}
	alert(strAlert);
	testresults=false;
}
return (testresults);
}


/************************************/
function validateFormDownload(){
var testresults;
var strFirstName = document.myform.Fname.value;
var strLastName = document.myform.Lname.value;
var strEmail = document.myform.sender_email.value;
var strUrl = document.myform.sender_url.value;
var strsecuritycode = document.myform.securitycode.value;
var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
//var dhfygiennum=/(^\d+$)|(^\d+\.\d+$)/;
var telnum=/[\d\D]+$/;
if( strFirstName != "" &&strLastName != "" && strEmail != ""&& strUrl != "" && strsecuritycode != "")
{
	testresults=true;
	
	if (!telnum.test(strsecuritycode))
	{
		alert("Security Code is incorrect!");
		testresults=false;
	}
	if (!filter.test(strEmail))
	{
		alert("Please input a valid email address!");
		testresults=false;
	}	
}
else
{
	var strAlert = "Please fill in";
	if(strFirstName == "")
	{
		strAlert = strAlert + " - First Name";
	}
	
	if(strLastName == "")
	{
		strAlert = strAlert + " - Last Name";
	}
	
	if(strEmail == "")
	{
		strAlert = strAlert + " - Email";
	}
	
	if(strUrl == "")
	{
		strAlert = strAlert + " - Website Url";
	}
	
	if(strsecuritycode == "")
	{
		strAlert = strAlert + " - Security Code";
	}
	alert(strAlert);
	testresults=false;
}
return (testresults);
}

/************************************/
function validateBrochure(){
var testresults;
var strEmail = document.form1.Email.value;
var strsecuritycode = document.form1.securitycode.value;
var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
//var dhfygiennum=/(^\d+$)|(^\d+\.\d+$)/;
var telnum=/[\d\D]+$/;
if( strEmail != "" &&strsecuritycode != "")
{
	testresults=true;
	
	if (!telnum.test(strsecuritycode))
	{
		alert("Security Code is incorrect!");
		testresults=false;
	}
	if (!filter.test(strEmail))
	{
		alert("Please input a valid email address!");
		testresults=false;
	}	
}
else
{
	var strAlert = "Please fill in";
	if(strEmail == "")
	{
		strAlert = strAlert + " - Email";
	}
	
	if(strsecuritycode == "")
	{
		strAlert = strAlert + " - Security Code";
	}
	alert(strAlert);
	testresults=false;
}
return (testresults);
}

/************************************/
function validateDownload(){
var testresults;
var strFirstName = document.form2.Fname.value;
var strLastName = document.form2.Lname.value;
var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
//var dhfygiennum=/(^\d+$)|(^\d+\.\d+$)/;
var telnum=/[\d\D]+$/;
if( strFirstName != "" && strLastName != "" )
{
	testresults=true;
	
	if (!telnum.test(strsecuritycode))
	{
		alert("Security Code is incorrect!");
		testresults=false;
	}
	if (!filter.test(strEmail))
	{
		alert("Please input a valid email address!");
		testresults=false;
	}	
}
else
{
	var strAlert = "Please fill in";
	if(strFirstName == "")
	{
		strAlert = strAlert + " - First Name";
	}
	
	if(strLastName == "")
	{
		strAlert = strAlert + " - Last Name";
	}
	
	alert(strAlert);
	testresults=false;
}
return (testresults);
}


// show me-->