Mys.noticeIndexList = function(config)
{
	Mys.noticeIndexList.superclass.constructor.call(this, config);
	
	this.on("move", function(start, maxRow){
		this.startLoading();
		Global.modelItem.getBoardList(this.boardID, this.boardType, start, maxRow, this.keyword, this.order, function(data){
			if(data && data.response.code == 100)
				this.update(data.response.item, data.response.total);
			else
				this.empty();
		}, this)
	}, this);
};

Ext.extend(Mys.noticeIndexList, Mys.TemplateList, {
	boardID : [16, 203],
	dir : "desc",
	order : "insert_date",
	className : "mys-notice-index",
	maxRow : 5,
	
	elTemplate : (new Ext.Template([
		'<div class="{className}" width="160" style="" border="0" cellspacing="0" cellpadding="0">',
			'<div class="{headerClassName}"></div>',
			'<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 class="{pagerClassName}"></div></td>',
		'</div>'
	])).compile(),
	
	headerTemplate : (new Ext.Template('<a href="cus_center/notice_list.htm"><img src="/images/main/tit_notice.gif" width="185" height="16" /></a>')).compile(),
	
	itemClass : Mys.noticeIndexItem
});