<!-- #include file="include/config.asp" -->
<!-- #include file="../include/common_video.asp" -->
<!-- #include file="../include/no_cache.asp" -->
<%
dim id,fid,session_view,passurl,wstyle
id=trim(request.querystring("id"))
fid=trim(request.querystring("fid"))
if not(isnumeric(id)) or not(isnumeric(fid)) then
  response.write joekoe_cms.js_put("alert(""错误的ID参数：\n\n您勿向本站提交非法信息！"");window.close();",1)
  call web_clear(1)
end if

session_view="vs"&joekoe_cms.rand_num(8)
session(joekoe_cms.web_cookies&"_video")=session_view
passurl="play.asp?action=play&id="&id&"&fid="&fid&"&session_view="&session_view
wstyle=int(mid(video_dim(3),4,1))

call joekoe_cms.web_title()
%>
</head>
<body topmargin=0 leftmargin=0>
<INPUT type=hidden id=session_view value='<%response.write session_view%>'>
<script language=javascript>
<!--
self.resizeTo(1,1);
self.moveTo(screen.width-10,screen.height-10);
blur();
video_openwin('<%response.write passurl%>',<%response.write wstyle%>)
window.close();

function video_openwin(url,ws)
{
  var width=694;
  var height=530;
  var Left_size = (screen.width) ? (screen.width-width)/2 : 0;
  var Top_size = (screen.height) ? (screen.height-height)/2 : 0;
  if (ws==0)
  { window.showModalDialog(url,session_view.value,'dialogWidth:'+width+'px;dialogHeight:'+height+'px;resizable:no;help:no;status:no;'); }
  if (ws==1)
  { window.showModelessDialog(url,session_view.value,'dialogWidth:'+width+'px;dialogHeight:'+height+'px;resizable:yes;help:no;status:no;'); }
  if (ws==2)
  { window.open(url,session_view.value,'width=' + width + ',height=480,left=' + Left_size + ',top=' + Top_size + ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no'); }
}
-->
</script>
</body>
</html>
<%call web_clear(1)%>