var logining = false;
function mover(object) {	
	var ss;
	var mm = document.getElementById("m_" + object);
	mm.className = "m_li_a";
	ss = document.getElementById("s_" + object);
	ss.style.display = "block";

}
function hidesubmen(target) {
	if (typeof(targer) == 'undefined') {
		var ss = document.getElementById("s_2");
		ss.style.display = "none";
	} else
		target.style.display = "none";
}

function blocksubmen(target) {
	target.style.display = "block";
}
function validateLogin(userCode, password, checkCode) {
	if (userCode.val() == "" || userCode.val() == "手机号/邮箱") {

		$.weeboxs.open("用户名不能为空", {
					title : 'TTS Notice',
					onopen : function() {
						$.weeboxs.close();
					},
					onok : function(box) {
						userCode.focus();
						$.weeboxs.close();
					},

					type : 'error'
				});

		return false
	}
	if (password.val() == "") {
		$.weeboxs.open("密码不能为空", {
					title : 'TTS Notice',
					onopen : function() {
						$.weeboxs.close();
					},
					onok : function(box) {
						password.focus();
						$.weeboxs.close();
					},
					type : 'error'
				});

		return false
	}
	if (checkCode.val() == "") {
		$.weeboxs.open("验证码不能为空", {
					title : 'TTS Notice',
					onopen : function() {
						$.weeboxs.close();
					},
					onok : function(box) {
						checkCode.focus();
						$.weeboxs.close();
					},
					type : 'error'
				});

		return false;
	}
	return true
}





