
<!--#include file="head.asp" -->
<%
if Request.QueryString("bu_id")<>0 then
%> 
<table width="777"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="white">
<tr>
    <td bgcolor="#FFFFFF">
    
<%
dim url,page,cutpage,str
'on error resume next
	Function getHTTPPage(url) 
	'	on error resume next 
		dim http 
		set http=Server.createobject("Microsoft.XMLHTTP") 
		Http.open "GET",url,false 
		Http.send() 
		if Http.readystate<>4 then
			exit function 
		end if 
		getHTTPPage=bytesToBSTR(Http.responseBody,"GB2312")
		set http=nothing
		if err.number<>0 then err.Clear  
	End function
		
	Function BytesToBstr(body,Cset)
		dim objstream
		set objstream = Server.CreateObject("adodb.stream")
		objstream.Type = 1
		objstream.Mode =3
		objstream.Open
		objstream.Write body
		objstream.Position = 0
		objstream.Type = 2
		objstream.Charset = Cset
		BytesToBstr = objstream.ReadText 
		objstream.Close
		set objstream = nothing
	End Function
'===================================================
'url="http://www.cmfu.com"&Request.serverVariables("SCRIPT_NAME")&"?"&Request.serverVariables("QUERY_STRING")
url="http://book1.cmfu.com/readchapter.asp?"&Request.serverVariables("QUERY_STRING")
page= getHTTPPage(url)
page=replace(page,"读书在起点 · 创作无极限","沧海风云娱乐网书库")
cutpage=instr(page,"<script language=javascript>")
str=instr(cutpage,page,"class=zt>")
%>
<% 
=mid(page,cutpage,str-cutpage-31)


%>
     
<table border="1" cellSpacing=0 width="100%" valign=top align=center bordercolor="#CCCCCC" bordercolordark="#CCCCCC" bordercolorlight="#CCCCCC" height="24">
	<tr>
	  <td width="756" bgcolor="#DAF2DA"><%="<script src='http://book1.cmfu.com/books/"&Request.QueryString("bl_id")&"/"&Request.QueryString("Bu_id")&".txt'></script>"%></td>
	  </tr>
	<tr>
	  <td align="right" bgcolor="#F6D7F6"><a href='javascript:document.location=prevpage' target=_top>上一页</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='javascript:document.location=bookpage' target=_top>回书目</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='javascript:document.location=nextpage' target=_top>下一页</a></td>
	  </tr>
</table>
<%
else 
response.write"已经到末页了!"
end if %>
<!--#include file="bottom.asp"-->
     </td>
    </tr>
</table>
