function KankoRankingData() {
	this.listCount = 0;
	this.provider = null;
	this.serial = null;
	this.name = null;
	this.subCategory = null;
	this.subCategoryName = null;
	this.init = function(xml) {
		this.listCount = xml.getElementsByTagName('datainfo').length;
		this.provider = new Array();
		this.serial = new Array();
		this.name = new Array();
		this.subCategory = new Array();
		this.subCategoryName = new Array();

		var dataList = xml.getElementsByTagName('datainfo');
		for (i = 0; i < this.listCount; i++) {
			this.name[i] = "";
			this.subCategory[i] = "";
			this.subCategoryName[i] = "";

			this.provider[i] = dataList[i].getAttribute('provider');
			this.serial[i] = dataList[i].getAttribute('id');
			for (j = 0; j < dataList[i].childNodes.length; j++) {
				var child = dataList[i].childNodes[j];
				if (!child.tagName) {
					continue;
				}
				if (child.tagName == 'name') {
					if(child.firstChild) {
						this.name[i] = child.firstChild.nodeValue;
					}
				}
				if (child.tagName == 'subcategory') {
					if(child.firstChild) {
						this.subCategory[i] = child.getAttribute('id');
						this.subCategoryName[i] = child.firstChild.nodeValue;
					}
				}
			}
		}

	}
	
	this.getListCount = function() {
		return this.listCount;
	}
	this.getProvider = function() {
		return this.provider;
	}
	this.getSerial = function() {
		return this.serial;
	}
	this.getName = function() {
		return this.name;
	}
	this.getSubCategory = function() {
		return this.subCategory;
	}
	this.getSubCategoryName = function() {
		return this.subCategoryName;
	}
}
