function submitContactForm()
{
	document.getElementById('bSend').enabled = "false"
	document.getElementById('txtPW').value = "ingetspam"
	document.getElementById('contactForm').submit();
	
}

function submitGuestbook()
{
	
	document.getElementById('bSend').enabled = "false";
	//document.getElementById('txt1').value = randomPassword(20)
	document.getElementById('pw').value = "ingetspam";
	document.getElementById('guestbookForm').submit();
}

function randomPassword(length)
{
  chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-;.%¤#@?+\{}[]''\?";
  pass = "";
  for(x=0;x<length;x++)
  {
    i = Math.floor(Math.random() * (chars.length-1));
    pass += chars.charAt(i);
  }
  return pass;
}
