<!--#include file="../checkLogin.asp"-->
<html>
<head>
<title>选择名单</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<script>


 function inputname(strname)
{

var Cts ='字符串 '+parent.window.frames['main'].form3.sendto.value;   
   
if(Cts.indexOf(strname)>0 )    
{    
    alert(strname+'  部门已经添加了！'); 
	exit;   
}  



if (strname=='全部部门')
{  
parent.window.frames['main'].form3.sendto.value='全部部门';}


if (strname=='清空部门')
{  
parent.window.frames['main'].form3.sendto.value='';}


if ((strname!='清空部门')&&(strname!='全部部门')){


if (parent.window.frames['main'].form3.sendto.value=='全部部门')  
{  
parent.window.frames['main'].form3.sendto.value='';}



if (parent.window.frames['main'].form3.sendto.value=='')  
{  
parent.window.frames['main'].form3.sendto.value=parent.window.frames['main'].form3.sendto.value+strname;}
else  
{ parent.window.frames['main'].form3.sendto.value=parent.window.frames['main'].form3.sendto.value+'|'+strname;
}


}



}




</script>


<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 5px;
}
-->
</style></head>
<body style="overflow-x: hidden" >
 
			<%
			imgdir=request.cookies("imgdir")
			
			inputname=request("inputname") 
		
			 
	     	 Set MyOAASPObj = Server.CreateObject("YFSchoolOApro2.YFSchoolDll2")
           call  MyOAASPObj.SelectBuMen(imgdir)
		     set MyOAASPObj=nothing	
		
		%>
			
</body>
</html>