	function AHDValidate()
	{
		i=0;
		for (tmp in document.forms)
		{
			if (document.forms[tmp]["action"] == "presariosecureformmail.php")
			{
				p = document.getElementById(document.forms[tmp]["id"]);
				fields = document.createElement("INPUT");
				fields.setAttribute("type","hidden");
				fields.setAttribute("name","fields");
				fields.setAttribute("id","fields" + i);
				val = "";
				for (tmp in document.forms[tmp])
				{
					val += "_" + tmp + "_,";
				}
				fields.setAttribute("value",val);
				p.appendChild(fields);
				i++;
			}
		}
	}
	AHDValidate();
