
$(function() {

    if (document.login_form) document.login_form.submit=function() {
				var postdata = {
						'userID': document.login_form.userID.value,
						'userPWD': document.login_form.userPWD.value
				};

				$.ajax({
						url: "/login/login_ajax.asp",
						cache: false,
						type: 'POST',
						dataType: 'html',
						data: postdata,
						timeout: 15000,
						error: function(xhr, ajaxOptions, thrownError){
								alert('connection error');
								$('#loginlayer').slideDown();
						},
						success: function(data){
						    $('body').append(data);
						}
				});

	    	return false;
    }
});
