			function val_login() {
				if(
					$("#user_name").val().length<2
					||
					$("#user_password").val().length<2
				) {
					Sexy.alert("One of the required fields is not sufficient.");
				} else {
					document.forms["frm_login"].action="_scripts/xt_login.php";
					document.forms["frm_login"].submit();
				}
			}

			$(document).ready(
				function() {
					/* THE DOCUMENT LOCATION */
						loc=String(document.location);
					/* THE ERROR MESSAGE */
						if(loc.indexOf("err=")!=(-1)) {
							$('#div_error_login').show('slow');
						}
				}
			);