<div class="inner" style="display:none;">
		<style>
		.tabel th {
		background-color: #eeeeee;
		border: 1px solid #dddddd;
		}
		.tabel td {
                              border: 1px solid #dddddd;
		}
		</style>
               <?php
               $alamat_simpul_rekening="$url_rewrite/function/dropdown/radio_simpul_rekening.php";
	  $alamat_search_rekening="$url_rewrite/function/dropdown/radio_search_rekening.php";
	 js_radiorekening($alamat_simpul_rekening, $alamat_search_rekening,"ket_rekening","p_pengadaan_mataanggaran",'rekening','rek');
	$style1="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
	radiorekening($style1,"p_pengadaan_mataanggaran",'rekening','rek');
               ?>
                 </div>
            
            </td>
		<td><input type="text" class="sp2d"id="p_pengadaan_nilaisp2d" name="p_pengadaan_nilaisp2d"value="" readonly></td>
	</tr>
	<tr>
		<td></td>
		<td colspan='5'>
				<div id="text1">
				</div>
		</td>
	</tr>
               </tbody>
	<tr>
                 <input type=\"Button\" value=\"Baru\">
                 <div class=\"inner\" style=\"display:none;\">
		<style>
		.tabel th {
		background-color: #eeeeee;
		border: 1px solid #dddddd;
		}
		.tabel td {
                              border: 1px solid #dddddd;
		}
		</style>";              
      $alamat_simpul_rekening="$url_rewrite/function/dropdown/radio_simpul_rekening.php";
	  $alamat_search_rekening="$url_rewrite/function/dropdown/radio_search_rekening.php";
	 js_radiorekening($alamat_simpul_rekening, $alamat_search_rekening,"ket_rekening$no","p_pengadaan_mataanggaran$no","rekening$no","rek$no");
	$style1="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
	radiorekening($style1,"p_pengadaan_mataanggaran$no","rekening$no","rek$no");
      
      echo "</div>
            
            </td>
		<td><input type=\"text\" class=\"sp2d$no\"id=\"p_pengadaan_nilaisp2d$no\" name=\"p_pengadaan_nilaisp2d\"value=\"\" readonly></td>
	</tr>
	<tr>
		<td></td>
		<td colspan='5'>
				<div id=\"text1\">
				</div>
		</td>
	</tr>";
    }
?>
								</li>
							</ul>
							<ul>
							<li>
								<span class="span2">Kode Rekening</span>
								<div class="input-append">
									<input class="span5" name="rkb_add_rekening" id="rkb_add_rekening" type="text" value="" required="required" readonly="readonly" />
									<input type="button" name="idbtnlookuplokasi" id="idbtnlookuplokasi" class="btn" value="Pilih" onclick = "showSpoiler(this);">
									<div class="inner" style="display:none;">
										
										<?php
											$alamat_simpul_rekening="$url_rewrite/function/dropdown/radio_simpul_rekening.php";
											$alamat_search_rekening="$url_rewrite/function/dropdown/radio_search_rekening.php";
											js_radiorekening($alamat_simpul_rekening, $alamat_search_rekening,"rkb_add_rekening","rekening_id",'rekening','rek');
											$style1="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
											radiorekening($style1,"rekening_id",'rekening','rek');
										?>
									</div>
								</div>
							</li>
								
							<li>
								<span class="span2">Jumlah Barang</span>
								<input class="span1" id="rkb_add_jml" name="rkb_add_jml" type="text" value="" required="required" onchange="total();"/>
							</li>	
							<li>
								<span class="span2">Harga</span>				
								<input class="span3" id="rkb_add_hrg" name="rkb_add_hrg" type="text" value="" required="required" readonly="readonly"/>
							</li>
										<script>
											function total(){
											</td>
										</tr>
										
										<tr>
											<td width="25%" class="style6">Kode Rekening</td>
											<td>
												<input class="w300" name="rkb_edit_rekening" id="rkb_edit_rekening" type="text" value="<?php echo show_namarekening($select_korek); ?>" required="required" readonly="readonly" />
												<input type="button" name="idbtnlookuplokasi" id="idbtnlookuplokasi" value="Pilih" onclick = "showSpoiler(this);">
												<div class="inner" style="display:none;">
													
													<?php
														$alamat_simpul_rekening="$url_rewrite/function/dropdown/radio_simpul_rekening.php";
														$alamat_search_rekening="$url_rewrite/function/dropdown/radio_search_rekening.php";
														js_radiorekening($alamat_simpul_rekening, $alamat_search_rekening,"rkb_edit_rekening","rekening_id",'rekening','rek');
														$style1="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
														radiorekening($style1,"rekening_id",'rekening',"rek|$select_korek");
													?>
												</div>
											</td>
										</tr>
										<tr>
											<td width="25%" class="style6">Jumlah Barang</td>
											<td>
												<input class="w30" name="rkb_edit_jml" id="rkb_edit_jml" type="integer" value="<?php echo $select_jml; ?>" required="required" onchange="total();"/>
											</td>
										</tr>
										<script>
										function total(){
										var jml= document.getElementById("rkb_add_jml").value;
										var harga=document.getElementById("rkb_add_hrg").value;
										var total=jml*harga;
                 <div class="inner" style="display:none;">
		<style>
		.tabel th {
		background-color: #eeeeee;
		border: 1px solid #dddddd;
		}
		.tabel td {
                              border: 1px solid #dddddd;
		}
		</style>
               <?php
               $alamat_simpul_rekening="$url_rewrite/function/dropdown/radio_simpul_rekening.php";
               $alamat_search_rekening="$url_rewrite/function/dropdown/radio_search_rekening.php";
              js_radiorekening($alamat_simpul_rekening, $alamat_search_rekening,"ket_rekening","p_pengadaan_mataanggaran",'rekening','rek');
             $style1="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
             radiorekening($style1,"p_pengadaan_mataanggaran",'rekening',"rek|$KodeRekening_ID");
               ?>
                 </div>
            
            </td>
		<td><input type="text" class="sp2d"id="p_pengadaan_nilaisp2d" name="p_pengadaan_nilaisp2d[]"value="<?php echo $NilaiSP2D;?>" readonly></td>
	</tr>
	<tr>
		<td></td>
		<td colspan='5'>
				<div id="text1">
				</div>
		</td>
	</tr>
        <?php $i++; $sp2d_index++; } ?>
               </tbody>