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-Type" content="text/html; charset=gb2312">
<script language="javascript" src="style.js"></script>
<script language="javascript" src="myfunction.js"></script>
<script language="javascript">
function set_value()
{
	var a,count,name,oldwindow,strValue,arrTemp,show_name,arrValue;
	a=document.myform;
	
	if(!check_data())
		return;
	name=window.name ;
	oldwindow=window.opener;
	
	strValue=a.room.value;
	show_name="show_"+name;
	
	if(a.room.value=="")
	{
		oldwindow.myform.item(name).value= "";
		oldwindow.myform.item(show_name).value= "";
	}else
	{
		arrValue=strValue.split(String.fromCharCode (27));
		oldwindow.myform.item(name).value= arrValue[0];
		oldwindow.myform.item(show_name).value= arrValue[1];
		oldwindow.myform.meet_start.value=a.meet_now.value+" "+a.start_time.value;
		oldwindow.myform.meet_end.value=a.meet_now.value+" "+a.end_time.value;
	}	
	window.close();
}

function change_txl()
{
	window.myform.submit();	
}

function last_day()
{
	var a=document.myform;
	a.meet_now.value=a.meet_last.value;
	a.submit();
}
function next_day()
{
	var a=document.myform;
	a.meet_now.value=a.meet_next.value;
	a.submit();
}

function check_data()
{
	var a=document.myform;
	if(a.room.value=="")
		return true;
	//--
	var start_time=a.start_time.value;
	var end_time=a.end_time.value;
	var pos,strSub,h_num1,s_num1,h_num2,s_num2;
	pos=start_time.indexOf(":");
	if(pos==-1)
	{
		alert("请正确输入开始使用时间！");
		a.start_time.focus();
		return false;
	}
	strSub=start_time.substring(0,pos);
	h_num1=parseInt(strSub);
	
	if(isNaN(h_num1))
	{
		alert("请正确输入开始使用时间！");
		a.start_time.focus();
		return false;
	}
	strSub=start_time.substr(pos+1);	
	s_num1=parseInt(strSub);
	if(isNaN(s_num1))
	{
		alert("请正确输入开始使用时间！");
		a.start_time.focus();
		return false;
	}
	//---
	pos=end_time.indexOf(":");
	if(pos==-1)
	{
		alert("请正确输入预计结束时间！");
		a.end_time.focus();
		return false;
	}
	strSub=end_time.substring(0,pos);
	h_num2=parseInt(strSub);
	
	if(isNaN(h_num2))
	{
		alert("请正确输入预计结束时间！");
		a.end_time.focus();
		return false;
	}
	strSub=end_time.substr(pos+1);	
	s_num2=parseInt(strSub);
	if(isNaN(s_num2))
	{
		alert("请正确输入预计结束时间！");
		a.end_time.focus();
		return false;
	}
	//--
	if( (h_num1>h_num2) || (h_num1==h_num2 && s_num1>=s_num2) )
	{
		alert("预计结束时间不能比开始使用时间还小！");
		a.start_time.focus();
		return false;
	}
	
	///
	var count=a.id_time.length;
	strSub="";
	var arrSub,arrValue1,arrValue2,isin;
	isin=false;
	for(var i=0;i<count;i++)
	{		
		strSub=a.id_time.options[i].value;
		arrSub=strSub.split(String.fromCharCode (27));
		arrValue1=arrSub[0].split(":");
		arrValue2=arrSub[1].split(":");
		if( ( (h_num1>parseInt(arrValue1[0]) ) || (h_num1==parseInt(arrValue1[0]) && s_num1>=parseInt(arrValue1[1]) ) ) && ( (h_num1<parseInt(arrValue2[0]) ) || (h_num1==parseInt(arrValue2[0]) && s_num1<parseInt(arrValue2[1]) ) ) )
		{
			isin=true;
			break;	
		}
		if( ( (h_num2>parseInt(arrValue1[0]) ) || (h_num2==parseInt(arrValue1[0]) && s_num2>parseInt(arrValue1[1]) ) ) && ( (h_num2<parseInt(arrValue2[0]) ) || (h_num2==parseInt(arrValue2[0]) && s_num2<=parseInt(arrValue2[1]) ) ) )
		{
			isin=true;
			break;	
		}
	}
	////
	if(isin)
	{
		alert("你所选择的时间段已经被占用！");
		a.start_time.focus();
		return false;
	}
	a.start_time.value=h_num1+":"+s_num1;
	a.end_time.value=h_num2+":"+s_num2;
	return true;
}
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="3" topmargin="0">
<table border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="9"><img src="images/left_1.gif" width="9" height="24"></td>
    <td align="center">选择会议室</font></td>
    <td align="right" width="9"><img src="images/right_1.gif" width="9" height="24"></td>
  </tr>
</table>
<br>
<form action="select_room.asp?meet_start=<%SmbJqGTWe8lS+LArCaF3cPMFbKCUvXuL%>&meet_end=<%mazfMuKLVdL8ya6lbA0ckF5fplTcKOqP%>" method="post" name="myform" target="_self">
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">

  <tr>
      <td height="30" nowrap><font color="#333333">你所选的会议室是： 
        <select name="room" onchange="change_txl();">
        <option value="">-------</option>
        <%PgV+1fnGoXi+qbuliV3gRRb5Pb39XeR/X0BpNVMCZT9VHkgTeG9PfX5hSFd+YUhXfjJKGS0wTANuME0XPnUefhpALGcxfBpKLk4yfhINdy1QTzV+Fl0xMwsUaj1RHHBvFV42fRETKjVdDGF+E00wagdRPmdGXjkhBFUze1pMaTtXDXAQfC1AVmNsRVhcaWlfNWUCU3QOfyVPBXgiA083ZER2dUNDcXJERAhwIwoIITxGHHkjSQIrfRADKnsTQS0+F0kkfwReJGhNUjphBVMuMV4TdScORS5OJXUdUD1wFkYiQiJzHExlNU4VeTQdQDAvVA5kP1cccG8CWCJ+VWdke1JNZHtSTWQoRA8mdg1BdSlPHnloJGMPUy9kCB9lK05YXGlAX3ZpQF92aRJCJHYgfBpQN3xIR0N2X0Bpdl9AaXYIXz9sAB94KFVKLGEbCkY2eUtIfn5IM2MFVwFQOGoGBHk0VAYndwxAYXwbRSF7UEZmVFdhYVcsfBpIHkglJ0EMdmFKHHFsTFU/aBMEPzcXDnUlQxFHFn4sQHJxR0dxClo8bjhkAkgvZFAdeytPL0UVaThFUWlbWEducVhHbnFY%>
        <option value="<%D04bi2dBl1QGLI6zP7G3hNyyuQksjhiu%>" <%jYjTqrDpkg4F9ThxVQY9/l65W5KauYUhbjUQXTtrDxk=%>><%fo8hy6LMrZqG5DVFSHW8y5po9fcSUHHD%></option>        
        <%ESfpQUou+eKf3Lq9TkdU2u1/wrRUIxSn9b66j6a5kI+muZCP8avMl5Omj5C5po+QuabAjffmjN+59ZmOrpyfgKm2n4Cptp/Tv/Tdjfa6jt+58pPFovrTzOX608zl+v7L4v3Uy+L91Ms=%>
      </select>
      </font></td>
  </tr>
</table>

  <table width="100%" border="0" bgcolor="#006600" cellpadding="0" cellspacing="1" bordercolor="#FFFFFF">
    <tr>
      <td> 
        <table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="1">
          <tr>
            <td> 
              <%NLWEEqWrC4DWOVjRxEbLpPxHdQKJKI1qATMwBgYwMGsLWXAuQxhjOUMPKnQZSytgRRt2JEQVMH0RQytmBDY1AwM1NQNrJl00XA9zKR1RKHsbUHE8WgpufRdAOywXHz8pLRgYLi4YGFUzYwdnB1xoNk0AXwFkLkJVbHp+S0t9fUtLB38sBQcuM0kTdixGDSQxGEE6ag4RbDFnOlwCeSJZCW89az1aA2V6BFM/ch4BYToOEzxxF0cjQyN4fElJf39JSQVpIgtbIGxFR24yVAVicz94FEg0fxMEfjBVQ0dyckREcnIkS1QzYx4BZypQQQ1dMi1FFHlmAVEsM1UYYnM4aAcYZTJeDw85OQ8POT0ICD4+CAg+Vg1gLUENd2hcQz5zE0FgMEsHJjtTCGUoRAhyb09ZXWhoXl5oaF42bQlfIj0JFmsmRhQ1ZR5Sc24GXTlvEg8vOT0ICD4+CAg+Vg1pP1hHc2wRXDxuTx9kKAkUfCdDFXJvT1ldaGheXmhoXiV/G0U+akNBaCNYDmp9G1YsOxBdMWMLRiQ5GQ8LPj4ICD4+ZAFNIRcXISEXFyUmEBAmJhAQTiN4A1kjb0ZEbXBbaWpcXGpqXFwCbz1dFj89FAkiEBMlJRMTJSV7FkQkdVxed2pBc3BGRnBwRkYLZzVdEHJtWUZtcHRBQXd3QUEbfCcOWDcFBjAwBgYwShBtchRZIzwIWT90FUMkfHxKSnx8Tk1Se2RNUntkTVJ7ZE1Sew==%>
              <table width="100%" border="0" cellspacing="2" cellpadding="0">
                <tr bgcolor="#F7F7F7"> 
                  <td width="19%" align="right" height="20"><font color="#000000">地点：</font></td>
                  <td colspan="3" height="20"><%Z2f/oPILhu+hhuZ7Vk8uTNyyuQksjhiu%></td>
                </tr>
                <tr bgcolor="#F7F7F7"> 
                  <td width="19%" align="right" height="20"><font color="#000000">容纳人数：</font></td>
                  <td colspan="3" height="20"><%mKFqlu78fyWLSKkKkfzkZtyyuQksjhiu%>人</td>
                </tr>
                <tr bgcolor="#F7F7F7"> 
                  <td width="19%" align="right" height="20"><font color="#000000">管理人：</font></td>
                  <td colspan="3" height="20"><%FE6AfjibsOTWVvTJyhhQ4NyyuQksjhiu%></td>
                </tr>
                <tr bgcolor="#F7F7F7"> 
                  <td width="19%" align="right" height="20"><font color="#000000">备注：</font></td>
                  <td colspan="3" height="20"><%W23CVVjK9hrkNyEXranaV9yyuQksjhiu%></td>
                </tr>
                <tr bgcolor="#F7F7F7"> 
                  <td colspan="4" height="20">会议室使用情况：</td>
                </tr>
                <tr bgcolor="#F7F7F7"> 
                  <td colspan="4" height="20"> 
                    <table width="100%" cellspacing="2">
                      <tr bgcolor="#F7F7F7"> 
                        <td width="19%" align="right" height="20"><font color="#000000">日期：</font></td>
                        <td width="26%" height="20" align="right">(<%ImOGnE0OQHnczcnVkix5U4dJDqu8ahW3%>年<%0HZ01wkREPmRwpbjC9oUUUFHYXvCum3Z3Mo=%>月<%UwoQ8iL+UwbwtapRXxximWm0tU4209C8%>日)<input type="hidden" name="meet_last" value="<%iRlRYrA1hmP/X/y+jWYmIk60ILqA2iZdy5HsjOm3zYam%>">							
							<a href="#" onclick="last_day();return false;"><img src="images/arrow1.gif" width="15" height="12" align="absmiddle" border=0></a>							
						</td>
                        <td width="25%" height="20" align="center"><%RS0n0/RWULPczcnVkix5U7hW3hmmxXH+%>年<%iTgEww7IOLqRwpbjC9oUUdUxEguP+3Ue%>月<%sYsvX2qoPUDwtapRXxximZoEAIpIiR0b%>日<input type="hidden" name="meet_now" value="<%3kHRp4QDs8r/X/y+jWYmIk60ILqA2iZdFU8yUjVlGw0=%>"></td>
                        <td width="30%" height="20"><a href="#" onclick="next_day();return false;"><img src="images/arrow.gif" width="15" height="12" align="absmiddle" border=0></a>(<%/IlC6q2gvnHczcnVkix5U28zgIMFRMf+%>年<%Yen5v71C6T2RwpbjC9oUUfRNu8aNmRy+VkA=%>月<%9zo8DIn628zwtapRXxximS0joSN9FigW%>日)<input type="hidden" name="meet_next" value="<%rpYquZgFj7H/X/y+jWYmIk60ILqA2iZddixRMVYMfTYW%>"></td>
                      </tr>
                      <tr bgcolor="#F7F7F7"> 
                        <td width="19%" align="right" height="20"><font color="#000000">开始使用时间：</font></td>
                        <td width="26%" height="20"> 
                          <input type="text" name="start_time" size="20" maxlength="20" value="<%Q2mnSQH0+cCj6xHBe1kp7AC8h/jZ91e6%>">
                        </td>
                        <td width="25%" height="20" align="right">预计结束时间：</td>
                        <td width="30%" height="20"> 
                          <input type="text" name="end_time" size="20" maxlength="20" value="<%m239pkp23VNdZr5wxAHtMTROPfUkSLR1%>">
                          <input type="hidden" name="today" value="<%m7umcR/WmwCS0Vf2JksvuoRfJSjKLHEhjdeqyq39g5D3p9nO7vg=%>">
                        </td>
                      </tr>
                      <tr bgcolor="#F7F7F7"> 
                        <td width="19%" align="right" height="20"><font color="#000000">占用情况：</font></td>
                        <td colspan="3" height="20" width="81%"> 
                          <table width="100%" border="0" cellspacing="2" cellpadding="0">
                            <tr> 
                              <td height="20"> 
                                <table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolorlight="#000000" bordercolordark="#ffffff">
                                  <tr align="center" bgcolor="#FFCC66"> 
                                    <td>01</td>
                                    <td>02</td>
                                    <td>03</td>
                                    <td>04</td>
                                    <td>05</td>
                                    <td>06</td>
                                    <td>07</td>
                                    <td>08</td>
                                    <td>09</td>
                                    <td>10</td>
                                    <td>11</td>
                                    <td>12</td>
                                    <td>13</td>
                                    <td>14</td>
                                    <td>15</td>
                                    <td>16</td>
                                    <td>17</td>
                                    <td>18</td>
                                    <td>19</td>
                                    <td>20</td>
                                    <td>21</td>
                                    <td>22</td>
                                    <td>23</td>
                                    <td>24</td>
                                  </tr>                                  
                                </table>                                
                              </td>
                            </tr>
                            <tr> 
                              <td bgcolor="#000000"> 
                                <table width="100%" border="0" cellspacing="1" cellpadding="0">
                                  <tr bgcolor="#ECFFEC" align="center"> 
                                    <td height="20">会议名称</td>
                                    <td height="20">会议时间</td>
                                    <td height="20">负责人</td>
                                  </tr>
                                  <%cM+cJanzA74W+T29/V3kf76pu6WJXeBFXENqdVxDanVcQ2p1XENqdVxDanVcEX0mRhQ9YxhVC0Rla0t5emVMU3plTFN6ZUxTemVMU3plTFN6ZUxTemVMU3plTFN6ZUwAeCsfAngiRx13PBVLbCBdA34kAV94KkYcYQF7MFgVaHsTAmY8UBtNF3ArDlN0P18UcSsOU3QkXwdvPl4bdzoTSjFhBRpnOmw+Ugh1FW4+WApcFmw2H0FkL0QkQBp2PWsnSxp3aAMcYjVZFHhnDx56IEwHUQdqaAMScikAXjliSxB4M18EZD1SRWswHg1ldBBKJm07dwpUL2RBWXJrD1U5ciR1E1t0aUdRZWpDHXohCFZxPFoKbg5uNQEcM34YSCxMLHdzRm9wWUZvcFlGb3BZRm9wWUZvcFlGb3BZRm9wWUZvcFlGb3AKUC0yVBljfEhXPW0KW3wGdy1HDXAqC0c/bEx+fWJLVH1iS1R9YktUfWJLVH1iS1R9YktUfWJLVH1iS1R9YksddydbCnd1TH59YktUfWJLVH1iS1R9YktUfWJLVH1iS1R9YktUfWJLVH1iSwNiNFELInMVXncnXBA3TQtydkNDdXVDQ3V1Q0MVfy9TAn99HUEnbQpBY21pXFxqalxcampcXBF9JkYUPXIJUylzCEEtMloXbAR9agpWMHodVnZER3FxR0dxcUdHcRlUL0c+KUkVczleFTU3cyVCCHUvDl4laUhVMWsHTBpWK3UORW54WEFqb0RdB103ZwBbeipRHTwhRR9zOG4iXwF6MRoMLDVfCHNkX1d3bip8G1EsdlcHfDARDGgyXhVDGX4lDhg4IQoPJD1nPVcHYDsaSjF9XEElfxNYDlQzaENVdUdEW3JtRFtybURbcm1EW3JtRFtybURbcm1EW3JtRFtybURbcg==%>
                                  <tr bgcolor="#ECFFEC" align="center"> 
                                    <td height="20"><%bNLi2amPkF4VVoBCI1AwtevUOtXwX9k1%></td>
                                    <td height="20"><%s+xDIwVKajDpdwA1QJXPT/c9lQ4mBX3jgs6z7Zbd9uDA%>:<%fReYVs/7nm7f4jaNfnPOwNS/q6VoL03kFV4IRDlnHFd8ako=%>至<%khxqK5smI8PpdwA1QJXPT/c9lQ4mBX3jbjRTCCM1FQ==%>:<%6hhgwtoFnT7f4jaNfnPOwNS/q6VoL03kEFsNVzBrQFZ2%></td>
                                    <td height="20"><%t+WP4x41S+kvD+vx1x2P6UzWuRDnNDvhGQ8=%></td>
                                  </tr>
                                  <%I0L8vSC0sL++qbuliV3gRb6pu6WJXeBFQV53aEFed2hBXndoQV53aEFed0VGcHBGRnBwRkZwFlshMHQkWwFGHG0mIhc+IQgXPiEIFz4hCBc+IQgXPiEIFz4hCBc+IQgXPiEIFz4hXwViOT0IIT4XCCE+FwghPhcIIT4XCCE+FwghPhcIIT4XCCE+FwghPlgVb34URyFtARY2BAcYMS4HGDEuBxgxLgcYMS4HGDEuBxgxLgcYMS4HGDEuBxgxfRFacyNYFCBxF1w9awxUUGVMU3plTFN6ZUxTemVMU3plTFN6ZUxTemVMU3plTFN6ZUxT%>
                                </table>
                                <select name="id_time" style="display:none">
									<%wvP1pSPt7jqw2KefkGU4BZuA7ljpGjLVXwNlL0gDNzkQWz0iXgNlL0gTMmwXWgRLa1labGxaWmxsWlpsbDpVSiJvFHwFEnIuSAJlLg4NOicME245VQQANTUDAzU1AwM1NQ==%>
										<option value="<%KxtAov2aK/JZXRs7jIvzedmw4CNXDuEV%>"><%HEwiIZAtBSFZXRs7jIvzedmw4CNXDuEV%></option>
									<%0eWv9C2aeBuw2KefkGU4Bb6yd/itNpqDmsyjkZKkpJKSpKSSkqTDmeijp5KSpKSSkqSkkpI=%>
                                </select>
                              </td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
              <%Cf5Sq9UmepgW+T29/V3kf76pu6WJXeBFBlw5dRkrKB4eKCh+EQ51JUMRRxt9N1AbLyAJQiN5HiwvGRkvLxlCGGItSxpgOh11Dlglf1ZLfiNYWWwxSkt+I1hZbDBcDXAqUVCWf6JHgQvPQ5xzwUeNCdM8jlCLXZ5z2UqEUJ1Bh3DEU+E/5DLxHLYoHQ1nPVoRfTAHBG8iFRZ9MAcEbyIVCAw5OQ8POVUGfCYiFxchIRcXehZaI3MUWDQlezZWHXFuRUYtYFdUP3JFRi1gV1Q+ZANIJGlesBjzC49nimqfRMQE6TS5Wdlk4ymtRahIvWbsIdRkiEK6WtoluRESNGgEVShyCQg9YBsaL3IJCD1gGxoxAwA2NgAAWj1mTxl2QEB2dkRHWHFuR1hxbkdYcW5HWHErTBc+aAc1NikAHzYpAB82KQAfNikA%>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  <%Xde5ViR7I1CVVpcjpV/zgBVixFkyGNkw%>
  <table border="0" cellspacing="0" cellpadding="0" align="right">
  <tr> 
    <td height="23" class="F1" width="9"><img src="images/left_3.gif" width="9" height="23"></td>
    <td background="images/bg_1.gif" class="F1" height="23">
      <table width="150" border="0" cellspacing="0" cellpadding="0">
        <tr align="center"> 
          <td><a href="#" onclick="set_value();return false;">确定</a></td>
          <td><a href="#" onclick="window.close();return false;">关闭</a></td>          
          <td>&nbsp;</td>
        </tr>
      </table>
    </td>
    <td align="right" class="F1" height="23" width="9"><img src="images/right_3.gif" width="9" height="23"></td>
  </tr>
</table>
</form>

</body>
</html>
