¡¡¡¡if instr(cinfo,"[NextPage]")>0 then
¡¡¡¡flag=1
¡¡¡¡else
¡¡¡¡flag=0
¡¡¡¡end if
¡¡¡¡'//ÉèÖòÎÊý
¡¡¡¡<script language="Javascript" >
¡¡¡¡var Text,PageSize,flag
¡¡¡¡Text="<%=DealJsText(cinfo)%>";
¡¡¡¡PageSize=1500;
¡¡¡¡flag=<%=flag%>;
¡¡¡¡</script>
¡¡¡¡'//JSÎļþ°üº¯
¡¡¡¡<script language="Javascript" src="CutArticle.js"></script>
¡¡¡¡'//Îı¾ÏÔʾ
¡¡¡¡<span class="news">
¡¡¡¡<div id="article" style="font-size:12px;"></div>
¡¡¡¡<script language="JavaScript">
¡¡¡¡if (flag==1 || flag==2){
¡¡¡¡text_pagination(1);
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡article.innerHTML=Text;
¡¡¡¡}
¡¡¡¡</script>
¡¡¡¡</span>
¡¡¡¡'//ÏÂÃæÎªJSÎı¾´¦Àíº¯Êý
¡¡¡¡function DealJsText(Str)
¡¡¡¡if not isnull(Str) then
¡¡¡¡Dim re,po,ii
¡¡¡¡Str = Replace(Str, CHR(9), " ")
¡¡¡¡Str = Replace(Str, CHR(39), "'")
¡¡¡¡Str = Replace(Str, CHR(13), "")
¡¡¡¡Str = Replace(Str, CHR(10) & CHR(13), "</P><P> ")
¡¡¡¡Str = Replace(Str, CHR(10), "")
¡¡¡¡Str = Replace(Str, "¡®", "'")
¡¡¡¡Str = Replace(Str, "'", "'")
¡¡¡¡Str = Replace(Str, "\", "\\")
¡¡¡¡Str = Replace(Str, CHR(32), " ")
¡¡¡¡Str = Replace(Str, CHR(34), "\""")
¡¡¡¡Str = Replace(Str, CHR(39), "'")
¡¡¡¡Set re=new RegExp
¡¡¡¡re.IgnoreCase =true
¡¡¡¡re.Global=True
¡¡¡¡po=0
¡¡¡¡ii=0
¡¡¡¡re.Pattern="(javascript)"
¡¡¡¡Str=re.Replace(Str,"<I>javascript</I>")
¡¡¡¡re.Pattern="(jscript:)"
¡¡¡¡Str=re.Replace(Str,"<I>jscript:</I>")
¡¡¡¡re.Pattern="(js:)"
¡¡¡¡Str=re.Replace(Str,"<I>js:</I>")
¡¡¡¡re.Pattern="(</SCRIPT>)"
¡¡¡¡Str=re.Replace(Str,"</script>")
¡¡¡¡re.Pattern="(<SCRIPT)"
¡¡¡¡Str=re.Replace(Str,"<script")
¡¡¡¡DealJsText = Str
¡¡¡¡End if
¡¡¡¡end Function
¡¡¡¡'//ÏÂÃæÎªJSÎļþ¡¡CutArticle.js
¡¡¡¡var currentSet,CutFlag,TotalByte,PageCount,key,tempText,tempPage;
¡¡¡¡key="";
¡¡¡¡currentSet=0;
¡¡¡¡TotalByte=Text.length;
¡¡¡¡if (flag==1)
¡¡¡¡{
¡¡¡¡PageCount=Math.round(TotalByte/PageSize);
¡¡¡¡if(parseFloat("0."+TotalByte%PageSize)>0){
¡¡¡¡if(parseFloat("0."+TotalByte%PageSize)<0.5){
¡¡¡¡PageCount=PageCount+1;
¡¡¡¡}
¡¡¡¡}
¡¡¡¡var PageNum=new Array(PageCount+1);
¡¡¡¡var PageTitle=new Array(PageCount+1);
¡¡¡¡PageNum[0]=0;
¡¡¡¡PageTitle[0]="";
¡¡¡¡var sDrv1,sDrv2,sDrv3,sDrv4,sFlag;
¡¡¡¡var sDrvL,sTemL;
¡¡¡¡var sTem1,sTem2,k;
¡¡¡¡sFlag=0;
¡¡¡¡for(j=1;j<PageCount+1;j++){
¡¡¡¡PageNum[j]=PageNum[j-1]+PageSize;
¡¡¡¡PageTitle[j]="";
¡¡¡¡//alert(j);
¡¡¡¡sDrv1="<br>";
¡¡¡¡sDrv2="<BR>";
¡¡¡¡sDrv3="<Br>";
¡¡¡¡sDrv4="<bR>";
¡¡¡¡sDrvL=sDrv1.length;
¡¡¡¡for(k=PageNum[j];k<=TotalByte;k++){
¡¡¡¡sTem1=Text.substring(PageNum[j]-sDrvL,k);
¡¡¡¡sTemL=sTem1.length;
¡¡¡¡sTem2=sTem1.substring(sTemL-sDrvL,sTemL)
¡¡¡¡if (sTem2==sDrv1 || sTem2==sDrv2 || sTem2==sDrv3 || sTem2==sDrv4)
¡¡¡¡{
¡¡¡¡sFlag=sFlag+1;
¡¡¡¡PageNum[j]=k;
¡¡¡¡break;
¡¡¡¡}
¡¡¡¡}
¡¡¡¡if (PageNum[j]>TotalByte)
¡¡¡¡{
¡¡¡¡break;
¡¡¡¡}
¡¡¡¡}
¡¡¡¡if (j<PageCount)
¡¡¡¡{
¡¡¡¡PageNum.length=j;
¡¡¡¡PageCount=j
¡¡¡¡}
¡¡¡¡if (PageCount>1&&sFlag>1&&PageCount<sFlag)
¡¡¡¡{
¡¡¡¡PageCount=sFlag+1;
¡¡¡¡}
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡//ÊÖ¶¯·ÖÒ³
¡¡¡¡var j,sFlag,PageCount,sText;
¡¡¡¡var sTitleFlag;
¡¡¡¡var PageNum=new Array();
¡¡¡¡var PageTitle=new Array();
¡¡¡¡PageSize=0;
¡¡¡¡j=1;
¡¡¡¡PageNum[0]=-10;
¡¡¡¡PageTitle[0]="";
¡¡¡¡sFlag=0;
¡¡¡¡sText=Text;
¡¡¡¡do
¡¡¡¡{
¡¡¡¡sText=Text.substring(PageNum[j-1]+10,TotalByte);
¡¡¡¡sFlag=sText.indexOf("[NextPage");
¡¡¡¡if (sText.substring(sFlag+9,sFlag+10)=="=")
¡¡¡¡{
¡¡¡¡sTitleFlag=sText.indexOf("]",sFlag);
¡¡¡¡PageTitle[j]=sText.substring(sFlag+10,sTitleFlag);
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡PageTitle[j]="";
¡¡¡¡}
¡¡¡¡if (sFlag>0)
¡¡¡¡{
¡¡¡¡PageNum[j]=sFlag+PageNum[j-1]+10;
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡PageNum[j]=TotalByte;
¡¡¡¡}
¡¡¡¡j+=1;
¡¡¡¡}
¡¡¡¡while (PageNum[j-1]<TotalByte);
¡¡¡¡PageCount=j-1;
¡¡¡¡}
¡¡¡¡function CovertCRLFToBR(s)
¡¡¡¡{
¡¡¡¡var i;
¡¡¡¡var s2 = s;
¡¡¡¡while(s2.indexOf("[NextPage]")>0)
¡¡¡¡{
¡¡¡¡i = s2.indexOf("[NextPage]");
¡¡¡¡s2 = s2.substring(0, i) + "" + s2.substring(i + 10, s2.length);
¡¡¡¡}
¡¡¡¡return s2;
¡¡¡¡}
¡¡¡¡function text_pagination(Page){
¡¡¡¡var Output,Byte;
¡¡¡¡if(Page==null){Page=1;}
¡¡¡¡Output="";
¡¡¡¡Output=Output+"<table width=100% height=30 border=0 align=center cellpadding=0 cellspacing=0>";
¡¡¡¡Output=Output+"<tr>";
¡¡¡¡Output=Output+"<td height=1 background=Images/DotLine.gif></td>";
¡¡¡¡Output=Output+"</tr>";
¡¡¡¡//Í·²¿¹¦Äܵ¼º½Ìõ
¡¡¡¡Output=Output+"<tr>";
¡¡¡¡//ÕýÎIJéÕÒ
¡¡¡¡Output=Output+"<td align=left width='40%'> ";
¡¡¡¡Output=Output+"<input type=hidden name=keys class=iptA onchange='key=this.value' size=12> <input type=hidden class=btnA name=search value='²éÕÒÕýÎÄ' onclick='searchkey();' style='width:60'>";
¡¡¡¡Output=Output+"</td>";
¡¡¡¡Output=Output+"<td align=right>";
¡¡¡¡//Ò³ÂëÏÔʾ·½Ê½Ò»
¡¡¡¡//µÚxÒ³£º·ÖÒ³±êÌâ
¡¡¡¡if (Page==0 || PageCount==0){
¡¡¡¡Output=Output+"µ±Ç°ÊÇ£º<font color=red>È«ÎÄÏÔʾ</font>" ;
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡if(TotalByte>PageSize){Byte=PageNum[Page]-PageNum[Page-1]}else{Byte=TotalByte};
¡¡¡¡Output=Output+"µÚ <font color=red>"+Page+"</font> Ò³";
¡¡¡¡if (PageTitle[Page]!="")
¡¡¡¡{
¡¡¡¡Output=Output+"£º<font color=800000>"+PageTitle[Page]+"</font>";
¡¡¡¡}
¡¡¡¡}
¡¡¡¡//ÏÔʾ·½Ê½¶þ
¡¡¡¡//ÏÂÀ²Ëµ¥Ñ¡Ôñ
¡¡¡¡//if (PageCount>0)
¡¡¡¡//{
¡¡¡¡// Output=Output+PageNav(2,Page);
¡¡¡¡// Output=Output+" </td>";
¡¡¡¡//}
¡¡¡¡//ÏÔʾ·½Ê½Èý
¡¡¡¡//Ò³ÂëÑ¡ÔñÁбí
¡¡¡¡//Output=Output+"<td align=right bgcolor=#f0faff>";
¡¡¡¡//Output=Output+PageNav(0,Page);
¡¡¡¡//Output=Output+"</td>";
¡¡¡¡Output=Output+"</tr>";
¡¡¡¡Output=Output+"<tr>";
¡¡¡¡Output=Output+"<td height=1 background=Images/DotLine.gif></td>";
¡¡¡¡Output=Output+"</tr>";
¡¡¡¡Output=Output+"</table>";
¡¡¡¡//ÏÔʾÕýÎÄ
¡¡¡¡if(Page==0) {
¡¡¡¡//²»·ÖÒ³
¡¡¡¡tempText=CovertCRLFToBR(Text);
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡//·ÖÒ³
¡¡¡¡if (flag==1)
¡¡¡¡//×Ô¶¯·ÖÒ³
¡¡¡¡{
¡¡¡¡tempText=Text.substring(PageNum[Page-1],PageNum[Page]);
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡//ÊÖ¶¯·ÖÒ³
¡¡¡¡if (PageTitle[Page-1].length==0)
¡¡¡¡{
¡¡¡¡tempText=Text.substring(PageNum[Page-1]+10,PageNum[Page]);
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡tempText=Text.substring(PageNum[Page-1]+11+PageTitle[Page-1].length,PageNum[Page]);
¡¡¡¡}
¡¡¡¡}
¡¡¡¡}
¡¡¡¡Output=Output+"<div id=world>";
¡¡¡¡Output=Output+tempText;
¡¡¡¡Output=Output+"</div>";
¡¡¡¡Output=Output+"<br>";
¡¡¡¡Output=Output+"<div align=center>";
¡¡¡¡Output=Output+PageNav(1,Page);
¡¡¡¡Output=Output+"</div>";
¡¡¡¡article.innerHTML = Output;
¡¡¡¡document.location.href='#';
¡¡¡¡eval(document.all.keys).value=key;
¡¡¡¡if (key!=""){searchkey();}
¡¡¡¡}
¡¡¡¡function searchkey(){
¡¡¡¡//ÕýÎIJéÕÒº¯Êý
¡¡¡¡h="<font class=keyworld>";
¡¡¡¡f="</font>";
¡¡¡¡keyset=new Array();
¡¡¡¡key=document.all.keys.value;
¡¡¡¡if (key==""){
¡¡¡¡alert("ÇëÊäÈë¹Ø¼ü×Ö£¡");
¡¡¡¡return;
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡keyset[0]=tempText.indexOf(key,0);
¡¡¡¡if (keyset[0]<0){
¡¡¡¡return;
¡¡¡¡}else
¡¡¡¡temp=tempText.substring(0,keyset[0]);
¡¡¡¡temp=temp+h+key+f;
¡¡¡¡temp2=tempText.substring(keyset[0]+key.length,tempText.length);
¡¡¡¡for (i=1;i<tempText.length;i++) {
¡¡¡¡keyset[i]=tempText.indexOf(key,keyset[i-1]+key.length);
¡¡¡¡if(keyset[i]<0){
¡¡¡¡temp=temp+tempText.substring(keyset[i-1]+key.length,tempText.length);
¡¡¡¡break;
¡¡¡¡}else{
¡¡¡¡temp=temp+tempText.substring(keyset[i-1]+key.length,keyset[i])+h+key+f;
¡¡¡¡}
¡¡¡¡}
¡¡¡¡world.innerHTML = temp;
¡¡¡¡}
¡¡¡¡}
¡¡¡¡function PageNav(ShowStyle,Page){
¡¡¡¡//·ÖÒ³ÂëÏÔʾº¯Êý
¡¡¡¡//²ÎÊýΪµ÷ÓÃÑùʽ£¬0=¼òµ¥Ñùʽ£¬1=±ê×¼Ñùʽ
¡¡¡¡var temp="";
¡¡¡¡if (ShowStyle==0)
¡¡¡¡//¼òµ¥Ñùʽ
¡¡¡¡{
¡¡¡¡tempPage=Page;
¡¡¡¡if(TotalByte>PageSize){
¡¡¡¡if (Page-4<=1){
¡¡¡¡temp=temp+"<font face=webdings color=#999999>9</font>";
¡¡¡¡if (Page<=1){temp=temp+"<font face=webdings color=#999999>7</font>";}else{temp=temp+"<a href=javascript:text_pagination("+(Page-1)+")><font face=webdings>7</font></a>";}
¡¡¡¡if (PageCount>10){
¡¡¡¡for(i=1;i<8;i++){
¡¡¡¡if (i==Page){
¡¡¡¡temp=temp+"<font color=red>"+i+"</font> ";
¡¡¡¡}else{
¡¡¡¡temp=temp+"<a href=javascript:text_pagination("+i+") >"+i+"</a>"+" ";
¡¡¡¡}
¡¡¡¡}
¡¡¡¡temp=temp+" ...";
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡for(i=1;i<PageCount+1;i++){
¡¡¡¡if (i==Page){
¡¡¡¡temp=temp+"<font color=red>"+i+"</font> ";
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡temp=temp+"<a href=javascript:text_pagination("+i+") >"+i+"</a>"+" ";
¡¡¡¡}
¡¡¡¡}
¡¡¡¡}
¡¡¡¡if (Page==PageCount){temp=temp+"<font face=webdings color=#999999>8</font>";}else{temp=temp+"<a href=javascript:text_pagination("+(Page+1)+")><font face=webdings>8</font></a>";}
¡¡¡¡if(PageCount<10){temp=temp+"<font face=webdings color=#999999>:</font>";}else{temp=temp+"<a href=javascript:text_pagination("+PageCount+")><font face=webdings>:</font></a>";}
¡¡¡¡}
¡¡¡¡else if(Page+4<=PageCount){
¡¡¡¡temp=temp+"<a href=javascript:text_pagination(1)><font face=webdings>9</font></a>";
¡¡¡¡temp=temp+"<a href=javascript:text_pagination("+(Page-1)+")><font face=webdings>7</font></a>";
¡¡¡¡if (PageCount>10){
¡¡¡¡temp=temp+"..";
¡¡¡¡for(i=Page-4;i<Page+4;i++){
¡¡¡¡if (i==Page){
¡¡¡¡temp=temp+"<font color=red>"+i+"</font> ";
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡temp=temp+"<a href=javascript:text_pagination("+i+") >"+i+"</a>"+" ";
¡¡¡¡}
¡¡¡¡}
¡¡¡¡temp=temp+" ..";
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡for(i=1;i<PageCount+1;i++){
¡¡¡¡if (i==Page){
¡¡¡¡temp=temp+"<font color=red>"+i+"</font> ";
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡temp=temp+"<a href=javascript:text_pagination("+i+") >"+i+"</a>"+" ";
¡¡¡¡}
¡¡¡¡}
¡¡¡¡}
¡¡¡¡if (Page==PageCount){temp=temp+"<font face=webdings color=#999999>8</font>";}else{temp=temp+"<a href=javascript:text_pagination("+(Page+1)+")><font face=webdings>8</font></a>";}
¡¡¡¡temp=temp+"<a href=javascript:text_pagination("+PageCount+")><font face=webdings>:</font></a>";
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡temp=temp+"<a href=javascript:text_pagination(1)><font face=webdings>9</font></a>";
¡¡¡¡temp=temp+"<a href=javascript:text_pagination("+(Page-1)+")><font face=webdings>7</font></a>";
¡¡¡¡temp=temp+".."
¡¡¡¡for(i=Page-2;i<PageCount+1;i++){
¡¡¡¡if (i==Page){
¡¡¡¡temp=temp+"<font color=red>"+i+"</font> ";
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡temp=temp+"<a href=javascript:text_pagination("+i+") >"+i+"</a>"+" ";
¡¡¡¡}
¡¡¡¡}
¡¡¡¡if (Page==PageCount){temp=temp+"<font face=webdings color=#999999>8</font>";}else{temp=temp+"<a href=javascript:text_pagination("+(Page+1)+")><font face=webdings>8</font></a>";}
¡¡¡¡temp=temp+"<font face=webdings color=#999999>:</font>";
¡¡¡¡}
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡temp=temp+"<font color=red>1</font> ";
¡¡¡¡}
¡¡¡¡temp=temp+" <a href=javascript:text_pagination(0)>ÏÔʾȫ²¿</a>"
¡¡¡¡}
¡¡¡¡else if (ShowStyle==1)
¡¡¡¡//±ê×¼Ñùʽ
¡¡¡¡{
¡¡¡¡if(TotalByte>PageSize){if(Page!=0){if(Page!=1){temp=temp+"<a href='#top' onclick=javascript:text_pagination("+(Page-1)+")><font color=3366cc>[ÉÏÒ»Ò³]</font></a> ";}}}
¡¡¡¡for (i=1;i<PageCount+1 ;i++ )
¡¡¡¡{
¡¡¡¡if (Page==i)
¡¡¡¡{
¡¡¡¡temp=temp+"<font color=800000>["+i+"]</font> ";
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡temp=temp+"<a href='#top' onclick=javascript:text_pagination("+i+")><font color=3366cc>["+i+"]</font></a> ";
¡¡¡¡}
¡¡¡¡}
¡¡¡¡temp=temp+"<a name='foot'></a>";
¡¡¡¡if(TotalByte>PageSize){if(Page!=0){if(Page!=PageCount){temp=temp+"<a href='#top' onclick=javascript:text_pagination("+(Page+1)+")><font color=3366cc>[ÏÂÒ»Ò³]</font></a>";}}}
¡¡¡¡temp=temp+" <a href=javascript:text_pagination(0)><font color=3366cc>ÏÔʾȫ²¿</font></a>"
¡¡¡¡}
¡¡¡¡else if (ShowStyle==2)
¡¡¡¡//ÏÂÀ²Ëµ¥Ñùʽ
¡¡¡¡{
¡¡¡¡temp=temp+'<select onchange="text_pagination(this.value)">'
¡¡¡¡for (i=1;i<PageCount+1 ;i++ )
¡¡¡¡{
¡¡¡¡if (Page==i)
¡¡¡¡{
¡¡¡¡temp=temp+"<option value='"+i+"' selected style='color:red'>µÚ "+i+" Ò³"
¡¡¡¡}
¡¡¡¡else{
¡¡¡¡temp=temp+"<option value='"+i+"'>µÚ "+i+" Ò³";
¡¡¡¡}
¡¡¡¡if (PageTitle[i].length!=0)
¡¡¡¡{
¡¡¡¡temp=temp+'£º'+PageTitle[i];
¡¡¡¡}
¡¡¡¡temp=temp+"</option>";
¡¡¡¡}
¡¡¡¡temp=temp+"</select>";
¡¡¡¡}
¡¡¡¡return (temp);
¡¡¡¡}