<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-5">
<br />
<div class="mainfram_bar">
  <div class="mainfram_bar_text">Decode program information</div>
</div>
<div class="statusrd">
  <ul class="mainfram_ul_dec_left">
    <li style="margin-left:219px"><b>Bitrate: </b><span id="bitrate"></span></li>
    <li style="margin-left:211px"><b>PCR PID: </b><span id="pcrinfo"></span></li>
    <li style="margin-left:198px"><b>Video Info.: </b><span id="vidinfo"></span></li>
    <li><b>Video Pattern: </b><span id="vidpatt"></span></li>
    <li id="delayMode" style="margin-left:192px"><b>Delay Mode: </b><span id="delaymode"></span></li>
  </ul>
  <ul class="mainfram_ul_dec_left">
    <li style="margin-left:181px"><b>Audio1 Info.: </b><span id="aud1info"></span></li>
    <li style="margin-left:181px"><b>Audio2 Info.: </b><span id="aud2info"></span></li>
    <li style="margin-left:181px"><b>Audio3 Info.: </b><span id="aud3info"></span></li>
    <li style="margin-left:181px"><b>Audio4 Info.: </b><span id="aud4info"></span></li>
    <li><b>Teletext PID: </b><span id="ttinfo"></span></li>
  </ul>
</div>
<div id="debugInfo" style="display:none">
  <div class="mainfram_bar">
    <div class="mainfram_bar_text">DSP1 audio decode information</div>
  </div>
  <div class="statusrd" style="height:60px">
    <ul class="mainfram_ul_dec_left">
      <li style="margin-left:181px"><b>Audec Status: </b><span id="decodestatus0"></span></li>
      <li style="margin-left:195px"><b>Audio Type: </b><span id="audiomode0"></span></li>
    </ul>
    <ul class="mainfram_ul_dec_left">
      <li style="margin-left:144px"><b>Sample Frequency: </b><span id="samplerate0"></span></li>
      <li style="margin-left:182px"><b>Buffer Level: </b><span id="bufferlevel0"></span></li>
    </ul>
  </div>
  <div class="mainfram_bar">
    <div class="mainfram_bar_text">DSP2 audio decode information</div>
  </div>
  <div class="statusrd" style="height:60px">
    <ul class="mainfram_ul_dec_left">
      <li style="margin-left:181px"><b>Audec Status: </b><span id="decodestatus1"></span></li>
      <li style="margin-left:195px"><b>Audio Type: </b><span id="audiomode1"></span></li>
    </ul>
    <ul class="mainfram_ul_dec_left">
      <li style="margin-left:144px"><b>Sample Frequency: </b><span id="samplerate1"></span></li>
      <li style="margin-left:182px"><b>Buffer Level: </b><span id="bufferlevel1"></span></li>
    </ul>
  </div>
</div>
<script language=JavaScript type="text/javascript" >
<%C204_GetFunc(slotno,1);%>
	$("#bitrate").html(VID_DEC_SUBVLDRATE);
	$("#delaymode").html(VID_GET_DELAYMODE);
	$("#pcrinfo").html(VID_GET_PCRPID);
	$("#vidinfo").html(VID_GET_VPID);
	$("#vidpatt").html(VID_GET_VESINFO);
	$("#aud1info").html(VID_GET_A1PID);
	$("#aud2info").html(VID_GET_A2PID);
	$("#aud3info").html(VID_GET_A3PID);
	$("#aud4info").html(VID_GET_A4PID);
	$("#ttinfo").html(VID_GET_TTPID);
	if(VID_EN_PRINT_H60_INFO == 0)
	{
		$("#debugInfo").css("display","");
		$("#delayMode").css("display","");	
	}
	else
	{
		$("#debugInfo").css("display","none");
		$("#delayMode").css("display","none");
	}
	$("#decodestatus0").html(VID_GET_AUDEC_STAT_0);
	$("#audiomode0").html(VID_GET_AUDTYPE_0);
	$("#samplerate0").html(VID_GET_AUDEC_SAMPLE_0);
	$("#bufferlevel0").html(VID_GET_AUDEC_BUFLVL_0);
	$("#decodestatus1").html(VID_GET_AUDEC_STAT_1);
	$("#audiomode1").html(VID_GET_AUDTYPE_1);
	$("#samplerate1").html(VID_GET_AUDEC_SAMPLE_1);
	$("#bufferlevel1").html(VID_GET_AUDEC_BUFLVL_1);	
</script> 
