function onLoginClick(e) {
var form = new mini.Form("#loginWindow");
form.validate();
if (form.isValid() == false) return;
$("#loginWindow").hide();
var un = $("#username").val();
var up = $("#userpass").val();
$.post("userinfo/checkUser.do",{username:un,userpass:up});
}