home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 November / Chip_2002-11_cd1.bin / zkuste / vbasic / Data / Utils / WME71SDK.exe / RCDATA / CABINET / newencoder.asp < prev    next >
Text File  |  2001-03-15  |  18KB  |  865 lines

  1. <%@ Language=VBScript CODEPAGE=65001 %>
  2.  
  3. <HTML>
  4. <HEAD>
  5. <meta http-equiv="Content-Language" content="en-us">
  6. <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
  7. <TITLE>New Encoder Input</TITLE>
  8. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
  9.  
  10. <style>
  11.  
  12. TD.clsEncHead
  13. {
  14.     BACKGROUND-COLOR: #6699cc;
  15.     BORDER-LEFT: #99ccff 2px outset;
  16.     BORDER-RIGHT: #99ccff 2px outset;
  17.     BORDER-TOP: #99ccff 2px outset;
  18.     COLOR: #ffffff;
  19.     FONT-FAMILY: verdana;
  20.     FONT-SIZE: xx-small;
  21.     FONT-WEIGHT: bold
  22. }
  23. TD.clsEncHead A
  24. {
  25.     COLOR: #ffffff;
  26.     FONT-SIZE: 95%;
  27.     TEXT-DECORATION: none
  28.  
  29. }
  30.  
  31. TD.clsTab
  32. {
  33.     BACKGROUND-COLOR: #003366;
  34.     BORDER-BOTTOM: #99ccff 2px inset;
  35.     BORDER-LEFT: #6699cc 1px solid;
  36.     BORDER-RIGHT: #6699cc 1px solid;
  37.     BORDER-TOP: #003366 2px solid;
  38.     CURSOR: hand
  39.  
  40. }
  41. TD.clsTab A
  42. {
  43.     COLOR: #ffffff;
  44.     FONT-SIZE: 95%;
  45.     TEXT-DECORATION: none
  46. }
  47. TD.clsTab A:hover
  48. {
  49.     COLOR: #ffffff;
  50.     FONT-SIZE: 95%;
  51.     TEXT-DECORATION: none
  52. }
  53. TD.clsTab A:active
  54. {
  55.     COLOR: #ffffff;
  56.     FONT-SIZE: 95%;
  57.     TEXT-DECORATION: none
  58. }
  59. </style>
  60.  
  61.  
  62. <SCRIPT LANGUAGE=javascript>
  63. <!--
  64.     
  65.     function fnTabClick( nTab )
  66.     {
  67.  
  68.         nTab = parseInt(nTab);
  69.         var oTab;
  70.         var prevTab = nTab-1;
  71.         var nextTab = nTab+1;
  72.         event.cancelBubble = true;
  73.         el = event.srcElement;
  74.  
  75.  
  76.         for (var i = 0; i < NewEnc.length; i++)
  77.         {
  78.             oTab = tabs[i];
  79.             oTab.className = "clsTab";
  80.             oTab.style.borderLeftStyle = "";
  81.             oTab.style.borderRightStyle = "";
  82.             NewEnc[i].style.display = "none";
  83.         }
  84.         NewEnc[nTab].style.display = "block";
  85.         tabs[nTab].className = "clsEncHead";
  86.         oTab = tabs[nextTab];
  87.         if (oTab) oTab.style.borderLeftStyle = "none";
  88.         oTab = tabs[prevTab];
  89.         if (oTab) oTab.style.borderRightStyle = "none";
  90.         event.returnValue = false;
  91.     }
  92.     
  93.     
  94.  
  95.  
  96.  
  97. function removeRow() {
  98.   var r, p, nr;
  99.   var Grp,Aud,Vid,Archive
  100.   
  101.   if (lastSelection == null)
  102.     return false;
  103.  
  104.   r = lastSelection;
  105.  
  106.   if (r.tagName == "TD") {
  107.     if (r.innerText=="Group" ||  r.innerText=="Video" || r.innerText=="Audio" || r.innerText=="Archive"){
  108.         return false;
  109.     }    
  110.     r = r.parentElement;
  111.   }
  112.   var head= r.innerHTML
  113.   var headFind="Group"
  114.   var pos=head.indexOf(headFind)
  115.   if (pos !=-1){
  116.     return false
  117.     }
  118.   p = r.parentElement;
  119.  
  120.   p.removeChild(r);
  121.  
  122.   lastSelection = null;
  123.   head=head.substring(4,head.length-1)
  124.   
  125.   Grp=head.substring(0,head.indexOf("<"))
  126.   head=head.substring(head.indexOf("<") + 11,head.length-1)
  127.   
  128.   Vid=head.substring(0,head.indexOf("<"))
  129.   head=head.substring(head.indexOf("<") + 11,head.length-1)
  130.   
  131.   Aud=head.substring(0,head.indexOf("<"))
  132.   head=head.substring(head.indexOf("<") + 11,head.length-1)
  133.   
  134.   Archive=head.substring(0,head.indexOf("<"))
  135.   //head=head.substring(head.indexOf("<") + 11,head.length-1)
  136.   
  137.   GroupString=NewEncoder.Group.value
  138.   VideoString=NewEncoder.Video.value
  139.   AudioString=NewEncoder.Audio.value
  140.   ArchiveString=NewEncoder.Archive.value
  141.   
  142.   PreString=GroupString.substring(0,GroupString.indexOf(Grp))
  143.   GroupString=GroupString.substring(GroupString.indexOf(Grp),GroupString.length)
  144.   GroupString=GroupString.substring(GroupString.indexOf(";")+1,GroupString.length)
  145.   GroupString=PreString+GroupString
  146.   
  147.   NewEncoder.Group.value=GroupString
  148.   
  149.   
  150.   
  151.   PreString=VideoString.substring(0,VideoString.indexOf(Grp))
  152.   VideoString=VideoString.substring(VideoString.indexOf(Grp),VideoString.length)
  153.   VideoString=VideoString.substring(VideoString.indexOf(";")+1,VideoString.length)
  154.   VideoString=PreString+VideoString
  155.   
  156.   NewEncoder.Video.value=VideoString
  157.   
  158.   
  159.  PreString=AudioString.substring(0,AudioString.indexOf(Grp))
  160.  AudioString=AudioString.substring(AudioString.indexOf(Grp),AudioString.length)
  161.  AudioString=AudioString.substring(AudioString.indexOf(";")+1,AudioString.length)
  162.  AudioString=PreString+AudioString
  163.   
  164.   NewEncoder.Audio.value=AudioString
  165.   
  166.   
  167.   PreString=ArchiveString.substring(0,ArchiveString.indexOf(Grp))
  168.   ArchiveString=ArchiveString.substring(ArchiveString.indexOf(Grp),ArchiveString.length)
  169.   ArchiveString=ArchiveString.substring(ArchiveString.indexOf(";")+1,ArchiveString.length)
  170.   ArchiveString=PreString+ArchiveString
  171.   
  172.   NewEncoder.Archive.value=ArchiveString
  173.   
  174.   return r; 
  175. }
  176.  
  177.  
  178.  
  179.     
  180.     
  181.     
  182.     function select(element) {
  183.         var e, r, c;
  184.         if (element == null) {
  185.             e = window.event.srcElement;
  186.         } else {
  187.                 e = element;
  188.                 }
  189.         
  190.         //if ((window.event.altKey) || (e.tagName == "TR")) {
  191.         r = findRow(e);
  192.         if (r != null) {
  193.             if (lastSelection != null) {
  194.                 deselectRowOrCell(lastSelection);
  195.             }
  196.             selectRowOrCell(r);
  197.             lastSelection = r;
  198.         }
  199.   
  200.   }
  201.     
  202.     
  203.     
  204.  
  205. function deselectRowOrCell(r) {
  206.   r.runtimeStyle.backgroundColor = "";
  207.   r.runtimeStyle.color = "";
  208.   //r.runtimeStyle.fontFamily = "Verdana";
  209. }
  210.  
  211. function selectRowOrCell(r) {
  212.   r.runtimeStyle.backgroundColor = "darkblue";
  213.   r.runtimeStyle.color = "white";
  214.   //r.runtimeStyle.fontFamily = "Verdana";
  215. }
  216.  
  217.  
  218. function cancelSelect() {
  219.  
  220.   if (window.event.srcElement.tagName != "BODY") 
  221.     return;
  222.  
  223.   if (lastSelection != null) {
  224.     deselectRowOrCell(lastSelection);
  225.     lastSelection = null;
  226.   }
  227. }
  228.  
  229. //document.onclick = cancelSelect;
  230.  
  231. function findRow(e) {
  232.   if (e.tagName == "TR") {
  233.     
  234.     return e;
  235.   } else if (e.tagName == "BODY") {
  236.     return null;
  237.   } else {
  238.     
  239.     
  240.     return findRow(e.parentElement);
  241.   }
  242. }
  243.  
  244.  
  245.     
  246.  
  247. function addCell(Group,Video,Audio,Archive) {
  248.   var r, p, c, nc, text;
  249.   if (lastSelection == null)
  250.     return false;
  251.  
  252.   r = lastSelection;
  253.  
  254.   if (r.tagName == "TD") {
  255.     r = r.parentElement;
  256.     c = lastSelection;
  257.   } else {
  258.     c = null;
  259.   }
  260.         
  261.         nc = document.createElement("TD");
  262.         text = document.createTextNode(Group);
  263.  
  264.         nc.appendChild(text, null);
  265.         r.appendChild(nc, c);
  266.         nc = document.createElement("TD");
  267.         text = document.createTextNode(Video);
  268.  
  269.         nc.appendChild(text, null);
  270.         r.appendChild(nc, c);
  271.         
  272.         nc = document.createElement("TD");
  273.         text = document.createTextNode(Audio);
  274.  
  275.         nc.appendChild(text, null);
  276.         r.appendChild(nc, c);
  277.         
  278.         nc = document.createElement("TD");
  279.         text = document.createTextNode(Archive);
  280.  
  281.         nc.appendChild(text, null);
  282.         r.appendChild(nc, c);
  283.         
  284.         
  285.         select(nc);
  286.  
  287.         return nc;
  288. }
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.     function NewSrc(){
  296.         window.open("NewSrc.asp","newwin","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=570,height=295")    
  297.     
  298.     }
  299.     
  300.     var lastSelection
  301.     
  302.     function InsertSrc(Group,Video,Audio,Archive){
  303.         var r, p, nr;
  304.         if (lastSelection == null) {
  305.             r = null;
  306.             p = Sources.children[0];
  307.             }
  308.         else {
  309.                 r = lastSelection;
  310.  
  311.                 if (r.tagName == "TD") {
  312.                     r = r.parentElement;
  313.                 }
  314.  
  315.                 p = r.parentElement;
  316.             }    
  317.  
  318.         nr = document.createElement("TR");
  319.  
  320.     p.appendChild(nr, r);
  321.  
  322.     select(nr);
  323.  
  324.     addCell(Group,Video,Audio,Archive);
  325.     
  326.     ExistGroup=NewEncoder.Group.value
  327.     ExistVideo=NewEncoder.Video.value
  328.     ExistAudio=NewEncoder.Audio.value
  329.     ExistArchive=NewEncoder.Archive.value
  330.     
  331.     ExistGroup= ExistGroup +  Group + ";"
  332.     ExistVideo=ExistVideo +  Video  + ";" 
  333.     ExistAudio=ExistAudio  + Audio + ";"
  334.     ExistArchive=ExistArchive +  Archive + ";"
  335.     
  336.     NewEncoder.Group.value=ExistGroup
  337.     NewEncoder.Video.value=ExistVideo
  338.     NewEncoder.Audio.value=ExistAudio
  339.     NewEncoder.Archive.value=ExistArchive
  340.     
  341.     return nr;    
  342. }    
  343.  
  344. function FileSlct()    {
  345.     if(NewEncoder.cFile.checked==true){
  346.         NewEncoder.cFile.value=1
  347.         NewEncoder.tFile.disabled=false
  348.         NewEncoder.tFile.style.backgroundColor="white"
  349.     }
  350.     else{
  351.         NewEncoder.cFile.value=0
  352.         NewEncoder.tFile.disabled=true
  353.         NewEncoder.tFile.style.backgroundColor="#a9a9a9"
  354.     }
  355.  
  356.     
  357.  
  358. }
  359.  
  360. function Brdcst(){
  361.     
  362.  
  363.     if(NewEncoder.cBdcst.checked==true){
  364.         NewEncoder.cBdcst.value=1
  365.         NewEncoder.tPrt.disabled=false
  366.         NewEncoder.tPrt.style.backgroundColor="white"
  367.     }
  368.     else{
  369.         NewEncoder.cBdcst.value=0
  370.         NewEncoder.tPrt.disabled=true
  371.         NewEncoder.tPrt.style.backgroundColor="#a9a9a9"
  372.         
  373.     }
  374.  
  375. }
  376.  
  377.     function CreateNew(){
  378.         if     (NewEncoder.cBdcst.checked==false && NewEncoder.cFile.checked==false){
  379.             alert("Please enter either a broadcast port and/or archive path on the output tab")
  380.             return
  381.         }
  382.         
  383.         if     (NewEncoder.cBdcst.checked==true && NewEncoder.tPrt.value==""){
  384.             alert("please enter a broadcast port")
  385.             return
  386.         }    
  387.             
  388.         if     (NewEncoder.cFile.checked==true && NewEncoder.tFile.value==""){
  389.             alert("please enter a Archive path")
  390.             return
  391.         }            
  392.         
  393.         if (NewEncoder.tIdentification.value=="" ){
  394.             alert("Please enter a name for the Encoder on the Name Tab. This name cannot be blank and must be unique on the remote machine.")
  395.             return
  396.         }
  397.     
  398.         NewEncoder.hOpt.value=1
  399.         NewEncoder.submit()
  400.             
  401.     }
  402.     
  403.     function CrtCancel(){
  404.         NewEncoder.hOpt.value=0
  405.         NewEncoder.submit()
  406.         
  407.     }
  408.     function Error_Display(iNum,sDesc){
  409.     if (iNum!=0){
  410.         alert(sDesc)
  411.     }     
  412.  
  413.     }
  414. //-->
  415. </SCRIPT>
  416. </HEAD>
  417.  
  418.  
  419. <BODY>
  420.  
  421. <%dim AgentLoc
  422.   dim Encoder
  423.   dim MchName
  424.   dim PrfCol    
  425.     on Error Resume Next
  426.     set AgentLoc=Session("AgentLocSess")
  427.     if Err.number <> 0 then
  428.             ErrorNum=1
  429.             ErrorDesc=Err.description
  430.             Err.Clear
  431.     end if
  432.     MchName=Session("MchNameSess")
  433.     set EncAgent=AgentLoc.GetAgent(MchName)
  434.     if Err.number <> 0 then
  435.             ErrorNum=1
  436.             ErrorDesc=Err.description
  437.             Err.Clear
  438.     end if
  439.     set EncApp=EncAgent.CreateEncoder("EncPrf") 
  440.     set Session("EncAppG")=EncApp
  441.     set Encoder=EncAgent.GetEncoder("EncPrf")
  442.     set PrfCol=Encoder.ProfileCollection
  443.     if Err.number <> 0 then
  444.             ErrorNum=1
  445.             ErrorDesc=Err.description
  446.             Err.Clear
  447.     end if%>
  448.  
  449.  
  450. <FORM id=NewEncoder action=CrtNewEncoder.asp method=post>
  451. <P>
  452. <TABLE align=left bgColor=#d4d0c9 border=1 cellPadding=1 cellSpacing=1 
  453.     width="100%">
  454.      <TR>
  455.         <TD colspan=5>
  456.             <TABLE>
  457.                 <TR>
  458.     
  459.                     <TD class="clsEncHead" id="tabs" 
  460.                     onclick="fnTabClick('0');" width="20%" align=middle>
  461.                         <A href="javascript.void()" 
  462.                         onclick="fnTabClick('0');">Name</A>
  463.                         
  464.                     </TD>
  465.     
  466.                     <TD class="clsTab" id="tabs" 
  467.                     onclick="fnTabClick('1');" width="20%" align=middle>
  468.                         <A href="javascript.void()" 
  469.                         onclick="fnTabClick('1');">Sources</A>
  470.                                         
  471.                     
  472.                     </TD>
  473.     
  474.                     <TD class="clsTab" id="tabs" 
  475.                     onclick="fnTabClick('2');" width="20%" align=middle>
  476.                         <A href="javascript.void()" 
  477.                         onclick="fnTabClick('2');">Display Information </A>
  478.                     
  479.                                     
  480.                     
  481.                     </TD>
  482.   
  483.                     <TD class="clsTab" id="tabs" 
  484.                     onclick="fnTabClick('3');" width="20%" align=middle>
  485.                         <A href="javascript.void()" 
  486.                         onclick="fnTabClick('3');">Profile</A>
  487.                                                             
  488.                     
  489.                     </TD>
  490.   
  491.                     <TD class="clsTab" id="tabs" 
  492.                     onclick="fnTabClick('4');" width="20%" align=middle>
  493.                         <A href="javascript.void()" 
  494.                         onclick="fnTabClick('4');">Output</A>
  495.                     
  496.                                     
  497.                     </TD>
  498.                 </TR>    
  499.             </TABLE>    
  500.         
  501.         </TD>
  502.      </TR>
  503.      
  504.     <TR>
  505.   
  506.         <TD colspan=5>
  507.              <TABLE border=1 cellPadding=1 cellSpacing=1 width="100%" id="NewEnc" style="DISPLAY: block; HEIGHT: 143px; WIDTH: 584px">
  508.         
  509.         <TR>
  510.           <TD> </TD></TR>
  511.         <TR>
  512.           <TD> Identification name of this encoder:</TD></TR>
  513.         <TR>
  514.           <TD>          <INPUT 
  515.             id=tIdentification name=tIdentification
  516.             style="HEIGHT: 22px; WIDTH: 531px"></TD></TR></TABLE>
  517.     </TD>
  518.     
  519.   </TR>
  520.   
  521.   <TR>
  522.     
  523.     <TD colspan=5>
  524. <TABLE border=1 cellPadding=1 cellSpacing=1 width="100%" id="NewEnc" style="DISPLAY:none; HEIGHT: 295px; WIDTH: 582px">
  525.         
  526.                 <TR>
  527.                     <TD>
  528.                         <P>Setup source groups For the session note that 
  529.                             all the source groups in a session 
  530.                             must 
  531.                             have the same set of source types</P>
  532.                     </TD>
  533.             
  534.                 </TR>
  535.         
  536.         
  537.                 <TR>
  538.                     <TD>
  539.                         <div id=TableContainer>
  540.                         
  541.                         <TABLE bgColor=white  
  542.                                         width="100%" id=Sources>
  543.               
  544.                             <TR bgcolor=#d4d0c9>
  545.                                 <TD>
  546.                                 Group
  547.                                 </TD>
  548.                                 
  549.                                 <TD>
  550.                                 Video
  551.                                 </TD>
  552.                                 
  553.                                 <TD>
  554.                                 Audio
  555.                                 </TD>
  556.                         
  557.                                 <TD>
  558.                                 Archive
  559.                                 </TD>
  560.                             </TR>
  561.                             
  562.                             <TR>
  563.                                 
  564.                                 <TD>
  565.                                     
  566.                                 </TD>
  567.                                 
  568.                                 <TD>
  569.                                 </TD>
  570.                                 
  571.                                 <TD>
  572.                                 </TD>
  573.                                 
  574.                                 <TD>
  575.                                 </TD>
  576.                             
  577.                             </TR>
  578.                             
  579.                         
  580.             
  581.                         </TABLE>
  582.                         </div>
  583.                         <SCRIPT LANGUAGE=javascript>
  584.                         <!--
  585.                             TableContainer.onclick = select;
  586.                         //-->
  587.                         </SCRIPT>
  588.  
  589.                 
  590.                 
  591.                 </TD>
  592.             
  593.             </TR>
  594.             
  595.             <TR>
  596.                 
  597.                 <TD> <INPUT id=bNew name=bNew 
  598.                             style="HEIGHT: 24px; WIDTH: 88px" 
  599.                             type=button value=New... onclick="NewSrc()">  
  600.                     
  601.                       
  602.                     
  603.                     <INPUT id=bRemove name=bRemove 
  604.                         style="HEIGHT: 24px; WIDTH: 88px" 
  605.                         type=button value=Remove onclick="removeRow()">
  606.                 </TD>
  607.         
  608.             </TR>
  609.         </TABLE>     
  610.  
  611.         
  612.  
  613.  
  614.     </TD>
  615.     
  616.     
  617.   </TR>
  618.   
  619.   
  620.   <TR>
  621.     
  622.     <TD colspan=5>
  623.  
  624. <TABLE border=1 cellPadding=1 cellSpacing=1 width="100%" id="NewEnc" style="DISPLAY: none">
  625.         
  626.             <TR>
  627.                 <TD colspan=2>
  628.                     Type display information to be 
  629.                     included in the encode output.This information 
  630.                     will
  631.                     be shown in the Windows Media Player
  632.                 </TD>
  633.                 
  634.                 
  635.             </TR>
  636.             
  637.             <TR>
  638.             
  639.                 <TD>
  640.                 Tiltle:
  641.                 </TD>
  642.           
  643.                 <TD><INPUT id=tTitle name=tTitle 
  644.                          style  ="HEIGHT: 22px; WIDTH: 493px">
  645.                 </TD>
  646.         
  647.             </TR>
  648.             <TR>
  649.                 
  650.                 <TD>
  651.                 Author:
  652.                 </TD>
  653.         
  654.                 <TD><INPUT id=tAuthor name=tAuthor 
  655.                          style  ="HEIGHT: 22px; WIDTH: 493px">
  656.                 </TD>
  657.                 
  658.             </TR>
  659.             
  660.             <TR>
  661.                 
  662.                 <TD>
  663.                 Copyright:
  664.                 </TD>
  665.                 
  666.                 <TD><INPUT id=tCopyright name=tCopyright 
  667.                          style  ="HEIGHT: 22px; WIDTH: 492px">
  668.                 </TD>
  669.             
  670.             </TR>
  671.             <TR>
  672.                 
  673.                 <TD>
  674.                 Rating:
  675.                 </TD>
  676.                 
  677.                 <TD><INPUT id=tRating name=text4 
  678.                          style  ="HEIGHT: 22px; WIDTH: 492px">
  679.                 </TD>
  680.                 
  681.             </TR>
  682.             
  683.             <TR>
  684.                 
  685.                 <TD>
  686.                 Description:
  687.                 </TD>
  688.                 
  689.                 <TD><TEXTAREA id=taDescription name=taDescription style="HEIGHT: 117px; WIDTH: 493px"></TEXTAREA>
  690.                 </TD>
  691.             </TR>
  692.         
  693.         </TABLE>
  694.  
  695.  
  696.         
  697.         
  698.     </TD>
  699.     
  700.     
  701.   
  702.   </TR>
  703.   
  704.   <TR>
  705.   
  706.     <TD colspan=5>
  707.         
  708.  
  709. <TABLE border=1 cellPadding=1 cellSpacing=1 width="100%" style="DISPLAY: none; HEIGHT: 107px; WIDTH: 576px" id="NewEnc">
  710.         
  711.             <TR>
  712.                 
  713.                 <TD colspan=2>
  714.                     Select a profile that best 
  715.                     describes the content you are encoding
  716.                 </TD>
  717.                 
  718.             </TR>
  719.             
  720.             <TR>
  721.                 
  722.                 <TD>
  723.                 Profile:
  724.                 </TD>
  725.                 
  726.                 <TD><SELECT id=sProfile name=sProfile 
  727.                      style  ="HEIGHT: 22px; WIDTH: 512px" > 
  728.                      <%for each Prf in PrfCol%>
  729.                 
  730.                         <OPTION><%=Prf.Name%></OPTION>
  731.                     <%next%>
  732.                      
  733.                      </SELECT>
  734.                 </TD>
  735.     
  736.             </TR>
  737.     
  738.         </TABLE>
  739.  
  740.  
  741.         
  742.     </TD>
  743.     
  744.     
  745.   
  746.   </TR>
  747.   
  748.   <TR>
  749.   
  750.     <TD colspan=5>
  751.  
  752.     <TABLE border=1 cellPadding=1 cellSpacing=1 width="100%" id="NewEnc" style="DISPLAY: none; HEIGHT: 218px; WIDTH: 583px">
  753.         
  754.             <TR>
  755.                 
  756.                 <TD colspan=2>
  757.                     Select how would you like the 
  758.                     encoded output distributed.You can either 
  759.                     broadcast
  760.                     it or store it in a file
  761.                 </TD>
  762.                 
  763.                 
  764.             
  765.             </TR>
  766.             
  767.             <TR>
  768.                 
  769.                 <TD colspan=2><INPUT id=cBdcst name=cBdcst 
  770.                                 type=checkbox CHECKED onclick="Brdcst()" value=1> Broadcast encoded output
  771.                 </TD>
  772.                 
  773.                 
  774.                 
  775.             </TR>
  776.             
  777.             <TR>
  778.                 
  779.                 <TD width="30%">        Use 
  780.             
  781.                 HTTP Port :
  782.                 </TD>
  783.                 
  784.                 <TD width="70%"><INPUT id=tPrt name=tPrt 
  785.                      style  ="HEIGHT: 22px; WIDTH: 52px" value=8080>
  786.                 </TD>
  787.                 
  788.             </TR>
  789.         
  790.             <TR>
  791.             
  792.                 <TD colspan=2>
  793.                     <INPUT id=cFile name=cFile 
  794.                                 type=checkbox onclick="FileSlct()" value=0> Archive to file:
  795.                 </TD>
  796.             
  797.                 
  798.             
  799.             </TR>
  800.         
  801.             <TR>
  802.         
  803.                 <TD colspan=2>
  804.                              
  805.             
  806.                     <INPUT id=tFile
  807.                      name=tFile style    ="BACKGROUND-COLOR: #a9a9a9; HEIGHT: 22px; WIDTH: 531px" 
  808.             disabled>  
  809.                     
  810.                 </TD>
  811.           
  812.                 
  813.           
  814.             </TR>
  815.          
  816.         </TABLE>
  817.     
  818.     
  819.     </TD>
  820.     
  821.     
  822.   </TR>
  823.   <tr>
  824.     <td>
  825.                  
  826.                   
  827.                   
  828.                   
  829.                   
  830.                   
  831.                   
  832.                   
  833.                   
  834.                 
  835.         <INPUT id=bOk name=bOk style="HEIGHT: 24px; WIDTH: 89px" 
  836.         type=button value=Ok onclick="CreateNew()"> 
  837.         <INPUT id=bCancel name=bCancel style="HEIGHT: 24px; WIDTH: 91px" 
  838.         type=button value=Cancel onclick="CrtCancel()">
  839.     </td>
  840.   </tr>
  841.   
  842. </TABLE>
  843. </P>
  844. <INPUT type="hidden" id=Group name=Group>
  845. <INPUT type="hidden" id=Video name=Video>
  846. <INPUT type="hidden" id=Audio name=Audio>
  847. <INPUT type="hidden" id=Archive name=Archive>
  848. <INPUT type="hidden" id=hOpt name=hOpt>
  849. <INPUT type="hidden" id=hBroadcast name=hBroadcast>
  850. <INPUT type="hidden" id=hFile name=hFile>
  851.  
  852. <%if ErrorNum<>0 then%>
  853.     <SCRIPT LANGUAGE=javascript>
  854.     <!--
  855.     Error_Display("<%=ErrorNum%>","<%=ErrorDesc%>")
  856.     //-->
  857.     </SCRIPT>
  858.  
  859.     
  860. <%end if%>
  861. </FORM>
  862.  
  863. </BODY>
  864. </HTML>
  865.