<!-- #include virtual="/lrgw/conn_lr.asp" -->
<%KmVjxjQaCcgFXqmtFh7pcaVMFizPfK6w2pD8sM3ctuaA1LTulIOo+JDNsf2N3LTmipe3hYbWvuOf06Ppk8my44vZtbfMlu6kyIT56ILStOCA2qC3nMyk+YXJufOJ06j5kcOvspKgo/Obxrr2hsy27JfMoO+SkOuxyYPvo97PpfWTx6f9h5C764Peou6e1K70j9S494qXt4WG1r7jn9Oj6ZPJsuGNxKj7z4LuoNyG/LeQzKr6mM6i7s/StOqBy7H3i8er5oPZpvyZhKSWlcOss9WL4KrQluqmyofgvtqAtKmCneC324qjkZKk34X/sNaH/aeAyLPlmMLj/suH7aDAj/LtiNax6ZXLpf/L1v2owInhrceK6qXYxe7vxNLW4+Ouwo73p8CM4PGPwqLphZK58ZHArf2Dku+/xtey4ojWq/2byu26wZv09tjJ7v7ZyO612YDooseMq/WPwO7qwdfT5uarx4vyosWJ5fSKx6fsgJe8v5nVv/KS3aChipyYra3gjMC56Y7Crr/Tgu/d3oTjuJHHqJqZ%>
<html><head>
<title>选择用户</title>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">

<%9aqPf8Lw8/b7MeldJ60hORk1aKn0P8uyM3oWW3wAeyFJAm4edSBMEG16US9iEl8iBWgEWD5zHnIeVX5obFlZD2B/JX8FSSl5HgkifBlKL3kDSGN1QVx3aEEKazFWZGdVVmBgLVdGIG8DUntmHEYjeRNYcSBIGnZlGVU5dBlDOnFYAXoqTlEDSTNpEkQjei4xVxp3LVZJImRNG3ZpBF4keFFMaQVpJV8Jbz4fAmg4Xw4lMxYYPTM3AgI0V1VsXl1rayNCFHErAlM1flcaYHEdTSIQEyUlE240UB8rYAxeJzgXCCNxAWEJRD9hEXVeQW5xEg0iPRZ0QFhzbENcJ2tKVytnC0YrcQhDaH5XTmd6VFB7SUp8fEo3bQlGcjlVB35hTlF6KFg4UB1mOEgsBxg3KEtfZ3hXSGMBNS0GGTYpUh4/IkUbfyUOGDEoARwyNh0CBjMzBQVOInAJBDB7F0U8MRgBKDUAUCliAlI1KlULbiRISmR5UElgLVdAazpSAGxxUU5hfldKZGVOUX5hGlZ3ag1TN21GUHlgSVRhcRdYJXMVRHNual9faWkkXk8rewReOWMSWV1oaF5eCz9qSEVBdHRCPGYBWl5ra10mak0RdCReBAA1NQNZA3k1VQVidV4VeStSX3RiVh1xI1pXU2ZmUApQKmYGVjEmDVM2ZQBWLGdMWm4lSRtiUFNlCVg1KkoTFyI=%>


<script language=JavaScript1.2>

function selectuser(){
        if(document.user.T2.value=="")
         window.returnValue="";
        else
          window.returnValue = document.user.T2.value+"*"+document.user.T3.value;
	window.close();
}	 
function button3_onclick()
{
	top.close();
}
function button5_onclick()
{
 var str1;
 str1="";
 var j;
 j=1;
 for(i=0;i<select2.options.length;i++)
     {
      if(j=="1")
        {
        str1=select2.item(i).text;
        }
       else
        {
        str1=str1+","+select2.item(i).text;
        }
        j=j+1;                  
    }
top.returnValue=str1+"*"+"<%UltXCi2ABelqizWiDskGAQjHZiOz4Y+q%>";
top.close();
}

function cmdadd_onclick() 
{
 if (select1.selectedIndex != -1)
   {
    for(i=select1.options.length-1;i>=0;i--)
       {
	 if (select1.item(i).selected)
           {
            if(checkname(select1.item(i).value))
              {
	       var namesel=window.Option.create(select1.item(i).text,select1.item(i).value);
               <%FnRcjG/i6KRJqdcnzQ1VkhEckW+kKVdLAklidEFAay1BDSY5RBN/LgdKJmoTQyRoBBVrJkYNYXZdAWU+VAd8HHorQRJyLkxbe39UQg==%>select2.add(namesel);
              }
           }
	}
   }
   <%l9X4KEGnT/yWsXCVhE5LPj97LL6NTfOFteabhqalko//pd/C66DBm/zjmMK495HAuuDHj/Si34WkudKY5a7ImaXFo/KYy6v3lYKipo2b%>
}

function cmdaddall_onclick() 
{    for(i=0;i<=select1.options.length-1;i++)
       {
            if(checkname(select1.item(i).value))
              {
	       var namesel=window.Option.create(select1.item(i).text,select1.item(i).value);
               <%LJAQ+q4oLDtJqdcnzQ1VkhEckW+kKVdL4qmClKGgi82h7cbZpPOfzueqxorzo8SI5PWLxqbtgZa94YXetOec/JrLofKSzqy7m5+0og==%>select2.add(namesel);
              }
	}
};




function cmdclr_onclick()
{
if(select2.options.length>=0)
{
  for(i=select2.options.length-1;i>=0;i--)
     {
     select2.remove(i);
     }
}
}
function cmddel_onclick()

{
if(select2.options.length>=0)
{
  for(i=select2.options.length-1;i>=0;i--)
     {
      if(select2.item(i).selected)
        {
         select2.remove(i);
        }
     }
}
}



function checkname(user_id)
{
 for(c=0;c<window.select2.options.length;c++)
  {
    if(window.select2.item(c).value==user_id)
      {
	return false;
	break;
      }
  }
  return true;
}

function cmddel_onclick1()
{
if(select1.options.length>=0)
{
  for(i=select1.options.length-1;i>=0;i--)
     {
     select1.remove(i);
     }
}
}

function addusers(str)
{
cmddel_onclick1();//清空
var my_array = new Array();
<%rKAdTL+T+8o1lg/s1H+Br7amKuw3vDTiCUJpfw==%>
  for(i=0;i<my_array.length;i=i+2)
       {
	 if ((my_array[i]==str) || (str==''))
           {
	if (check(my_array[i+1])){
		var namesel=window.Option.create(my_array[i+1],my_array[i+1]);
         select1.add(namesel);}
           }
    }
}

function check(user_id)
{
 for(c=0;c<window.select1.options.length;c++)
  {
    if(window.select1.item(c).value==user_id)
      {
	return false;
	break;
      }
  }
  return true;
}

</script>
<meta content="MSHTML 5.50.4807.2300" name=GENERATOR>

</head>
<body   class=p1  bgcolor=buttonface tonload='addusers("");' style="scroll:none;border:none;background:none;" leftmargin="0" topmargin="0" >

  <select class=p1 id=select1 
style="Z-INDEX: 112; LEFT: 5px; 
WIDTH: 152px; POSITION: absolute; TOP: 7px; HEIGHT: 200px" 
multiple size=2 name=select1  
 <%mO00e4JHGS+WsXCVhE5LPj97LL6NTfOFtuWYhaWmkYz8ptzB6KPCmP/gm8G79JLDuePEjPeh3IanutyN57DYiee9iZH7qcSa96z6qs2R9KLInL2rhZi4p8uY4riR3LD8hdWy/pKD/bDQm/fgy5v8h+y/9abGmvj61Jn1vsKP6Pedz6L8kcqczKv3ksSu+tvN4/7ewQ==%>
>
<%Y/8UTqFUKQw1lg/s1H+BrzwWHRl8t015yN4=%>
  </select>
  <select class=p1 id=select2 
style="Z-INDEX: 112; LEFT: 228px; WIDTH: 149px; POSITION: absolute; TOP: 7px; HEIGHT: 200px" 
multiple size=2 name=select2>

  </select>
    
<input title="全部选择" background="<%pxfQ/hjL2qY1lg/s1H+Br4x8/e5qIR/XXRZ2PVgCaTddCWMzVgZ9YEA=%>" language=javascript onMouseOver="this.className='coolbar'" onMouseOut="this.className='coolBarflat1'"  onMouseDown="this.className='coolBardown'" class=coolBarflat1  id=cmdaddall style="Z-INDEX: 103; LEFT: 172px; WIDTH: 45px; POSITION: absolute; TOP: 30px; HEIGHT: 21px" onClick="return cmdaddall_onclick()" <%ZeNIJ1GxZnVJqdcnzQ1VkhEckW+kKVdL4KuAlqOiic+j78TbpvGdzOWoxIjxocaK5veJxKTvg5S/5ITIoP2Ywq+ykg==%> type=button value=">>" name=button5>
<input title="选择" background="<%6t/nCSa1BQw1lg/s1H+Br4x8/e5qIR/XZyxMB2I4Uw1nM1kJbDxHWno=%>" language=javascript onMouseOver="this.className='coolbar'" onMouseOut="this.className='coolBarflat1'"  onMouseDown="this.className='coolBardown'" class=coolBarflat1  id=cmdadd    style="Z-INDEX: 103; LEFT: 172px; WIDTH: 45px; POSITION: absolute; TOP: 70px;  HEIGHT: 21px" onClick="return cmdadd_onclick()" type=button value=">" name=button1>
<input title="删除" background="<%E+DWDY9JSuU1lg/s1H+Br4x8/e5qIR/XjMen7InTuOaM2LLih9essZE=%>" language=javascript onMouseOver="this.className='coolbar'" onMouseOut="this.className='coolBarflat1'"  onMouseDown="this.className='coolBardown'" class=coolBarflat1  id=cmddel    style="Z-INDEX: 103; LEFT: 172px; WIDTH: 45px; POSITION: absolute; TOP: 110px; HEIGHT: 21px" onClick="return cmddel_onclick()" type=button value="<" name=button2>
<input title="全部删除" background="<%QrECo7Khr2M1lg/s1H+Br4x8/e5qIR/Xsfqa0bTuhdux5Y/fuuqRjKw=%>" language=javascript onMouseOver="this.className='coolbar'" onMouseOut="this.className='coolBarflat1'"  onMouseDown="this.className='coolBardown'" class=coolBarflat1  id=cmdclr    style="Z-INDEX: 103; LEFT: 172px; WIDTH: 45px; POSITION: absolute; TOP: 150px; HEIGHT: 21px" onClick="return cmdclr_onclick()" type=button value="<<" name=button4>

<hr style="Z-INDEX: 103; LEFT: 170px; WIDTH: 47px; POSITION: absolute; TOP: 60px; HEIGHT: 1px" noshade>
<hr style="Z-INDEX: 103; LEFT: 170px; WIDTH: 47px; POSITION: absolute; TOP: 100px; HEIGHT: 1px" noshade>
<hr style="Z-INDEX: 103; LEFT: 170px; WIDTH: 47px; POSITION: absolute; TOP: 140px; HEIGHT: 1px" noshade>




<hr style="Z-INDEX: 103; LEFT: 300px; WIDTH: 1px; POSITION: absolute; TOP: 197px; HEIGHT: 25px" noshade>
<button background="<%I+TWEhQXZiY1lg/s1H+Br4x8/e5qIR/X7abGjeiy2YftudOD5rbN0PA=%>" language=javascript onMouseOver="this.className='coolbar'" onMouseOut="this.className='coolBarflat1'"  onMouseDown="this.className='coolBardown'" class=coolBarflat1   style="Z-INDEX: 108; LEFT: 240px; WIDTH: 55px; POSITION: absolute; TOP: 199px; HEIGHT: 21px" onClick="return button5_onclick()" >确定</button> 
<button background="<%VMAi/pDXud81lg/s1H+Br4x8/e5qIR/XM3gYUzZsB1kzZw1dOGgTDi4=%>" language=javascript onMouseOver="this.className='coolbar'" onMouseOut="this.className='coolBarflat1'"  onMouseDown="this.className='coolBardown'" class=coolBarflat1   style="Z-INDEX: 108; LEFT: 305px; WIDTH: 55px; POSITION: absolute; TOP: 199px; HEIGHT: 21px" onClick="return button3_onclick()" ><img src=../images/cancel.gif width=16 height=14 align="absmiddle">取消</button> 
<select class=p1 id=bmid 
style="Z-INDEX: 108; font-size:12px;LEFT: 5px; WIDTH: 151px; POSITION: absolute; TOP: 198px; HEIGHT: 25px" 
onChange=addusers(this.value); size=1 name=bm>
<option value="" >所有部门</option>
<%LP2LFE7SpEH72xIHRryFQGhzq3Qb1Qwl77XflL3Ghuq3wYb6p7jEiOSpxJ7nrIXcp/eTjPC80J39rMPe+5f7t82b/ayNkPqqzZy3oYSKr6GlkJDYue+K0PmozoWs4ZuK5rbZ6+je3pP/s8qa/bHdzLL/n9S4r4SH4a7TheOym4amlJehofeYh/ywkYzwvNCd8KrTmLOlkcGp9IjEtP6E3qX+kt2gv8KV+aiBzKDslcWi7oKT7aDAi+fw28S+5IHbsfqWzeT52evo3t6T/7PKmv2x3cyy/5/UuK+Em+S635X5+9XI4fjRnObx2pDqsMuQ/LPO0/Psw9z379jF7PPcw7j01ci0+JTZtO6X3PfhyNH45dDApumUwqT1wt//zc74+LXP3rrqlc+o8oPIzPn5sd2M4dPQ5p3R9qrPn+W/u46Owq7lzIH7+Z7Os+SE1buJiry4jYm8%>
</select>
<script language=javascript>
addusers(bmid.value);
</script>

</body></html>
