<!--
 function getDL(n){
  if(document.forms['usr']){
   var getVars = "";
   var email = document.forms['usr'].f_mail.value
   while(email.match(/\s/)) email = email.replace(/\s+/,"");
   if (email.match(/^[a-zA-Z0-9_.+-]+@[^@]+[^@.]\.[a-zA-Z]{2,4}$/)){
    getVars = untidy(email,Math.floor(Math.random()*6.9)+3);
    getVars += document.forms['usr'].f_company.value? ":" + untidy(document.forms['usr'].f_company.value,Math.floor(Math.random()*6.9)+3) : "" ;
    getVars += document.forms['usr'].f_name.value? ":" + untidy(document.forms['usr'].f_name.value,Math.floor(Math.random()*6.9)+3) : "" ;
    window.location.href = "downloads.php?do=" + getVars + "&id=" + document.forms['usr'].f_id.value + "&dl=" + n;
   }else alert ("Bitte geben Sie eine gültige eMail-Adresse an!");
  } else window.location.href = "downloads.php?&dl=" + n;
 }
 
 function untidy(str,n){
  if(!n) n = 5;
  var digits = new Array();
  var str_coded = n;
  for(i = 0; i < n; i++) digits[i] = 10 + Math.floor(Math.random() * 89);
  str_coded += digits.join("");
  for(j = 0; j < str.length; j++) str_coded += (Math.floor(Math.random() * 8.9) + 1) * 1000 + str.charCodeAt(j) + digits[(j%digits.length)];
  return (str_coded);
 }
 
 function tidy(str,doreturn){
  var x = parseInt(str.charAt(0));
  var digits = str.substr(1, x * 2);
  var decoded_str = "";
  var coded_str = str.substr(x * 2 + 1, str.length - x * 2);
  for(n = m = 0; m < coded_str.length-4; n++){
   var m = n * 4 + 1;
   decoded_str += String.fromCharCode(coded_str.substr(m,3)-digits.substr((n%x) * 2, 2));
  }
  if(!doreturn) document.write(decoded_str);
  else return decoded_str;
 }
-->