<script language="JavaScript">
function AreaProtetta() {
  location.href = document.getElementById('segreto').value + "1912";
}
</script>
Inserisci la password:<br/>
<input type="password" id="segreto"/;>
<input type="button" value="Entra!" onclick=AreaProtetta();>