<!--#include file="../checkLoginPhone.asp"-->
<html>
<head>
<title>发信件</title>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
<style type="text/css">
<!--
.STYLE2 {color: #000000}
body {
	background-color: #FFFFFF;
}
-->
</style>
</head>

<link rel="stylesheet" href="../kindeditor3/themes/default/default.css" />
<script charset="utf-8" src="../kindeditor3/kindeditor.js"></script>
<script charset="utf-8" src="../kindeditor3/lang/zh_CN.js"></script>
<script>
		
			KindEditor.ready(function(K) {
			var editor = K.create('textarea[name="content"]', {
				cssPath : '../kindeditor3/plugins/code/prettify.css',
				uploadJson : '../kindeditor3/asp/upload_json.asp',
				fileManagerJson : '../kindeditor3/asp/file_manager_json.asp',
				allowFileManager : true,
				afterCreate : function() {
					var self = this;
					K.ctrl(document, 13, function() {
						self.sync();
						K('form[name=example]')[0].submit();
					});
					K.ctrl(self.edit.doc, 13, function() {
						self.sync();
						K('form[name=example]')[0].submit();
					});
				}
			});
		});
	</script>

<script language="javascript"> 
function divshow(n) 
{
document.getElementById(n).style.display="block";
}
</script>    
<script Language="JavaScript">
function right(mainStr,lngLen) {
// alert(mainStr.length)
if (mainStr.length-lngLen>=0 && mainStr.length>=0 && mainStr.length-lngLen<=mainStr.length) {
return mainStr.substring(mainStr.length-lngLen,mainStr.length)}
else{return null}
}

function form_check(){ 

if(document.form3.sendto.value.length<1){window.alert("请选择收件人");document.form3.sendto.focus();return (false);}

if(document.form3.title.value.length<1){window.alert("请输入标题");document.form3.title.focus();return (false);}

}

function caogao_check(){    

if(document.form3.title.value.length<1){window.alert("请输入标题");document.form3.title.focus();return (false);}
}

</script>

<body topmargin="5" leftmargin="5">
<% 
dim strID
id=request("id")
%>	

<table  border="1" align="center" cellpadding="10" cellspacing="0" bgcolor="#F7FCFF" style="border-collapse:collapse">
		<tr>
		<td height="295"><p align="center">
		
		<form method="post" ENCTYPE="multipart/form-data" name="form3" action="saveZhuanFafile.asp" >

  
 <% 
 Set MyOAASPObj = Server.CreateObject("YFSchoolOApro.YFSchoolDll")
  call   MyOAASPObj. Email_ZhuanFaFile(id,request.cookies("tname"))
set MyOAASPObj=nothing 
  
%>	 
</form>
		
		</p></td>
		</tr>
		</table>

</body>  
</html>  


