<%@ page import="com.csc.library.entry.*,com.csc.library.utilities.*,com.csc.library.session.*,com.csc.library.database.*,java.util.*"  contentType="text/html;charset=UTF-8"%>
<jsp:useBean id="AS05_7" class="com.csc.library.system.Task" scope="page"/>
<%
	AS05_7.setChannel(request ,response);
	UIManager screen=(UIManager)AS05_7.process("ChildEntry","TASTRAN");
%>
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../CSS/TISCO.css" rel="stylesheet" type="text/css">
<script language='javascript' src="../JS/SCREEN.js"></script>
<script src="../JS/VIEWCALENDAR.js"></script>
<script language='javascript' src="../JS/SWAPLANG.js"></script>
<script language='javascript'>setLang('<%=screen.getUProfile().get("lang")%>');</script>

<script language="javascript">getInputFormatDate();</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function  setcmd(acktion){
	with(document.cscform){
			if(acktion=="save"){
						__cmdchild.value="save";
						__ack.value="edit";
			}
		window.opener.document.cscform.__cmdchild.value="save";
		window.opener.document.cscform.__ack.value="edit";
		window.opener.document.cscform.submit();
		window.close();
	}
}

function getInputFormatDate(){
		document.write("<input type='hidden' name='__dateformat' value='DD-MM-YYYY'>");
}

//-->
</script>

</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<div id="toolTipLayer" style="position:absolute; visibility: hidden"></div>
<script language="javascript">initToolTips();</script>
<form name="cscform" method="post" action="">


<!----------BEGIN CSC INITIAL ZONE ------------------------>

<%=screen.InitialVariable()%>

<!----------END CSC INITIAL ZONE -------------------------->

<input type="hidden" name="__language" value ="<%=screen.getUProfile().get("lang")%>"> 
  <input type="hidden" name="__cmd" value="<%=request.getParameter("__cmd")%>">
  <input type="hidden" name="__cmdchild">
  <input type="hidden" name="__headMulti" value="<%=request.getParameter("__headMulti")%>">
  <input type="hidden" name="__screen" value="TASTRAN">
  <input type="hidden" name="__ack" value="">
<input type="hidden" name="__help" value="<%=request.getParameter("__help")%>">  
  <input type="hidden" name="__fixCon"value="">
  <input type="hidden" name="__maxrec" value="<%=screen.getTable("TASTRAN").recCount()%>">
  <input type="hidden" name="__gorec" value="<%=request.getParameter("__gorec")%>">
  <input type="hidden" name="__companyid"  value="<%=screen.getUProfile().get("companyid")%>">
  <br>
  <div align="center">
    <table  class="" cellpadding="0"  cellspacing="0">
      <tr > 
        <td  class="header">AS05_7,ความเห็นเพิ่มเติม&nbsp;</td>
      </tr>
      <tr > 
        <td  colspan="2"> 
          <div align="center"> <br>
            <table border="0" align="center" cellpadding="1" cellspacing="1" class="largest">
              <tr valign="top" > 
                <td width="100%" bgcolor="#E1E1E1"><div align="center"><font size="2"> 
                    <%=screen.getInput("ASRDETAIL")%>
                    </font></div></td>
              </tr>
            </table>
            <div align="center"><br><a href="javaScript:setcmd('save');">
              <img SRC="../IMAGES/BUTTON/SAVE.gif" alt="Search" name="Image4" border="0" align="absmiddle"></a>&nbsp;<a href="javascript:window.close();" ><img SRC="../IMAGES/BUTTON/CANCEL.gif" alt="Search" name="Image41" border="0" align="absmiddle" id="Image41"></a><br>
              <br>
            </div>
          </div></td>
      </tr>
      <tr bordercolor="0069B3"> 
        <td  class="bottom"></td>
      </tr>
    </table>
	<br>
  </div>
</form>
</body>
</html>
