<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Qihangnet's Blog! - JAVASCRIPT</title>
    <link>http://www.qihangnet.com/</link>
    <description>——DotNet技术研究</description>
    <language>zh-cn</language>
    <copyright>衣明志</copyright>
    <lastBuildDate>Tue, 11 May 2010 05:13:35 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>qihangnet@hotmail.com</managingEditor>
    <webMaster>qihangnet@hotmail.com</webMaster>
    <item>
      <trackback:ping>http://www.qihangnet.com/Trackback.aspx?guid=cd24a2a1-485d-4cf1-95ba-b07b058fc5e1</trackback:ping>
      <pingback:server>http://www.qihangnet.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.qihangnet.com/PermaLink,guid,cd24a2a1-485d-4cf1-95ba-b07b058fc5e1.aspx</pingback:target>
      <dc:creator>衣明志</dc:creator>
      <wfw:comment>http://www.qihangnet.com/CommentView,guid,cd24a2a1-485d-4cf1-95ba-b07b058fc5e1.aspx</wfw:comment>
      <wfw:commentRss>http://www.qihangnet.com/SyndicationService.asmx/GetEntryCommentsRss?guid=cd24a2a1-485d-4cf1-95ba-b07b058fc5e1</wfw:commentRss>
      <slash:comments>4</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
我们知道在Visual Studio 2010的非空Web项目(含Webform和MVC)中，都自动包含了jQuery库在项目的Scripts文件夹中。
</p>
        <p>
          <a href="http://www.qihangnet.com/content/binary/WindowsLiveWriter/VisualStudio2010WebjQuery_B9F5/image_4.png">
            <img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title="image" border="0" alt="image" src="http://www.qihangnet.com/content/binary/WindowsLiveWriter/VisualStudio2010WebjQuery_B9F5/image_thumb_1.png" width="660" height="330" />
          </a>
        </p>
        <p>
但细心的人们都看到了正式版中包含的jQuery版本是1.4.1版，而不是<a href="http://jquery.com">jQuery官方</a>最新发布的1.4.2版。处于新版效率的极大提升以及部分bug的修复，推荐大家跟新使用1.4.2版，而放弃1.4.1版。单个项目的调整比较简单就是把旧版本的删除，然后添加上1.4.2版的相应文件即可。但我们很多人可能更希望是以后创建的项目都是1.4.2版而不是1.4.1版，怎么办呢？我在相关的webcast中有提到过，即到vs2010的安装目录中修改项目模板的有关文件。目录位置以C#的项目为例如下：
</p>
        <ul>
          <li>
x86: Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\Web\1033 
</li>
          <li>
x64: Program Files <font color="#ff0000">(x86)</font>\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\Web\1033</li>
        </ul>
        <p>
需要修改的文件为，下图中被标黄的：
</p>
        <p>
          <a href="http://www.qihangnet.com/content/binary/WindowsLiveWriter/VisualStudio2010WebjQuery_B9F5/image_10.png">
            <img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title="image" border="0" alt="image" src="http://www.qihangnet.com/content/binary/WindowsLiveWriter/VisualStudio2010WebjQuery_B9F5/image_thumb_4.png" width="644" height="232" />
          </a>
        </p>
        <p>
        </p>
        <p>
将这三个文件复制出来，然后解压，做如下事情：
</p>
        <ol>
          <li>
先把Scripts文件夹中的jQuery相关文件删除并更新为最新版的,包含jquery-1.4.2-vsdoc.js,jquery-1.4.2.js,jquery-1.4.2.min.js等 
</li>
          <li>
然后修改×××××.csproj文件中关于jquery1.4.1的引用改为1.4.2的引用 
</li>
          <li>
最后把××××××.vstemplate文件中的jquery-1.4.1替换为jquery-1.4.1 
</li>
          <li>
保存上述修改，并打包为zip文件 
</li>
          <li>
将新的同名zip文件覆盖回项目模板所在目录 
</li>
          <li>
再将打包前的文件覆盖到项目模板的缓存目录中（项目模板路径的ProjectTemplates改为ProjectTemplatesCache 便是） 
</li>
          <li>
完毕</li>
        </ol>
        <p>
如果您嫌麻烦，我这里有已经打包好的zip文件，您参考最后3步自己覆盖一下即可。(jquery.validate-vsdoc.js未找到最新的版本所以未更新，jquery.validate.js则已经是最新版了)
</p>
        <p>
          <a href="http://www.qihangnet.com/content/binary/MvcWebApplicationProjectTemplatev2.0.cs.zip">MvcWebApplicationProjectTemplatev2.0.cs.zip
(254 KB)</a>
        </p>
        <p>
          <a href="http://www.qihangnet.com/content/binary/WebApplicationProject20.zip">WebApplicationProject20.zip
(129 KB)</a>
        </p>
        <p>
          <a href="http://www.qihangnet.com/content/binary/WebApplicationProject40.zip">WebApplicationProject40.zip
(141 KB)</a>
        </p>
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.qihangnet.com">Qihangnet</a>. 
</body>
      <title>Visual Studio 2010 Web项目的jQuery版本升级方案</title>
      <guid isPermaLink="false">http://www.qihangnet.com/PermaLink,guid,cd24a2a1-485d-4cf1-95ba-b07b058fc5e1.aspx</guid>
      <link>http://www.qihangnet.com/PermaLink,guid,cd24a2a1-485d-4cf1-95ba-b07b058fc5e1.aspx</link>
      <pubDate>Tue, 11 May 2010 05:13:35 GMT</pubDate>
      <description>&lt;p&gt;
我们知道在Visual Studio 2010的非空Web项目(含Webform和MVC)中，都自动包含了jQuery库在项目的Scripts文件夹中。
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.qihangnet.com/content/binary/WindowsLiveWriter/VisualStudio2010WebjQuery_B9F5/image_4.png"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://www.qihangnet.com/content/binary/WindowsLiveWriter/VisualStudio2010WebjQuery_B9F5/image_thumb_1.png" width=660 height=330&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
但细心的人们都看到了正式版中包含的jQuery版本是1.4.1版，而不是&lt;a href="http://jquery.com"&gt;jQuery官方&lt;/a&gt;最新发布的1.4.2版。处于新版效率的极大提升以及部分bug的修复，推荐大家跟新使用1.4.2版，而放弃1.4.1版。单个项目的调整比较简单就是把旧版本的删除，然后添加上1.4.2版的相应文件即可。但我们很多人可能更希望是以后创建的项目都是1.4.2版而不是1.4.1版，怎么办呢？我在相关的webcast中有提到过，即到vs2010的安装目录中修改项目模板的有关文件。目录位置以C#的项目为例如下：
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
x86: Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\Web\1033 
&lt;li&gt;
x64: Program Files &lt;font color=#ff0000&gt;(x86)&lt;/font&gt;\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\Web\1033&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
需要修改的文件为，下图中被标黄的：
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.qihangnet.com/content/binary/WindowsLiveWriter/VisualStudio2010WebjQuery_B9F5/image_10.png"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://www.qihangnet.com/content/binary/WindowsLiveWriter/VisualStudio2010WebjQuery_B9F5/image_thumb_4.png" width=644 height=232&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
将这三个文件复制出来，然后解压，做如下事情：
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
先把Scripts文件夹中的jQuery相关文件删除并更新为最新版的,包含jquery-1.4.2-vsdoc.js,jquery-1.4.2.js,jquery-1.4.2.min.js等 
&lt;li&gt;
然后修改×××××.csproj文件中关于jquery1.4.1的引用改为1.4.2的引用 
&lt;li&gt;
最后把××××××.vstemplate文件中的jquery-1.4.1替换为jquery-1.4.1 
&lt;li&gt;
保存上述修改，并打包为zip文件 
&lt;li&gt;
将新的同名zip文件覆盖回项目模板所在目录 
&lt;li&gt;
再将打包前的文件覆盖到项目模板的缓存目录中（项目模板路径的ProjectTemplates改为ProjectTemplatesCache 便是） 
&lt;li&gt;
完毕&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
如果您嫌麻烦，我这里有已经打包好的zip文件，您参考最后3步自己覆盖一下即可。(jquery.validate-vsdoc.js未找到最新的版本所以未更新，jquery.validate.js则已经是最新版了)
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.qihangnet.com/content/binary/MvcWebApplicationProjectTemplatev2.0.cs.zip"&gt;MvcWebApplicationProjectTemplatev2.0.cs.zip
(254 KB)&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.qihangnet.com/content/binary/WebApplicationProject20.zip"&gt;WebApplicationProject20.zip
(129 KB)&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.qihangnet.com/content/binary/WebApplicationProject40.zip"&gt;WebApplicationProject40.zip
(141 KB)&lt;/a&gt;
&lt;/p&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.qihangnet.com"&gt;Qihangnet&lt;/a&gt;. </description>
      <comments>http://www.qihangnet.com/CommentView,guid,cd24a2a1-485d-4cf1-95ba-b07b058fc5e1.aspx</comments>
      <category>ASP.NET</category>
      <category>ASP.NET MVC</category>
      <category>DOWNLOAD</category>
      <category>JAVASCRIPT</category>
      <category>Visual Studio</category>
    </item>
    <item>
      <trackback:ping>http://www.qihangnet.com/Trackback.aspx?guid=2ad42747-a86c-449e-9760-8278f8e79c13</trackback:ping>
      <pingback:server>http://www.qihangnet.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.qihangnet.com/PermaLink,guid,2ad42747-a86c-449e-9760-8278f8e79c13.aspx</pingback:target>
      <dc:creator>衣明志</dc:creator>
      <wfw:comment>http://www.qihangnet.com/CommentView,guid,2ad42747-a86c-449e-9760-8278f8e79c13.aspx</wfw:comment>
      <wfw:commentRss>http://www.qihangnet.com/SyndicationService.asmx/GetEntryCommentsRss?guid=2ad42747-a86c-449e-9760-8278f8e79c13</wfw:commentRss>
      <title>我近期讲过的vs2010有关的webcast列表整理</title>
      <guid isPermaLink="false">http://www.qihangnet.com/PermaLink,guid,2ad42747-a86c-449e-9760-8278f8e79c13.aspx</guid>
      <link>http://www.qihangnet.com/PermaLink,guid,2ad42747-a86c-449e-9760-8278f8e79c13.aspx</link>
      <pubDate>Mon, 10 May 2010 20:37:00 GMT</pubDate>
      <description>&lt;p&gt;
&lt;img style="display: inline; margin-left: 0px; margin-right: 0px" align="right" src="http://www.microsoft.com/visualstudio/_base_v1/images/boxshots/hero_boxshot_why.png"&gt;
&lt;/p&gt;
&lt;p&gt;
Visual Studio 2010于今年的4月12日正式发布，而且还是在中国北京进行的全球首发，盛况空前，且令人感动。
&lt;/p&gt;
&lt;p&gt;
&lt;img border="0" src="http://www.e-service.net.cn/EDM/Visual_Studio_2010/20100427/images/images_17.jpg" width="666" height="343"&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.microsoft.com/china/visualstudio/2010launch/love.aspx"&gt;程序员“耀@爱情”系列情景剧&lt;/a&gt; 也真实表现出了程序员们的爱情现状，值得深思，我们到底该如何平衡生活与工作呢？
&lt;/p&gt;
&lt;p&gt;
ok，言归正传。我个人在4月份一整月基本都是在讲VS2010的有关课程，其中有线上的webcast和线下的面对面培训，还有一些小组讨论会之类的事情。忙得身体有点透支的感觉，不过当听到不少程序员在下载观看我的课程视频，心里还是很欣慰的，本月暂时只讲了一堂webcast，做一下休息和思想的沉淀，希望以后给大家带来更多的精彩内容。下面我整理一下近期讲过的与Visual
Studio 2010有关的视频课程列表。
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
ASP.NET 4 风云之旅系列课程: 
&lt;ol&gt;
&lt;li&gt;
Visual Studio 2010在Web开发方面的新特性: &lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032441081&amp;amp;amp;Culture=zh-CN" href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032441081&amp;amp;amp;Culture=zh-CN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032441081&amp;amp;amp;Culture=zh-CN&lt;/a&gt; 
&lt;li&gt;
ASP.NET MVC 2 的新特性:&lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032441085&amp;amp;amp;Culture=zh-CN" href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032441085&amp;amp;amp;Culture=zh-CN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032441085&amp;amp;amp;Culture=zh-CN&lt;/a&gt; 
&lt;li&gt;
ASP.NET 4 对开发人员的核心运行时新特性:&lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032444981&amp;amp;amp;Culture=zh-CN" href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032444981&amp;amp;amp;Culture=zh-CN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032444981&amp;amp;amp;Culture=zh-CN&lt;/a&gt; 
&lt;li&gt;
ASP.NET 4 WebForms的新特性: &lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032444991&amp;amp;amp;Culture=zh-CN" href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032444991&amp;amp;amp;Culture=zh-CN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032444991&amp;amp;amp;Culture=zh-CN&lt;/a&gt; 
&lt;li&gt;
新版ASP.NET Ajax Library: &lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448161&amp;amp;amp;Culture=zh-CN" href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448161&amp;amp;amp;Culture=zh-CN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448161&amp;amp;amp;Culture=zh-CN&lt;/a&gt; 
&lt;li&gt;
很Dynamic的ASP.NET 4: &lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448165&amp;amp;amp;Culture=zh-CN" href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448165&amp;amp;amp;Culture=zh-CN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448165&amp;amp;amp;Culture=zh-CN&lt;/a&gt; 
&lt;li&gt;
ASP.NET 4 突破变更点(Breaking Changes) : &lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032451491&amp;amp;amp;Culture=zh-CN" href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032451491&amp;amp;amp;Culture=zh-CN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032451491&amp;amp;amp;Culture=zh-CN&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;
Visual Studio 2010 代码探索系列课程: 
&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
Foundation Server 2010 初探: &lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448910&amp;amp;Culture=zh-CN " href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448910&amp;amp;Culture=zh-CN&amp;nbsp;"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448910&amp;amp;Culture=zh-CN &lt;/a&gt; 【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100410am_Video.zip"&gt;视频&lt;/a&gt;】【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100410am_PDF.zip"&gt;PPT&lt;/a&gt;】 
&lt;li&gt;
数据驱动的Coded UI Test: &lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448911&amp;amp;Culture=zh-CN" href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448911&amp;amp;Culture=zh-CN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448911&amp;amp;Culture=zh-CN&lt;/a&gt; 【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100410pm_Video.zip"&gt;视频&lt;/a&gt;】【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100410pm_PDF.zip"&gt;PPT&lt;/a&gt;】【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100410pm_Demo.zip"&gt;Demo&lt;/a&gt;】 
&lt;li&gt;
Visual Studio 2010的高可扩展能力: &lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448912&amp;amp;Culture=zh-CN" href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448912&amp;amp;Culture=zh-CN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448912&amp;amp;Culture=zh-CN&lt;/a&gt; 【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100411am_Video.zip"&gt;视频&lt;/a&gt;】【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100411am_PDF.zip"&gt;PPT&lt;/a&gt;】【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100411am_Demo.zip"&gt;Demo&lt;/a&gt;】 
&lt;li&gt;
重构的技巧和经验: &lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448913&amp;amp;Culture=zh-CN" href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448913&amp;amp;Culture=zh-CN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448913&amp;amp;Culture=zh-CN&lt;/a&gt; 【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100411pm_Video.zip"&gt;视频&lt;/a&gt;】【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100411pm_PDF.zip"&gt;PPT&lt;/a&gt;】【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100411pm_Demo.zip"&gt;Demo&lt;/a&gt;】 
&lt;li&gt;
自定义Visual Studio IDE: &lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448914&amp;amp;Culture=zh-CN" href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448914&amp;amp;Culture=zh-CN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448914&amp;amp;Culture=zh-CN&lt;/a&gt; 【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100413am_Video.zip"&gt;视频&lt;/a&gt;】【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100413am_PDF.zip"&gt;PPT&lt;/a&gt;】 
&lt;li&gt;
微软Web部署工具: &lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448915&amp;amp;Culture=zh-CN" href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448915&amp;amp;Culture=zh-CN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448915&amp;amp;Culture=zh-CN&lt;/a&gt; 【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100413pm_Video.zip"&gt;视频&lt;/a&gt;】【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100413pm_PDF.zip"&gt;PPT&lt;/a&gt;】【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100413pm_Demo.zip"&gt;Demo&lt;/a&gt;】 
&lt;li&gt;
使用VS2010架构师工具分析代码: &lt;a title="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448916&amp;amp;Culture=zh-CN" href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448916&amp;amp;Culture=zh-CN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032448916&amp;amp;Culture=zh-CN&lt;/a&gt; 【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100414am_Video.zip"&gt;视频&lt;/a&gt;】【&lt;a href="http://download.microsoft.com/download/9/C/7/9C7A8CF8-F860-4DF1-877C-82A501CA2954/WebCast20100414am_PDF.zip"&gt;PPT&lt;/a&gt;】&lt;/li&gt;
&lt;/ol&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;font color="#ff0000"&gt;【注：Visual Studio 2010 代码探索系列课程的内容都是本地高清录制的，视频文件较大】&lt;/font&gt;
&lt;/p&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.qihangnet.com"&gt;Qihangnet&lt;/a&gt;. </description>
      <comments>http://www.qihangnet.com/CommentView,guid,2ad42747-a86c-449e-9760-8278f8e79c13.aspx</comments>
      <category>ASP.NET</category>
      <category>ASP.NET MVC</category>
      <category>CSharp</category>
      <category>DOWNLOAD</category>
      <category>JAVASCRIPT</category>
      <category>MVP</category>
      <category>Visual Studio</category>
    </item>
    <item>
      <trackback:ping>http://www.qihangnet.com/Trackback.aspx?guid=1b1d9be5-aa76-4e0d-9ac6-f52ae9505111</trackback:ping>
      <pingback:server>http://www.qihangnet.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.qihangnet.com/PermaLink,guid,1b1d9be5-aa76-4e0d-9ac6-f52ae9505111.aspx</pingback:target>
      <dc:creator>衣明志</dc:creator>
      <wfw:comment>http://www.qihangnet.com/CommentView,guid,1b1d9be5-aa76-4e0d-9ac6-f52ae9505111.aspx</wfw:comment>
      <wfw:commentRss>http://www.qihangnet.com/SyndicationService.asmx/GetEntryCommentsRss?guid=1b1d9be5-aa76-4e0d-9ac6-f52ae9505111</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <title>document.getElementsByClassName的较好实现</title>
      <guid isPermaLink="false">http://www.qihangnet.com/PermaLink,guid,1b1d9be5-aa76-4e0d-9ac6-f52ae9505111.aspx</guid>
      <link>http://www.qihangnet.com/PermaLink,guid,1b1d9be5-aa76-4e0d-9ac6-f52ae9505111.aspx</link>
      <pubDate>Sat, 15 Mar 2008 06:28:00 GMT</pubDate>
      <description>&lt;p&gt;
最近在项目中由于一个特殊的要求,需要使用类似于js的document.getElementsById的css class调用的实现。于是到网上搜索了一下，似乎并没有真正能较好达到目的且效率较理想的。于是乎，自己简单的写了一个，效率还凑合，而且支持多class名称的标签。代码如下：
&lt;/p&gt;
&lt;pre&gt;&lt;span style="color: #0000ff"&gt;function&lt;/span&gt; $(id){ &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; &lt;span style="color: #0000ff"&gt;document&lt;/span&gt;.getElementById(id);
} &lt;span style="color: #0000ff"&gt;Array&lt;/span&gt;.&lt;span style="color: #0000ff"&gt;prototype&lt;/span&gt;.indexOf
= &lt;span style="color: #0000ff"&gt;function&lt;/span&gt;(item,i){ i || (i = 0); &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; &lt;span style="color: #0000ff"&gt;length&lt;/span&gt; = &lt;span style="color: #0000ff"&gt;this&lt;/span&gt;.&lt;span style="color: #0000ff"&gt;length&lt;/span&gt;; &lt;span style="color: #0000ff"&gt;if&lt;/span&gt;&lt; 0) i = &lt;span style="color: #0000ff"&gt; (i
length&gt; + i; &lt;span style="color: #0000ff"&gt;for&lt;/span&gt;&lt; &lt;span style="color: #0000ff"&gt; (;
i length&gt;; i++) &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (&lt;span style="color: #0000ff"&gt;this&lt;/span&gt;[i]
=== item) &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; i; &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; -1;&lt;br&gt;
} &lt;span style="color: #0000ff"&gt;document&lt;/span&gt;.getElementsByClassName = &lt;span style="color: #0000ff"&gt;function&lt;/span&gt;(className,
parentElement){ &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; elems = ($(parentElement)||&lt;span style="color: #0000ff"&gt;document&lt;/span&gt;.body).getElementsByTagName("&lt;span style="color: #8b0000"&gt;*&lt;/span&gt;"); &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; result=[]; &lt;span style="color: #0000ff"&gt;for&lt;/span&gt; (i=0;
j=elems[i]; i++){ &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (j.className.split(/(\s+)/).indexOf(className)!=-1){
result.push(j); } } &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; result; }&lt;/pre&gt;
&lt;p&gt;
使用时先将代码加在head部分或者写在独立的js文件然后在head里引用，然后在页面中适当的部分即可通过document.getElementsByClassName来获得指定class的标签&lt;strong&gt;数组&lt;/strong&gt;。
&lt;/p&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.qihangnet.com"&gt;Qihangnet&lt;/a&gt;. </description>
      <comments>http://www.qihangnet.com/CommentView,guid,1b1d9be5-aa76-4e0d-9ac6-f52ae9505111.aspx</comments>
      <category>JAVASCRIPT</category>
    </item>
    <item>
      <trackback:ping>http://www.qihangnet.com/Trackback.aspx?guid=654e0f99-94c6-4081-8bed-801b397f1abc</trackback:ping>
      <pingback:server>http://www.qihangnet.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.qihangnet.com/PermaLink,guid,654e0f99-94c6-4081-8bed-801b397f1abc.aspx</pingback:target>
      <dc:creator>衣明志</dc:creator>
      <wfw:comment>http://www.qihangnet.com/CommentView,guid,654e0f99-94c6-4081-8bed-801b397f1abc.aspx</wfw:comment>
      <wfw:commentRss>http://www.qihangnet.com/SyndicationService.asmx/GetEntryCommentsRss?guid=654e0f99-94c6-4081-8bed-801b397f1abc</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
微软反跨站攻击脚本库 v1.5。此下载包含Microsoft Application Security Anti-Cross Site Scripting Library的分发组件.Anti-Cross
Site Scripting Library可以为网站开发人员提供基于Web应用防护,以抵御源自 Cross-Site Scripting (XSS跨站漏洞)的攻击.支持<strong>.NET
Framework: </strong>2.0, 1.1
</p>
        <p>
下载地址：<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=efb9c819-53ff-4f82-bfaf-e11625130c25&amp;DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=efb9c819-53ff-4f82-bfaf-e11625130c25&amp;DisplayLang=en</a></p>
        <p>
相关文章：<a href="http://blogs.msdn.com/kevinlam/archive/2006/07/07/659531.aspx">http://blogs.msdn.com/kevinlam/archive/2006/07/07/659531.aspx</a></p>
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.qihangnet.com">Qihangnet</a>. 
</body>
      <title>Microsoft Anti-Cross Site Scripting Library V1.5 发布了</title>
      <guid isPermaLink="false">http://www.qihangnet.com/PermaLink,guid,654e0f99-94c6-4081-8bed-801b397f1abc.aspx</guid>
      <link>http://www.qihangnet.com/PermaLink,guid,654e0f99-94c6-4081-8bed-801b397f1abc.aspx</link>
      <pubDate>Tue, 21 Nov 2006 12:22:02 GMT</pubDate>
      <description>&lt;p&gt;
微软反跨站攻击脚本库 v1.5。此下载包含Microsoft Application Security Anti-Cross Site Scripting Library的分发组件.Anti-Cross
Site Scripting Library可以为网站开发人员提供基于Web应用防护,以抵御源自 Cross-Site Scripting (XSS跨站漏洞)的攻击.支持&lt;strong&gt;.NET
Framework: &lt;/strong&gt;2.0, 1.1
&lt;/p&gt;
&lt;p&gt;
下载地址：&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=efb9c819-53ff-4f82-bfaf-e11625130c25&amp;amp;DisplayLang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=efb9c819-53ff-4f82-bfaf-e11625130c25&amp;amp;DisplayLang=en&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
相关文章：&lt;a href="http://blogs.msdn.com/kevinlam/archive/2006/07/07/659531.aspx"&gt;http://blogs.msdn.com/kevinlam/archive/2006/07/07/659531.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.qihangnet.com"&gt;Qihangnet&lt;/a&gt;. </description>
      <comments>http://www.qihangnet.com/CommentView,guid,654e0f99-94c6-4081-8bed-801b397f1abc.aspx</comments>
      <category>ASP.NET</category>
      <category>DOWNLOAD</category>
      <category>JAVASCRIPT</category>
      <category>技术咨询</category>
    </item>
    <item>
      <trackback:ping>http://www.qihangnet.com/Trackback.aspx?guid=73e71992-2d60-44de-bb02-889599e59f5e</trackback:ping>
      <pingback:server>http://www.qihangnet.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.qihangnet.com/PermaLink,guid,73e71992-2d60-44de-bb02-889599e59f5e.aspx</pingback:target>
      <dc:creator>衣明志</dc:creator>
      <wfw:comment>http://www.qihangnet.com/CommentView,guid,73e71992-2d60-44de-bb02-889599e59f5e.aspx</wfw:comment>
      <wfw:commentRss>http://www.qihangnet.com/SyndicationService.asmx/GetEntryCommentsRss?guid=73e71992-2d60-44de-bb02-889599e59f5e</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
我们在上网使用搜索引擎的时候，经常会遇到类似这样的一个问题：从Google上搜索到了一个包含了“税收”的文章，但是打开对应的网站页面时发现这篇文章很长，很难确定税务在文章中的位置，即使使用浏览器的查找功能，也并不爽。那么如何改进信息类网站在此需求上的用户体验呢？一个国外的朋友做了件好事情：<a title="http://www.kryogenix.org/code/browser/searchhi/" href="http://www.kryogenix.org/code/browser/searchhi/">http://www.kryogenix.org/code/browser/searchhi/</a>，他在这个页面上提供了一个js，可以很方便的实现我们的需求。但是这个脚本对baidu没有什么效果为什么呢？首先我们看看他的部分代码：
</p>
        <pre>
          <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: black; FONT-SIZE: 11px">…… <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">if</span> (qsip[0]
== <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px">'q'
|| qsip[0] == 'p') { // q= for Google, p= for Yahoo</span> words <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span> unescape(qsip[1].<span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">replace</span>(<span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">/</span>\+/g,<span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px">'
')).split(/\s+/);</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">for</span> (w=0;whighlightWord(document.getElementsByTagName(<span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px">"body"</span>)[0],words[w]);
} } ……</span>
        </pre>
        <p>
上述代码获取来源地址中q或p的值，q对应的是google的搜索关键字，p是Yahoo的搜索关键字，而且这两个关键字是utf-8编码的，使用js自然可以很方便的处理，但是百度搜索的则有较大不同：搜索关键字的对应的地址参数是wd，且编码为GB2312。如何解决这个问题呢？我这里使用了js结合vbs的办法来解决该问题。
</p>
        <p>
首先我们使用vbs写一个函数解决编码问题：
</p>
        <pre>
          <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: black; FONT-SIZE: 11px">
            <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Function</span> DeCodeAnsi(s) <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Dim</span> i,
sTmp, sResult, sTmp1 sResult <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span><span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px">""</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">For</span> i=1 <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">To</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Len</span>(s) <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">If</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Mid</span>(s,i,1)<span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span><span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px">"%"</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Then</span> sTmp <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span><span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px">"&amp;H"</span> &amp; <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Mid</span>(s,i+1,2) <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">If</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">isNumeric</span>(sTmp) <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Then</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">If</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">CInt</span>(sTmp)=0 <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Then</span> i <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span> i <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">+</span> 2 <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">ElseIf</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">CInt</span>(sTmp)&gt;0 <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">And</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">CInt</span>(sTmp)&lt;128 <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Then</span> sResult <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span> sResult
&amp; <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Chr</span>(sTmp)
i <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span> i <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">+</span> 2 <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Else</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">If</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Mid</span>(s,i+3,1)<span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span><span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px">"%"</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Then</span> sTmp1 <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span><span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px">"&amp;H"</span> &amp; <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Mid</span>(s,i+4,2) <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">If</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">isNumeric</span>(sTmp1) <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Then</span> sResult <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span> sResult
&amp; <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Chr</span>(<span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">CInt</span>(sTmp)*16*16 <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">+</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">CInt</span>(sTmp1))
i <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span> i <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">+</span> 5 <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">End</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">If</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Else</span> sResult <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span> sResult
&amp; <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Chr</span>(sTmp)
i <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span> i <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">+</span> 2 <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">End</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">If</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">End</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">If</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Else</span> sResult <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span> sResult
&amp; <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Mid</span>(s,i,1) <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">End</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">If</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Else</span> sResult <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span> sResult
&amp; <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Mid</span>(s,i,1) <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">End</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">If</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Next</span> DeCodeAnsi <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span> sResult <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">End</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">Function</span></span>
        </pre>
        <p>
然后在js中调用这个vbs的函数：
</p>
        <pre>
          <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: black; FONT-SIZE: 11px">
            <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">if</span> (qsip[0]
== 'wd') { <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px">//
wd= for baidu</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">if</span>(qsip[1]=='') <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">continue</span>;
execScript('wd <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span> DeCodeAnsi(<span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px">"'+qsip[1]+'"</span>)','vbscript');
words <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">=</span><span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">decodeURI</span>(wd.<span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">replace</span>(<span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">/</span>\+/g,'
')).<span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">split</span>(<span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px">/</span>\s+/); <span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px">for</span> (w=0;whighlightWord(document.getElementsByTagName(<span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px">"body"</span>)[0],words[w]);
} }</span>
        </pre>
        <p>
ok问题解决了。
</p>
        <p>
使用的时候在网页中加上以下两行就好了：
</p>
        <p>
          <script type="text/javascript" src="/searchhi.js">
          </script>
          <br />
          <script type="text/vbscript" src="/searchhi.vbs">
          </script>
        </p>
        <p>
          <a href="http://www.qihangnet.com/content/binary/searchhi.js">searchhi.js (2.23 KB)</a>
          <br />
          <a href="http://www.qihangnet.com/content/binary/searchhi.vbs">searchhi.vbs (.93 KB)</a>
        </p>
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.qihangnet.com">Qihangnet</a>. 
</body>
      <title>支持百度的搜索引擎来源的关键字加亮</title>
      <guid isPermaLink="false">http://www.qihangnet.com/PermaLink,guid,73e71992-2d60-44de-bb02-889599e59f5e.aspx</guid>
      <link>http://www.qihangnet.com/PermaLink,guid,73e71992-2d60-44de-bb02-889599e59f5e.aspx</link>
      <pubDate>Tue, 10 Oct 2006 03:55:25 GMT</pubDate>
      <description>&lt;p&gt;
我们在上网使用搜索引擎的时候，经常会遇到类似这样的一个问题：从Google上搜索到了一个包含了“税收”的文章，但是打开对应的网站页面时发现这篇文章很长，很难确定税务在文章中的位置，即使使用浏览器的查找功能，也并不爽。那么如何改进信息类网站在此需求上的用户体验呢？一个国外的朋友做了件好事情：&lt;a title=http://www.kryogenix.org/code/browser/searchhi/ href="http://www.kryogenix.org/code/browser/searchhi/"&gt;http://www.kryogenix.org/code/browser/searchhi/&lt;/a&gt;，他在这个页面上提供了一个js，可以很方便的实现我们的需求。但是这个脚本对baidu没有什么效果为什么呢？首先我们看看他的部分代码：
&lt;/p&gt;
&lt;pre&gt;&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: black; FONT-SIZE: 11px"&gt;…… &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;if&lt;/span&gt; (qsip[0]
== &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px"&gt;'q'
|| qsip[0] == 'p') { // q= for Google, p= for Yahoo&lt;/span&gt; words &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; unescape(qsip[1].&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;replace&lt;/span&gt;(&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;/&lt;/span&gt;\+/g,&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px"&gt;'
')).split(/\s+/);&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;for&lt;/span&gt; (w=0;whighlightWord(document.getElementsByTagName(&lt;span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px"&gt;"body"&lt;/span&gt;)[0],words[w]);
} } ……&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;
上述代码获取来源地址中q或p的值，q对应的是google的搜索关键字，p是Yahoo的搜索关键字，而且这两个关键字是utf-8编码的，使用js自然可以很方便的处理，但是百度搜索的则有较大不同：搜索关键字的对应的地址参数是wd，且编码为GB2312。如何解决这个问题呢？我这里使用了js结合vbs的办法来解决该问题。
&lt;/p&gt;
&lt;p&gt;
首先我们使用vbs写一个函数解决编码问题：
&lt;/p&gt;
&lt;pre&gt;&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: black; FONT-SIZE: 11px"&gt;&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Function&lt;/span&gt; DeCodeAnsi(s) &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Dim&lt;/span&gt; i,
sTmp, sResult, sTmp1 sResult &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px"&gt;""&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;For&lt;/span&gt; i=1 &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;To&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Len&lt;/span&gt;(s) &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;If&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Mid&lt;/span&gt;(s,i,1)&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt;&lt;span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px"&gt;"%"&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Then&lt;/span&gt; sTmp &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px"&gt;"&amp;amp;H"&lt;/span&gt; &amp;amp; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Mid&lt;/span&gt;(s,i+1,2) &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;If&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;isNumeric&lt;/span&gt;(sTmp) &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Then&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;If&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;CInt&lt;/span&gt;(sTmp)=0 &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Then&lt;/span&gt; i &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; i &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;+&lt;/span&gt; 2 &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;ElseIf&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;CInt&lt;/span&gt;(sTmp)&amp;gt;0 &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;And&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;CInt&lt;/span&gt;(sTmp)&amp;lt;128 &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Then&lt;/span&gt; sResult &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; sResult
&amp;amp; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Chr&lt;/span&gt;(sTmp)
i &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; i &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;+&lt;/span&gt; 2 &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Else&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;If&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Mid&lt;/span&gt;(s,i+3,1)&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt;&lt;span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px"&gt;"%"&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Then&lt;/span&gt; sTmp1 &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px"&gt;"&amp;amp;H"&lt;/span&gt; &amp;amp; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Mid&lt;/span&gt;(s,i+4,2) &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;If&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;isNumeric&lt;/span&gt;(sTmp1) &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Then&lt;/span&gt; sResult &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; sResult
&amp;amp; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Chr&lt;/span&gt;(&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;CInt&lt;/span&gt;(sTmp)*16*16 &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;+&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;CInt&lt;/span&gt;(sTmp1))
i &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; i &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;+&lt;/span&gt; 5 &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;End&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;If&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Else&lt;/span&gt; sResult &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; sResult
&amp;amp; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Chr&lt;/span&gt;(sTmp)
i &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; i &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;+&lt;/span&gt; 2 &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;End&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;If&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;End&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;If&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Else&lt;/span&gt; sResult &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; sResult
&amp;amp; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Mid&lt;/span&gt;(s,i,1) &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;End&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;If&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Else&lt;/span&gt; sResult &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; sResult
&amp;amp; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Mid&lt;/span&gt;(s,i,1) &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;End&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;If&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Next&lt;/span&gt; DeCodeAnsi &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; sResult &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;End&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;Function&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;
然后在js中调用这个vbs的函数：
&lt;/p&gt;
&lt;pre&gt;&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: black; FONT-SIZE: 11px"&gt;&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;if&lt;/span&gt; (qsip[0]
== 'wd') { &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: green; FONT-SIZE: 11px"&gt;//
wd= for baidu&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;if&lt;/span&gt;(qsip[1]=='') &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;continue&lt;/span&gt;;
execScript('wd &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; DeCodeAnsi(&lt;span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px"&gt;"'+qsip[1]+'"&lt;/span&gt;)','vbscript');
words &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;=&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;decodeURI&lt;/span&gt;(wd.&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;replace&lt;/span&gt;(&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;/&lt;/span&gt;\+/g,'
')).&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;split&lt;/span&gt;(&lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: red; FONT-SIZE: 11px"&gt;/&lt;/span&gt;\s+/); &lt;span style="BACKGROUND-COLOR: transparent; FONT-FAMILY: Courier New; COLOR: blue; FONT-SIZE: 11px"&gt;for&lt;/span&gt; (w=0;whighlightWord(document.getElementsByTagName(&lt;span style="BACKGROUND-COLOR: #e4e4e4; FONT-FAMILY: Courier New; COLOR: #666666; FONT-SIZE: 11px"&gt;"body"&lt;/span&gt;)[0],words[w]);
} }&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;
ok问题解决了。
&lt;/p&gt;
&lt;p&gt;
使用的时候在网页中加上以下两行就好了：
&lt;/p&gt;
&lt;p&gt;
&lt;script type=text/javascript src="/searchhi.js"&gt;&lt;/script&gt;
&lt;br&gt;
&lt;script type=text/vbscript src="/searchhi.vbs"&gt;&lt;/script&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.qihangnet.com/content/binary/searchhi.js"&gt;searchhi.js (2.23 KB)&lt;/a&gt;
&lt;br&gt;
&lt;a href="http://www.qihangnet.com/content/binary/searchhi.vbs"&gt;searchhi.vbs (.93 KB)&lt;/a&gt;
&lt;/p&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.qihangnet.com"&gt;Qihangnet&lt;/a&gt;. </description>
      <comments>http://www.qihangnet.com/CommentView,guid,73e71992-2d60-44de-bb02-889599e59f5e.aspx</comments>
      <category>JAVASCRIPT</category>
    </item>
    <item>
      <trackback:ping>http://www.qihangnet.com/Trackback.aspx?guid=0f0ad71e-509a-4a03-a2c9-a231e29e1d9b</trackback:ping>
      <pingback:server>http://www.qihangnet.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.qihangnet.com/PermaLink,guid,0f0ad71e-509a-4a03-a2c9-a231e29e1d9b.aspx</pingback:target>
      <dc:creator>衣明志</dc:creator>
      <wfw:comment>http://www.qihangnet.com/CommentView,guid,0f0ad71e-509a-4a03-a2c9-a231e29e1d9b.aspx</wfw:comment>
      <wfw:commentRss>http://www.qihangnet.com/SyndicationService.asmx/GetEntryCommentsRss?guid=0f0ad71e-509a-4a03-a2c9-a231e29e1d9b</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
用正则表达式限制只能输入中文：onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\u4E00-\u9FA5]/g,''))" 
</p>
        <p>
用正则表达式限制只能输入全角字符： onkeyup="value=value.replace(/[^\uFF00-\uFFFF]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\uFF00-\uFFFF]/g,''))" 
</p>
        <p>
用正则表达式限制只能输入数字：onkeyup="value=value.replace(/[^\d]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" 
</p>
        <p>
用正则表达式限制只能输入数字和英文：onkeyup="value=value.replace(/[\W]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" 
</p>
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.qihangnet.com">Qihangnet</a>. 
</body>
      <title>利用正则表达式限制网页表单里的文本框输入内容</title>
      <guid isPermaLink="false">http://www.qihangnet.com/PermaLink,guid,0f0ad71e-509a-4a03-a2c9-a231e29e1d9b.aspx</guid>
      <link>http://www.qihangnet.com/PermaLink,guid,0f0ad71e-509a-4a03-a2c9-a231e29e1d9b.aspx</link>
      <pubDate>Thu, 11 May 2006 01:57:11 GMT</pubDate>
      <description>&lt;p&gt;
用正则表达式限制只能输入中文：onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\u4E00-\u9FA5]/g,''))" 
&lt;/p&gt;
&lt;p&gt;
用正则表达式限制只能输入全角字符： onkeyup="value=value.replace(/[^\uFF00-\uFFFF]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\uFF00-\uFFFF]/g,''))" 
&lt;/p&gt;
&lt;p&gt;
用正则表达式限制只能输入数字：onkeyup="value=value.replace(/[^\d]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" 
&lt;/p&gt;
&lt;p&gt;
用正则表达式限制只能输入数字和英文：onkeyup="value=value.replace(/[\W]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" 
&lt;/p&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.qihangnet.com"&gt;Qihangnet&lt;/a&gt;. </description>
      <comments>http://www.qihangnet.com/CommentView,guid,0f0ad71e-509a-4a03-a2c9-a231e29e1d9b.aspx</comments>
      <category>JAVASCRIPT</category>
    </item>
    <item>
      <trackback:ping>http://www.qihangnet.com/Trackback.aspx?guid=37610a2b-1d14-4b4e-893a-5ac5b897728d</trackback:ping>
      <pingback:server>http://www.qihangnet.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.qihangnet.com/PermaLink,guid,37610a2b-1d14-4b4e-893a-5ac5b897728d.aspx</pingback:target>
      <dc:creator>衣明志</dc:creator>
      <wfw:comment>http://www.qihangnet.com/CommentView,guid,37610a2b-1d14-4b4e-893a-5ac5b897728d.aspx</wfw:comment>
      <wfw:commentRss>http://www.qihangnet.com/SyndicationService.asmx/GetEntryCommentsRss?guid=37610a2b-1d14-4b4e-893a-5ac5b897728d</wfw:commentRss>
      <title>js写的Hashtable类</title>
      <guid isPermaLink="false">http://www.qihangnet.com/PermaLink,guid,37610a2b-1d14-4b4e-893a-5ac5b897728d.aspx</guid>
      <link>http://www.qihangnet.com/PermaLink,guid,37610a2b-1d14-4b4e-893a-5ac5b897728d.aspx</link>
      <pubDate>Mon, 10 Apr 2006 05:46:00 GMT</pubDate>
      <description>&lt;p&gt;
用下面这个东西类可以在客户端使用HashTable哦,比较喜欢^_^ 
&lt;/p&gt;
&lt;div style="BORDER-RIGHT: #8a8a8a 1px solid; PADDING-RIGHT: 6px; BORDER-TOP: #8a8a8a 1px solid; PADDING-LEFT: 6px; FONT-SIZE: 12px; PADDING-BOTTOM: 6px; MARGIN: 1px; OVERFLOW: auto; BORDER-LEFT: #8a8a8a 1px solid; PADDING-TOP: 6px; BORDER-BOTTOM: #8a8a8a 1px solid; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #eeeeee"&gt;&lt;script language=&lt;span style="COLOR: #ff00ff"&gt;"javascript"&gt; type=&lt;span style="COLOR: #ff00ff"&gt;"text/javascript"&lt;/span&gt;&gt;&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;function&lt;/span&gt; Hashtable()&lt;br /&gt;
{&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;._hash = &lt;span style="COLOR: #0000ff"&gt;new&lt;/span&gt; Object();&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;.add = &lt;span style="COLOR: #0000ff"&gt;function&lt;/span&gt;(key,value){&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;if&lt;/span&gt;(typeof(key)!=&lt;span style="COLOR: #ff00ff"&gt;"undefined"&lt;/span&gt;){&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;if&lt;/span&gt;(&lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;.contains(key)==&lt;span style="COLOR: #0000ff"&gt;false&lt;/span&gt;){&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;._hash[key]=typeof(value)==&lt;span style="COLOR: #ff00ff"&gt;"undefined"&lt;/span&gt;?&lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;:value;&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;return&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;;&lt;br /&gt;
} &lt;span style="COLOR: #0000ff"&gt;else&lt;/span&gt; {&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;return&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;false&lt;/span&gt;;&lt;br /&gt;
}&lt;br /&gt;
} &lt;span style="COLOR: #0000ff"&gt;else&lt;/span&gt; {&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;return&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;false&lt;/span&gt;;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;.remove = &lt;span style="COLOR: #0000ff"&gt;function&lt;/span&gt;(key){delete &lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;._hash[key];}&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;.count = &lt;span style="COLOR: #0000ff"&gt;function&lt;/span&gt;(){&lt;span style="COLOR: #0000ff"&gt;var&lt;/span&gt; i=0;for(&lt;span style="COLOR: #0000ff"&gt;var&lt;/span&gt; k
in &lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;._hash){i++;} &lt;span style="COLOR: #0000ff"&gt;return&lt;/span&gt; i;}&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;.items = &lt;span style="COLOR: #0000ff"&gt;function&lt;/span&gt;(key){&lt;span style="COLOR: #0000ff"&gt;return&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;._hash[key];}&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;.contains = &lt;span style="COLOR: #0000ff"&gt;function&lt;/span&gt;(key){ &lt;span style="COLOR: #0000ff"&gt;return&lt;/span&gt; typeof(&lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;._hash[key])!=&lt;span style="COLOR: #ff00ff"&gt;"undefined"&lt;/span&gt;;}&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;.clear = &lt;span style="COLOR: #0000ff"&gt;function&lt;/span&gt;(){for(&lt;span style="COLOR: #0000ff"&gt;var&lt;/span&gt; k
in &lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;._hash){delete &lt;span style="COLOR: #0000ff"&gt;this&lt;/span&gt;._hash[k];}}&lt;br /&gt;
}&lt;br /&gt;
&lt;span style="COLOR: #0000ff"&gt;var&lt;/span&gt; a = &lt;span style="COLOR: #0000ff"&gt;new&lt;/span&gt; Hashtable();&lt;br /&gt;
a.add(&lt;span style="COLOR: #ff00ff"&gt;"aa"&lt;/span&gt;);&lt;br /&gt;
a.add(&lt;span style="COLOR: #ff00ff"&gt;"bb"&lt;/span&gt;,2342);&lt;br /&gt;
a.add(&lt;span style="COLOR: #ff00ff"&gt;"bb"&lt;/span&gt;,2342);&lt;br /&gt;
a.remove(&lt;span style="COLOR: #ff00ff"&gt;"aa"&lt;/span&gt;);&lt;br /&gt;
alert(a.count());&lt;br /&gt;
alert(a.contains(&lt;span style="COLOR: #ff00ff"&gt;"bb"&lt;/span&gt;));&lt;br /&gt;
alert(a.contains(&lt;span style="COLOR: #ff00ff"&gt;"aa"&lt;/span&gt;));&lt;br /&gt;
alert(a.items(&lt;span style="COLOR: #ff00ff"&gt;"bb"&lt;/span&gt;));&lt;br /&gt;
&lt;/script&gt; &lt;/div&gt;&lt;br/&gt;&lt;hr/&gt;This weblog is sponsored by &lt;a href="http://www.qihangnet.com"&gt;Qihangnet&lt;/a&gt;. </description>
      <comments>http://www.qihangnet.com/CommentView,guid,37610a2b-1d14-4b4e-893a-5ac5b897728d.aspx</comments>
      <category>JAVASCRIPT</category>
    </item>
    <item>
      <trackback:ping>http://www.qihangnet.com/Trackback.aspx?guid=e29b1d3e-7826-4801-b4c2-3abcb9ffe8bc</trackback:ping>
      <pingback:server>http://www.qihangnet.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.qihangnet.com/PermaLink,guid,e29b1d3e-7826-4801-b4c2-3abcb9ffe8bc.aspx</pingback:target>
      <dc:creator>衣明志</dc:creator>
      <wfw:comment>http://www.qihangnet.com/CommentView,guid,e29b1d3e-7826-4801-b4c2-3abcb9ffe8bc.aspx</wfw:comment>
      <wfw:commentRss>http://www.qihangnet.com/SyndicationService.asmx/GetEntryCommentsRss?guid=e29b1d3e-7826-4801-b4c2-3abcb9ffe8bc</wfw:commentRss>
      <slash:comments>5</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
对原来的版本的渐变效果进度条做了改进，抛弃了长度达256的数组，并修改了样式表，实现了大幅度减少资源消耗。<a href="http://www.qihangnet.com/myproject/progressbar/index_new.htm" target="_blank">请看效果</a> 。
</p>
        <p>
具体程序如下：
</p>
        <p>
        </p>
        <pre>
          <span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;">&lt;html&gt;
&lt;head&gt; &lt;title&gt;渐变效果进度条&lt;/title&gt; &lt;script language=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"javascript"</span>&gt;
    <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">var</span> i;
    <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">function</span> go()
    {         bar_width <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> document.getElementById(<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"bg"</span>).clientWidth;
        i <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> bar_width;
        setTimeout('start();',300);     }
    <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">function</span> start()
    {         <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">if</span>(i--&gt;0)
        {             ps.style.width <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> i;
            bn.innerHTML <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span><span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">Math</span>.<span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">floor</span>((bar_width-i)/bar_width*100)<span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">+</span><span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"%"</span>;
            setTimeout('start();',20);
        }     }     
&lt;/script&gt; &lt;style type=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"text/css"</span>&gt;
#bg { filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr=#FFFF00,
EndColorStr=#FF0000); width:300px; height:20px; border:1px solid black; z-<span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">index</span>:0;
position:absolute; } #ps { float:right; background-color:#FFFF00; width:100%; } #bn
{ position:absolute; text-align:center; width:100%; height:100%; cursor:default; }
&lt;/style&gt; &lt;/head&gt; &lt;body onload=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"go();"</span>&gt;
&lt;div id=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"bg"</span>&gt;&lt;div
id=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"ps"</span>&gt;&lt;/div&gt;&lt;span
id=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"bn"</span>&gt;0%&lt;/span&gt;&lt;/div&gt;
&lt;/body&gt; &lt;/html&gt; </span>
        </pre>
        <br />
        <p>
        </p>
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.qihangnet.com">Qihangnet</a>. 
</body>
      <title>改进版的渐变效果进度条</title>
      <guid isPermaLink="false">http://www.qihangnet.com/PermaLink,guid,e29b1d3e-7826-4801-b4c2-3abcb9ffe8bc.aspx</guid>
      <link>http://www.qihangnet.com/PermaLink,guid,e29b1d3e-7826-4801-b4c2-3abcb9ffe8bc.aspx</link>
      <pubDate>Wed, 22 Jun 2005 03:23:54 GMT</pubDate>
      <description>&lt;p&gt;
对原来的版本的渐变效果进度条做了改进，抛弃了长度达256的数组，并修改了样式表，实现了大幅度减少资源消耗。&lt;a href="http://www.qihangnet.com/myproject/progressbar/index_new.htm" target="_blank"&gt;请看效果&lt;/a&gt;&amp;nbsp;。
&lt;/p&gt;
&lt;p&gt;
具体程序如下：
&lt;/p&gt;
&lt;p&gt;
&lt;pre&gt;&lt;span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt; &amp;lt;title&amp;gt;渐变效果进度条&amp;lt;/title&amp;gt; &amp;lt;script language=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"javascript"&lt;/span&gt;&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;var&lt;/span&gt; i;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;function&lt;/span&gt; go()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;bar_width &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; document.getElementById(&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"bg"&lt;/span&gt;).clientWidth;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;i &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; bar_width;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;setTimeout('start();',300); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;function&lt;/span&gt; start()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;if&lt;/span&gt;(i--&amp;gt;0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ps.style.width &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; i;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;bn.innerHTML &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;Math&lt;/span&gt;.&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;floor&lt;/span&gt;((bar_width-i)/bar_width*100)&lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;+&lt;/span&gt;&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"%"&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;setTimeout('start();',20);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/script&amp;gt; &amp;lt;style type=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"text/css"&lt;/span&gt;&amp;gt;
#bg { filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr=#FFFF00,
EndColorStr=#FF0000); width:300px; height:20px; border:1px solid black; z-&lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;index&lt;/span&gt;:0;
position:absolute; } #ps { float:right; background-color:#FFFF00; width:100%; } #bn
{ position:absolute; text-align:center; width:100%; height:100%; cursor:default; }
&amp;lt;/style&amp;gt; &amp;lt;/head&amp;gt; &amp;lt;body onload=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"go();"&lt;/span&gt;&amp;gt;
&amp;lt;div id=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"bg"&lt;/span&gt;&amp;gt;&amp;lt;div
id=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"ps"&lt;/span&gt;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;span
id=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"bn"&lt;/span&gt;&amp;gt;0%&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt; &amp;lt;/html&amp;gt; &lt;/span&gt;&lt;/pre&gt;
&lt;br&gt;
&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.qihangnet.com"&gt;Qihangnet&lt;/a&gt;. </description>
      <comments>http://www.qihangnet.com/CommentView,guid,e29b1d3e-7826-4801-b4c2-3abcb9ffe8bc.aspx</comments>
      <category>JAVASCRIPT</category>
    </item>
    <item>
      <trackback:ping>http://www.qihangnet.com/Trackback.aspx?guid=ee2572a1-2145-4392-8305-d20b5de6dbe4</trackback:ping>
      <pingback:server>http://www.qihangnet.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.qihangnet.com/PermaLink,guid,ee2572a1-2145-4392-8305-d20b5de6dbe4.aspx</pingback:target>
      <dc:creator>衣明志</dc:creator>
      <wfw:comment>http://www.qihangnet.com/CommentView,guid,ee2572a1-2145-4392-8305-d20b5de6dbe4.aspx</wfw:comment>
      <wfw:commentRss>http://www.qihangnet.com/SyndicationService.asmx/GetEntryCommentsRss?guid=ee2572a1-2145-4392-8305-d20b5de6dbe4</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
演示效果请看<a href="http://www.qihangnet.com/myproject/progressbar/">渐变效果进度条</a>，具体代码如下：
</p>
        <p>
        </p>
        <pre>
          <span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;">&lt;html&gt;
&lt;head&gt; &lt;title&gt;渐变效果进度条&lt;/title&gt; &lt;script language=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"javascript"</span>&gt; <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">var</span> _Hex <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span><span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">Array</span>(<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"00"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"01"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"02"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"03"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"04"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"05"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"06"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"07"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"08"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"09"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"0A"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"0B"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"0C"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"0D"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"0E"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"0F"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"10"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"11"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"12"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"13"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"14"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"15"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"16"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"17"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"18"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"19"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"1A"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"1B"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"1C"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"1D"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"1E"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"1F"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"20"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"21"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"22"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"23"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"24"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"25"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"26"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"27"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"28"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"29"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"2A"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"2B"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"2C"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"2D"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"2E"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"2F"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"30"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"31"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"32"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"33"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"34"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"35"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"36"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"37"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"38"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"39"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"3A"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"3B"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"3C"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"3D"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"3E"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"3F"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"40"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"41"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"42"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"43"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"44"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"45"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"46"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"47"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"48"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"49"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"4A"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"4B"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"4C"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"4D"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"4E"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"4F"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"50"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"51"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"52"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"53"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"54"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"55"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"56"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"57"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"58"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"59"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"5A"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"5B"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"5C"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"5D"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"5E"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"5F"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"60"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"61"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"62"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"63"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"64"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"65"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"66"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"67"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"68"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"69"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"6A"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"6B"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"6C"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"6D"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"6E"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"6F"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"70"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"71"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"72"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"73"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"74"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"75"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"76"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"77"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"78"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"79"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"7A"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"7B"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"7C"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"7D"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"7E"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"7F"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"80"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"81"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"82"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"83"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"84"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"85"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"86"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"87"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"88"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"89"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"8A"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"8B"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"8C"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"8D"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"8E"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"8F"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"90"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"91"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"92"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"93"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"94"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"95"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"96"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"97"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"98"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"99"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"9A"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"9B"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"9C"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"9D"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"9E"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"9F"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"A0"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"A1"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"A2"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"A3"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"A4"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"A5"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"A6"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"A7"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"A8"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"A9"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"AA"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"AB"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"AC"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"AD"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"AE"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"AF"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"B0"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"B1"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"B2"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"B3"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"B4"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"B5"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"B6"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"B7"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"B8"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"B9"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"BA"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"BB"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"BC"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"BD"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"BE"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"BF"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"C0"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"C1"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"C2"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"C3"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"C4"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"C5"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"C6"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"C7"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"C8"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"C9"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"CA"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"CB"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"CC"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"CD"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"CE"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"CF"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"D0"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"D1"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"D2"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"D3"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"D4"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"D5"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"D6"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"D7"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"D8"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"D9"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"DA"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"DB"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"DC"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"DD"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"DE"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"DF"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"E0"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"E1"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"E2"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"E3"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"E4"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"E5"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"E6"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"E7"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"E8"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"E9"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"EA"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"EB"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"EC"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"ED"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"EE"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"EF"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"F0"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"F1"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"F2"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"F3"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"F4"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"F5"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"F6"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"F7"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"F8"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"F9"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"FA"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"FB"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"FC"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"FD"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"FE"</span>,<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"FF"</span>);
    <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">function</span> go()
    {         setTimeout('start();',100);
    }     <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">var</span> i=0;
    <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">function</span> start()
    {         <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">if</span>(i++&lt;256)
        {             ps.innerHTML
+= <span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"&lt;span
style='width:1px;background-color:#FF"</span>+_Hex[256-i]<span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">+</span><span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"00;'&gt;"</span>;
            bn.innerHTML <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span><span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">Math</span>.<span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">floor</span>(i/2.56)<span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">+</span><span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"%"</span>;
            setTimeout('start();',10);
        }     }     
&lt;/script&gt; &lt;style type=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"text/css"</span>&gt;
#ps { background-color:#FFFF00; width:256px; margin: 1px; float:left; } #bn { width:39px;
margin: 1px; float:right; text-align:center; color:#FFFFFF; font-family:Arial; font-size:13px;
} &lt;/style&gt; &lt;/head&gt; &lt;body onload=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"go();"</span>&gt;
&lt;div style=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"background-color:black;width:300px;height:20px;"</span>&gt;&lt;div
id=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"ps"</span>&gt;&lt;/div&gt;&lt;div
id=<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"bn"</span>&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/body&gt; &lt;/html&gt; </span>
        </pre>
        <br />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.qihangnet.com">Qihangnet</a>. 
</body>
      <title>偶做的渐变效果进度条</title>
      <guid isPermaLink="false">http://www.qihangnet.com/PermaLink,guid,ee2572a1-2145-4392-8305-d20b5de6dbe4.aspx</guid>
      <link>http://www.qihangnet.com/PermaLink,guid,ee2572a1-2145-4392-8305-d20b5de6dbe4.aspx</link>
      <pubDate>Tue, 21 Jun 2005 00:26:14 GMT</pubDate>
      <description>&lt;p&gt;
演示效果请看&lt;a href="http://www.qihangnet.com/myproject/progressbar/"&gt;渐变效果进度条&lt;/a&gt;，具体代码如下：
&lt;/p&gt;
&lt;p&gt;
&lt;pre&gt;&lt;span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt; &amp;lt;title&amp;gt;渐变效果进度条&amp;lt;/title&amp;gt; &amp;lt;script language=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"javascript"&lt;/span&gt;&amp;gt; &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;var&lt;/span&gt; _Hex &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;Array&lt;/span&gt;(&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"00"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"01"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"02"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"03"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"04"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"05"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"06"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"07"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"08"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"09"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"0A"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"0B"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"0C"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"0D"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"0E"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"0F"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"10"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"11"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"12"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"13"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"14"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"15"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"16"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"17"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"18"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"19"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"1A"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"1B"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"1C"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"1D"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"1E"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"1F"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"20"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"21"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"22"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"23"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"24"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"25"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"26"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"27"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"28"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"29"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"2A"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"2B"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"2C"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"2D"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"2E"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"2F"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"30"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"31"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"32"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"33"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"34"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"35"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"36"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"37"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"38"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"39"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"3A"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"3B"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"3C"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"3D"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"3E"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"3F"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"40"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"41"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"42"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"43"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"44"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"45"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"46"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"47"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"48"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"49"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"4A"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"4B"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"4C"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"4D"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"4E"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"4F"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"50"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"51"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"52"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"53"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"54"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"55"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"56"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"57"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"58"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"59"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"5A"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"5B"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"5C"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"5D"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"5E"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"5F"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"60"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"61"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"62"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"63"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"64"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"65"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"66"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"67"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"68"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"69"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"6A"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"6B"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"6C"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"6D"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"6E"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"6F"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"70"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"71"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"72"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"73"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"74"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"75"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"76"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"77"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"78"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"79"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"7A"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"7B"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"7C"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"7D"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"7E"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"7F"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"80"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"81"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"82"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"83"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"84"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"85"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"86"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"87"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"88"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"89"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"8A"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"8B"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"8C"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"8D"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"8E"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"8F"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"90"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"91"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"92"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"93"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"94"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"95"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"96"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"97"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"98"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"99"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"9A"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"9B"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"9C"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"9D"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"9E"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"9F"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"A0"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"A1"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"A2"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"A3"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"A4"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"A5"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"A6"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"A7"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"A8"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"A9"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"AA"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"AB"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"AC"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"AD"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"AE"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"AF"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"B0"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"B1"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"B2"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"B3"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"B4"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"B5"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"B6"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"B7"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"B8"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"B9"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"BA"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"BB"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"BC"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"BD"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"BE"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"BF"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"C0"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"C1"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"C2"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"C3"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"C4"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"C5"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"C6"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"C7"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"C8"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"C9"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"CA"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"CB"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"CC"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"CD"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"CE"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"CF"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"D0"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"D1"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"D2"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"D3"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"D4"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"D5"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"D6"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"D7"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"D8"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"D9"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"DA"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"DB"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"DC"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"DD"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"DE"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"DF"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"E0"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"E1"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"E2"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"E3"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"E4"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"E5"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"E6"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"E7"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"E8"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"E9"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"EA"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"EB"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"EC"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"ED"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"EE"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"EF"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"F0"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"F1"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"F2"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"F3"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"F4"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"F5"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"F6"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"F7"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"F8"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"F9"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"FA"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"FB"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"FC"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"FD"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"FE"&lt;/span&gt;,&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"FF"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;function&lt;/span&gt; go()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;setTimeout('start();',100);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;var&lt;/span&gt; i=0;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;function&lt;/span&gt; start()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;if&lt;/span&gt;(i++&amp;lt;256)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ps.innerHTML
+= &lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"&amp;lt;span
style='width:1px;background-color:#FF"&lt;/span&gt;+_Hex[256-i]&lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;+&lt;/span&gt;&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"00;'&amp;gt;"&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;bn.innerHTML &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;Math&lt;/span&gt;.&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;floor&lt;/span&gt;(i/2.56)&lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;+&lt;/span&gt;&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"%"&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;setTimeout('start();',10);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/script&amp;gt; &amp;lt;style type=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"text/css"&lt;/span&gt;&amp;gt;
#ps { background-color:#FFFF00; width:256px; margin: 1px; float:left; } #bn { width:39px;
margin: 1px; float:right; text-align:center; color:#FFFFFF; font-family:Arial; font-size:13px;
} &amp;lt;/style&amp;gt; &amp;lt;/head&amp;gt; &amp;lt;body onload=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"go();"&lt;/span&gt;&amp;gt;
&amp;lt;div style=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"background-color:black;width:300px;height:20px;"&lt;/span&gt;&amp;gt;&amp;lt;div
id=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"ps"&lt;/span&gt;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div
id=&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"bn"&lt;/span&gt;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt; &amp;lt;/html&amp;gt; &lt;/span&gt;&lt;/pre&gt;
&lt;br&gt;
&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.qihangnet.com"&gt;Qihangnet&lt;/a&gt;. </description>
      <comments>http://www.qihangnet.com/CommentView,guid,ee2572a1-2145-4392-8305-d20b5de6dbe4.aspx</comments>
      <category>JAVASCRIPT</category>
    </item>
    <item>
      <trackback:ping>http://www.qihangnet.com/Trackback.aspx?guid=7e4b9ee3-c562-452d-b202-95c2e978722f</trackback:ping>
      <pingback:server>http://www.qihangnet.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.qihangnet.com/PermaLink,guid,7e4b9ee3-c562-452d-b202-95c2e978722f.aspx</pingback:target>
      <dc:creator>衣明志</dc:creator>
      <wfw:comment>http://www.qihangnet.com/CommentView,guid,7e4b9ee3-c562-452d-b202-95c2e978722f.aspx</wfw:comment>
      <wfw:commentRss>http://www.qihangnet.com/SyndicationService.asmx/GetEntryCommentsRss?guid=7e4b9ee3-c562-452d-b202-95c2e978722f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
&lt;% @Language="JavaScript" %&gt;<br />
&lt;%
</p>
        <p>
/*<br />
 *--------------- decode.asp -----------------<br />
 * 功能:遍历某个目录下的所有文件,对加密过的.asp文件<br />
 *      进行解密,并写入源文件中.<br />
 * 实例:单个文件解密<br />
 * Response.Write(DncodeFile(Server.MapPath("conn.asp")));<br />
 * 实例:目录下所有文件解密.<br />
 * DncodeFolderFiles(Server.MapPath("xml"))<br />
 * author:wanghr100(灰豆宝宝.net)<br />
 * update:2004-5-17 11:31<br />
 *--------------- decode.asp -----------------<br />
 */
</p>
        <p>
function DncodeFile(sFilePath)<br />
{<br />
/*<br />
 *--------------- DncodeFile(sFilePath) -----------------<br />
 * DncodeFile(sFilePath) 
<br />
 * 功能:打开文件sFilePath,Encode解密,重写该文件.<br />
 * 参数:sFilePath,字符串,文件的路径.<br />
 * 返回:sFilePath,文件的路径.<br />
 * 实例:Response.Write(DncodeFile(Server.MapPath("conn.asp")));<br />
 * author:wanghr100(灰豆宝宝.net)<br />
 * update:2004-5-17 0:58<br />
 *--------------- DncodeFile(sFilePath) -----------------<br />
 */<br />
    var ForReading = 1, ForWriting =2, ForAppending =8;<br />
    var fso = Server.CreateObject("Scripting.FileSystemObject");<br />
    var f = fso.OpenTextFile(sFilePath,ForReading,true);<br />
    sFileText = f.ReadAll();<br />
    f.Close();<br />
    sDncodeText = strdec(sFileText)<br />
    var f = fso.OpenTextFile(sFilePath,ForWriting,true);<br />
    f.Write(sDncodeText);<br />
    f.Close();<br />
    //return sDncodeText;<br />
    return sFilePath;<br />
}
</p>
        <p>
function GetFilesPath(sFolderPath)<br />
{<br />
/*<br />
 *--------------- GetFilesPath(sFolderPath) -----------------<br />
 * GetFilesPath(sFolderPath) 
<br />
 * 功能:遍历sFolderPath目录下的所有文件.返回数组.存储文件路径.<br />
 * 参数:sFolderPath,字符串,目录绝对路径.<br />
 * 实例:Response.Write(GetFilesPath(Server.MapPath("xml")))<br />
 * update:2004-5-12 8:33<br />
 * author:wanghr100(灰豆宝宝.net)<br />
 *--------------- GetFilesPath(sFolderPath) -----------------<br />
 */<br />
    var sFilePath = new Array();<br />
    var fso = Server.CreateObject("Scripting.FileSystemObject");<br />
    var oFolder = fso.GetFolder(sFolderPath);<br />
    var oSubFolders = oFolder.SubFolders;<br />
    var oFiles = oFolder.Files;<br />
    icount = oFiles.Count;
</p>
        <p>
    var enmFiles = new Enumerator(oFiles);<br />
    for(;!enmFiles.atEnd();enmFiles.moveNext())<br />
    {<br />
        sFilePath[sFilePath.length] = enmFiles.item().Path<br />
    }
</p>
        <p>
    var enmFolders = new Enumerator(oSubFolders);<br />
    for(;!enmFolders.atEnd();enmFolders.moveNext())<br />
    {<br />
        /* Old 数组成了多维. */<br />
        //sFilePath[sFilePath.length]=GetFilesPath(enmFolders.item().Path);<br />
        /* Add 2004-5-17 11:09 只为一维数组 */<br />
        sFilePath=sFilePath.concat(GetFilesPath(enmFolders.item().Path));<br />
    }
</p>
        <p>
    return sFilePath;
</p>
        <p>
}
</p>
        <p>
function GetFileType(sFileName)<br />
{<br />
/*<br />
 *--------------- GetFileType(sFileName) -----------------<br />
 * GetFileType(sFileName) 
<br />
 * 功能:通过后缀,取得sFileName的文件类型.<br />
 * 参数:sFileName,字符串,文件名.<br />
 * 实例:Response.Write(GetFileType("decode.asp"))<br />
 * update:2004-5-13 8:33<br />
 * author:wanghr100(灰豆宝宝.net)<br />
 *--------------- GetFileType(sFileName) -----------------<br />
 */<br />
    sFileName = String(sFileName);<br />
    return sFileName.split(".")[sFileName.split(".").length-1];<br />
}
</p>
        <p>
/* Start 解密实现:李辉煌 Start*/<br />
function screncode(s,l)<br />
{enc=new ActiveXObject("Scripting.Encoder");<br />
return enc.EncodeScriptFile("."+l,s,0,l+"cript");<br />
}
</p>
        <p>
          <br />
    var STATE_COPY_INPUT       
= 100<br />
    var STATE_READLEN       = 101<br />
    var STATE_DECODE        = 102<br />
    var STATE_UNESCAPE      = 103
</p>
        <p>
    var pick_encoding = new Array(<br />
        1, 2, 0, 1, 2, 0, 2, 0, 0, 2, 0, 2, 1,
0, 2, 0,<br />
        1, 0, 2, 0, 1, 1, 2, 0, 0, 2, 1, 0, 2,
0, 0, 2,<br />
        1, 1, 0, 2, 0, 2, 0, 1, 0, 1, 1, 2, 0,
1, 0, 2,<br />
        1, 0, 2, 0, 1, 1, 2, 0, 0, 1, 1, 2, 0,
1, 0, 2<br />
    )
</p>
        <p>
    var rawData = new Array(<br />
        0x64,0x37,0x69, 0x50,0x7E,0x2C, 0x22,0x5A,0x65,
0x4A,0x45,0x72,<br />
        0x61,0x3A,0x5B, 0x5E,0x79,0x66, 0x5D,0x59,0x75,
0x5B,0x27,0x4C,<br />
        0x42,0x76,0x45, 0x60,0x63,0x76, 0x23,0x62,0x2A,
0x65,0x4D,0x43,<br />
        0x5F,0x51,0x33, 0x7E,0x53,0x42, 0x4F,0x52,0x20,
0x52,0x20,0x63,<br />
        0x7A,0x26,0x4A, 0x21,0x54,0x5A, 0x46,0x71,0x38,
0x20,0x2B,0x79,<br />
        0x26,0x66,0x32, 0x63,0x2A,0x57, 0x2A,0x58,0x6C,
0x76,0x7F,0x2B,<br />
        0x47,0x7B,0x46, 0x25,0x30,0x52, 0x2C,0x31,0x4F,
0x29,0x6C,0x3D,<br />
        0x69,0x49,0x70, 0x3F,0x3F,0x3F, 0x27,0x78,0x7B,
0x3F,0x3F,0x3F,<br />
        0x67,0x5F,0x51, 0x3F,0x3F,0x3F, 0x62,0x29,0x7A,
0x41,0x24,0x7E,<br />
        0x5A,0x2F,0x3B, 0x66,0x39,0x47, 0x32,0x33,0x41,
0x73,0x6F,0x77,<br />
        0x4D,0x21,0x56, 0x43,0x75,0x5F, 0x71,0x28,0x26,
0x39,0x42,0x78,<br />
        0x7C,0x46,0x6E, 0x53,0x4A,0x64, 0x48,0x5C,0x74,
0x31,0x48,0x67,<br />
        0x72,0x36,0x7D, 0x6E,0x4B,0x68, 0x70,0x7D,0x35,
0x49,0x5D,0x22,<br />
        0x3F,0x6A,0x55, 0x4B,0x50,0x3A, 0x6A,0x69,0x60,
0x2E,0x23,0x6A,<br />
        0x7F,0x09,0x71, 0x28,0x70,0x6F, 0x35,0x65,0x49,
0x7D,0x74,0x5C,<br />
        0x24,0x2C,0x5D, 0x2D,0x77,0x27, 0x54,0x44,0x59,
0x37,0x3F,0x25,<br />
        0x7B,0x6D,0x7C, 0x3D,0x7C,0x23, 0x6C,0x43,0x6D,
0x34,0x38,0x28,<br />
        0x6D,0x5E,0x31, 0x4E,0x5B,0x39, 0x2B,0x6E,0x7F,
0x30,0x57,0x36,<br />
        0x6F,0x4C,0x54, 0x74,0x34,0x34, 0x6B,0x72,0x62,
0x4C,0x25,0x4E,<br />
        0x33,0x56,0x30, 0x56,0x73,0x5E, 0x3A,0x68,0x73,
0x78,0x55,0x09,<br />
        0x57,0x47,0x4B, 0x77,0x32,0x61, 0x3B,0x35,0x24,
0x44,0x2E,0x4D,<br />
        0x2F,0x64,0x6B, 0x59,0x4F,0x44, 0x45,0x3B,0x21,
0x5C,0x2D,0x37,<br />
        0x68,0x41,0x53, 0x36,0x61,0x58, 0x58,0x7A,0x48,
0x79,0x22,0x2E,<br />
        0x09,0x60,0x50, 0x75,0x6B,0x2D, 0x38,0x4E,0x29,
0x55,0x3D,0x3F<br />
    )
</p>
        <p>
    var transformed = new Array()<br />
    for (var i=0; i&lt;3; i++) transformed[i] = new Array()<br />
    for (var i=31; i&lt;=126; i++) for (var j=0; j&lt;3; j++) transformed[j][rawData[(i-31)
* 3 + j]] = (i==31) ? 9 : i<br />
    
<br />
    var digits = new Array()<br />
    for (var i=0; i&lt;26; i++)<br />
    {<br />
        digits["A".charCodeAt(0)+i] = i<br />
        digits["a".charCodeAt(0)+i] = i+26<br />
    }<br />
    for (var i=0; i&lt;10; i++)    digits["0".charCodeAt(0)+i]
= i+52<br />
    digits[0x2b] = 62<br />
    digits[0x2f] = 63
</p>
        <p>
    function unescape(char)<br />
    {<br />
        var escapes = "#&amp;!*$"<br />
        var escaped = "\r\n&lt;&gt;@"
</p>
        <p>
        if (char.charCodeAt(0) &gt; 126)  
return char<br />
        if (escapes.indexOf(char) != -1)   
return escaped.substr(escapes.indexOf(char), 1)<br />
        return "?"<br />
    }<br />
    
<br />
    function decodeBase64(string)<br />
    {<br />
        var val = 0<br />
        val +=  (digits[string.substr(0,1).charCodeAt(0)]
&lt;&lt; 2)<br />
        val +=  (digits[string.substr(1,1).charCodeAt(0)]
&gt;&gt; 4)<br />
        val +=  (digits[string.substr(1,1).charCodeAt(0)]
&amp; 0xf) &lt;&lt; 12<br />
        val += ((digits[string.substr(2,1).charCodeAt(0)]
&gt;&gt; 2) &lt;&lt; 8)<br />
        val += ((digits[string.substr(2,1).charCodeAt(0)]
&amp; 0x3) &lt;&lt; 22)<br />
        val +=  (digits[string.substr(3,1).charCodeAt(0)]
&lt;&lt; 16)<br />
        return val<br />
    }
</p>
        <p>
    function strdec(encodingString)<br />
    {<br />
        
<br />
        var marker = "#@~^"<br />
        var stringIndex = 0<br />
        var scriptIndex = -1<br />
        var unEncodingIndex = 0<br />
        var char = null<br />
        var encodingLength = unEncodinglength =
0<br />
        var state = STATE_COPY_INPUT<br />
        var unEncodingString = ""<br />
        var re, arr<br />
        
<br />
        while(state)<br />
        {<br />
            switch (state)<br />
            {<br />
               
case (STATE_COPY_INPUT) :<br />
                   
scriptIndex = encodingString.indexOf(marker, stringIndex)<br />
                   
if (scriptIndex != -1)<br />
                   
{<br />
                       
unEncodingString += encodingString.substring(stringIndex, scriptIndex)<br />
                       
scriptIndex += marker.length<br />
                       
state = STATE_READLEN<br />
                   
}<br />
                   
else<br />
                   
{<br />
                       
stringIndex = stringIndex==0 ? 0 : stringIndex<br />
                       
unEncodingString += encodingString.substr(stringIndex, encodingString.length)<br />
                       
state = 0<br />
                   
}<br />
                   
break<br />
                
<br />
               
case (STATE_READLEN)    :<br />
                   
encodingLength = encodingString.substr(scriptIndex, 6)<br />
                   
unEncodinglength = decodeBase64(encodingLength)<br />
                   
scriptIndex += (6 + "==".length)<br />
                   
state = STATE_DECODE<br />
                   
break<br />
                    
<br />
               
case (STATE_DECODE) :<br />
                   
if (!unEncodinglength)<br />
                   
{<br />
                       
stringIndex = scriptIndex + "<a href="mailto:DQgAAA==^#~@&quot;.length">DQgAAA==^#~@".length</a><br />
                       
unEncodingIndex = 0<br />
                       
state = STATE_COPY_INPUT<br />
                       
break<br />
                   
}<br />
                   
char = encodingString.substr(scriptIndex, 1)<br />
                   
if (char == "@")    state = STATE_UNESCAPE<br />
                   
else<br />
                   
{<br />
                       
if (char.charCodeAt(0) &lt; 0xFF)<br />
                       
{<br />
                           
unEncodingString += String.fromCharCode(transformed[pick_encoding[unEncodingIndex%64]][char.charCodeAt(0)])<br />
                           
unEncodingIndex++<br />
                       
}<br />
                       
else<br />
                       
{<br />
                           
unEncodingString += char<br />
                       
}                       
<br />
                       
scriptIndex++<br />
                       
unEncodinglength--<br />
                       
break<br />
                   
}<br />
                    
<br />
               
case STATE_UNESCAPE:<br />
                   
unEncodingString += unescape(encodingString.substr(++scriptIndex, 1))<br />
                   
scriptIndex++;  unEncodinglength -=2<br />
                   
unEncodingIndex++<br />
                   
state = STATE_DECODE<br />
                   
break<br />
            }<br />
        }<br />
        
<br />
        re  = new RegExp("(JScript|VBscript).encode",
"gmi")<br />
        while(arr = re.exec(unEncodingString)) 
unEncodingString = RegExp.leftContext + RegExp.$1 + RegExp.rightContext<br />
        return unEncodingString<br />
    }
</p>
        <p>
/* End 解密实现:李辉煌 End*/
</p>
        <p>
          <br />
function DncodeFolderFiles(sFolderPath)<br />
{<br />
/*<br />
 *--------------- DncodeFolderFiles(sFolderPath) -----------------<br />
 * DncodeFolderFiles(sFolderPath)<br />
 * 功能:遍历sFolderPath目录下的所有文件,对加密过的.asp文件<br />
 *      进行解密,并写入源文件中.<br />
 * 实例:DncodeFolderFiles(Server.MapPath("xml"));<br />
 * author:wanghr100(灰豆宝宝.net)<br />
 * update:2004-5-17 8:07<br />
 *--------------- DncodeFolderFiles(sFolderPath) -----------------<br />
 */<br />
    var arrFiles = GetFilesPath(sFolderPath)<br />
    for(var i=0;i&lt;arrFiles.length;i++)<br />
    {<br />
        if(GetFileType(arrFiles[i])=="asp")<br />
        {<br />
            Response.Write(DncodeFile(arrFiles[i]))<br />
            Response.Write("OK.&lt;br&gt;")<br />
        }<br />
    }<br />
}
</p>
        <p>
//取得xml目录下的所有文件.解密.<br />
DncodeFolderFiles(Server.MapPath("xml"))<br />
//取得t.asp.解密.<br />
//Response.Write(DncodeFile(Server.MapPath("t.asp")))<br />
%&gt;<br /></p>
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.qihangnet.com">Qihangnet</a>. 
</body>
      <title>批量对加密的asp代码解密的asp程序</title>
      <guid isPermaLink="false">http://www.qihangnet.com/PermaLink,guid,7e4b9ee3-c562-452d-b202-95c2e978722f.aspx</guid>
      <link>http://www.qihangnet.com/PermaLink,guid,7e4b9ee3-c562-452d-b202-95c2e978722f.aspx</link>
      <pubDate>Mon, 04 Apr 2005 08:58:26 GMT</pubDate>
      <description>&lt;p&gt;
&amp;lt;% @Language="JavaScript" %&amp;gt;&lt;br&gt;
&amp;lt;%
&lt;/p&gt;
&lt;p&gt;
/*&lt;br&gt;
&amp;nbsp;*--------------- decode.asp -----------------&lt;br&gt;
&amp;nbsp;* 功能:遍历某个目录下的所有文件,对加密过的.asp文件&lt;br&gt;
&amp;nbsp;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 进行解密,并写入源文件中.&lt;br&gt;
&amp;nbsp;* 实例:单个文件解密&lt;br&gt;
&amp;nbsp;* Response.Write(DncodeFile(Server.MapPath("conn.asp")));&lt;br&gt;
&amp;nbsp;* 实例:目录下所有文件解密.&lt;br&gt;
&amp;nbsp;* DncodeFolderFiles(Server.MapPath("xml"))&lt;br&gt;
&amp;nbsp;* author:wanghr100(灰豆宝宝.net)&lt;br&gt;
&amp;nbsp;* update:2004-5-17 11:31&lt;br&gt;
&amp;nbsp;*--------------- decode.asp -----------------&lt;br&gt;
&amp;nbsp;*/
&lt;/p&gt;
&lt;p&gt;
function DncodeFile(sFilePath)&lt;br&gt;
{&lt;br&gt;
/*&lt;br&gt;
&amp;nbsp;*--------------- DncodeFile(sFilePath) -----------------&lt;br&gt;
&amp;nbsp;* DncodeFile(sFilePath) 
&lt;br&gt;
&amp;nbsp;* 功能:打开文件sFilePath,Encode解密,重写该文件.&lt;br&gt;
&amp;nbsp;* 参数:sFilePath,字符串,文件的路径.&lt;br&gt;
&amp;nbsp;* 返回:sFilePath,文件的路径.&lt;br&gt;
&amp;nbsp;* 实例:Response.Write(DncodeFile(Server.MapPath("conn.asp")));&lt;br&gt;
&amp;nbsp;* author:wanghr100(灰豆宝宝.net)&lt;br&gt;
&amp;nbsp;* update:2004-5-17 0:58&lt;br&gt;
&amp;nbsp;*--------------- DncodeFile(sFilePath) -----------------&lt;br&gt;
&amp;nbsp;*/&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var ForReading = 1, ForWriting =2, ForAppending =8;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var fso = Server.CreateObject("Scripting.FileSystemObject");&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var f = fso.OpenTextFile(sFilePath,ForReading,true);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; sFileText = f.ReadAll();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; f.Close();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; sDncodeText = strdec(sFileText)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var f = fso.OpenTextFile(sFilePath,ForWriting,true);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; f.Write(sDncodeText);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; f.Close();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //return sDncodeText;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return sFilePath;&lt;br&gt;
}
&lt;/p&gt;
&lt;p&gt;
function GetFilesPath(sFolderPath)&lt;br&gt;
{&lt;br&gt;
/*&lt;br&gt;
&amp;nbsp;*--------------- GetFilesPath(sFolderPath) -----------------&lt;br&gt;
&amp;nbsp;* GetFilesPath(sFolderPath) 
&lt;br&gt;
&amp;nbsp;* 功能:遍历sFolderPath目录下的所有文件.返回数组.存储文件路径.&lt;br&gt;
&amp;nbsp;* 参数:sFolderPath,字符串,目录绝对路径.&lt;br&gt;
&amp;nbsp;* 实例:Response.Write(GetFilesPath(Server.MapPath("xml")))&lt;br&gt;
&amp;nbsp;* update:2004-5-12 8:33&lt;br&gt;
&amp;nbsp;* author:wanghr100(灰豆宝宝.net)&lt;br&gt;
&amp;nbsp;*--------------- GetFilesPath(sFolderPath) -----------------&lt;br&gt;
&amp;nbsp;*/&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var sFilePath = new Array();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var fso = Server.CreateObject("Scripting.FileSystemObject");&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var oFolder = fso.GetFolder(sFolderPath);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var oSubFolders = oFolder.SubFolders;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var oFiles = oFolder.Files;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; icount = oFiles.Count;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var enmFiles = new Enumerator(oFiles);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for(;!enmFiles.atEnd();enmFiles.moveNext())&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sFilePath[sFilePath.length] = enmFiles.item().Path&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var enmFolders = new Enumerator(oSubFolders);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for(;!enmFolders.atEnd();enmFolders.moveNext())&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Old 数组成了多维. */&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //sFilePath[sFilePath.length]=GetFilesPath(enmFolders.item().Path);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Add 2004-5-17 11:09 只为一维数组 */&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sFilePath=sFilePath.concat(GetFilesPath(enmFolders.item().Path));&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return sFilePath;
&lt;/p&gt;
&lt;p&gt;
}
&lt;/p&gt;
&lt;p&gt;
function GetFileType(sFileName)&lt;br&gt;
{&lt;br&gt;
/*&lt;br&gt;
&amp;nbsp;*--------------- GetFileType(sFileName) -----------------&lt;br&gt;
&amp;nbsp;* GetFileType(sFileName) 
&lt;br&gt;
&amp;nbsp;* 功能:通过后缀,取得sFileName的文件类型.&lt;br&gt;
&amp;nbsp;* 参数:sFileName,字符串,文件名.&lt;br&gt;
&amp;nbsp;* 实例:Response.Write(GetFileType("decode.asp"))&lt;br&gt;
&amp;nbsp;* update:2004-5-13 8:33&lt;br&gt;
&amp;nbsp;* author:wanghr100(灰豆宝宝.net)&lt;br&gt;
&amp;nbsp;*--------------- GetFileType(sFileName) -----------------&lt;br&gt;
&amp;nbsp;*/&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; sFileName = String(sFileName);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return sFileName.split(".")[sFileName.split(".").length-1];&lt;br&gt;
}
&lt;/p&gt;
&lt;p&gt;
/* Start 解密实现:李辉煌 Start*/&lt;br&gt;
function screncode(s,l)&lt;br&gt;
{enc=new ActiveXObject("Scripting.Encoder");&lt;br&gt;
return enc.EncodeScriptFile("."+l,s,0,l+"cript");&lt;br&gt;
}
&lt;/p&gt;
&lt;p&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var STATE_COPY_INPUT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
= 100&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var STATE_READLEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 101&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var STATE_DECODE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 102&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var STATE_UNESCAPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 103
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var pick_encoding = new Array(&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 2, 0, 1, 2, 0, 2, 0, 0, 2, 0, 2, 1,
0, 2, 0,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 0, 2, 0, 1, 1, 2, 0, 0, 2, 1, 0, 2,
0, 0, 2,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 1, 0, 2, 0, 2, 0, 1, 0, 1, 1, 2, 0,
1, 0, 2,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 0, 2, 0, 1, 1, 2, 0, 0, 1, 1, 2, 0,
1, 0, 2&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; )
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var rawData = new Array(&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x64,0x37,0x69, 0x50,0x7E,0x2C, 0x22,0x5A,0x65,
0x4A,0x45,0x72,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x61,0x3A,0x5B, 0x5E,0x79,0x66, 0x5D,0x59,0x75,
0x5B,0x27,0x4C,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x42,0x76,0x45, 0x60,0x63,0x76, 0x23,0x62,0x2A,
0x65,0x4D,0x43,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x5F,0x51,0x33, 0x7E,0x53,0x42, 0x4F,0x52,0x20,
0x52,0x20,0x63,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x7A,0x26,0x4A, 0x21,0x54,0x5A, 0x46,0x71,0x38,
0x20,0x2B,0x79,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x26,0x66,0x32, 0x63,0x2A,0x57, 0x2A,0x58,0x6C,
0x76,0x7F,0x2B,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x47,0x7B,0x46, 0x25,0x30,0x52, 0x2C,0x31,0x4F,
0x29,0x6C,0x3D,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x69,0x49,0x70, 0x3F,0x3F,0x3F, 0x27,0x78,0x7B,
0x3F,0x3F,0x3F,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x67,0x5F,0x51, 0x3F,0x3F,0x3F, 0x62,0x29,0x7A,
0x41,0x24,0x7E,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x5A,0x2F,0x3B, 0x66,0x39,0x47, 0x32,0x33,0x41,
0x73,0x6F,0x77,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x4D,0x21,0x56, 0x43,0x75,0x5F, 0x71,0x28,0x26,
0x39,0x42,0x78,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x7C,0x46,0x6E, 0x53,0x4A,0x64, 0x48,0x5C,0x74,
0x31,0x48,0x67,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x72,0x36,0x7D, 0x6E,0x4B,0x68, 0x70,0x7D,0x35,
0x49,0x5D,0x22,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x3F,0x6A,0x55, 0x4B,0x50,0x3A, 0x6A,0x69,0x60,
0x2E,0x23,0x6A,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x7F,0x09,0x71, 0x28,0x70,0x6F, 0x35,0x65,0x49,
0x7D,0x74,0x5C,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x24,0x2C,0x5D, 0x2D,0x77,0x27, 0x54,0x44,0x59,
0x37,0x3F,0x25,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x7B,0x6D,0x7C, 0x3D,0x7C,0x23, 0x6C,0x43,0x6D,
0x34,0x38,0x28,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x6D,0x5E,0x31, 0x4E,0x5B,0x39, 0x2B,0x6E,0x7F,
0x30,0x57,0x36,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x6F,0x4C,0x54, 0x74,0x34,0x34, 0x6B,0x72,0x62,
0x4C,0x25,0x4E,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x33,0x56,0x30, 0x56,0x73,0x5E, 0x3A,0x68,0x73,
0x78,0x55,0x09,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x57,0x47,0x4B, 0x77,0x32,0x61, 0x3B,0x35,0x24,
0x44,0x2E,0x4D,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x2F,0x64,0x6B, 0x59,0x4F,0x44, 0x45,0x3B,0x21,
0x5C,0x2D,0x37,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x68,0x41,0x53, 0x36,0x61,0x58, 0x58,0x7A,0x48,
0x79,0x22,0x2E,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x09,0x60,0x50, 0x75,0x6B,0x2D, 0x38,0x4E,0x29,
0x55,0x3D,0x3F&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; )
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var transformed = new Array()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i=0; i&amp;lt;3; i++) transformed[i] = new Array()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i=31; i&amp;lt;=126; i++) for (var j=0; j&amp;lt;3; j++) transformed[j][rawData[(i-31)
* 3 + j]] = (i==31) ? 9 : i&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var digits = new Array()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i=0; i&amp;lt;26; i++)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digits["A".charCodeAt(0)+i] = i&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digits["a".charCodeAt(0)+i] = i+26&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i=0; i&amp;lt;10; i++)&amp;nbsp;&amp;nbsp;&amp;nbsp; digits["0".charCodeAt(0)+i]
= i+52&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digits[0x2b] = 62&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digits[0x2f] = 63
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; function unescape(char)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var escapes = "#&amp;amp;!*$"&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var escaped = "\r\n&amp;lt;&amp;gt;@"
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (char.charCodeAt(0) &amp;gt; 126)&amp;nbsp;&amp;nbsp;
return char&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (escapes.indexOf(char) != -1)&amp;nbsp;&amp;nbsp;&amp;nbsp;
return escaped.substr(escapes.indexOf(char), 1)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return "?"&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; function decodeBase64(string)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var val = 0&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; val +=&amp;nbsp; (digits[string.substr(0,1).charCodeAt(0)]
&amp;lt;&amp;lt; 2)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; val +=&amp;nbsp; (digits[string.substr(1,1).charCodeAt(0)]
&amp;gt;&amp;gt; 4)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; val +=&amp;nbsp; (digits[string.substr(1,1).charCodeAt(0)]
&amp;amp; 0xf) &amp;lt;&amp;lt; 12&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; val += ((digits[string.substr(2,1).charCodeAt(0)]
&amp;gt;&amp;gt; 2) &amp;lt;&amp;lt; 8)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; val += ((digits[string.substr(2,1).charCodeAt(0)]
&amp;amp; 0x3) &amp;lt;&amp;lt; 22)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; val +=&amp;nbsp; (digits[string.substr(3,1).charCodeAt(0)]
&amp;lt;&amp;lt; 16)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return val&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; function strdec(encodingString)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var marker = "#@~^"&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var stringIndex = 0&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var scriptIndex = -1&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var unEncodingIndex = 0&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var char = null&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var encodingLength = unEncodinglength =
0&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var state = STATE_COPY_INPUT&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var unEncodingString = ""&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var re, arr&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(state)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (state)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
case (STATE_COPY_INPUT) :&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
scriptIndex = encodingString.indexOf(marker, stringIndex)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
if (scriptIndex != -1)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
unEncodingString += encodingString.substring(stringIndex, scriptIndex)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
scriptIndex += marker.length&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
state = STATE_READLEN&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
else&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
stringIndex = stringIndex==0 ? 0 : stringIndex&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
unEncodingString += encodingString.substr(stringIndex, encodingString.length)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
state = 0&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
break&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
case (STATE_READLEN)&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
encodingLength = encodingString.substr(scriptIndex, 6)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
unEncodinglength = decodeBase64(encodingLength)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
scriptIndex += (6 + "==".length)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
state = STATE_DECODE&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
break&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
case (STATE_DECODE) :&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
if (!unEncodinglength)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
stringIndex = scriptIndex + "&lt;a href='mailto:DQgAAA==^#~@".length'&gt;DQgAAA==^#~@".length&lt;/a&gt; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
unEncodingIndex = 0&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
state = STATE_COPY_INPUT&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
break&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
char = encodingString.substr(scriptIndex, 1)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
if (char == "@")&amp;nbsp;&amp;nbsp;&amp;nbsp; state = STATE_UNESCAPE&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
else&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
if (char.charCodeAt(0) &amp;lt; 0xFF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
unEncodingString += String.fromCharCode(transformed[pick_encoding[unEncodingIndex%64]][char.charCodeAt(0)])&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
unEncodingIndex++&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
else&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
unEncodingString += char&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
scriptIndex++&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
unEncodinglength--&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
break&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
case STATE_UNESCAPE:&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
unEncodingString += unescape(encodingString.substr(++scriptIndex, 1))&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
scriptIndex++;&amp;nbsp; unEncodinglength -=2&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
unEncodingIndex++&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
state = STATE_DECODE&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
break&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; re&amp;nbsp; = new RegExp("(JScript|VBscript).encode",
"gmi")&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(arr = re.exec(unEncodingString))&amp;nbsp;
unEncodingString = RegExp.leftContext + RegExp.$1 + RegExp.rightContext&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return unEncodingString&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/p&gt;
&lt;p&gt;
/* End 解密实现:李辉煌 End*/
&lt;/p&gt;
&lt;p&gt;
&lt;br&gt;
function DncodeFolderFiles(sFolderPath)&lt;br&gt;
{&lt;br&gt;
/*&lt;br&gt;
&amp;nbsp;*--------------- DncodeFolderFiles(sFolderPath) -----------------&lt;br&gt;
&amp;nbsp;* DncodeFolderFiles(sFolderPath)&lt;br&gt;
&amp;nbsp;* 功能:遍历sFolderPath目录下的所有文件,对加密过的.asp文件&lt;br&gt;
&amp;nbsp;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 进行解密,并写入源文件中.&lt;br&gt;
&amp;nbsp;* 实例:DncodeFolderFiles(Server.MapPath("xml"));&lt;br&gt;
&amp;nbsp;* author:wanghr100(灰豆宝宝.net)&lt;br&gt;
&amp;nbsp;* update:2004-5-17 8:07&lt;br&gt;
&amp;nbsp;*--------------- DncodeFolderFiles(sFolderPath) -----------------&lt;br&gt;
&amp;nbsp;*/&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var arrFiles = GetFilesPath(sFolderPath)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for(var i=0;i&amp;lt;arrFiles.length;i++)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetFileType(arrFiles[i])=="asp")&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write(DncodeFile(arrFiles[i]))&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write("OK.&amp;lt;br&amp;gt;")&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
}
&lt;/p&gt;
&lt;p&gt;
//取得xml目录下的所有文件.解密.&lt;br&gt;
DncodeFolderFiles(Server.MapPath("xml"))&lt;br&gt;
//取得t.asp.解密.&lt;br&gt;
//Response.Write(DncodeFile(Server.MapPath("t.asp")))&lt;br&gt;
%&amp;gt;&lt;br&gt;
&lt;/p&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.qihangnet.com"&gt;Qihangnet&lt;/a&gt;. </description>
      <comments>http://www.qihangnet.com/CommentView,guid,7e4b9ee3-c562-452d-b202-95c2e978722f.aspx</comments>
      <category>ASP</category>
      <category>JAVASCRIPT</category>
    </item>
    <item>
      <trackback:ping>http://www.qihangnet.com/Trackback.aspx?guid=d09d742a-86fd-41b1-9559-5d9c67966b10</trackback:ping>
      <pingback:server>http://www.qihangnet.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.qihangnet.com/PermaLink,guid,d09d742a-86fd-41b1-9559-5d9c67966b10.aspx</pingback:target>
      <dc:creator>衣明志</dc:creator>
      <wfw:comment>http://www.qihangnet.com/CommentView,guid,d09d742a-86fd-41b1-9559-5d9c67966b10.aspx</wfw:comment>
      <wfw:commentRss>http://www.qihangnet.com/SyndicationService.asmx/GetEntryCommentsRss?guid=d09d742a-86fd-41b1-9559-5d9c67966b10</wfw:commentRss>
      <slash:comments>3</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <div class="blogbody">中国电话号码验证 
<br />
匹配形式如:0511-4405222 或者021-87888822 或者 021-44055520-555 或者 (0511)4405222 
<br />
正则表达式 "((d{3,4})|d{3,4}-)?d{7,8}(-d{3})*" 
<br /><br />
中国邮政编码验证 
<br />
匹配形式如:215421 
<br />
正则表达式 "d{6}" 
<br /><br />
电子邮件验证 
<br />
匹配形式如:justali@justdn.com 
<br />
正则表达式 "w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*" 
<br /><br />
身份证验证 
<br />
匹配形式如:15位或者18位身份证 
<br />
正则表达式 "d{18}|d{15}" 
<br /><br />
常用数字验证 
<br />
正则表达式  
<br />
"d{n}" n为规定长度 
<br />
"d{n,m}" n到m的长度范围 
<br /><br />
非法字符验证 
<br />
匹配非法字符如:&lt; &gt; &amp; / ' |  
<br />
正则表达式 [^&lt;&gt;&amp;/|'\]+ 
<br /><br />
日期验证 
<br />
匹配形式如:20030718,030718 
<br />
范围:1900--2099 
<br />
正则表达式((((19){1}|(20){1})d{2})|d{2})[01]{1}d{1}[0-3]{1}d{1}
</div>
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.qihangnet.com">Qihangnet</a>. 
</body>
      <title>身份验证常用正则表达式</title>
      <guid isPermaLink="false">http://www.qihangnet.com/PermaLink,guid,d09d742a-86fd-41b1-9559-5d9c67966b10.aspx</guid>
      <link>http://www.qihangnet.com/PermaLink,guid,d09d742a-86fd-41b1-9559-5d9c67966b10.aspx</link>
      <pubDate>Wed, 23 Mar 2005 09:04:12 GMT</pubDate>
      <description>&lt;div class=blogbody&gt;中国电话号码验证 
&lt;br&gt;
匹配形式如:0511-4405222&amp;nbsp;或者021-87888822&amp;nbsp;或者&amp;nbsp;021-44055520-555&amp;nbsp;或者&amp;nbsp;(0511)4405222 
&lt;br&gt;
正则表达式&amp;nbsp;"((d{3,4})|d{3,4}-)?d{7,8}(-d{3})*" 
&lt;br&gt;
&lt;br&gt;
中国邮政编码验证 
&lt;br&gt;
匹配形式如:215421 
&lt;br&gt;
正则表达式&amp;nbsp;"d{6}" 
&lt;br&gt;
&lt;br&gt;
电子邮件验证 
&lt;br&gt;
匹配形式如:justali@justdn.com 
&lt;br&gt;
正则表达式&amp;nbsp;"w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*" 
&lt;br&gt;
&lt;br&gt;
身份证验证 
&lt;br&gt;
匹配形式如:15位或者18位身份证 
&lt;br&gt;
正则表达式&amp;nbsp;"d{18}|d{15}" 
&lt;br&gt;
&lt;br&gt;
常用数字验证 
&lt;br&gt;
正则表达式&amp;nbsp; 
&lt;br&gt;
"d{n}"&amp;nbsp;n为规定长度 
&lt;br&gt;
"d{n,m}"&amp;nbsp;n到m的长度范围 
&lt;br&gt;
&lt;br&gt;
非法字符验证 
&lt;br&gt;
匹配非法字符如:&amp;lt;&amp;nbsp;&amp;gt;&amp;nbsp;&amp;amp;&amp;nbsp;/&amp;nbsp;'&amp;nbsp;|&amp;nbsp; 
&lt;br&gt;
正则表达式&amp;nbsp;[^&amp;lt;&amp;gt;&amp;amp;/|'\]+ 
&lt;br&gt;
&lt;br&gt;
日期验证 
&lt;br&gt;
匹配形式如:20030718,030718 
&lt;br&gt;
范围:1900--2099 
&lt;br&gt;
正则表达式((((19){1}|(20){1})d{2})|d{2})[01]{1}d{1}[0-3]{1}d{1}
&lt;/div&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.qihangnet.com"&gt;Qihangnet&lt;/a&gt;. </description>
      <comments>http://www.qihangnet.com/CommentView,guid,d09d742a-86fd-41b1-9559-5d9c67966b10.aspx</comments>
      <category>ASP</category>
      <category>ASP.NET</category>
      <category>JAVASCRIPT</category>
    </item>
    <item>
      <trackback:ping>http://www.qihangnet.com/Trackback.aspx?guid=47a3a7aa-014a-451e-954d-69272bedfa59</trackback:ping>
      <pingback:server>http://www.qihangnet.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.qihangnet.com/PermaLink,guid,47a3a7aa-014a-451e-954d-69272bedfa59.aspx</pingback:target>
      <dc:creator>衣明志</dc:creator>
      <wfw:comment>http://www.qihangnet.com/CommentView,guid,47a3a7aa-014a-451e-954d-69272bedfa59.aspx</wfw:comment>
      <wfw:commentRss>http://www.qihangnet.com/SyndicationService.asmx/GetEntryCommentsRss?guid=47a3a7aa-014a-451e-954d-69272bedfa59</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">JS里做小数的乘法运算时会出现浮点错误，具体可以测试一下：  
<br /><br />
&lt;script&gt; 
<br />
alert(11*22.9) 
<br />
&lt;/script&gt; 
<br /><br />
结果是251.89999999999998 而不是251.9  
<br /><br />
这个问题想必有很多人为之头痛。那么如何解决呢？在此给出解决办法。 
<br /><a name="more"></a><br />
1、 
<br />
  
<br />
&lt;script&gt; 
<br />
alert(11*(22.9*10)/10)； 
<br />
&lt;/script&gt;  
<br /><br />
解决问题的大概思路就是，先把因数放大为整数，最后再除以相应的倍数，这样就能得到正确的结果了。  
<br />
2、 
<br /><br />
&lt;script defer&gt; 
<br />
Number.prototype.rate=function(){  
<br />
var oStr=this.toString(); 
<br />
if(oStr.indexOf(".")==-1)  
<br />
return 1; 
<br />
else 
<br />
return Math.pow(10,parseInt(oStr.length-oStr.indexOf(".")-1)); 
<br />
} 
<br /><br />
function tran(){ 
<br />
args=tran.arguments; 
<br />
var temp=1; 
<br />
for(i=0;i&lt;args.length;i++) 
<br />
temp*=args[ i ]*args[ i ].rate(); 
<br />
for(i=0;i&lt;args.length;i++)  
<br />
temp/=args[ i ].rate(); 
<br />
return temp 
<br />
} 
<br /><br />
alert(tran(11,22.9)); 
<br /><br />
&lt;/script&gt; 
<br /><br />
该解决办法是比较麻烦的办法，但是却能让你大概了解解决这个问题的实际过程。<br /><hr />
This weblog is sponsored by <a href="http://www.qihangnet.com">Qihangnet</a>. 
</body>
      <title>关于JS中乘法的浮点错误解决方法</title>
      <guid isPermaLink="false">http://www.qihangnet.com/PermaLink,guid,47a3a7aa-014a-451e-954d-69272bedfa59.aspx</guid>
      <link>http://www.qihangnet.com/PermaLink,guid,47a3a7aa-014a-451e-954d-69272bedfa59.aspx</link>
      <pubDate>Wed, 23 Mar 2005 09:01:16 GMT</pubDate>
      <description>JS里做小数的乘法运算时会出现浮点错误，具体可以测试一下：&amp;nbsp; &lt;br&gt;
&lt;br&gt;
&amp;lt;script&amp;gt; 
&lt;br&gt;
alert(11*22.9) 
&lt;br&gt;
&amp;lt;/script&amp;gt; 
&lt;br&gt;
&lt;br&gt;
结果是251.89999999999998&amp;nbsp;而不是251.9&amp;nbsp; 
&lt;br&gt;
&lt;br&gt;
这个问题想必有很多人为之头痛。那么如何解决呢？在此给出解决办法。 
&lt;br&gt;
&lt;a name=more&gt;&lt;/a&gt;
&lt;br&gt;
1、 
&lt;br&gt;
&amp;nbsp; 
&lt;br&gt;
&amp;lt;script&amp;gt; 
&lt;br&gt;
alert(11*(22.9*10)/10)； 
&lt;br&gt;
&amp;lt;/script&amp;gt;&amp;nbsp; 
&lt;br&gt;
&lt;br&gt;
解决问题的大概思路就是，先把因数放大为整数，最后再除以相应的倍数，这样就能得到正确的结果了。&amp;nbsp; 
&lt;br&gt;
2、 
&lt;br&gt;
&lt;br&gt;
&amp;lt;script&amp;nbsp;defer&amp;gt; 
&lt;br&gt;
Number.prototype.rate=function(){&amp;nbsp; 
&lt;br&gt;
var&amp;nbsp;oStr=this.toString(); 
&lt;br&gt;
if(oStr.indexOf(".")==-1)&amp;nbsp; 
&lt;br&gt;
return&amp;nbsp;1; 
&lt;br&gt;
else 
&lt;br&gt;
return&amp;nbsp;Math.pow(10,parseInt(oStr.length-oStr.indexOf(".")-1)); 
&lt;br&gt;
} 
&lt;br&gt;
&lt;br&gt;
function&amp;nbsp;tran(){ 
&lt;br&gt;
args=tran.arguments; 
&lt;br&gt;
var&amp;nbsp;temp=1; 
&lt;br&gt;
for(i=0;i&amp;lt;args.length;i++) 
&lt;br&gt;
temp*=args[&amp;nbsp;i&amp;nbsp;]*args[&amp;nbsp;i&amp;nbsp;].rate(); 
&lt;br&gt;
for(i=0;i&amp;lt;args.length;i++)&amp;nbsp; 
&lt;br&gt;
temp/=args[&amp;nbsp;i&amp;nbsp;].rate(); 
&lt;br&gt;
return&amp;nbsp;temp 
&lt;br&gt;
} 
&lt;br&gt;
&lt;br&gt;
alert(tran(11,22.9)); 
&lt;br&gt;
&lt;br&gt;
&amp;lt;/script&amp;gt; 
&lt;br&gt;
&lt;br&gt;
该解决办法是比较麻烦的办法，但是却能让你大概了解解决这个问题的实际过程。&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.qihangnet.com"&gt;Qihangnet&lt;/a&gt;. </description>
      <comments>http://www.qihangnet.com/CommentView,guid,47a3a7aa-014a-451e-954d-69272bedfa59.aspx</comments>
      <category>JAVASCRIPT</category>
    </item>
    <item>
      <trackback:ping>http://www.qihangnet.com/Trackback.aspx?guid=c8c2ce9c-fa49-4bf9-be42-7fef8a698374</trackback:ping>
      <pingback:server>http://www.qihangnet.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.qihangnet.com/PermaLink,guid,c8c2ce9c-fa49-4bf9-be42-7fef8a698374.aspx</pingback:target>
      <dc:creator>衣明志</dc:creator>
      <wfw:comment>http://www.qihangnet.com/CommentView,guid,c8c2ce9c-fa49-4bf9-be42-7fef8a698374.aspx</wfw:comment>
      <wfw:commentRss>http://www.qihangnet.com/SyndicationService.asmx/GetEntryCommentsRss?guid=c8c2ce9c-fa49-4bf9-be42-7fef8a698374</wfw:commentRss>
      <title>实现列表CheckBox全选的Javascript</title>
      <guid isPermaLink="false">http://www.qihangnet.com/PermaLink,guid,c8c2ce9c-fa49-4bf9-be42-7fef8a698374.aspx</guid>
      <link>http://www.qihangnet.com/PermaLink,guid,c8c2ce9c-fa49-4bf9-be42-7fef8a698374.aspx</link>
      <pubDate>Wed, 23 Mar 2005 08:36:38 GMT</pubDate>
      <description>最近做公司内的一个小项目，需要做一个多选项目的删除功能，于是写以下JS脚本例子来实现，其实也是经常用到的比较基础的东西，高手就不用看了。 &lt;br&gt;
&lt;br /&gt;
&lt;a name="more"&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;b&gt;程序代码：&lt;/b&gt; 
&lt;br /&gt;
&lt;script language="&lt;i&gt;javascript&lt;/i&gt;"&gt; &lt;br/&gt;&lt;!-- &lt;br/&gt;&lt;br/&gt;function CA(frm) &lt;br/&gt;{ &lt;br/&gt;var trk=0; &lt;br/&gt;for (var i=0;i&lt;frm.elements.length;i++) &lt;br/&gt;{ &lt;br/&gt;var e=frm.elements[i]; &lt;br/&gt;if ((e.name != 'allbox') &amp;&amp; (e.type=='checkbox') &amp;&amp; (e.name != '不想被选中的checkbox的名称')) &lt;br/&gt;{ &lt;br/&gt;trk++; &lt;br/&gt;e.checked=frm.allbox.checked; &lt;br/&gt;frm.del.disabled = frm.allbox.checked?false:true;//全选对删除按钮的disabled属性的影响 &lt;br/&gt;} &lt;br/&gt;} &lt;br/&gt;} &lt;br/&gt;&lt;br/&gt;function CCA(frm,CB) &lt;br/&gt;{ &lt;br/&gt;var TB=TO=0; &lt;br/&gt;for (var i=0;i&lt;frm.elements.length;i++) &lt;br/&gt;{ &lt;br/&gt;var e=frm.elements[i]; &lt;br/&gt;if ((e.name != 'allbox') &amp;&amp; (e.type=='checkbox') &amp;&amp; (e.name != '不想被选中的checkbox的名称')) &lt;br/&gt;{ &lt;br/&gt;TB++; &lt;br/&gt;if (e.checked) &lt;br/&gt;TO++; &lt;br/&gt;} &lt;br/&gt;} &lt;br/&gt;frm.allbox.checked=(TO==TB)?true:false; &lt;br/&gt;&lt;br/&gt;if (0==TO)//全部未选中和选中一些时对删除按钮的disabled属性的影响 &lt;br/&gt;{ &lt;br/&gt;frm.del.disabled = true; &lt;br/&gt;} &lt;br/&gt;else &lt;br/&gt;{ &lt;br/&gt;frm.del.disabled = false; &lt;br/&gt;} &lt;br/&gt;} &lt;br/&gt;&lt;br/&gt;--&gt; &lt;br/&gt;&lt;/script&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;调用方法：&lt;/b&gt; 
&lt;br /&gt;
全选的名称定为allbox，&lt;i&gt;onclick&lt;/i&gt;事件执行CA(this.form); 
&lt;br /&gt;
选择项的checbox的&lt;i&gt;onclick&lt;/i&gt;事件执行CCA(this.form,this);&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.qihangnet.com"&gt;Qihangnet&lt;/a&gt;. </description>
      <comments>http://www.qihangnet.com/CommentView,guid,c8c2ce9c-fa49-4bf9-be42-7fef8a698374.aspx</comments>
      <category>JAVASCRIPT</category>
    </item>
  </channel>
</rss>