<%@ Page Language="VB" AutoEventWireup="false" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.AD_Flashad" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>首页中部按钮广告</title>
<link href="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
</head>
<body>
<table style="height:150; width:200" border="0" cellpadding="0" cellspacing="0">
  <tr>
              <td style="height:150" valign="top">
                  <script type="text/javascript">
	var focus_width=<%=IsNull(Request("w"),200)%>
	var focus_height=<%=IsNull(Request("h"),150)%>
	var text_height=20
	var swf_height = focus_height + text_height

	var pics='/ad/ihdp/<%=rsad("picurl01").Value%>|/ad/ihdp/<%=rsad("picurl02").Value%>|/ad/ihdp/<%=rsad("picurl03").Value%>|/ad/ihdp/<%=rsad("picurl04").Value%>|/ad/ihdp/<%=rsad("picurl05").Value%>'	
	var links='<%=rsad("httpurl01").Value%>|<%=rsad("httpurl02").Value%>|<%=rsad("httpurl03").Value%>|<%=rsad("httpurl04").Value%>|<%=rsad("httpurl05").Value%>'
	var texts='<%=rsad("shuomin01").Value%>|<%=rsad("shuomin02").Value%>|<%=rsad("shuomin03").Value%>|<%=rsad("shuomin04").Value%>|<%=rsad("shuomin05").Value%>'

	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
	document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="/images/playswf.swf"><param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
	document.write('<param name="menu" value="false"><param name="wmode" value="opaque">');
	document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
	document.write('<embed src="<%=AppConst.SiteUrl%>/images/playswf.swf" wmode="opaque" flashvars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');	document.write('</object>');
	      </script></td>
  </tr>
</table>
</body>
<%Page_Loaded()%>
</html>