<%other_side_show_ads=site.object_p%>
<!-- object[<%=site.object_p%>]::other_side_show_ads-->

<div id='other_side_show_ads_<%=site.object(site.object_p).id%>' style='position: absolute;visibility:hidden;z-index:1' <%=site.object(site.object_p).style%> >
<%
site.object(site.object_p).rs.open "select * from jins_site_ads where object_id="&site.object(site.object_p).id&" ",conn,1,1
if not site.object(site.object_p).rs.eof then
	if site.object(site.object_p).rs("ads_flash")<>1 then
		response.write "<a target='_blank' href='"&site.object(site.object_p).rs("ads_url")&"'><img alt='"&site.object(site.object_p).rs("ads_alt")&"'  border='0' src='"&site.object(site.object_p).rs("ads_src")&"' width='"&site.object(site.object_p).rs("ads_width")&"' height='"&site.object(site.object_p).rs("ads_height")&"'></a>"
	else
		response.write "<a target='_blank' href='"&site.object(site.object_p).rs("ads_url")&"'><object classid='clsid:D27CDB6E-AE6D-11CF-96B8-444553540000'  codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0' border='0' width='"&site.object(site.object_p).rs("ads_width")&"' height='"&site.object(site.object_p).rs("ads_height")&"'>"
		response.write "	<param name='movie' value='"&site.object(site.object_p).rs("ads_src")&"'>"
		response.write "	<param name='quality' value='High'>"
		response.write "	<embed src='"&site.object(site.object_p).rs("ads_src")&"' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' name='obj1' width='"&site.object(site.object_p).rs("ads_width")&"' height='"&site.object(site.object_p).rs("ads_height")&"'>"
		response.write "</object></a>"
	end if
end if
site.object(site.object_p).rs.close
%>
</div>

<script language=javascript>
initEcAd('other_side_show_ads_<%=site.object(site.object_p).id%>','<%=site.object(site.object_p).name%>');
</script>