
function verifyIsNull() {
	alert("test");
	return false;
}
function hintNullMsg(oId, msg) {
	var oValue = document.getElementById(oId).value;
	oValue = oValue.replace(" ", "");
	if (oValue == "") {
		alert(msg);
		return true;
	}
}
function class_verify(oId, msg) {
	this.oId = oId;//对象的Id
	this.msg = msg;//提示的信息
}
class_verify.prototype.isNull = function () {
	document.getElementById("btnSubmit").disabled=true;
	for (var i = 0, page = this.oId.length; i < page; i++) {
		var o = document.getElementById(this.oId[i]);
		var oValue = o.value.replace(" ", "");
		if (oValue == "") {
			alert(this.msg[i]);
			o.focus();
			document.getElementById("btnSubmit").disabled=false;
			return false;
		}
	}
	return true;
};
function listAllGKModel(model) {
	if (model == "modelid") {
		keyDetail.innerHTML = "<select id='keyword' name='keyword' style='width:150px'>"
		 + "<option value='407'>\u673a\u6784\u804c\u80fd</option>" 
		+ "<option value='411'>\u6cd5\u89c4\u89c4\u7ae0\u89c4\u8303</option>" 
		+ "<option value='412'>\u89c4\u5212\u8ba1\u5212</option>" 
		+ "<option value='430'>\u7edf\u8ba1\u4fe1\u606f</option>" 
		+ "<option value='413'>\u8d22\u653f\u9884\u7b97\u51b3\u7b97</option>" 
		+ "<option value='414'>\u884c\u653f\u4e8b\u4e1a\u6027\u6536\u8d39</option>" 
		+ "<option value='415'>\u653f\u5e9c\u96c6\u4e2d\u91c7\u8d2d\u9879\u76ee</option>" 
		+ "<option value='416'>\u6c34\u5229\u884c\u653f\u8bb8\u53ef</option>" 
		+ "<option value='417'>\u6c34\u5229\u91cd\u5927\u5efa\u8bbe\u9879\u76ee</option>" 
		+ "<option value='418'>\u6c34\u5229\u6276\u8d2b\u3001\u6559\u80b2\u7b49\u65b9\u9762</option>" 
		+ "<option value='419'>\u5e94\u6025\u9884\u6848\u3001\u9884\u8b66\u4fe1\u606f\u53ca\u5e94\u5bf9\u60c5\u51b5</option>" 
		+ "<option value='420'>\u6c34\u5229\u5b89\u5168\u751f\u4ea7\u60c5\u51b5</option>" 
		+ "<option value='421'>\u5de5\u4f5c\u52a8\u6001</option>" 
		+ "<option value='422'>\u9632\u6c5b\u6297\u65f1\u5de5\u4f5c</option>" 
		+ "<option value='423'>\u5176\u4ed6\u5e94\u4e3b\u52a8\u516c\u5f00\u7684\u653f\u5e9c\u4fe1\u606f</option>" 
		+ "</select>";
	} else {
		keyDetail.innerHTML = "<input name='keyword' id='keyword' type='text' style='width:150px;height:20px'/>";
	}
}


