$(document).ready(function(){var n=$("#enter");$("a.enter").click(function(){return $("input",n).val(""),$("span.loginError",n).css("display","none"),!1}),$("input",n).keydown(function(){$("span.loginError",n).css("display","none")}),$("a.login",n).click(function(){var i=$("input[type='hidden'][name='__RequestVerificationToken']").val(),t=$("form",n),r={url:t.attr("action"),type:t.attr("method"),data:t.serialize()+"&__RequestVerificationToken="+i,xhrFields:{withCredentials:!0}};return $.ajax(r).done(function(t){t.Success?window.location.href=t.Forward:t.Message?(alert(t.Message),n.css("display","none")):$("span.loginError",n).css("display","inline")}),!1}),$("a.recover-password",n).click(function(){if(window.showModalDialog)window.showModalDialog($(this).attr("rel"),null,"center: yes; scroll:no; resizable: no; dialogWidth: 500px; dialogHeight: 325px; dialogTop: 400px; dialogLeft: 300px; status: no");else{var n=window.open($(this).attr("rel"),null,"toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=500px, height=325px, top=400px, left=300px");n.focus(),$("*").focus(function(){n&&!n.closed&&n.close()})}return!1}),$("#login").keydown(function(n){return n.which==13?($("a.login").click(),!1):!0}),$("#password").keydown(function(n){return n.which==13?($("a.login").click(),!1):!0}),$("#login").change(function(){this.value=$.trim(this.value)}),$("#password").change(function(){this.value=$.trim(this.value)})}),$(document).ready(function(){$("div.banner").each(function(){var n=$(this).children("table");$("img",n).length||$("object",n).length||$(this).hide()})})