
function doPage(_curPage) {
	if (loadDiv_html == "") {
		loadDiv_html = $("_information_list").innerHTML;
	}
	$("_information_list").innerHTML = loadDiv_html;
	var url = base + "/download!list.action";
	var params = "curPage=" + _curPage;
	var ajax = new Ajax.Request(url, {method:"post", parameters:params, onComplete:dealResponse});
	function dealResponse(_response) {
		switch (_response.responseText) {
		  case "params.error":
			alert("\u53c2\u6570\u4f20\u9012\u9519\u8bef!");
			break;
		  case "error":
			alert("\u7cfb\u7edf\u51fa\u9519\u4e86!");
			break;
		  default:
			$("_information_list").innerHTML = _response.responseText;
			break;
		}
	}
}


function ResourceImageTable(_id, _name, _tableName, _image, _path) {
	this.id = _id;
	this.name = _name;
	this.tableName = _tableName;
	this.image = _image;
	this.path = _path;
}
function ResourceDetail(_name, _tableName, _num, _clickCount) {
	this.name = _name;
	this.tableName = _tableName;
	this.num = _num;
	this.clickCount = _clickCount;
	this.toHrefString = function () {
		return "<li class='lil'><a href='javascript:void(0);' onclick='openResourceDetail(\"" + this.tableName + "\",\"" + this.num + "\");'>" + this.name + "</a></li>";
	};
}
