<!--#Include File="Connection.Asp"-->
<!--#Include File="JaClog.Asp"-->
 

<html>
<head>
<LINK href="JaImg/css.css" type=text/css rel=stylesheet>
</head>
<SCRIPT language=javascript>
function chk(theForm){
       if (theForm.ty.value == "0"){                
       alert("请选择物品所属!");                
       theForm.ty.focus();                
       return (false);        
       }  
}   
function go(what) {
  value = what.options[what.selectedIndex].value;
  if (value == "") return;
  if(value == 0)
    {
  alert("请选择物品所属!");
    }
   else
  {
  document.form1.action ="PhotoSave.Asp?t=" + value;
  }
}

</SCRIPT>
<body leftMargin=2 topMargin=0 marginheight="0" marginwidth="0">
<form method="post" action="" enctype="multipart/form-data" name="form1" onSubmit="return chk(this)">
<select name=ty id="ty" onChange=go(this)>
<option value="0">物品所属</option>
<option value="1">皮肤</option>
<option value="2">鼠标</option>
<option value="3">banner</option>
<option value="4">挂件</option>
<option value="5">漂浮</option>
<option value="6">植物</option>
<option value="7">公告栏</option>
<option value="8">播放器</option>
<option value="9">缩略图</option>
<option value="10">家园物品</option>
<option value="11">形象物品</option>
</select>
<input type=file name="file1" size="20">
<input type="submit" name="submit" value="上 传">
</form>
</body>
</html>
