$(document).ready(function () {
	if ( $('#boxError').lentgh != 0 ) {
		$("#boxError").delay(50).animate({"opacity": "1"}, 700);
	}
	$("form").submit(function() {
		$("#login-enter").attr("disabled", "disabled");
		$("#login-enter").replaceWith("<div id=\"login-load\"></div>");
		return true;
		//return false;
	});
});