function sendContact() {
	
	var reg = /^([a-zA-Z0-9_\.\-])+@(\[)?(a-zA-Z0-9_\.\-])*([a-zA-Z0-9]{2,})\.([a-zA-Z]{2,4}|[0-9]{1,3}\])$/;
	var email = $F('email');
	var name = $F('name');
	var text = $F('text');
	var request = $F('request');
	
	if(reg.test(email) && text) {
		new Ajax.Request(
			'contact.php',
			{
				method: 'post',
				parameters: {
					r: request,
					n: name,
					e: email,
					t: text
				},
				onSuccess: function() {
					$('form').update('<b>Vielen Dank!</b>');
				}
				
			}
		);
	}
	
}

function install (aEvent)
{
  var params = {
    "SMS Toolbar": { URL: aEvent.target.href,
             IconURL: aEvent.target.getAttribute("iconURL"),
             Hash: aEvent.target.getAttribute("hash"),
             toString: function () { return this.URL; }
    }
  };
  InstallTrigger.install(params);
  new Ajax.Request(
			'downloads.php',
			{	}
		);
  return false;
}