<HTML>
<HEAD>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<style type="text/css">.my_style {font-family: Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; font-variant: normal; text-transform: none; color: #000000; border: none; }</style>        
<SCRIPT language=javascript src="/{appid}/libraries/js/mdfx.js"></SCRIPT>
</HEAD>
<BODY bgcolor="#ffffff" onLoad="parent.window.resizeTo({width},{height});ConstructTable()">
<FORM name="detail">
<DIV ID="grid" style="position:absolute;left:5px;top:5px;visibility:visible">	
	<table id="t0" border=0 cellspacing=0 cellpadding=0 width=100%>
		<tr>
			<td>
				<table id="t1" border=1 cellspacing=0 cellpadding=0 width=100% bordercolor="000000" sumary="This is the table" bgcolor="#FFFFFF">
					<thead></thead><tfoot></tfoot><tbody></tbody>
				</table>
			</td>
		</tr>
	<table>
</DIV>
<DIV ID="total" style="position:absolute;left:5px;top:5px;visibility:hidden">	
	<table id="results" border=1 cellspacing=0 cellpadding=0 width=20% bordercolor="000000" sumary="This is the table" bgcolor="#FFFFFF">
		<tr>
			<td>
				<input type="text" class="my_style" name="subtotal_Total" size="10" maxlength="8" readonly="yes">
			</td>
		</tr>
	</table>
</DIV>
<!--Master -------------------------------------------------->
<input type=hidden name="id_field" 	value="{id_field}">
<input type=hidden name="msf" 		value="{master_select_fields}">
<input type=hidden name="mlf" 		value="{master_labels_fields}">
<input type=hidden name="mif" 		value="{master_insert_fields}">
<input type=hidden name="msv" 		value="{master_select_values}">
<input type=hidden name="mlv" 		value="{master_labels_values}">
<!----------------------------------------------------------->
<!--Detail -------------------------------------------------->
<input type=hidden name="dgh" 		value="{detail_grid_header}">
<input type=hidden name="dfr" 		value="{detail_field_reference}">	
<input type=hidden name="dgv" 		value="{detail_grid_values}">	
<input type=hidden name="dif" 		value="{detail_insert_fields}">			
<input type=hidden name="dsv" 		value="{detail_select_values}">
<!----------------------------------------------------------->
<!--General ------------------------------------------------->
<input type=hidden name=tdheader        value="{tdheader_style}">
<input type=hidden name=tdbody          value="{tdbody_style}">
<input type=hidden name=t1BodyRows      value=10>
<!----------------------------------------------------------->
</FORM>
<!----------------------------------------------------------->
<!--Container  ---------------------------------------------->
<FORM name="data" action="/cgi-bin/{appid}/bin/mdp.exe" method=post>
<!--Application Variables ----------------------------------->
<input type=hidden name="lan" 		value="{lan}">
<input type=hidden name="appid" 	value="{appid}">
<input type=hidden name="clase" 	value="{clase}">
<input type=hidden name="exist"   	value="{exist}">
<!----------------------------------------------------------->	
<!--Master -------------------------------------------------->
<input type=hidden name="id" 		value="{id}">
<input type=hidden name="miv"		value="">	
<!----------------------------------------------------------->
<!--Detail Values. ------------------------------------------>
<input type=hidden name="div" value="">
<!----------------------------------------------------------->
</FORM>
</BODY>
</HTML>