function do_login(){if($('input[name="hashed"]').val()==1&&$("#salted_hash").val()==0){$('input[name="password_out"]').val(hex_md5(hex_md5(unescape(encodeURIComponent($("#password").val())))+$('input[name="challenge"]').val()));$("#password").val("")}}$(document).ready(function(){if(jQuery().corner){$(".login_table").corner("12px")}$("#errormsg").effect("shake",{times:3},480);if($(".shake").length>0){$("#logincomment").effect("shake",{times:3},480)}$("#flashver").val(getFlashVersion());if($("#username").val()!=""){$("#password").focus();$("#password").select()}else{$("#username").focus()}$("#login_button").click(do_login)});