-/* This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
+/* This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
and is published under the AGPL license. */
document.observe("dom:loaded", function() {
var form = $("loginform");
- form.focus();
+ form.setfocus();
form.observe("submit", function(evt) {
var loginput = $("login_user");