<!--#include file="head.asp" --><table width="777"  border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF">
  <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://www.cmfu.com/showbook.asp?"&Request.serverVariables("QUERY_STRING")
page= getHTTPPage(url)
page=replace(page,"http://book1.cmfu.com/","")
page=replace(page,"search.tom.com/search.php?","www.baidu.com/baidu?tn=houdao&")
page=replace(page,"+site:www.cmfu.com","")
page=replace(page,"TOM搜索","百度搜索")
cutpage=instr(page,"cellpadding=""0"" width=100% valign=top>")
str=instr(cutpage,page,"重要提示")
%>
<% 
=mid(page,cutpage+38,str-cutpage-66)
%></td>
  </tr>
</table>
<div align="center">
  <center>

    

