
function my_money_page_paging(tot_cnt, cur_page, page_row)
{
	PG = new Paging(tot_cnt, 'my_money_paging');
	PG.config = {
		thisPageStyle: 'font-weight: bold; color:#33B7FB',
		//otherPageStyle: 'color: #000000',
		itemPerPage: page_row,	// Listing cnt
		pagePerView: 5,		// Paging per number Block
		cur_page:cur_page
	}
	document.getElementById('my_money_paging_div').innerHTML = PG.toString();
}

function my_money_page_init()
{	
	Event.observe($('per_pg'), 'change', my_money_page_paging($('tot_cnt').value, $('cur_pg').value, $('per_pg').value));
}

function my_money_paging(num)
{
	$('cur_pg').value = num;
	var params = Form.serialize('my_money_form');
	callPage('/mypage/pay/my_money_list.jsp?'+params, 'index', my_money_page_init,'my_money_page_init');
}

function my_money(cmd)
{
	callPage('/mypage/pay/my_money_list.jsp?cmd='+cmd, 'index', my_money_page_init,'my_money_page_init');
}

