<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jspf/taglibs.jsp"%>

<c:set var="uiid" value="${u:uiid()}"/>

<script>
	$(function () {
		var $tabs = $("#${uiid}").tabs();

		<c:url var="url" value="/user/plugin/bgbilling/proto/cerbercrypt.do">
			<c:param name="method" value="contractCards"/>
			<c:param name="billingId" value="${form.param.billingId}"/>
			<c:param name="contractId" value="${form.param.contractId}"/>
			<c:param name="moduleId" value="${form.param.moduleId}"/>
		</c:url>
		$tabs.tabs( "add", "${url}", "Карточки" );

		<c:url var="url" value="/user/plugin/bgbilling/proto/cerbercrypt.do">
			<c:param name="method" value="cardPacketList"/>
			<c:param name="billingId" value="${form.param.billingId}"/>
			<c:param name="contractId" value="${form.param.contractId}"/>
			<c:param name="moduleId" value="${form.param.moduleId}"/>
		</c:url>
		$tabs.tabs( "add", "${url}", "Пакеты" );
	})
</script>

<div id="${uiid}">
	<ul></ul>
</div>