Mys.wareImageList = function(config)
{
	Mys.wareImageList.superclass.constructor.call(this, config);
	
	this.on("move", function(start, maxRow){
		this.startLoading();
		Global.modelItem.getIndexList(this.boardID.split(","), this.boardType, this.order, this.dir, this.basis, this.timePoint, this.range, start, maxRow, function(data){
			if(data && data.response.code == 100)
				this.update(data.response.item, data.response.total);
			else
				this.empty();
		}, this)
	}, this);
};

Ext.extend(Mys.wareImageList, Mys.TemplateList, {
	boardID : "21,22,23,24,25,26,27,28,29,30,31",
	boardType : 3,
	dir : "desc",
	order : "insert_date",
	
	className : "mys-ware-index",
	maxRow : 6,
	
	elTemplate : (new Ext.Template([
		'<div class="{className}">',
			'<div class="{bodyClassName}"></div><div style="text-align : center;" class="{emptyClassName}">내용이 없습니다.</div><div class="{loadingClassName}"><img class="mys-loading-img" src="/images/common/loadingss.gif"/></div>',
		'</div>'
	])).compile(),
	
	itemClass : Mys.wareImageItem
});