function clearForm(formIdent) { 
  document.getElementById(formIdent).reset();
  document.listsearch.submit();
}

function contactFormSend(form,url_ajax) {
  function ajax_response(resp) {
    resp.responseText.evalScripts();
    return false;
  }
   
  var target = "msg_"+form.id;
  var data = $(form).serialize();
	var url = url_ajax+'/contactform.php';
	var options = {method:"post",postBody:data,onComplete:ajax_response}
	new Ajax.Updater(target,url,options);
}

