<%@page contentType="text/html; charset=UTF-8"%>
<%@page import="com.csc.library.entry.HelpEntry,com.csc.library.system.*,com.csc.library.utilities.*,com.csc.library.session.*,com.csc.library.report.*;"%>
<jsp:useBean id="WEL319" class="com.csc.library.system.Task" scope="page" />
<%
	WEL319.setChannel(request, response);
	 WEL319.checkProfile();
	 CheckNull chk = new CheckNull();
	 ThaiUtilities thail = new ThaiUtilities();
	 UProfile u=WEL319.getUProfile();
	 String reason=thail.ASCII2Unicode(chk.chkNullString(request.getParameter("__reason")));  
	 String  reasonname=thail.ASCII2Unicode(chk.chkNullString(request.getParameter("objname")));  
%>
<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 type='text/javascript' src="../JS/ICONSMENU.js"></script>
<script language='javascript' src="../JS/HOTKEY.js"></script>
<script language='javascript'>setLang('<%=u.get("lang")%>');</script>
<script language="JavaScript" type="text/JavaScript">
<!--
      function setReason(){
	  		var reasonname="<%=reasonname%>"; 
			var reasonvalue=""+document.cscform.__reason.value+"";
			eval("window.opener.document.cscform."+reasonname+".value='"+reasonvalue+"'");
			window.close();
	  }
//-->
</script>

</head>
<body >
<div id="toolTipLayer" style="position:absolute; visibility: hidden"></div>
<script language="javascript">initToolTips();</script>
<form name="cscform" method="post" action="WEL319.jsp">

    <script language="JavaScript" src="../JS/HOTKEY.js"></script>
          <script language="javascript">
	 var titlename=swap2String('Borrow of asset');
	 //document.write(Icons("WEL319,"+titlename));
	 </script>

	<br> 

	<table width="640"cellpadding="0" cellspacing="0" class="largest">
      <tr >
        <td width="645" colspan="4" class="header" >WEL319,
          <script language="javascript">swapLang(titlename);</script>
          &nbsp;</td>
      </tr>
      <tr>
        <td width="645" class="blankspace"></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="11" colspan="4"  align="center"><div align="center">
          <textarea name="__reason" style="width:500;height:200"><%=reason%></textarea>
        </div></td>
      </tr>

      <tr>
        <td colspan="4"><div align="center"><a href="javascript:setReason()"><img src="..//IMAGES/BUTTON/BACK.gif" border="0"></a></div></td>
      </tr>
      <tr>
        <td colspan="4" class="bottom"></td>
      </tr>
    </table>
	<br> 	
</form>
</body>
</html>

