<%@ page contentType="text/html; charset=GBK"%>
<%@ page import="java.sql.*,gbase.db.*,gbase.init.*,org.apache.log4j.MDC" %>
<HTML>
<HEAD>
<TITLE>JAVACMS自助建站网</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="css/gdtel.css" type=text/css rel=stylesheet>
<LINK href="css/other.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<SCRIPT language="JavaScript" src="../managerweb/js/util.js"></SCRIPT>
<%
WebConfig theWebConfig=WebConfig.getInstance();
String new_web_url=theWebConfig.getWeb_url();
String new_web_ip=theWebConfig.getIp();
String action = "add";
String web_account = request.getParameter("web_account")==null?"":request.getParameter("web_account");
String web_project_id="";
String web_id="";
String web_name="";
String web_url="";
String web_type=request.getParameter("web_type")==null?"":request.getParameter("web_type");
String web_keywords="";
String web_description="";
String web_user_type="";
String web_enterprise_name="";
String web_enterprise_address="";
String web_contacter_name="";
String web_contacter_telno="";
String web_contacter_email="";
String web_contacter_qq="";
String password="";
String web_jive_flag="";
String web_jive_desc="";
String real_url="";
String project_account=request.getParameter("project_account")==null?"":request.getParameter("project_account");
String project_id=request.getParameter("project_id")==null?"":request.getParameter("project_id");
if(project_id.equals(""))
{
%>
<script>
window.location="project_select.jsp";
</script>
<%}%>
<HTML>
<%@ include file="top.htm" %>
<Script Language="javaScript">
    function isSpace(str) {
      var len = str.length;

      for(var i=0; i< len; i++) {
        temp = str.substring(i,i+1);
        if (temp != " ") {
            return false;
        }
      }
    return true;
    }
    function  check_validate(theForm) {
        if (isSpace(theForm.web_account.value)) {
            alert("网站帐号不能为空！");
            theForm.web_account.focus();
            return false;
        }
        if (isSpace(theForm.user_account.value)) {
            alert("用户帐号不能为空！");
            theForm.user_account.focus();
            return false;
        }
        if (isSpace(theForm.password.value)) {
            alert("密码不能为空！");
            theForm.password.focus();
            return false;
        }
        return true;
    }
</Script>
<BODY topMargin=0>
<DIV id=progress_bar 
style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; DISPLAY: none; MARGIN: 10px; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid; POSITION: absolute; BACKGROUND-COLOR: #f5f5f5" 
align=center><BR>&nbsp;&nbsp;<font color=blue>系统正在处理您的请求!</font><BR><BR><font color=blue>由于同时申请的用户比较多，敬请耐心等候 ...</font><BR><BR>
<OBJECT 
codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0 
height=22 width=166 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="movie" VALUE="/images/progress_bar.swf"><PARAM NAME="quality" VALUE="high">
            <embed src="images/progress_bar.swf" quality="high" 
pluginspage="http://www.macromedia.com/go/getflashplayer" 
type="application/x-shockwave-flash" width="166" height="22"></embed>  
</OBJECT><BR><BR></DIV>
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
  <TBODY>
  <TR>
    <TD style="HEIGHT: 10px"></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
  <TBODY>
  <TR vAlign=top>
    <TD style="WIDTH: 194px; BACKGROUND-COLOR: #f8f8f8" height=300>
      <TABLE cellSpacing=0 cellPadding=0 width=194 border=0>
        <TBODY>
        <TR>
          <TD><IMG height=32 src="images/kehulogin.jpg" 
        width=194></TD></TR></TBODY></TABLE>
      <TABLE style="BACKGROUND-COLOR: #ffffff" cellSpacing=0 cellPadding=0 
      width=194 border=0>
        <FORM name=loginForm onsubmit="return check_validate(this)" action="../cmsweb/login_save.jsp" method=post>
        <INPUT type=hidden value=null name=loginOldUri> 
        <TBODY>
        <TR>
          <TD style="WIDTH: 1px; BACKGROUND-COLOR: #d5d5d5"></TD>
          <TD style="HEIGHT: 170px" vAlign=top>
            <TABLE style="MARGIN-TOP: 6px" cellSpacing=1 cellPadding=2 
            width="100%" border=0>
              <TBODY>
              <TR>
                <TD align=right height="22" width="30%">网站帐号:</TD>
                <TD>
                 <SPAN class=text7>
                  <INPUT class=input_l id=web_account style="WIDTH: 113px"  name=web_account> 
                 </SPAN>
                </TD>
              </TR>
              <TR>
                <TD align=right  height="22" width="30%">用户帐号:</TD>
                <TD>
                 <SPAN class=text7>
                  <INPUT class=input_l id=user_account style="WIDTH: 113px"  name=user_account> 
                 </SPAN>
                </TD>
              </TR>
              <TR>
                <TD align=right  height="22" width="30%">密　　码:</TD>
                <TD>
                 <SPAN class=text7>
                  <INPUT type=password class=input_l id=password style="WIDTH: 113px"  name=password> 
                 </SPAN>
                </TD>
              </TR>
            </TBODY></TABLE>
            <TABLE cellSpacing=1 cellPadding=2 width="95%" align=center border=0>
              <TBODY>
              <TR align=middle>
                <TD>&nbsp;&nbsp;<INPUT class=button type=submit value=登录 name=logon></TD>
                <TD>&nbsp;&nbsp;</TD>
                <TD><INPUT class=button_bold4 onclick="top.location.href='/support/support_d_p1.jsp'" type=button value=忘记密码 name=reg>&nbsp;&nbsp;</TD>
               </TR></TBODY></TABLE>
           <TABLE cellSpacing=1 cellPadding=2 width="95%" align=center border=0>
              <TBODY>
              <TR align=middle>
                <TD><A href="register.jsp"><IMG height=50  src="images/reg_but.gif" width=180></a></TD>
               </TR></TBODY></TABLE>
            </TD>
          <TD style="WIDTH: 1px; BACKGROUND-COLOR: #d5d5d5"></TD></TR>
        <TR>
          <TD style="HEIGHT: 1px; BACKGROUND-COLOR: #d5d5d5" colSpan=3 
          height=89></TD></TR></FORM>
          
          </TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD 
      style="HEIGHT: 10px; BACKGROUND-COLOR: #ffffff"></TD></TR></TBODY></TABLE>
     
<!-- 记录页面被点击此次 -->
      <TABLE cellSpacing=0 cellPadding=0 width=194 border=0>
        <TBODY>
        <TR>
          <TD><IMG height=31 src="images/support_left.jpg" 
        width=194></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=194 border=0>
        <TBODY>
        <%@ include file="net_sample.jsp" %>
        <TR>
          <TD style="HEIGHT: 1px; BACKGROUND-COLOR: #d5d5d5" colSpan=3 
          height=10></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD 
      style="HEIGHT: 10px; BACKGROUND-COLOR: #ffffff"></TD></TR></TBODY></TABLE></TD>
    <TD style="WIDTH: 12px"></TD>
    <TD align=right>
      <TABLE cellSpacing=0 cellPadding=0 width=572 border=0>
        <TBODY>
        <TR>
          <TD width=55><IMG height=31 src="images/title_arrow.jpg" 
            width=55></TD>
          <TD style="BACKGROUND-IMAGE: url(images/title_arrow_bg.jpg)" 
          width=101>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD><IMG height=31 src="images/main_title1.jpg" 
                  width=72></TD>
                <TD><IMG height=31 src="images/arrow01.jpg" width=11></TD>
                <TD>&nbsp;</TD></TR></TBODY></TABLE></TD>
          <TD style="BACKGROUND-IMAGE: url(images/ban_bg_01.jpg)" 
          width=407></TD>
          <TD width=9><IMG height=31 src="images/ban_right_01.jpg" 
            width=8></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=572 border=0>
        <TBODY>
        <TR>
          <TD style="WIDTH: 1px; BACKGROUND-COLOR: #d5d5d5"></TD>
          <TD style="HEIGHT: 398px" vAlign=top>
            <FORM name=form1  action="web_info_save.jsp" method=post>
            <TABLE class=table_k_bg 
            style="MARGIN: 10px 0px 0px 10px; WIDTH: 550px" cellSpacing=0 
            cellPadding=0 border=0>
              <TBODY>
              <TR>
                <TD class=table_k_bg1 
                style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; PADDING-TOP: 7px" 
                colSpan=4>欢迎加入JAVACMS自助建站网!您只需要5秒钟，即可获得免费的JAVACMS帐号，轻松建立自己的网站。如果您已经是会员，请在左边登录。</TD></TR>
              </TBODY></TABLE>
            <TABLE class=table_k_bg 
            style="MARGIN: 10px 0px 0px 10px; WIDTH: 550px" cellSpacing=1 
            cellPadding=3 border=0>
              <TBODY>
              <input name="project_account" type="hidden" value="<%=project_account%>">
              <input name="project_id" type="hidden" value="<%=project_id%>">
              <TR>
                <TD align="center"  bgColor=#e9f0f4 
                colSpan=2><B>注册帐户</B></TD></TR>
              <tr>
		<td align="right"  bgColor=#e9f0f4  width=90>网站帐号：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
			<%if(action.equals("update") || action.equals("view")){%>
			<%=web_account%>
			<input name="web_account" type="hidden" value="<%=web_account%>">
			<%} else {%>
			<input name="web_account" type="text" size="25" maxlength="25" value="<%=web_account%>">
			<BR>&nbsp;网站帐号5-25个字符,只能包含0-9,a-z,A-Z或下划线
			<%}%>
                </td>
	      </tr>
	      <tr>
		<td align="right"  bgColor=#e9f0f4>用户帐号：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
		   admin	
                </td>
	      </tr>
	<tr>
		<td align="right"  bgColor=#e9f0f4>密码：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
			<input name="password" type="password" size="50" maxlength="25" value="<%=password%>">&nbsp;
		</td>
	</tr>
	<tr>
		<td align="right"  bgColor=#e9f0f4>密码确认：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
			<input name="password1" type="password" size="50" maxlength="25" value="<%=password%>">&nbsp;
		</td>
	</tr>
	<tr>
		<td align="right"  bgColor=#e9f0f4>网站名称：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
			<input name="web_name" type="text" size="50" maxlength="25" value="<%=web_name%>">&nbsp;
		</td>
	</tr>
	<tr>
		<td align="right"  bgColor=#e9f0f4>首页网页标题：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
			<input name="web_enterprise_name" type="text" size="50" maxlength="25" value="<%=web_enterprise_name%>">&nbsp;
		</td>
	</tr>
	<tr>
		<td align="right"  bgColor=#e9f0f4>网站类型：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
		     <%
	               DBOperation theSelectDBOperation = new DBOperation();
	               String select_sql = "select * from web_type ";
                       ResultSet select_rs =theSelectDBOperation.getResultSet(select_sql);
	             %>
	             <select name="web_type">
                        <option value="">--请选择--</option>
                        <%while(select_rs.next()){%>
	                <option value="<%=select_rs.getString("type_id")%>"><%=select_rs.getString("type_name")%></option>
	                <%}%>
	             </select>
	             <script>form1.web_type.value='<%=web_type%>';</script>
                </td>
	</tr>
        <tr>
		<td align="right"  bgColor=#e9f0f4>联系人Email：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
			<input name="web_contacter_email" type="text" size="50" maxlength="25" value="<%=web_contacter_email%>">&nbsp;<BR>&nbsp;请留真实Email，以便忘记密码时使用Email取回密码；或者有最新信息时，网站能及时联系到你。
		</td>
	</tr>
	<tr>
		<td align="right"  bgColor=#e9f0f4   width=90>网站域名：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
			<input name="web_url" type="text" size="50" maxlength="50" value="<%=web_url%>">&nbsp;<BR>
			&nbsp;&nbsp;如：http://www.java114.com；如果你还没域名,网站域名可以为空，采用免费的二级域名访问(二级域名为：http://网站帐号<%=new_web_url%>)；如果是采用自己的域名时，请把域名解析到ip:<%=new_web_ip%>
                </td>
	</tr>
	<tr>
		<td align="right"  bgColor=#e9f0f4>论坛标志：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>
		    &nbsp;<input type="radio" value="0"  name="web_jive_flag" onclick="web_jive_flag_change(this.value)">不创建论坛 
		    &nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" value="1"  name="web_jive_flag" onclick="web_jive_flag_change(this.value)">创建论坛
		    <script>RadioChecked('web_jive_flag','<%=web_jive_flag%>')</script>
		</td>
	</tr>
	<tr id="web_jive_desc" style="display:none">
		<td align="right"  bgColor=#e9f0f4>论坛描述：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
			<input name="web_jive_desc" type="text" size="60" maxlength="200" value="<%=web_jive_desc%>">&nbsp;
		</td>
	</tr>
	<tr>
	  <td align="left"  bgColor=#e9f0f4 colSpan=2>&nbsp;&nbsp;<a href="javascript:web_advanced_change()"><B>高级设置</B></a></td>
	</tr>
	<tr id="web_advanced2"  style="display:none">
		<td align="right"  bgColor=#e9f0f4   width=90>网站logo：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
		   <input id="real_url" name="real_url" size=25 readonly="true" value="<%=real_url%>">&nbsp;<input type=button value='从本地上传' onclick="javascript: openWin('../managerweb/htmledit/html/upload_pic1.htm','450','150');">&nbsp;
		   <BR>&nbsp;&nbsp;如果为空时，系统将采用默认的logo图片。
		</td>
	</tr>
	<tr id="web_advanced3"  style="display:none">
		<td align="right"  bgColor=#e9f0f4   width=90>网站META关键词：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
			<input name="web_keywords" type="text" size="60" maxlength="200" value="<%=web_keywords%>">&nbsp;<BR>
			&nbsp;&nbsp;针对搜索引擎设置的关键词,例如：网站,门户,新闻;快讯多个关键词请用,号分隔,不能带"与'号。
		</td>
	</tr>
	<tr id="web_advanced4"  style="display:none">
		<td align="right"  bgColor=#e9f0f4  width=90>网站META网页描述：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
			<input name="web_description" type="text" size="60" maxlength="100" value="<%=web_description%>">&nbsp;<BR>
			&nbsp;&nbsp;针对搜索引擎设置的网页描述,例如：网站,门户,新闻;快讯多个关键词请用,号分隔,不能带"与'号。
		</td>
	</tr>
	
	<tr id="web_advanced5"  style="display:none">
		<td align="right"  bgColor=#e9f0f4  width=90>联系人：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
			<input name="web_contacter_name" type="text" size="50" maxlength="25" value="<%=web_contacter_name%>">&nbsp;
		</td>
	</tr>
	<tr id="web_advanced6"  style="display:none">
		<td align="right"  bgColor=#e9f0f4  width=90>联系人电话：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
			<input name="web_contacter_telno" type="text" size="50" maxlength="25" value="<%=web_contacter_telno%>">&nbsp;
		</td>
	</tr>
	<tr id="web_advanced7"  style="display:none">
		<td align="right"  bgColor=#e9f0f4  width=90>联系人QQ：</td>
		<td onmouseover='vbscript:me.bgcolor="#F5F5F5"'	onmouseout='vbscript:me.bgcolor="#FFFFFF"' bgColor=#ffffff>&nbsp;
			<input name="web_contacter_qq" type="text" size="50" maxlength="25" value="<%=web_contacter_qq%>">&nbsp;
		</td>
	</tr>
	
             </TBODY></TABLE>
            <TABLE 
            style="MARGIN: 10px 0px 0px 10px; VERTICAL-ALIGN: top; WIDTH: 550px" 
            cellSpacing=0 cellPadding=0 border=0>
              <TBODY>
              <TR class="subselectbg_i2 text3">
                <TD 
                style="VERTICAL-ALIGN: top; WIDTH: 50%; HEIGHT: 30px; TEXT-ALIGN: center">
                  <TABLE cellSpacing=0 cellPadding=0 align=center border=0>
                    <TBODY>
                    <TR>
                      <TD style="TEXT-ALIGN: right"><INPUT  type=button value="确 定" name=save onClick="javascript: if(check_validate(this.form)){this.form.submit();}"></TD>
                      <TD style="TEXT-ALIGN: left">&nbsp;&nbsp;<INPUT  type=reset value="重 置" name=reset></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM></TD>
          <TD style="WIDTH: 1px; BACKGROUND-COLOR: #d5d5d5"></TD></TR>
        <TR>
          <TD style="HEIGHT: 1px; BACKGROUND-COLOR: #d5d5d5" 
        colSpan=3></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD>&nbsp;</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<Script Language="javaScript">
    var web_advanced_value=0;
    function  web_advanced_set()
    {
     web_advanced_value=0;
    }
    web_advanced_set();
    function  web_jive_flag_change(theValue) {
        if (theValue==1)
           {
           document.getElementById("web_jive_desc").style.display="block";
           }
        else
           {
           document.getElementById("web_jive_desc").style.display="none";
           }
        }
    web_jive_flag_change('<%=web_jive_flag%>');    
    function  check_validate(theForm) {
        if (isSpace(theForm.web_account.value)) {
            alert("网站帐号不能为空！");
            theForm.web_account.focus();
            return false;
        }
        if (theForm.web_account.value.length<5) {
            alert("网站帐号字符数不能少于5个！");
            theForm.web_account.focus();
            return false;
        }
        if(isTrueName(theForm.web_account.value) == false) {
		alert("网站帐号错误，网站帐号\n\n只能由字母a-z,数字0-9\n\n下划线_ 和 连接符号- 组成\n\n请修改网站帐号");
		theForm.web_account.focus();
		return(false);
	}
        if (isSpace(theForm.password.value)) {
            alert("管理员帐号admin密码不能为空！");
            theForm.password.focus();
            return false;
        }
        if (isSpace(theForm.password1.value)) {
            alert("密码确认不能为空！");
            theForm.password1.focus();
            return false;
        }
        if (theForm.password.value!=theForm.password1.value) {
            alert("管理员帐号admin密码与密码确认不相等，请重新输入！");
            theForm.password.focus();
            return false;
        }
        if (isSpace(theForm.web_name.value)) {
            alert("网站名称不能为空！");
            theForm.web_name.focus();
            return false;
        }
        if (isSpace(theForm.web_type.value)) {
            alert("网站类型不能为空！");
            theForm.web_type.focus();
            return false;
        }
        if (isSpace(theForm.web_contacter_email.value)) {
            alert("联系人Email不能为空！");
            theForm.web_contacter_email.focus();
            return false;
        }
        if (isSpace(theForm.web_url.value)) {
            
        }
        else {
        url=theForm.web_url.value.replace("http://","")
	re = /^([a-zA-Z0-9-]+\.)+(com|cn|net|biz|name|info|tv|org|cc|net.cn|com.cn|org.cn|ch|us|de|hk|com.hk|)$/
        if(!re.test(url)){
          alert('网站域名不是域名!'); 
          return false
        }
        }
        progress_bar.style.display="";
	progress_bar.style.top=280;
	progress_bar.style.left=400;
        
        theForm.submit();
    }
    function  web_advanced_change(){
        if (web_advanced_value==0)
           {
           web_advanced_value=1;
           document.getElementById("web_advanced2").style.display="block";
           document.getElementById("web_advanced3").style.display="block";
           document.getElementById("web_advanced4").style.display="block";
           document.getElementById("web_advanced5").style.display="block";
           document.getElementById("web_advanced6").style.display="block";
           document.getElementById("web_advanced7").style.display="block";
           }
        else
           {
           web_advanced_value=0;
           document.getElementById("web_advanced2").style.display="none";
           document.getElementById("web_advanced3").style.display="none";
           document.getElementById("web_advanced4").style.display="none";
           document.getElementById("web_advanced5").style.display="none";
           document.getElementById("web_advanced6").style.display="none";
           document.getElementById("web_advanced7").style.display="none";
           }
        }
//校验用户姓名：只能输入1-25个以字母开头的字串 
function isTrueName(s) 
{       
	var patrn=/^[a-zA-Z0-9_-]{1,25}$/; 
	if (!patrn.exec(s)) return false 
	return true 
} 
</Script>
<script language="javascript">
function IsDigit()
{
  return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
function openWin (path ,w ,h) {
	var feature = "" ;
	var winWidth = 300;
	var winHeight =200 ;
	if ( w != "" ){
		winWidth = w ;
	}
	if ( h != "" ){
		winHeight = h ;	
	}
	var left = (window.screen.width - winWidth )/2;
	var top = (window.screen.height - winHeight)/2;
	feature += "height=";
	feature += winHeight ;
	feature += ",width=";
	feature += winWidth;
	feature += ",left=";
	feature += left ;
	feature += ",top=";
	feature += top;
	window.open (path,"",feature);
}
</script>
<%@ include file="bottom.htm" %>
</BODY></HTML>