ViewPage.js
上传用户:davilee3
上传日期:2015-04-22
资源大小:986k
文件大小:115k
源码类别:

浏览器

开发平台:

Visual Basic

  1. //Uncomment to set your default download tool:
  2. //var MydwTool = "FlashGet";
  3. var MydwTool = "NetTransport";
  4. //var MydwTool = "NetAnts";
  5. //var MydwTool = "DownloadExpress";
  6. //var MydwTool = "ReGet";
  7. //var MydwTool = "HiDownload";
  8. //var MydwTool = "Intertnet Download Accelerator";
  9. //var MydwTool = "Mass Downloader";
  10. //var MydwTool = "Star Downloader";
  11. //var MydwTool = "Download Master";
  12. //var MydwTool = "DLExpert";
  13. //var MydwTool = "LeechGet";
  14. //var MydwTool = "DAP";
  15. //Uncomment to set your favorite visual style:
  16. var css='webfx';
  17. //var css='myie2home';
  18. //var css='4';
  19. //var css='riceyellow';
  20. //var css='default'; //'winclassic'
  21. /***********Don't change below*************/
  22. var page="<html>n<head>n<title>View Page</title>n<meta http-equiv="Content-Type" content="text/html; charset=gb2312">n<!--***** CSS *****-->n<style type="text/css">n";
  23. switch (css) {
  24. case 'webfx':
  25. page+=".dynamic-tab-pane-control.tab-pane{ntposition:relative;ntwidth:100%;n}n.dynamic-tab-pane-control .tab-row .tab{ntfont-family:Verdana,Helvetica,Arial;ntfont-size:12px;ntcursor:Default;ntdisplay:inline;ntmargin:1px -5px 1px 5px;ntfloat:left;ntpadding:3px 6px 3px 6px;ntbackground:rgb(234,242,255);ntborder:1px solid;ntborder-color:rgb(120,172,255);ntborder-left:0;ntborder-bottom:0;ntborder-top:0;ntcursor:hand;ntcursor:pointer;ntz-index:1;ntposition:relative;nttop:0;n}n.dynamic-tab-pane-control .tab-row .tab.selected{ntborder:1px solid rgb(120,172,255);ntborder-bottom:0;ntz-index:3;ntpadding:2px 6px 5px 6px;ntmargin:1px -6px -2px 0px;nttop:-2px;ntbackground:white;n}n.dynamic-tab-pane-control .tab-row .tab a{ntfont-family:Verdana, Helvetica, Arial;ntfont-size:13px;ntcolor:rgb(0,66,174);nttext-decoration:none;ntcursor:hand;ntcursor:pointer;n}n.dynamic-tab-pane-control .tab-row .hover a{ntcolor:rgb(0,66,174);n}n.dynamic-tab-pane-control .tab-row .tab.selected a{ntfont-weight:bold;n}n.dynamic-tab-pane-control .tab-page{ntclear:both;ntborder:1px solid rgb(120,172,255);ntbackground:White;ntz-index:2;ntposition:relative;nttop:-2px;ntcolor:Black;ntfont-family:Verdana, Helvetica, Arial;ntfont-size:13px;ntpadding:10px;ntheight:expression(document.body.offsetHeight-58);ntwidth:100%;ntoverflow-y:auto;ntword-wrap: break-word;n}n.dynamic-tab-pane-control .tab-row{ntz-index:1;ntwhite-space:nowrap;ntbackground:rgb(234,242,255);ntheight:1.85em;ntwidth:100%;n}nhtml ,body{ntmargin:10px;ntwidth:auto;ntheight:auto;ntbackground:White;ntfont-size: 9pt;ntfont-family: Arial,Tahoma,Helvetica, sans-serif;ntSCROLLBAR-FACE-COLOR: rgb(234,242,255);ntSCROLLBAR-HIGHLIGHT-COLOR: rgb(120,172,255);ntSCROLLBAR-SHADOW-COLOR: rgb(120,172,255);ntSCROLLBAR-3DLIGHT-COLOR: rgb(120,172,255);ntSCROLLBAR-ARROW-COLOR: rgb(120,172,255);ntSCROLLBAR-TRACK-COLOR: white;ntSCROLLBAR-DARKSHADOW-COLOR: rgb(120,172,255);ntSCROLLBAR-BASE-COLOR: rgb(234,242,255)}ninput,table,div{ntfont-size:9pt;ntfont-family: Arial,Tahoma,Helvetica, sans-serif;n}n.dynamic-tab-pane-control h2{nttext-align:center;ntwidth:auto;n}n.dynamic-tab-pane-control h2 a{ntdisplay:inline;ntwidth:auto;n}n.dynamic-tab-pane-control a:hover{ntbackground: transparent;n}n.mdiv{ntwidth:100%;ntborder: 1px solid rgb(120,172,255);n}n.fdiv{ntborder: 1px solid rgb(120,172,255);ntpadding:5px;n}n.fdiv0{ntborder: 1px solid #5E86D7;ntbackground-color:#D8E1F5;ntpadding:5px;ntmargin:5px;n}n.fdiv1{ntborder: 1px solid #628118;ntbackground-color:#EDFFB5;ntpadding:5px;ntmargin:5px;n}n.fdiv3{ntborder: 1px solid #FF7D26;ntbackground-color:#FEF1DA;ntpadding:5px;ntmargin:5px;n}n.fdiv2{ntborder: 1px solid #F9007C;ntbackground-color:#FFDEEF;ntpadding:5px;ntmargin:5px;n}n.fdiv4{ntborder: 1px solid #8CBB00;ntbackground-color:#F5FFD9;ntpadding:5px;ntmargin:5px;n}n.btn{ntborder-left: 1px solid buttonhighlight;ntborder-top: 1px solid buttonhighlight;ntborder-bottom: 1px solid buttonshadow;ntborder-right: 1px solid buttonshadow;ntbackground-color: #EAF2FF;n}n.txt{ntborder: 1px solid rgb(120,172,255);n}nimg{ntborder:0px;n}nselect{ntfont-size:9pt;ntfont-family: Arial,Tahoma,Helvetica, sans-serif;ntborder: 1px solid rgb(120,172,255);n}n.xpTable THEAD TD{ntborder-left: 1px solid buttonhighlight;ntborder-top: 1px solid buttonhighlight;ntborder-bottom: 1px solid buttonshadow;ntborder-right: 1px solid buttonshadow;ntfont: menu;ntcolor: menutext;ntbackground-color: rgb(120,172,255);ntpadding-top: 0px;ntpadding-bottom: 1px;ntfont-size:9pt;ntfont-family: Arial,Tahoma,Helvetica, sans-serif;ntcursor:hand;n}n.tr0 TD{ntcolor: windowtext;ntbackground: #FFFFFF;ntborder-left: 1px solid buttonhighlight;ntborder-top: 1px solid buttonhighlight;ntborder-bottom: 1px solid buttonshadow;ntborder-right: 1px solid buttonshadow;n}n.tr1 TD{ntcolor: windowtext;ntbackground: #EAF2FF;ntborder-left: 1px solid buttonhighlight;ntborder-top: 1px solid buttonhighlight;ntborder-bottom: 1px solid buttonshadow;ntborder-right: 1px solid buttonshadow;n}nA{ntfont-size:9pt;ntcolor: #003399;nttext-decoration: none;ntfont-family: Arial,Tahoma,Helvetica, sans-serif;n}nA:hover{ntcolor: #ff9900;nttext-decoration: underline;n}n.warning{ntcolor: Red;n}n.response{ntwidth:100%;ntdisplay: none;ntborder: 1px solid #FF0000;ntbackground-color: white;ntpadding-top: 0px;ntpadding-bottom: 1px;ntfont-size:9pt;ntfont-family: Arial,Tahoma,Helvetica, sans-serif;ntmargin: 5px;ntword-wrap: break-word;ntpadding:5px;n}n.source{ntwidth:100%;ntdisplay: none;ntborder: 1px solid #0000FF;ntbackground-color: white;ntpadding-top: 0px;ntpadding-bottom: 1px;ntfont-size:9pt;ntfont-family: Arial,Tahoma,Helvetica, sans-serif;ntmargin: 5px;ntword-wrap: break-word;ntpadding:5px;n}n.tag{ntwidth:100%;ntdisplay: none;ntborder: 1px solid #339900;ntbackground-color: white;ntpadding-top: 0px;ntpadding-bottom: 1px;ntfont-size:9pt;ntfont-family: Arial,Tahoma,Helvetica, sans-serif;ntmargin: 5px;ntword-wrap: break-word;ntpadding:5px;n}n.disabled{ntbackground-color:#DDD;ntcolor:#666;n}n.children{ntdisplay:none;ntmargin-left:2em;n}";
  26. var itemBgcolor="#EAF2FF";
  27. break;
  28. case 'myie2home':
  29. page+=".dynamic-tab-pane-control.tab-pane {position:relative;width:100%;}n.dynamic-tab-pane-control .tab-row .tab {padding: 2px;display:inline;margin:1px -5px 1px 5px;nfloat:left;padding:3px 6px 3px 6px;background:#F6F6F6;border:1px solid;border-color:#CCCCCC;border-left:0;border-bottom:0;cursor:pointer;z-index:1;position:relative;top:0;}n.dynamic-tab-pane-control .tab-row .tab.selected {border-bottom-width:0;ncursor: pointer;color: #000000;background-color: #FFFFFF;z-index:3;}n.dynamic-tab-pane-control .tab-row .tab a {font:Menu;color:WindowText;text-decoration:none;cursor:default;}n.dynamic-tab-pane-control .tab-row .hover a {color:blue;}n.dynamic-tab-pane-control .tab-page {clear:both;border:1px solid #CCCCCC;;background:white;z-index:2;position:relative;top:-2px;color:WindowText;font:Message-Box;padding:10px;height:expression(document.body.offsetHeight-50);width:100%;noverflow-y:auto;word-wrap: break-word;}n.dynamic-tab-pane-control .tab-row {z-index:1;white-space:nowrap;}nhtml ,body {margin:10px;width:auto;height:auto;background: #F0F0F0;font-size: 9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;}ninput,table,div {font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;nSCROLLBAR-FACE-COLOR: #F0F0F0; SCROLLBAR-HIGHLIGHT-COLOR: #CCCCCC;SCROLLBAR-SHADOW-COLOR: #CCCCCC;SCROLLBAR-3DLIGHT-COLOR: #CCCCCC; SCROLLBAR-ARROW-COLOR: #CCCCCC; SCROLLBAR-TRACK-COLOR: white; SCROLLBAR-DARKSHADOW-COLOR: #CCCCCC; SCROLLBAR-BASE-COLOR: #F0F0F0}n.dynamic-tab-pane-control h2 {text-align:center;width:auto;}n.dynamic-tab-pane-control h2 a {display:inline;width:auto;}n.dynamic-tab-pane-control a:hover {background: transparent;}n.mdiv {width:100%;border: 1px solid #CCCCCC;}n.fdiv {border: 1px solid #CCCCCC;padding:5px;}n.fdiv0 {border: 1px solid #5E86D7;background-color:#D8E1F5;padding:5px;margin:5px;}n.fdiv1 {border: 1px solid #628118;background-color:#EDFFB5;padding:5px;margin:5px;}n.fdiv3 {border: 1px solid #FF7D26;background-color:#FEF1DA;padding:5px;margin:5px;}n.fdiv2 {border: 1px solid #F9007C;background-color:#FFDEEF;padding:5px;margin:5px;}n.fdiv4 {border: 1px solid #8CBB00;background-color:#F5FFD9;padding:5px;margin:5px;}n.btn {border-left: 1px solid buttonhighlight;border-top: 1px solid buttonhighlight;border-bottom: 1px solid buttonshadow;border-right: 1px solid buttonshadow;background: #F0F0F0;}n.txt {border-right: 1px solid buttonhighlight;border-bottom: 1px solid buttonhighlight;border-top: 1px solid buttonshadow;border-left: 1px solid buttonshadow;}nimg {border:0px;}nselect {font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;}n.xpTable THEAD TD {border-left: 1px solid buttonhighlight;border-top: 1px solid buttonhighlight;border-bottom: 1px solid buttonshadow;border-right: 1px solid buttonshadow;font: menu;color: menutext;background-color: #F6F6F6;padding-top: 0px;padding-bottom: 1px;font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;cursor:hand;}n.tr0 TD {color: windowtext;background: #FFFFFF;border-left: 1px solid buttonhighlight;border-top: 1px solid buttonhighlight;border-bottom: 1px solid buttonshadow;border-right: 1px solid buttonshadow;}n.tr1 TD {color: windowtext;background: #F0F0F0;border-left: 1px solid buttonhighlight;border-top: 1px solid buttonhighlight;border-bottom: 1px solid buttonshadow;border-right: 1px solid buttonshadow;}nA {font-size:9pt;color: #003399;text-decoration: none;font-family: Arial,Tahoma,Helvetica, sans-serif;}nA:hover{color: #ff9900;text-decoration: underline;}n.warning{color: Red;}.response{width:100%;display: none;border: 1px solid #FF0000;background-color: white;padding-top: 0px;padding-bottom: 1px;font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;margin: 5px;word-wrap: break-word;padding:5px;}n.source{width:100%;display: none;border: 1px solid #0000FF;background-color: white;padding-top: 0px;padding-bottom: 1px;font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;margin: 5px;word-wrap: break-word;padding:5px;}n.tag {width:100%;display: none;border: 1px solid #339900;background-color: white;padding-top: 0px;padding-bottom: 1px;font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;margin: 5px;word-wrap: break-word;padding:5px;}n.disabled{background-color:#DDD;color:#666;}.children{display:none;margin-left:2em;}";
  30. var itemBgcolor="#F0F0F0";
  31. break;
  32. case '4':
  33. page+=".menuCss {nborder-left: 1px solid #AFB6BF;border-top: 1px solid #AFB6BF;border-bottom: 1px solid #292E34;border-right: 1px solid #292E34;  WIDTH:  150px;  CURSOR:  default;  LINE-HEIGHT:  1px;POSITION:  absolute; BACKGROUND-COLOR: #545E6B;  TEXT-ALIGN:  left n}n.menuTab {border:0;font-size: 9pt;background-color:#545E6B;}n.menuOn {background:#727C8B;border:1px solid #99CC00}n.menuOff {background:#545E6B;}n.dynamic-tab-pane-control.tab-pane {position:relative;width:100%;}nn.dynamic-tab-pane-control .tab-row .tab {font:Menu;cursor:Default;display:inline;margin:1px -2px 1px 2px;float:left;padding:2px 5px 3px 5px;background:#727C8B;border:1px solid;border-color:#AFB6BF #292E34t#292E34 #AFB6BF;border-bottom:0;z-index:1;position:relative;top:0;}nn.dynamic-tab-pane-control .tab-row .tab.selected {border-bottom:0;z-index:3;padding:2px 6px 5px 7px;margin:1px -3px -2px 0px;top:-2px;}nn.dynamic-tab-pane-control .tab-row .tab a {font:Menu;color:#99CC00;text-decoration:none;cursor:default;}nn.dynamic-tab-pane-control .tab-row .hover a {color:t#ff9900;}nn.dynamic-tab-pane-control .tab-page {clear:both;border:t1px solid;border-color:t#AFB6BF #292E34 #292E34 #AFB6BF;background:#727C8B;z-index:2;position:relative;top:-2px;color:#99CC00;font:Message-Box;padding:10px;height:expression(document.body.offsetHeight-50);width:100%;noverflow-y:auto;word-wrap: break-word;}nn.dynamic-tab-pane-control .tab-row {z-index:1;#6A7585-space:nowrap;}nnhtml ,body {margin:10px;width:auto;height:auto;background:#545E6B;font-size: 9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;color:#99CC00;nSCROLLBAR-FACE-COLOR:       #6A7685;nSCROLLBAR-HIGHLIGHT-COLOR:  #AFB6BF;nSCROLLBAR-SHADOW-COLOR:     #292E34;nSCROLLBAR-ARROW-COLOR:      white; nSCROLLBAR-TRACK-COLOR:      #6A7685;  n}nntable ,div {font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;background: transparent;color: #99CC00;}nninput {background-color: #727C8B;color: #99CC00;}nn.dynamic-tab-pane-control h2 {text-align:center;width:auto;}nn.dynamic-tab-pane-control h2 a {display:inline;width:auto;}nn.dynamic-tab-pane-control a:hover {background: #6A7585;}nn.mdiv {width:100%;border-left: 1px solid #292E34;border-top: 1px solid #292E34;border-bottom: 1px solid #AFB6BF;border-right: 1px solid #AFB6BF;}nn.fdiv {border-left: 1px solid #292E34;border-top: 1px solid #292E34;border-bottom: 1px solid #AFB6BF;border-right: 1px solid #AFB6BF;padding:5px;}nn.fdiv0 {border: 1px solid #5E86D7;background-color:#D8E1F5;padding:5px;margin:5px;}n.fdiv1 {border: 1px solid #628118;background-color:#EDFFB5;padding:5px;margin:5px;}n.fdiv3 {border: 1px solid #FF7D26;background-color:#FEF1DA;padding:5px;margin:5px;}n.fdiv2 {border: 1px solid #F9007C;background-color:#FFDEEF;padding:5px;margin:5px;}n.fdiv4 {border: 1px solid #8CBB00;background-color:#F5FFD9;padding:5px;margin:5px;}nn.btn {border-left: 1px solid #AFB6BF;border-top: 1px solid #AFB6BF;border-bottom: 1px solid #292E34;border-right: 1px solid #292E34;background-color:#727C8B;color: #99CC00;}nn.txt {border-right: 1px solid #AFB6BF;border-bottom: 1px solid #AFB6BF;border-top: 1px solid #292E34;border-left: 1px solid #292E34;}nimg {border:0px;}nnselect {font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;color:#99CC00;border:0px;background: #727C8B}nn.xpTable THEAD TD {border-left: 1px solid #AFB6BF;border-top: 1px solid #AFB6BF;border-bottom: 1px solid #292E34;border-right: 1px solid #292E34;font: menu;color: #99CC00;background-color: #545E6B;padding-top: 0px;padding-bottom: 1px;font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;cursor:hand;}nn.tr0 TD {color: #99CC00;background: #6A7585;border-left: 1px solid #AFB6BF;border-top: 1px solid #AFB6BF;border-bottom: 1px solid #292E34;border-right: 1px solid #292E34;}nn.tr1 TD {color: #99CC00;background: #727C8B;border-left: 1px solid #AFB6BF;border-top: 1px solid #AFB6BF;border-bottom: 1px solid #292E34;border-right: 1px solid #292E34;}nnA {font-size:9pt;color: #ff9900;text-decoration: none;font-family: Arial,Tahoma,Helvetica, sans-serif;}nnA:hovert{color: #99CC00;text-decoration: underline;}nUL {color: #99CC00;}nn.warning{color: Red;}nn.response{width:100%;display: none;border: 1px solid #FF0000;background-color: white;color:black;padding-top: 0px;padding-bottom: 1px;font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;margin: 5px;word-wrap: break-word;padding:5px;}nn.source{width:100%;display: none;border: 1px solid #0000FF;background-color: white;color:black;padding-top: 0px;padding-bottom: 1px;font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;margin: 5px;word-wrap: break-word;padding:5px;}nn.tag {width:100%;display: none;border: 1px solid #339900;background-color: white;color:black;padding-top: 0px;padding-bottom: 1px;font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;margin: 5px;word-wrap: break-word;padding:5px;}nn.disabled{background-color:#DDD;color:#666;}n.children{display:none;margin-left:2em;color:black;}";
  34. var itemBgcolor="545E6B";
  35. break;
  36. case 'riceyellow':
  37. page+=".dynamic-tab-pane-control.tab-pane{ntposition:relative;ntwidth:100%;n}n.dynamic-tab-pane-control .tab-row .tab{ntborder-right:3px inset #C0C0C0;ntfont-family:Verdana,Arial,Tahoma,Helvetica,sans-serif;ntfont-size:12px;ntcursor:Default;ntdisplay:inline;ntfloat:left;ntbackground:#FFFFCC;ntcursor:hand;ntcursor:pointer;ntz-index:1;ntposition:relative;nttop:0;ntborder-left-width:0;ntborder-top-width:0;ntborder-bottom-width:0;ntmargin-left:5px;ntmargin-right:-5px;ntmargin-top:1px;ntmargin-bottom:1px;ntpadding-left:6px;ntpadding-right:6px;ntpadding-top:3px;ntpadding-bottom:3px;ntvertical-align:bottomn}n.dynamic-tab-pane-control .tab-row .tab.selected{ntborder:1px solid #F9dba8;ntz-index:3;nttop:-2px;ntbackground:#FF9900;ntmargin-left:0px;ntmargin-right:-6px;ntmargin-top:1px;ntmargin-bottom:-2px;ntpadding-left:6px;ntpadding-right:6px;ntpadding-top:2px;ntpadding-bottom:5pxn}n.dynamic-tab-pane-control .tab-row .tab a{ntfont-family:Arial;ntfont-size:13px;ntcolor:#C0C0C0;nttext-decoration:none;ntcursor:hand;ntcursor:pointern}n.dynamic-tab-pane-control .tab-row .hover a{ntcolor:#FF9900;n}n.dynamic-tab-pane-control .tab-row .tab.selected a{ntborder-style:solid;ntborder-width:0;ntfont-family:华文新魏,Tahoma;ntcolor:#FFFFFF;ntpadding-left:4px;ntpadding-right:4px;ntletter-spacing:4pt;ntvertical-align:text-bottom;ntfont-weight:bold;ntmargin-left:8n}n.dynamic-tab-pane-control .tab-page{ntclear:both;ntborder:4px solid #FF9900;ntbackground:#FFFFCC;ntz-index:2;ntposition:relative;nttop:-2px;ntcolor:#000000;ntfont-family:Verdana;ntfont-size:14pt;ntpadding-left:10px;ntpadding-right:10px;ntpadding-top:6px;ntheight:expression(document.body.offsetHeight-58);ntwidth:100%;ntoverflow-y:auto;ntword-wrap: break-wordn}n.dynamic-tab-pane-control .tab-row{ntbackground:#0099CC;ntz-index:1;ntwhite-space:nowrap;ntheight:1.85em;ntwidth:100%;n}nhtml ,body{ntmargin:10px;ntwidth:auto;ntheight:auto;ntbackground:#0099CC;ntfont-size: 9pt;ntfont-family: Arial,Tahoma,Helvetica,sans-serif;ntSCROLLBAR-FACE-COLOR: #F9dba8;ntSCROLLBAR-HIGHLIGHT-COLOR: #F9dba8;ntSCROLLBAR-SHADOW-COLOR: #F9dba8;ntSCROLLBAR-3DLIGHT-COLOR: #F9dba8;ntSCROLLBAR-ARROW-COLOR: #FFFF00;ntSCROLLBAR-TRACK-COLOR: white;ntSCROLLBAR-DARKSHADOW-COLOR: #F9dba8;ntSCROLLBAR-BASE-COLOR: #CCCC00;n}ninput,table,div{ntfont-size:9pt;ntfont-family: Arial,Tahoma,Helvetica, sans-serif;n}n.dynamic-tab-pane-control h2{nttext-align:center;ntwidth:auto;n}n.dynamic-tab-pane-control h2 a{ntdisplay:inline;ntwidth:auto;n}n.dynamic-tab-pane-control a:hover{ntbackground: #0099CC;n}n.mdiv{ntwidth:100%;ntborder: 1px solid #F9dba8;n}n.fdiv{ntborder: 1px solid rgb(120,172,255);ntpadding:5px;n}n.fdiv0{ntborder: 1px solid #5E86D7;ntbackground-color:#D8E1F5;ntpadding:5px;ntmargin:5px;n}n.fdiv1{ntborder: 1px solid #628118;ntbackground-color:#EDFFB5;ntpadding:5px;ntmargin:5px;n}n.fdiv3{ntborder: 1px solid #FF7D26;ntbackground-color:#FEF1DA;ntpadding:5px;ntmargin:5px;n}n.fdiv2{ntborder: 1px solid #F9007C;ntbackground-color:#FFDEEF;ntpadding:5px;ntmargin:5px;n}n.fdiv4{ntborder: 1px solid #8CBB00;ntbackground-color:#F5FFD9;ntpadding:5px;ntmargin:5px;n}n.btn{ntborder-style:ridge;ntborder-width:1px;ntbackground-color: #F9dba8;ntfont-family:Tahoma;ntcolor:#000000;ntfont-weight:bold;ntvertical-align:middle;ntpadding-top:4pxn}n.txt{ntborder: 1px solid #FFFF00;n}nimg{ntborder:0px;n}nselect{ntfont-size:9pt;ntfont-family: Arial,Tahoma,Helvetica,sans-serif;ntborder: 1px solid #FFFF00;n}n.xpTable THEAD TD{ntborder-style:ridge;ntborder-width:1px;ntcolor: #000000;ntbackground-color: #F9dba8;ntpadding-top: 2px;ntfont-size:9pt;ntfont-family: Arial;ntcursor:hand;ntvertical-align:middle;ntfont-weight:boldn}n.tr0 TD{ntcolor: windowtext;ntbackground: #FFFFFF;ntborder-left: 1px solid buttonhighlight;ntborder-top: 1px solid buttonhighlight;ntborder-bottom: 1px solid buttonshadow;ntborder-right: 1px solid buttonshadow;n}n.tr1 TD{ntcolor: #808080;ntbackground: #F9F0DB;ntborder-left: 1px solid #FFFFFF;ntborder-top: 1px solid #FFFFFF;ntborder-right-style:solid;ntborder-right-width:1px;ntborder-bottom-style:solid;ntborder-bottom-width:1pxn}nA{ntfont-size:9pt;ntcolor: #003399;nttext-decoration: none;ntfont-family: Arial,Tahoma,Helvetica, sans-serif;n}nA:hover{nttext-decoration: underline;ntcolor:#FFFFFFn}n.warning{ntcolor: Red;n}n.response{ntwidth:100%;ntdisplay: none;ntborder: 1px solid #FF0000;ntbackground-color: white;ntpadding-top: 0px;ntpadding-bottom: 1px;ntfont-size:9pt;ntfont-family: Arial,Tahoma,Helvetica, sans-serif;ntmargin: 5px;ntword-wrap: break-word;ntpadding:5px;n}n.source{ntwidth:100%;ntdisplay: none;ntborder: 1px solid #0000FF;ntbackground-color: white;ntpadding-top: 0px;ntpadding-bottom: 1px;ntfont-size:9pt;ntfont-family: Arial,Tahoma,Helvetica, sans-serif;ntmargin: 5px;ntword-wrap: break-word;ntpadding:5px;n}n.tag{ntwidth:100%;ntdisplay: none;ntborder: 1px solid #339900;ntbackground-color: white;ntpadding-top: 0px;ntpadding-bottom: 1px;ntfont-size:9pt;ntfont-family: Arial,Tahoma,Helvetica, sans-serif;ntmargin: 5px;ntword-wrap: break-word;ntpadding:5px;n}n.disabled{ntbackground-color:#DDD;ntcolor:#666;n}n.children{ntdisplay:none;ntmargin-left:2em;n}";
  38. var itemBgcolor="#F9dba8";
  39. break;
  40. default: //'winclassic'
  41. page+=".menuCss {nborder-right: 1px solid buttonshadow;border-bottom: 1px solid buttonshadow;border-top: 1px solid buttonhighlight;border-left: 1px solid buttonhighlight;  WIDTH:  150px;  CURSOR:  default;  LINE-HEIGHT:  1px;POSITION:  absolute; BACKGROUND-COLOR: ThreeDFace;  TEXT-ALIGN:  left n}n.menuTab {border:0;font-size: 9pt;background-color:ThreeDFace;width:100%}n.menuOn {background:highlight;color:white}n.menuOff {background:ThreeDFace;color:black}n.dynamic-tab-pane-control.tab-pane {position:relative;width:100%;}n.dynamic-tab-pane-control .tab-row .tab {font:Menu;cursor:Default;display:inline;margin:1px -2px 1px 2px;float:left;padding:2px 5px 3px 5px;background:ThreeDFace;border:1px solid;border-color:ThreeDHighlight ThreeDDarkShadowtThreeDDarkShadow ThreeDHighlight;border-bottom:0;z-index:1;position:relative;top:0;}n.dynamic-tab-pane-control .tab-row .tab.selected {border-bottom:0;z-index:3;padding:2px 6px 5px 7px;margin:1px -3px -2px 0px;top:-2px;}n.dynamic-tab-pane-control .tab-row .tab a {font:Menu;color:WindowText;text-decoration:none;cursor:default;}n.dynamic-tab-pane-control .tab-row .hover a {color:tblue;}n.dynamic-tab-pane-control .tab-page {clear:both;border:t1px solid;border-color:tThreeDHighlight ThreeDDarkShadow ThreeDDarkShadow ThreeDHighlight;background:ThreeDFace;z-index:2;position:relative;top:-2px;color:WindowText;font:Message-Box;padding:10px;height:expression(document.body.offsetHeight-50);width:100%;noverflow-y:auto;word-wrap: break-word;}n.dynamic-tab-pane-control .tab-row {z-index:1;white-space:nowrap;}nhtml ,body {margin:10px;width:auto;height:auto;background:ThreeDFace;font-size: 9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;}ninput,table,div {font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;background: transparent;}n.dynamic-tab-pane-control h2 {text-align:center;width:auto;}n.dynamic-tab-pane-control h2 a {display:inline;width:auto;}n.dynamic-tab-pane-control a:hover {background: transparent;}n.mdiv {width:100%;border-left: 1px solid buttonshadow;border-top: 1px solid buttonshadow;border-bottom: 1px solid buttonhighlight;border-right: 1px solid buttonhighlight;}n.fdiv {border-left: 1px solid buttonshadow;border-top: 1px solid buttonshadow;border-bottom: 1px solid buttonhighlight;border-right: 1px solid buttonhighlight;padding:5px;}n.fdiv0 {border: 1px solid #5E86D7;background-color:#D8E1F5;padding:5px;margin:5px;}n.fdiv1 {border: 1px solid #628118;background-color:#EDFFB5;padding:5px;margin:5px;}n.fdiv3 {border: 1px solid #FF7D26;background-color:#FEF1DA;padding:5px;margin:5px;}n.fdiv2 {border: 1px solid #F9007C;background-color:#FFDEEF;padding:5px;margin:5px;}n.fdiv4 {border: 1px solid #8CBB00;background-color:#F5FFD9;padding:5px;margin:5px;}n.btn {border-left: 1px solid buttonhighlight;border-top: 1px solid buttonhighlight;border-bottom: 1px solid buttonshadow;border-right: 1px solid buttonshadow;}n.txt {border-right: 1px solid buttonhighlight;border-bottom: 1px solid buttonhighlight;border-top: 1px solid buttonshadow;border-left: 1px solid buttonshadow;}nimg {border:0px;}nselect {font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;}n.xpTable THEAD TD {border-left: 1px solid buttonhighlight;border-top: 1px solid buttonhighlight;border-bottom: 1px solid buttonshadow;border-right: 1px solid buttonshadow;font: menu;color: menutext;background-color: buttonface;padding-top: 0px;padding-bottom: 1px;font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;cursor:hand;}n.tr0 TD {color: windowtext;background: #FFFFFF;border-left: 1px solid buttonhighlight;border-top: 1px solid buttonhighlight;border-bottom: 1px solid buttonshadow;border-right: 1px solid buttonshadow;}n.tr1 TD {color: windowtext;background: #FDF5E6;border-left: 1px solid buttonhighlight;border-top: 1px solid buttonhighlight;border-bottom: 1px solid buttonshadow;border-right: 1px solid buttonshadow;}nA {font-size:9pt;color: #003399;text-decoration: none;font-family: Arial,Tahoma,Helvetica, sans-serif;}nA:hovert{color: #ff9900;text-decoration: underline;}n.warning{color: Red;}.response{width:100%;display: none;border: 1px solid #FF0000;background-color: white;padding-top: 0px;padding-bottom: 1px;font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;margin: 5px;word-wrap: break-word;padding:5px;}n.source{width:100%;display: none;border: 1px solid #0000FF;background-color: white;padding-top: 0px;padding-bottom: 1px;font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;margin: 5px;word-wrap: break-word;padding:5px;}n.tag {width:100%;display: none;border: 1px solid #339900;background-color: white;padding-top: 0px;padding-bottom: 1px;font-size:9pt;font-family: Arial,Tahoma,Helvetica, sans-serif;margin: 5px;word-wrap: break-word;padding:5px;}n.disabled{background-color:#DDD;color:#666;}.children{display:none;margin-left:2em;}";
  42. var itemBgcolor="#EAF2FF";
  43. }
  44. page+="n</style>nn<!--***** TabPanel 脚本 *****-->n<script language="JavaScript">nfunction hasSupport() {ntif (typeof hasSupport.support != "undefined")nttreturn hasSupport.support;ntvar ie55 = /msie 5\.[56789]/i.test(navigator.userAgent);nthasSupport.support = (typeof document.implementation != "undefined" &&ntttdocument.implementation.hasFeature("html", "1.0") || ie55)ntif (ie55) {nttdocument._getElementsByTagName = document.getElementsByTagName;nttdocument.getElementsByTagName = function (sTagName) {ntttif (sTagName == "*")nttttreturn document.all;ntttelsenttttreturn document._getElementsByTagName(sTagName);ntt};nt}ntreturn hasSupport.support;n}nfunction WebFXTabPane(el, bUseCookie) {ntif (!hasSupport() || el == null) return;ntthis.element = el;ntthis.element.tabPane = this;ntthis.pages = [];ntthis.selectedIndex = null;ntthis.useCookie = bUseCookie != null ? bUseCookie : false;ntthis.element.className = this.classNameTag + " " + this.element.className;ntthis.tabRow = document.createElement("div");ntthis.tabRow.className = "tab-row";ntel.insertBefore(this.tabRow, el.firstChild);ntvar tabIndex = 0;ntif (this.useCookie) {ntttabIndex = Number(WebFXTabPane.getCookie("webfxtab_" + this.element.id));nttif (isNaN(tabIndex))nttttabIndex = 0;nt}ntthis.selectedIndex = tabIndex;ntvar cs = el.childNodes;ntvar n;ntfor (var i = 0; i < cs.length; i++) {nttif (cs[i].nodeType == 1 && cs[i].className == "tab-page") {ntttthis.addTabPage(cs[i]);ntt}nt}n}nWebFXTabPane.prototype.classNameTag = "dynamic-tab-pane-control";nWebFXTabPane.prototype.setSelectedIndex = function (n) {ntif (this.selectedIndex != n) {nttif (this.selectedIndex != null && this.pages[ this.selectedIndex ] != null)ntttthis.pages[ this.selectedIndex ].hide();nttthis.selectedIndex = n;nttthis.pages[ this.selectedIndex ].show();nttif (this.useCookie)ntttWebFXTabPane.setCookie("webfxtab_" + this.element.id, n);t// session cookient}n};nWebFXTabPane.prototype.getSelectedIndex = function () {ntreturn this.selectedIndex;n};nWebFXTabPane.prototype.addTabPage = function (oElement) {ntif (!hasSupport()) return;ntif (oElement.tabPage == this)t// already addednttreturn oElement.tabPage;ntvar n = this.pages.length;ntvar tp = this.pages[n] = new WebFXTabPage(oElement, this, n);nttp.tabPane = this;ntthis.tabRow.appendChild(tp.tab);ntif (n == this.selectedIndex)ntttp.show();ntelsentttp.hide();nntreturn tp;n};nWebFXTabPane.prototype.dispose = function () {ntthis.element.tabPane = null;ntthis.element = null;ntthis.tabRow = null;ntfor (var i = 0; i < this.pages.length; i++) {nttthis.pages[i].dispose();nttthis.pages[i] = null;nt}ntthis.pages = null;n};nWebFXTabPane.setCookie = function (sName, sValue, nDays) {ntvar expires = "";ntif (nDays) {nttvar d = new Date();nttd.setTime(d.getTime() + nDays * 24 * 60 * 60 * 1000);nttexpires = "; expires=" + d.toGMTString();nt}ntdocument.cookie = sName + "=" + sValue + expires + "; path=/";n};nWebFXTabPane.getCookie = function (sName) {ntvar re = new RegExp("(\;|^)[^;]*(" + sName + ")\=([^;]*)(;|$)");ntvar res = re.exec(document.cookie);ntreturn res != null ? res[3] : null;n};nWebFXTabPane.removeCookie = function (name) {ntsetCookie(name, "", -1);n};nfunction WebFXTabPage(el, tabPane, nIndex) {ntif (!hasSupport() || el == null) return;ntthis.element = el;ntthis.element.tabPage = this;ntthis.index = nIndex;ntvar cs = el.childNodes;ntfor (var i = 0; i < cs.length; i++) {nttif (cs[i].nodeType == 1 && cs[i].className == "tab") {ntttthis.tab = cs[i];ntttbreak;ntt}nt}ntvar a = document.createElement("A");ntthis.aElement = a;nta.onclick = function () {return false;};ntwhile (this.tab.hasChildNodes())ntta.appendChild(this.tab.firstChild);ntthis.tab.appendChild(a);ntvar oThis = this;ntthis.tab.onclick = function () {oThis.select();};ntthis.tab.onmouseover = function () {WebFXTabPage.tabOver(oThis);};ntthis.tab.onmouseout = function () {WebFXTabPage.tabOut(oThis);};n}nWebFXTabPage.prototype.show = function () {ntvar el = this.tab;ntvar s = el.className + " selected";nts = s.replace(/ +/g, " ");ntel.className = s;ntthis.element.style.display = "block";n};nWebFXTabPage.prototype.hide = function () {ntvar el = this.tab;ntvar s = el.className;nts = s.replace(/ selected/g, "");ntel.className = s;ntthis.element.style.display = "none";n};nWebFXTabPage.prototype.select = function () {ntthis.tabPane.setSelectedIndex(this.index);nteval('c'+(this.index+1)+'()')//×××××××××××××××××××n};nWebFXTabPage.prototype.dispose = function () {ntthis.aElement.onclick = null;ntthis.aElement = null;ntthis.element.tabPage = null;ntthis.tab.onclick = null;ntthis.tab.onmouseover = null;ntthis.tab.onmouseout = null;ntthis.tab = null;ntthis.tabPane = null;ntthis.element = null;n};nWebFXTabPage.tabOver = function (tabpage) {ntvar el = tabpage.tab;ntvar s = el.className + " hover";nts = s.replace(/ +/g, " ");ntel.className = s;n};nWebFXTabPage.tabOut = function (tabpage) {ntvar el = tabpage.tab;ntvar s = el.className;nts = s.replace(/ hover/g, "");ntel.className = s;n};nfunction setupAllTabs() {ntif (!hasSupport()) return;ntvar all = document.getElementsByTagName("*");ntvar l = all.length;ntvar tabPaneRe = /tab\-pane/;ntvar tabPageRe = /tab\-page/;ntvar cn, el;ntvar parentTabPane;ntfor (var i = 0; i < l; i++) {nttel = all[i]nttcn = el.className;nttif (cn == "") continue;nttif (tabPaneRe.test(cn) && !el.tabPane)ntttnew WebFXTabPane(el);nttelse if (tabPageRe.test(cn) && !el.tabPage &&nttttttabPaneRe.test(el.parentNode.className)) {ntttel.parentNode.tabPane.addTabPage(el);ntt}nt}n}nfunction disposeAllTabs() {ntif (!hasSupport()) return;ntvar all = document.getElementsByTagName("*");ntvar l = all.length;ntvar tabPaneRe = /tab\-pane/;ntvar cn, el;ntvar tabPanes = [];ntfor (var i = 0; i < l; i++) {nttel = all[i]nttcn = el.className;nttif (cn == "") continue;nttif (tabPaneRe.test(cn) && el.tabPane)nttttabPanes[tabPanes.length] = el.tabPane;nt}ntfor (var i = tabPanes.length - 1; i >= 0; i--) {ntttabPanes[i].dispose();ntttabPanes[i] = null;nt}n}nif (typeof window.addEventListener != "undefined")ntwindow.addEventListener("load", setupAllTabs, false);nelse if (typeof window.attachEvent != "undefined") {ntwindow.attachEvent("onload", setupAllTabs);ntwindow.attachEvent("onunload", disposeAllTabs);n} else {ntif (window.onload != null) {nttvar oldOnload = window.onload;nttwindow.onload = function (e) {ntttoldOnload(e);ntttsetupAllTabs();ntt};nt} elsenttwindow.onload = setupAllTabs;n}n//====== 表格排序 ======nfunction SortableTable(oTable, oSortTypes) {ntthis.element = oTable;ntthis.tHead = oTable.tHead;ntthis.tBody = oTable.tBodies[0];ntthis.document = oTable.ownerDocument || oTable.document;nntthis.sortColumn = null;ntthis.descending = null;nntvar oThis = this;ntthis._headerOnclick = function (e) {nttoThis.headerOnclick(e);nt};ntvar win = this.document.defaultView || this.document.parentWindow;ntthis._onunload = function () {nttoThis.destroy();nt};ntif (win && typeof win.attachEvent != "undefined") {nttwin.attachEvent("onunload", this._onunload);nt}nntthis.initHeader(oSortTypes || []);n}nnSortableTable.gecko = navigator.product == "Gecko";nSortableTable.msie = /msie/i.test(navigator.userAgent);nSortableTable.removeBeforeSort = SortableTable.gecko;nSortableTable.prototype.onsort = function () {};nSortableTable.prototype.defaultDescending = false;nSortableTable.prototype._sortTypeInfo = {};nnSortableTable.prototype.initHeader = function (oSortTypes) {ntvar cells = this.tHead.rows[0].cells;ntvar l = cells.length;ntvar img, c;ntfor (var i = 0; i < l; i++) {nttc = cells[i];nttimg = this.document.createElement("A");nttimg.innerHTML='';nttc.appendChild(img);nttif (oSortTypes[i] != null) {ntttc._sortType = oSortTypes[i];ntt}nttif (typeof c.addEventListener != "undefined")ntttc.addEventListener("click", this._headerOnclick, false);nttelse if (typeof c.attachEvent != "undefined")ntttc.attachEvent("onclick", this._headerOnclick);nttelsentttc.onclick = this._headerOnclick;nt}ntthis.updateHeaderArrows();n};nnSortableTable.prototype.uninitHeader = function () {ntvar cells = this.tHead.rows[0].cells;ntvar l = cells.length;ntvar c;ntfor (var i = 0; i < l; i++) {nttc = cells[i];nttc.removeChild(c.lastChild);nttif (typeof c.removeEventListener != "undefined")ntttc.removeEventListener("click", this._headerOnclick, false);nttelse if (typeof c.detachEvent != "undefined")ntttc.detachEvent("onclick", this._headerOnclick);nt}n};nnSortableTable.prototype.updateHeaderArrows = function () {ntvar cells = this.tHead.rows[0].cells;ntvar l = cells.length;ntvar img;ntfor (var i = 0; i < l; i++) {nttimg = cells[i].lastChild;nttif (i == this.sortColumn)ntttimg.innerHTML =(this.descending ? "<font face=\"Webdings\">5</font>" : "<font face=\"Webdings\">6</font>");nttelsentttimg.innerHTML = "";nt}n};nnSortableTable.prototype.headerOnclick = function (e) {ntvar el = e.target || e.srcElement;nttrynt{ntif (el.tagName== "A") {el=el.parent}ntwhile (el.tagName!= "TD")nttel = el.parentNode;nt} catch (e) {}ntthis.sort(SortableTable.msie ? SortableTable.getCellIndex(el) : el.cellIndex);n};nnSortableTable.getCellIndex = function (oTd) {ntry{ntvar cells = oTd.parentNode.childNodesntvar l = cells.length;ntvar i;ntfor (i = 0; cells[i]!=oTd && i < l; i++)ntt;ntreturn i;nt} catch (e) {}n};nnSortableTable.prototype.getSortType = function (nColumn) {ntry{ntvar cell = this.tHead.rows[0].cells[nColumn];ntvar val = cell._sortType;ntif (val != "")nttreturn val;ntreturn "String";nt} catch(e) {}n};nnSortableTable.prototype.sort = function (nColumn, bDescending, sSortType) {ntif (sSortType == null)nttsSortType = this.getSortType(nColumn);nntif (sSortType == "None")nttreturn;nntif (bDescending == null) {nttif (this.sortColumn != nColumn)ntttthis.descending = this.defaultDescending;nttelsentttthis.descending = !this.descending;nt} elsenttthis.descending = bDescending;nntthis.sortColumn = nColumn;nntif (typeof this.onbeforesort == "function")nttthis.onbeforesort();nntvar f = this.getSortFunction(sSortType, nColumn);ntvar a = this.getCache(sSortType, nColumn);ntvar tBody = this.tBody;nnta.sort(f);nntif (this.descending)ntta.reverse();nntif (SortableTable.removeBeforeSort) {nttvar nextSibling = tBody.nextSibling;nttvar p = tBody.parentNode;nttp.removeChild(tBody);nt}nntvar l = a.length;ntfor (var i = 0; i < l; i++) {nttvar tm=tBody.appendChild(a[i].element);ntttm.className='tr'+(i%2).toString();//行间隔样式nt}ntif (SortableTable.removeBeforeSort) {nttp.insertBefore(tBody, nextSibling);nt}nntthis.updateHeaderArrows();nntthis.destroyCache(a);nntif (typeof this.onsort == "function")nttthis.onsort();n};nnSortableTable.prototype.asyncSort = function (nColumn, bDescending, sSortType) {ntvar oThis = this;ntthis._asyncsort = function () {nttoThis.sort(nColumn, bDescending, sSortType);nt};ntwindow.setTimeout(this._asyncsort, 1);n};nnSortableTable.prototype.getCache = function (sType, nColumn) {ntvar rows = this.tBody.rows;ntvar l = rows.length;ntvar a = new Array(l);ntvar r;ntfor (var i = 0; i < l; i++) {nttr = rows[i];ntta[i] = {ntttvalue:ttthis.getRowValue(r, sType, nColumn),ntttelement:trntt};nt};ntreturn a;n};nnSortableTable.prototype.destroyCache = function (oArray) {ntvar l = oArray.length;ntfor (var i = 0; i < l; i++) {nttoArray[i].value = null;nttoArray[i].element = null;nttoArray[i] = null;nt}n};nnSortableTable.prototype.getRowValue = function (oRow, sType, nColumn) {ntry{ntif (this._sortTypeInfo[sType] && this._sortTypeInfo[sType].getRowValue)nttreturn this._sortTypeInfo[sType].getRowValue(oRow, nColumn);nntvar s;ntvar c = oRow.cells[nColumn];ntif (typeof c.innerText != "undefined")ntts = c.innerText;ntelsentts = SortableTable.getInnerText(c);ntreturn this.getValueFromString(s, sType);nt} catch(e) {}n};nnSortableTable.getInnerText = function (oNode) {ntvar s = "";ntvar cs = oNode.childNodes;ntvar l = cs.length;ntfor (var i = 0; i < l; i++) {nttswitch (cs[i].nodeType) {ntttcase 1: //ELEMENT_NODEntttts += SortableTable.getInnerText(cs[i]);nttttbreak;ntttcase 3:t//TEXT_NODEntttts += cs[i].nodeValue;nttttbreak;ntt}nt}ntreturn s;n};nnSortableTable.prototype.getValueFromString = function (sText, sType) {ntif (this._sortTypeInfo[sType])nttreturn this._sortTypeInfo[sType].getValueFromString(sText);ntreturn sText;nt};nnSortableTable.prototype.getSortFunction = function (sType, nColumn) {ntif (this._sortTypeInfo[sType])nttreturn this._sortTypeInfo[sType].compare;ntreturn SortableTable.basicCompare;n};nnSortableTable.prototype.destroy = function () {ntthis.uninitHeader();ntvar win = this.document.parentWindow;ntif (win && typeof win.detachEvent != "undefined") {t// only IE needs thisnttwin.detachEvent("onunload", this._onunload);nt}ntthis._onunload = null;ntthis.element = null;ntthis.tHead = null;ntthis.tBody = null;ntthis.document = null;ntthis._headerOnclick = null;ntthis.sortTypes = null;ntthis._asyncsort = null;ntthis.onsort = null;n};nnSortableTable.prototype.addSortType = function (sType, fGetValueFromString, fCompareFunction, fGetRowValue) {ntthis._sortTypeInfo[sType] = {ntttype:ttttsType,nttgetValueFromString:tfGetValueFromString || SortableTable.idFunction,nttcompare:tttfCompareFunction || SortableTable.basicCompare,nttgetRowValue:ttfGetRowValuent};n};nnSortableTable.prototype.removeSortType = function (sType) {ntdelete this._sortTypeInfo[sType];n};nnSortableTable.basicCompare = function compare(n1, n2) {ntif (n1.value < n2.value)nttreturn -1;ntif (n2.value < n1.value)nttreturn 1;ntreturn 0;n};nnSortableTable.idFunction = function (x) {ntreturn x;n};nnSortableTable.toUpperCase = function (s) {ntreturn s.toUpperCase();n};nnSortableTable.toDate = function (s) {ntvar parts = s.split("-");ntvar d = new Date(0);ntd.setFullYear(parts[0]);ntd.setDate(parts[2]);ntd.setMonth(parts[1] - 1);ntreturn d.valueOf();n};nnSortableTable.prototype.addSortType("Number", Number);n//SortableTable.prototype.addSortType("CaseInsensitiveString", SortableTable.toUpperCase);n//SortableTable.prototype.addSortType("Date", SortableTable.toDate);nSortableTable.prototype.addSortType("String");n</script>n<!--***** 下载工具脚本 *****-->n<script language="vbscript">nfunction FlashGet(nL)nset JetCarCatch=CreateObject("JetCar.Netscape")ncall JetCarCatch.AddUrl(nL,"Download from ViewPage", document.location.href)nEnd functionnnfunction NetTransport(nL)nset NTIECatcher=CreateObject("NTIEHelper.NTIEAddUrl")ncall NTIECatcher.AddLink(document.location.href, nL, "Download from ViewPage")nEnd functionnnfunction NetAnts(nL)nOn Error Resume Nextnset NetAntsApi=CreateObject("NetAnts.API")nif err<>0 thennMsgBox("网络蚂蚁没有完全安装!")nelsenif NetAntsApi.IsUrlExist(nL) thennMsgBox(nL+vbCrLf+"已经存在于队列中。")nelsencall NetAntsApi.AddUrl(nL, "Download from ViewPage", nL)nend ifnend ifnEnd functionnnfunction ReGet(nL)nset Application=CreateObject("ClickCatcher.DownloadFromContextMenu")nif err<>0 thennMsgBox("ClickCatcher 没有完全安装!")nelsenApplication.Url = nLnApplication.Info = "Download from ViewPage"nApplication.Referer = document.location.hrefncall Application.AddDownload()nend ifnEnd functionnnfunction HiDownload(nL)nset NetMolesApi=CreateObject("NetMoles.NetMoles")nif err<>0 thennMsgBox("NetMoles 没有完全安装!")nelsenNetMolesApi.NMAddUrl nL, nLnend ifnEnd functionnnfunction DLExpert(nL)nset dlexpertapi= CreateObject("dlexpertapi")ncall dlexpertapi.addjob(nL,nL)nEnd functionn</script>n<!-- 资源 Start-->n<script>nfunction processurl(myurl,srcDocument) {ntvar endurl;nntif ((/^\w+:/).test(myurl))nttendurl=myurl;ntelse {nttvar pageurl;nttvar hostname=srcDocument.location.hostname;nttvar pathname=srcDocument.location.pathname;nttvar portname=srcDocument.location.port;nttif (portname.length==0) {ntttpageurl="http://"+hostname+pathname;ntt} else {ntttpageurl="http://"+hostname+":"+portname+pathname;ntt}nttvar pagepath=pageurl.substring(0,pageurl.lastIndexOf("/")+1);nttif (myurl.charAt(0)!="." && myurl.charAt(0)!="/")ntttendurl=pagepath+myurl;nttelse if (myurl.charAt(0)=="/")ntttendurl="http://"+hostname+myurl;nttelse {ntttif (myurl.charAt(0)==".") {nttttendurl=pagepath;nttttwhile(myurl.charAt(0)=="." && endurl != "http://"+hostname+"/") {ntttttif (myurl.charAt(1)=='/') {myurl=myurl.substr(2);}ntttttelse {nttttttmyurl=myurl.substr(3);nttttttendurl=endurl.substring(0,endurl.lastIndexOf("/")-1);n    tttttendurl=endurl.substring(0,endurl.lastIndexOf("/")+1);nttttt}n    ttt}nttttendurl=endurl+myurl;nttt}ntt}nt}ntreturn(endurl);n}nvar dwTool='";
  45. page+=MydwTool;
  46. page+="'nfunction dwToolTitle(dt) {ntreturn '当前设定的下载工具 》'+dt;n}nnvar j=0;nvar win=window.opener;nvar seltext='';nif (win.document.all.tags('FRAME').length==0) {ntvar selrng=win.document.selection.createRange();ntvar seltext=selrng.text;ntvar selhtml=selrng.htmlText;n}n//====== 网页属性 ======nfunction showBase(doc) {ntvar cook="";ntvar pagebase="<ul><li>";ntvar li="</li><li>";ntif (doc==win.document) pagebase += "<b>网站域名:</b><a target =\"_blank\"  title=\"在新窗口打开\"href=http://"+doc.domain+"/>"+doc.domain+"</a>"+li;ntpagebase += "<b>网页地址:</b><a href=\"view-source:"+doc.location+"\" title=\"在新窗口打开\">【查看源码】</a>&nbsp;&mdash;&nbsp;&nbsp;<a target =\"_blank\"  title=\"在新窗口打开\" href="+doc.location+">"+doc.location+"</a>"+li;ntpagebase += "<b>网页标题:</b>" + doc.title + li;ntpagebase += "<b>默认语言:</b>" + doc.charset + li;ntpagebase += "<b>网页来源:</b>";ntif (!doc.referrer)nttpagebase += "直接进入"+li;ntelsenttpagebase += "<a target =\"_blank\"  title=\"在新窗口打开\" href=" + doc.referrer + ">" + doc.referrer + "</a>"+li;nttry {pagebase +="<b>网页尺寸:</b>"+Math.round(doc.fileSize/1024*100)/100 + " KB"+li;} catch (e) {pagebase += "<b>网页尺寸:</b>不可用" +li;}nttry {pagebase += "<b>建立日期:</b>" + doc.fileCreatedDate +li;} catch (e) {pagebase += "<b>建立日期:</b>不可用" +li;}nttry {pagebase += "<b>更新日期:</b>"+doc.lastModified +'</li>';} catch (e) {pagebase += "<b>更新日期:</b>不可用" +'</li>';}ntif (doc==win.document) {nttcook=doc.cookie.replace(/; /g,'\n');nttcook=cook.replace(/\r/g,"");nttcook=cook.replace(/\n/g,"");nttpagebase += "<li><b>Cookies</b>:" + cook + '</li>';nt}ntpagebase += '</ul>';ntreturn pagebase;n}n//====== 框架结构分析 ======nfStr='',fraDiv='<ul><Div class=fdiv',S9='';nvar FA=[];nvar fn=0;nfunction setLink(doc) {ntvar st=doc.title;ntvar pf=(doc!=win.document)?"框架":"页面";ntif (st.length>0)nttvar s="<a href='#' onclick='document.getElementById(this.id+\"c\").style.display=document.getElementById(this.id+\"c\").style.display==\"block\"?\"none\":\"block\";return false;' id='elc"+fn+"' title='显示"+pf+"信息'>【"+pf+"信息】</a>&nbsp;&mdash;&nbsp;&nbsp;<a href=\"" + doc.location + "\" target=\"_blank\"  title=\"在新窗口打开\">" + doc.title + "</a><dt id='elc"+fn+"c' class='source '><pre>"+showBase(doc)+"</pre></dt>";ntelsenttvar s="<a href='#' onclick='document.getElementById(this.id+\"c\").style.display=document.getElementById(this.id+\"c\").style.display==\"block\"?\"none\":\"block\";return false;' id='elc"+fn+"' title='显示"+pf+"信息'>【"+pf+"信息】</a>&nbsp;&mdash;&nbsp;&nbsp;<a href=\"" + doc.location + "\" target=\"_blank\"  title=\"在新窗口打开\">" + doc.location + "</a><dt id='elc"+fn+"c' class='source '><pre>"+showBase(doc)+"</pre></dt>";ntfn++;ntreturn s;n}nvar layerId=0;nfunction fxframe(tdoc) {ntvar s,stree;nts=setLink(tdoc);ntfStr+='『0』主页面:&nbsp;'+s+'<br>';nts=setLink(tdoc);ntS9+='<Div class=fdiv0>『0』主页面:&nbsp;'+s;nntgetAllFrames(tdoc,0);ntif (FA.length>0) {nttfor (var i=0; i<FA.length; i++) {ntttif (FA[i][0]>4)nttttlayerId=0;ntttelsenttttlayerId=FA[i][0];ntttvar fStr_bulk='<br><ul>'+'└'+'『'+FA[i][0]+'』&nbsp;'+FA[i][1]+':&nbsp;'+(FA[i][2].body?setLink(FA[i][2]):FA[i][2]);ntttvar S9_bulk=fraDiv+layerId+'>『'+FA[i][0]+'』&nbsp;'+FA[i][1]+':&nbsp;'+(FA[i][2].body?setLink(FA[i][2]):FA[i][2]);ntttif (i==0) {nttttfStr+=fStr_bulk;nttttS9+=S9_bulk;nttt} else if (i>0 && FA[i-1][0]<FA[i][0]) {nttttfStr+='<br>'+fStr_bulk;nttttS9+=S9_bulk;nttt} else if (i>0 && FA[i-1][0]==FA[i][0]) {nttttfStr+='</ul>'+fStr_bulk;nttttS9+='</div></ul>'+S9_bulk;nttt} else if (i>0 && FA[i-1][0]>FA[i][0]) {nttttfor (var j=FA[i-1][0]; j>FA[i][0]; j--) {ntttttfStr+='</ul>';ntttttS9+='</div></ul>';ntttt}nttttfStr+='</ul>'+fStr_bulk;nttttS9+='</div></ul>'+S9_bulk;nttt}ntt}nttfor (var j=FA[FA.length-1][0]; j>0; j--) {ntttfStr+='</ul>';ntttS9+='</div></ul>';ntt}nt}ntS9+='</div>';n}nfunction getAllFrames(doc,frmLevel) {ntvar A=doc.all;ntvar FR=[];ntfor (var i=0; i<A.length; i++)nttif (A[i].tagName=="FRAME" || A[i].tagName=="IFRAME")ntttFR[FR.length]=A[i];ntfor (var i=0;i<doc.frames.length;i++) {nttvar fl=frmLevel+1;nttvar fmTag = FR[i].tagName;ntttry{ntttvar doc_href=doc.frames[i].location.href;ntttvar doc_frame=doc.frames[i].document;ntttif (fmTag == "IFRAME")nttttFA[FA.length]=[fl,"内嵌框架",doc_frame];ntttelsenttttFA[FA.length]=[fl,"布局框架",doc_frame];ntttgetAllFrames(doc_frame,fl);ntt} catch(e) {ntttif (doc.frames[i].domain != doc.domain) {nttttvar fh="<a href=\"view-source:"+ FR[i].src +"\" title=\"用记事本查看源代码\">【查看源码】</a>&nbsp;&mdash;&nbsp;&nbsp;<a href=\"" + FR[i].src + "\" target=\"_blank\"  title=\"在新窗口打开\">" + FR[i].src + "</a><ul><font color=\"#999966\">注意:该框架来自<span class=\"warning\">网站外部<\/span>,如想深入分析该框架,请点击链接在新窗口打开后对其运行viewpage。</font></ul>";nttttif (fmTag == "IFRAME")ntttttFA[FA.length]=[fl,"内嵌框架",fh];nttttelsentttttFA[FA.length]=[fl,"布局框架",fh];nttt}ntt}nt}n}n//====== 源码 ======nfunction highLight_attribute($1) {ntvar attribute_html = $1;ntvar re = /([\S]+=)(\S+)/g;ntattribute_html = attribute_html.replace(re, "<font color=red>$1</font><font color=black>$2</font>");ntreturn attribute_html;n}nnfunction highLight_tag($1) {ntreturn "<font color=blue>"+highLight_attribute($1)+"</font>";n}nfunction highLight(html) {ntre = /(&lt;[\S]+?.*?&gt;)/g;nthtml = html.replace(re, highLight_tag);nnthtml = html.replace(/\n/g, "<br>");nthtml = html.replace(/(\$?\d+(%|px)?)/g, "<font color=red>$1</font>");nthtml = html.replace(/(\".*?\")/g, function($1) {ntt$1 = $1.replace(/<.*?>/g, "");nttreturn "<font color=#009900>"+$1+"</font>";nt})ntreturn html;n}nfunction htmlEncode(s) {// ver.0.70b with line numbernts=s.replace(/\&/ig,"\&amp;").replace(/\>/ig,"\&gt;").replace(/\</ig,"\&lt;");nts=s.replace(/(\t+)/ig,"<xmp>$1<\/xmp>").replace(/\n/ig,"<br\/>\n");nts=s.replace(/ /ig,"\&nbsp;");nt//* Optional Line Numbernts="<ol>"+(s+"<br\/>\n").replace(/([^\n]*)<br\/>\n/ig,"<li\/><span>$1<\/span>")+"<\/ol>";nt//*/ntreturn s;n}nfunction viewSource(urlStr) {ntif (urlStr) {//用于读取CSS/Scriptnttfunction streamtochar(bstream) {ntttvar stream=new ActiveXObject("ADODB.Stream");ntttwith(stream) {ntttttype=1;nttttmode=0;nttttopen();nttttwrite(bstream);nttttposition=0;ntttttype=2;nttttcharset=win.document.charset;nttttvar s=readtext;nttttclose();nttt}ntttstream=null;ntttreturn(s);ntt}nttvar srcStr='';nttvar objHTTP=new ActiveXObject("MSXML2.XMLHTTP");nttwith(objHTTP) {ntttopen("GET",urlStr,false);ntttonreadystatechange=function() {nttttif (readyState==4)ntttttif (status==200)nttttttsrcStr=streamtochar(responseBody);nttt}nttttry{send();} catch(e) {nttttsrcStr="错误: 地址".fontcolor("red")+urlStr.bold()+"无效。";nttt}ntt}nttobjHTTP=null;nttreturn srcStr;nt} else {//用于源码读取nttif (seltext == "") {ntttsrcStr=highLight(htmlEscape('<html>\n' + win.document.documentElement.innerHTML + '\n</html>'));ntt} else {ntttsrcStr=highLight(htmlEscape('<html>\n' + selhtml + '\n</html>'));ntt}nttreturn srcStr;nt}n}nfunction htmlEscape(s) {nts = s.replace(/&/g,'&amp;');nts = s.replace(/>/g,'&gt;');nts = s.replace(/</g,'&lt;');nts = s.replace(/"/g,'&quot;');nts = s.replace(/'/g,'\'');ntreturn s;n}nfunction Source() {ntreturn "<div id=srcText name=srcText style='width:100%;background:#FFFFFF' contenteditable='true'>"+viewSource()+"</div>";n}n//====== 图像 ======nvar MImgList=[];nvar frmImg=[];nvar MImgListNum=[];nfunction getAllimages(doc) {ntvar imgs=[];ntfor (var i=0; i<doc.images.length; i++)nttimgs[imgs.length]=doc.images[i];ntvar inputImgs=doc.all.tags('INPUT');ntfor (var i=0; i<inputImgs.length; i++)nttif (inputImgs[i].type.match('image','i'))ntttimgs[imgs.length]=inputImgs[i];ntvar Bgimgs=[];ntvar BgTags=["A", "ADDRESS", "B", "BIG", "BLOCKQUOTE", "BODY", "BUTTON", "CAPTION", "CENTER", "CITE", "CODE", "COL", "COLGROUP", "currentStyle", "CUSTOM", "DD", "defaults", "DFN", "DIR", "DIV", "DL", "DT", "EM", "FIELDSET", "FORM", "hn", "HTML", "I", "IMG", "INPUT", "ISINDEX", "KBD", "LABEL", "LEGEND", "LI", "LISTING", "MARQUEE", "MENU", "NOBR", "OL", "P", "PLAINTEXT", "PRE", "runtimeStyle", "S", "SAMP", "SMALL", "SPAN", "STRIKE", "STRONG", "style", "SUB", "SUP", "TABLE", "TBODY", "TD", "TEXTAREA", "TFOOT", "TH", "THEAD", "TR", "TT", "U", "UL", "VAR", "XMP"];ntfor (var k=0; k<BgTags.length; k++) {nttvar objs=doc.all.tags(BgTags[k]);nttfor (var i=0; i<objs.length; i++) {ntttvar obj=objs[i];ntttif (getBgsrc(obj)) {nttttimgs[imgs.length]=getBgsrc(obj);nttt}ntt}nt}ntreturn imgs;n}nfunction chkAllImg() {ntfor (var i=0;i<MImgList.length;i++) {ntteval('chImg'+i+'.checked=checkallimg.checked');nt}n}nfunction downselImg() {ntfor (var i=0;i<MImgList.length;i++) {nttif (eval('chImg'+i+'.checked'))t{ntttdownIt(MImgList[i].src);ntt}nt}n}nfunction getBgsrc(x) {ntvar z=false;nty=x.currentStyle.backgroundImage;ntif (y.toLowerCase()!='none') {nttvar t=y.replace(/^url\(['"](.*)['"]\)$/i,"$1");nttvar z=new Image();nttz.src=t;nttz.alt="【背景图片】&mdash;&nbsp;["+x.tagName+"]";nttz.setAttribute("tagsrcindex",x.sourceIndex);nt}ntreturn z;n}nfunction ShowImg(txt,id) {ntfunction writeImgLink(obj) {nttvar src=obj.src;nttif (obj.width<document.body.clientWidth/2)ntttreturn "<a target =\"_blank\" href=\""+src+"\"><img src="+src+"><br>"+src+"</a>";nttelsentttreturn "<a target =\"_blank\" href=\""+src+"\"><img src="+src+" width="+document.body.clientWidth/2+"><br>"+src+"</a>";nt}nntif (frmImg.length==0) {nttframe_Img(win.document);nttloadIMG(frmImg);nt}ntvar ro=0;ntvar t="</td><td>";ntvar c="</td><td align=center>";ntvar ss='<table class="xpTable" id="tableImg" width=100% border="0" cellpadding="0" cellspacing="0" style="word-break:break-all"><thead><tr align=center><td width=3%>√</td><td width=5% title="源码顺序"><B>#</B></td><td width=20%><B>图片提示文字</B></td><td width=52%><B>图片和地址</B></td><td width=5%><B>&nbsp;宽&nbsp;</B></td><td width=5%><B>&nbsp;高&nbsp;</B></td><td width=10%><B>&nbsp;大小&nbsp;</B></td></tr></thead><tbody>';ntif (id=="*") {nttfor (var i=0;i<MImgList.length;i++) {ntttvar y=writeImgLink(MImgList[i]);ntttss+="<tr class=tr"+ro%2+"><td align=center><input type=checkbox id=chImg"+ro+">"+c+(MImgList[i].tagsrcindex?MImgList[i].tagsrcindex:MImgList[i].sourceIndex)+t+"&nbsp;&nbsp;"+MImgList[i].alt+(MImgListNum[i]>1?('&nbsp;(×'+MImgListNum[i].toString()+')').bold().fontcolor('red'):'')+"<br>"+t+y+"<br>"+c+MImgList[i].width+c+MImgList[i].height+c+getImgsize(MImgList[i])+t;ntttro++;ntt}nt} else if (id=="【背景图片】") {nttfor (var i=0;i<MImgList.length;i++) {ntttif (MImgList[i].alt.indexOf("【背景图片】")==0) {nttttvar y=writeImgLink(MImgList[i]);nttttss+="<tr class=tr"+ro%2+"><td align=center><input type=checkbox id=chImg"+ro+">"+c+(MImgList[i].tagsrcindex?MImgList[i].tagsrcindex:MImgList[i].sourceIndex)+t+"&nbsp;&nbsp;"+MImgList[i].alt+(MImgListNum[i]>1?('&nbsp;(×'+MImgListNum[i].toString()+')').bold().fontcolor('red'):'')+"<br>"+t+y+"<br>"+c+MImgList[i].width+c+MImgList[i].height+c+getImgsize(MImgList[i])+t;nttttro++;nttt}ntt}nt} else {nttfor (var i=0;i<MImgList.length;i++) {ntttif (MImgList[i].src.toLowerCase().indexOf(id)>0) {nttttvar y=writeImgLink(MImgList[i]);nttttss+="<tr class=tr"+ro%2+"><td align=center><input type=checkbox id=chImg"+ro+">"+c+(MImgList[i].tagsrcindex?MImgList[i].tagsrcindex:MImgList[i].sourceIndex)+t+"&nbsp;&nbsp;"+MImgList[i].alt+(MImgListNum[i]>1?('&nbsp;(×'+MImgListNum[i].toString()+')').bold().fontcolor('red'):'')+"<br>"+t+y+"<br>"+c+MImgList[i].width+c+MImgList[i].height+c+getImgsize(MImgList[i])+t;nttttro++;nttt}ntt}nt}ntimgCount.innerHTML=ro;ntdocument.all.ImgMap.innerHTML=ss+"</tbody></table>";nntsortTableImage();n}nfunction getImgsize(x) {ntvar siz=x.fileSize;ntif (siz>1000) {siz=Math.round(siz/1024*100)/100+'KB';}ntelse if (siz > 0) siz=siz+'字节';ntelse siz='未知';ntreturn siz;n}nfunction frame_Img(doc) {ntvar imgs=getAllimages(doc);ntfor (var i=0; i<imgs.length; i++)nttfrmImg[frmImg.length]=imgs[i];ntif (doc.frames.length>0) {nttfor (var i=0;i<doc.frames.length;i++) {nttttry{nttttvar doc_frames=doc.frames[i].document;nttttframe_Img(doc_frames);nttt} catch(e) {}ntt}nt}n}nfunction loadIMG(vTag) {ntfor (var i=0; i<vTag.length; i++) {nttif (vTag[i].src!=null && vTag[i].src!="") {ntttif (chkImg(vTag[i])) {nttttMImgList[MImgList.length]=vTag[i];nttt}ntt}nt}n}nfunction chkImg(img) {ntvar no=true;ntfor (var i=0;i<MImgList.length;i++) {nttif (MImgList[i].src.toLowerCase()==img.src.toLowerCase() && MImgList[i].alt==img.alt) {ntttno=false;ntttif (MImgListNum[i]>=1)nttttMImgListNum[i]++;ntttelsenttttMImgListNum[i]=2;ntttbreak;ntt}nt}ntreturn no;n}n//====== Flash ======nvar flashObj = new Array();nfunction frame_split(doc) {ntgetinfo(doc);ntif (doc.frames.length>0) {nttfor (var i=0;i<doc.frames.length;i++) {nttttry{nttttvar doc_frames=doc.frames[i].document;nttttframe_split(doc_frames);nttt} catch(e) {}ntt}nt}n}nfunction writearray(tt,fsrc,w,h) {n    flashObj[flashObj.length]=new Array(tt,fsrc,w,h);n    return flashObj;n}nfunction getinfo(srcDocument) {ntvar fsrc,tObject,t,ss,x,xx;ntfor (var i=0;i<srcDocument.applets.length;i++) {ntttObject=srcDocument.applets[i];nttt=tObject.codeBase;nttss=t.toLowerCase();nttx=tObject.classid;nttxx=x.toLowerCase();nttif (ss.indexOf("macromedia.com")>=0 || xx.indexOf("clsid:d27cdb6e-ae6d-11cf-96b8-444553540000")>=0) {nttttt=tObject.getAttribute("Movie");ntttw=tObject.width;nttth=tObject.height;ntttif (w.indexOf("%")>0 || h.indexOf("%")>0) {nttttw=440;ntttth=400;nttt}ntttfsrc=processurl(tt,srcDocument);ntttwritearray(tt,fsrc,w,h);ntt}nt}nntfor (var i=0;i<srcDocument.embeds.length;i++) {ntttObject=srcDocument.embeds[i];nttt=tObject.src;nttss=t.toLowerCase();nttif (ss.indexOf(".swf")>0) {nttttt=tObject.src;ntttw=tObject.width;nttth=tObject.height;ntttif (w.indexOf("%")>0 || h.indexOf("%")>0) {nttttw=440;ntttth=400;nttt}ntttfsrc=processurl(tt,srcDocument);ntttwritearray(tt,fsrc,w,h);ntt}nt}n}nnfunction chkAllFlash() {ntfor (var i=0;i<flashObj.length;i++) {ntteval('chFlash'+i+'.checked=checkallflash.checked');nt}n}nfunction downselFlash() {ntfor (var i=0;i<flashObj.length;i++) {nttif (eval('chFlash'+i+'.checked')) {nttdownIt(flashObj[i][1]);ntt}nt}n}nfunction writeFlashItem() {ntvar str='<table class="xpTable" id="tableFlash" style="width:expression(document.body.clientWidth*2/5)" border="0" cellpadding="0" cellspacing="0" style="word-break:break-all"><thead><tr align=center><td width=3%><input id=checkallflash type=checkbox onclick="chkAllFlash()" value="ON"></td><td width=10% nowrap><B>#</B></td><td><B>Flash&nbsp;地址</B></td></tr></thead><tbody>';ntfor (var i=0;i<flashObj.length;i++)t{nttstr +='<tr class=tr'+i%2+'><td align=center><input type=checkbox id=chFlash'+i+'></td><td align=center><a href=\"javascript:clickFlash('+i+')\"><B>'+(i+1)+'</B></a></td><td>'+'<a href=\"'+flashObj[i][1]+'\" target="_blank">'+flashObj[i][1]+'</a></td></tr>';nt}ntreturn str+"</tbody></table>";ntsortTableFlash();n}nfunction clickFlash(index) {ntvar str='<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"'+flashObj[index][2]+'\" height=\"'+flashObj[index][3]+'\">\n';ntstr +='<param name=\"movie\" value=\"'+flashObj[index][1]+'\">\n';ntstr +='<param name=\"quality\" value=\"high\">\n';ntstr +="<embed src=\'"+flashObj[index][1]+"\' quality=high pluginspage=\'http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\' type=\'application/x-shockwave-flash\' width=\""+flashObj[index][2]+"\" height=\""+flashObj[index][3]+"\"></embed>";ntstr +='</object>';ntFlashMap.innerHTML=str;n}nfunction downIt(nL) {ntswitch (dwTool)t{nttcase 'FlashGet':ntttFlashGet(nL);ntttbreak;nttcase 'NetTransport':ntttNetTransport(nL);ntttbreak;nttcase "NetAnts":ntttNetAnts(nL);ntttbreak;nttcase "DownloadExpress":ntttvar DP = new ActiveXObject("Mdpph.API.1");ntttif (DP)nttttDP.DownloadFile(nL, document.Url, "");ntttelsenttttalert("没有安装 DownloadExpress");ntttbreak;nttcase "ReGet":ntttReGet(nL);ntttbreak;nttcase "HiDownload":ntttHiDownload(nL);ntttbreak;nttcase "Intertnet Download Accelerator":ntttvar IDACOMObj = new ActiveXObject("idaie.moveurlida");ntttif (IDACOMObj)nttttIDACOMObj.AddURL(nL, document.Url);ntttelsenttttalert("IDAIE.DLL 的 ActiveX 对象没有注册或已经损坏。请重新安装 Internet Download Accelerator");ntttbreak;nttcase "Mass Downloader":ntttvar MassDown = new ActiveXObject("MassDown.AddUrl.1");ntttif (MassDown)nttttMassDown.AddUrlWithReferer(nL, "Download from ViewPage", document.Url);ntttelsenttttalert("MassDown.dll 没有注册。 请运行“regsvr32.exe MassDown.dll”进行注册");ntttbreak;nttcase "Star Downloader":ntttvar SDIE = new ActiveXObject("sdext.stardownext");ntttif (SDIE)nttttSDIE.DownloadURL(nL, document.Url);ntttelsenttttalert("找不到 sdext.dll 。 请重新安装 Star Downloader");ntttbreak;nttcase "Download Master":ntttvar DMCOMObj = new ActiveXObject("dmie.moveurl");ntttif (DMCOMObj)nttttDMCOMObj.AddURL(nL, document.Url);ntttelsenttttalert("DMIE.DLL 的 ActiveX 对象没有注册或已经损坏。 请重新安装 Download Master");ntttbreak;nttcase "DLExpert":ntttDLExpert(nL);ntttbreak;nttcase "LeechGet":ntttvar LeechGet = new ActiveXObject("LeechGetIE.AddURL");ntttif (LeechGet)nttttLeechGet.AddUrl(nL);ntttelse alert("LeechIE.dll 没有经过注册. 请运行“regsvr32.exe LeechIE.dll”进行注册");ntttbreak;nttcase "DAP":ntttvar DAPExt = new ActiveXObject("dapie.catcher");ntttif (DAPExt)nttttDAPExt.MenuUrl(nL, document.Url, "");ntttelsenttttalert("DAPIE.DLL 没有注册或已经损坏。 请重新安装 Download Accelerator Plus");ntttbreak;nttdefault:nttt";
  47. page+=MydwTool;
  48. page+="(nL);ntttbreak;nt}n}n//====== Links ======nvar ALink=[];nvar linkArray=[];nvar ALinkNum=[];nfunction frame_Link(doc) {ntgetLink(doc);ntif (doc.frames.length>0) {nttfor (var i=0;i<doc.frames.length;i++) {nttttry{nttttvar doc_frames=doc.frames[i].document;nttttframe_Link(doc_frames);nttt} catch(e) {}ntt}nt}n}nfunction getLink(doc) {ntvar srcTags=["A", "APPLET", "AREA", "BASE", "BGSOUND", "DOCUMENT", "EMBED", "FORM", "FRAME", "IFRAME", "IMG", "ISINDEX", "INPUT", "LINK", "MEDIAITEM", "SCRIPT", "XML", "MARQUEE", "OBJECT"];ntfor (var k=0; k<srcTags.length; k++) {nttvar objs=doc.all.tags(srcTags[k]);nttfor (var i=0; i<objs.length; i++) {ntttgetSrc(objs[i]);ntt}nt}ntfunction getSrc(obj) {ntttry{ntttvar srcUrl=obj.href;ntttif (srcUrl) {addALink(obj,srcUrl);return;}ntttvar srcUrl=obj.src;ntttif (srcUrl) {addALink(obj,srcUrl);return;}ntttvar srcUrl=obj.filename;tt//Media Playerntttif (srcUrl) {addALink(obj,srcUrl);return;}ntttvar srcUrl=obj.source;ttt//Real Playerntttif (srcUrl) {addALink(obj,srcUrl);return;}ntttvar srcUrl=obj.dynsrc;ntttif (srcUrl) {addALink(obj,srcUrl);return;}ntttvar srcUrl=obj.sourceURL;ntttif (srcUrl) {addALink(obj,srcUrl);return;}ntttvar srcUrl=obj.action;ntttif (srcUrl) {addALink(obj,srcUrl);return;}ntttvar srcUrl=obj.url;ntttif (srcUrl) {addALink(obj,srcUrl);return;}ntt} catch(e) {}nt}n}nfunction chkLink(txt,url,obj) {ntvar no=true;ntfor (var i=0;i<ALink.length;i++) {nttif (ALink[i][0]==txt && ALink[i][1].toLowerCase()==url.toLowerCase() && ALink[i][2].tagName.toLowerCase()==obj.tagName.toLowerCase()) {ntttno=false;ntttif (ALinkNum[i]>=1)nttttALinkNum[i]++;ntttelsenttttALinkNum[i]=2;ntttbreak;ntt}nt}ntreturn no;n}nfunction addALink(srcObj,url) {ntvar oText;ntoText=(srcObj.alt)? srcObj.alt:'&nbsp;&nbsp;';ntoText=(oText=='&nbsp;&nbsp;' && srcObj.title)? srcObj.title:'&nbsp;&nbsp;';ntoText=(oText=='&nbsp;&nbsp;' && srcObj.innerText)? srcObj.innerText:'&nbsp;&nbsp;';ntif (oText==url || (/^\s*$/i).test(oText)) oText='&nbsp;&nbsp;';ntif (chkLink(oText,url,srcObj)) ALink[ALink.length]=[oText,url,srcObj];n}nfunction chkAll() {ntfor (var i=0;i<linkArray.length;i++)ntteval('ch'+i+'.checked=checkall.checked');n}nfunction filter(str,index) {ntvar cpt=0;var s='';linkArray.length=0;ntif (str=='All') str='';ntif (str!='') strReg=new RegExp(str,"gi");ntfor (var i=0;i<ALink.length;i++) {nttif (str=="" || (index<2 && strReg.test(ALink[i][index])) || (index==2 && strReg.test(ALink[i][index].tagName))) {nttts+='<tr class=tr'+cpt%2+'><td align=center><input type=checkbox id=ch'+cpt+'></td><td align=center>'+(((/^\w+:\/\/.*\/[^\/]*\?[^\/]*$/i).test(processurl(ALink[i][1],win.document)))?'<a title=\"该地址为转向地址,用记事本打开这个地址看看?\" href=\"view-source:' + processurl(ALink[i][1],win.document) + '\">'+ALink[i][2].sourceIndex+'</a>':'<font color=#999966>'+ALink[i][2].sourceIndex+'</font>')+'</td>';nttts+='<td><a target=\"_blank\" title=\"用记事本查看\" href=\"view-source:'+processurl(ALink[i][1],win.document)+'\">'+((ALink[i][0].length>200)?ALink[i][0].substring(0,50)+'<p><font color=green>。。。(省略)。。。</font></p>'+ALink[i][0].substring(ALink[i][0].length-40):ALink[i][0])+(ALinkNum[i]>1?('(×'+ALinkNum[i].toString()+')').bold().fontcolor('red'):'')+'</a>'+'</td>';nttts+='<td><a target=\"_blank\" title=\"1.单击链接在新窗口打开,或者\n2.左键拖曳链接通过弹出菜单添加到过滤器。\" href=\"'+ALink[i][1]+'\">'+ALink[i][1]+'</a></td>';nttts+='<td align=center>'+((htmlEscape(ALink[i][2].innerHTML)!=ALink[i][2].innerText)? '<a title=\"'+htmlEscape(ALink[i][2].outerHTML)+'\" href=\"javascript:var w=window.open(\'\',\'_blank\');var tagText=\''+htmlEscape(ALink[i][2].innerHTML)+'\';if (tagText) w.document.write(tagText);eval();\">['+ALink[i][2].tagName+']</a>':'<font color=#999966>['+ALink[i][2].tagName+']</font>')+'</td></tr>\n';ntttlinkArray[linkArray.length]=new Array(ALink[i][1]);ntttcpt++;ntt}nt}ntvar HTMLStr='<table class="xpTable" id="tableLink" cellspacing=0 cellPadding=0 borderStyle=0 style="width:100%;word-break:break-all"><thead><tr align=center><td width=3%>√</td><td width=4% title="源码顺序"><B>#</B></td><td width=35%><B>文字信息</B></td><td width=50%><B>URL/链接地址</B></td><td width=8%><B>元素标签</B></td></tr></thead><tbody>';ntHTMLStr +=s;ntHTMLStr +='</tbody></table>';nttabDiv.innerHTML=HTMLStr;ntlinkCount.innerHTML=cpt++;ntsortTableLink();n}nfunction reset(nb) {ntswitch (nb) {nttcase 1:ntttfilter2.value='';ntttfilter3.value='';ntttfilter4.value='All';ntttfilter5.value='All';ntttbreak;nttcase 2:ntttfilter1.value='All';ntttfilter3.value='';ntttfilter4.value='All';ntttfilter5.value='All';ntttbreak;nttcase 3:ntttfilter1.value='All';ntttfilter2.value='';ntttfilter4.value='All';ntttfilter5.value='All';ntttbreak;nttcase 4:ntttfilter1.value='All';ntttfilter2.value='';ntttfilter3.value='';ntttfilter5.value='All';ntttbreak;nttcase 5:ntttfilter1.value='All';ntttfilter2.value='';ntttfilter3.value='';ntttfilter4.value='All';ntttbreak;nt}n}nfunction opensel() {ntfor (var i=0;i<linkArray.length;i++) {nttif (eval('ch'+i+'.checked')) {ntttwindow.open(linkArray[i],'_blank');ntt}nt}n}nfunction downsel() {ntfor (var i=0;i<linkArray.length;i++) {nttif (eval('ch'+i+'.checked')) {ntttdownIt(linkArray[i]);ntt}nt}n}n//======== CSS ========nvar sC=win.document.styleSheets;nvar x=win.screen.availWidth/1.2,y=win.screen.availHeight/1.2;nvar l=(1.2*x-x)/2,p=(1.2*y-y)/2,r='',c=0;nvar d,i;nvar sJs=win.document.getElementsByTagName('script');nvar ud='undefined';nfunction g(n) {ntvar f;ntif (n==''||n==win.document.location) return [];ntswitch (typeof ActiveXObject) {nttcase 'function':ntttf=new ActiveXObject('Microsoft.XMLHTTP');ntttbreak;nttdefault:ntttf=new XMLHttpRequest;ntttf.overrideMimeType("text/xml");nt}nttry{nttf.open('GET',n,false);nttf.send('');nt} catch(e) {return [];}ntreturn [f.responseText,f.getAllResponseHeaders()];n}nfunction a(t,b) {ntif (t==null)return '';ntvar s=0,re=/link/i,f=null,h=[],n=c++,u,v,d;ntswitch (b) {nttcase true:break;nttdefault:ntttswitch (typeof t.ownerNode) {nttttcase 'object':s=re.test(t.ownerNode.tagName)?2:1;break;nttttdefault:s=re.test(t.owningElement.tagName)?2:1;nttt}nt}nttry{ntswitch (typeof t.cssRules) {nttcase 'object':ntttfor (var k=0,m;(k<t.cssRules.length?m=t.cssRules[k]:null);k++)ntttif (m.type==3) h.push(a(m.styleSheet,true));ntttbreak;nttdefault:ntttfor (var j=0;t.imports&&j<t.imports.length;j++)ntttth.push(a(t.imports[j],true));ntt}nt} catch(e) {v=true;}ntf=g(t.href);ntif (f[0]) f[0]=viewSource(t.href);ntf.unshift(t.disabled);ntf.unshift(t.title);ntf.unshift(t.href);ntv=v||f.length<5;ntu=h.length==0;ntd='<dt'+(f[2]?' class="disabled"':'')+'>'+tcss+['<font color=green>@import</font>','<font color=green>(内部)</font>','(外部)'][s]+(f[1]?' '+f[1]:'')+'&nbsp;&nbsp;';ntif (s!=1) d+=(v?'<span class="warning">网站外部</span> &mdash; <a href="view-source:'+processurl(f[0],win.document)+'">用记事本查看</a> &mdash; 下载:<a href="javascript:downIt(\''+processurl(f[0],document)+'\')" title="单击下载:'+processurl(f[0],document)+'">'+processurl(f[0],document)+'</a>':'<a href="#" onclick="document.getElementById(this.id+\'src\').style.display=document.getElementById(this.id+\'src\').style.display==\'block\'?\'none\':\'block\';return false;" id="els'+n+'" title="显示样式表内容">显示内容!</a> &mdash; <a href="view-source:'+processurl(f[0],win.document)+'">用记事本查看</a> &mdash; <a href="#" onclick="document.getElementById(this.id+\'ref\').style.display=document.getElementById(this.id+\'ref\').style.display==\'block\'?\'none\':\'block\';return false;" id="elr'+n+'" title="显示 HTTP 头">HTTP 头</a> &mdash; 下载:<a href="javascript:downIt(\''+processurl(f[0],win.document)+'\')" title="单击下载:'+processurl(f[0],win.document)+'">'+processurl(f[0],win.document)+'</a>');ntd+=(u?'':(s!=1?' &mdash; ':'')+'<a href="#" onclick="document.getElementById(this.id+\'cld\').style.display=document.getElementById(this.id+\'cld\').style.display==\'block\'?\'none\':\'block\';return false;" id="elc'+n+'" title="展开/收缩下级样式表">Children</a>');ntd+='</dt>';ntif (s!=1) d+=(v?'':'<dt id="els'+n+'src" class="source'+(f[2]?' disabled':'')+'">'+(f[0]&&f[0]!=self.location?f[0]:'')+'<pre>'+f[3]+'</pre></dt><dt id="elr'+n+'ref" class="response'+(f[2]?' disabled':'')+'"><pre>'+f[4]+'</pre></dt>');ntd+=(u?'':'<dt id="elc'+n+'cld" class="children'+(f[2]?' disabled':'')+'"><dl>'+h.join('')+'</dl></dt>');ntreturn '<span onmouseover=\"this.style.backgroundColor=\'";
  49. page+=itemBgcolor;
  50. page+="\'\" onmouseout=\"this.style.backgroundColor=\'\'\">'+d+'</span>';n}nvar cssStr='',tcss='<br>&nbsp;<span style="background-color:";
  51. page+=itemBgcolor;
  52. page+=""><a target ="_blank" href="'+win.document.location+'">【主页面】</a></span>&nbsp;&nbsp;';nfunction loadCss(doc) {ntvar cs=doc.styleSheets;nntfor (var i=0;i<cs.length;i++) cssStr+=a(cs[i]);ntif (doc.frames.length>0) {nttfor (var i=0;i<doc.frames.length;i++) {nttttry{nttttvar doc_frames=doc.frames[i].document;ntttttcss='<br>&nbsp;<FONT COLOR="#3300FF"><a target ="_blank" href="'+doc_frames.location+'">【框架中】</a></FONT>&nbsp;&nbsp;';nttttloadCss(doc_frames);nttt} catch(e) {}ntt}nt}n}nfunction SyntaxCss() {ntvar s,key1,key2,key3,key4;ntvar csskeyWord='a,abbr,acronym,active,address,applet,area,b,base,basefont,bdo,big,blockquote,body,br,button,caption,center,cite,code,col,colgroup,dd,dfn,dir,div,dl,dt,em,fieldset,font,form,frame,frameset,h,h1,h2,h3,h4,h5,h6,head,hr,html,hover,i,iframe,img,input,isindex,kbd,label,legend,li,link,map,menu,meta,noframes,noscript,object,ol,optgroup,option,p,param,pre,q,s,samp,script,select,small,span,strike,strong,style,sub,sup,table,tbody,td,textarea,tfoot,th,thead,title,tr,tt,u,ul,var,visited';ntvar csskeyWord2='aqua,azimuth,background,background-attachment,background-color,background-image,background-position,background-repeat,black,blue,border,border-bottom,border-bottom-color,border-bottom-style,border-bottom-width,border-collapse,border-color,border-left,border-left-color,border-left-style,border-left-width,border-right,border-right-color,border-right-style,border-right-width,border-spacing,border-style,border-top,border-top-color,border-top-style,border-top-width,border-width,bottom,caption-side,clear,clip,color,content,counter-increment,counter-reset,cue,cue-after,cue-before,cursor,direction,display,elevation,empty-cells,float,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,height,left,letter-spacing,line-height,list-style,list-style-image,list-style-position,list-style-type,margin,margin-bottom,margin-left,margin-right,margin-top,marker-offset,marks,max-height,max-width,min-height,min-width,orphans,outline,outline-color,outline-style,outline-width,overflow,padding,padding-bottom,padding-left,padding-right,padding-top,page,page-break-after,page-break-before,page-break-inside,pause,pause-after,pause-before,pitch,pitch-range,play-during,position,quotes,richness,right,size,speak,speak-header,speak-numeral,speak-punctuation,speech-rate,stress,table-layout,text-align,text-decoration,text-indent,text-shadow,text-transform,top,unicode-bidi,vertical-align,visibility,voice-family,volume,white-space,widows,width,word-spacing,z-index';ntvar csskeyWord3='above,absolute,always,armenian,aural,auto,avoid,baseline,behind,below,bidi-override,blink,block,bold,bolder,both,capitalize,center-left,center-right,circle,cjk-ideographic,close-quote,collapse,condensed,continuous,crop,cross,crosshair,cursive,dashed,decimal,decimal-leading-zero,default,digits,disc,dotted,double,e-resize,embed,expanded,extra-condensed,extra-expanded,fantasy,far-left,far-right,fast,faster,fixed,fuchsia,georgian,gray,green,groove,hebrew,help,hidden,hide,high,higher,hiragana,hiragana-iroha,icon,inherit,inline,inline-table,inset,inside,invert,italic,justify,katakana,katakana-iroha,landscape,large,larger,left-side,leftwards,level,lighter,lime,line-through,list-item,loud,low,lower,lower-alpha,lower-greek,lower-roman,lowercase,ltr,maroon,medium,message-box,middle,mix,monospace,n-resize,narrower,navy,ne-resize,no-close-quote,no-open-quote,no-repeat,none,normal,nowrap,nw-resize,oblique,olive,once,open-quote,outset,outside,overline,pointer,portrait,purple,px,red,relative,repeat,repeat-x,repeat-y,rgb,ridge,right-side,rightwards,s-resize,sans-serif,scroll,se-resize,semi-condensed,semi-expanded,separate,serif,show,silent,silver,slow,slower,small-caps,small-caption,smaller,soft,solid,spell-out,square,static,status-bar,super,sw-resize,table-caption,table-cell,table-column,table-column-group,table-footer-group,table-header-group,table-row,table-row-group,teal,text,text-bottom,text-top,thick,thin,transparent,ultra-condensed,ultra-expanded,underline,upper-alpha,upper-latin,upper-roman,uppercase,url,visible,w-resize,wait,white,wider,x-fast,x-high,x-large,x-loud,x-low,x-small,x-soft,xx-large,xx-small,yellow,yes';ntvar r;key1=csskeyWord.split(',');ntfor (var i=0;i<key1.length;i++) {nttr=window.document.body.createTextRange();ntts=key1[i];nttfor (var j=0;r.findText(s,1,2);j++) {ntttr.execCommand('ForeColor','','Blue');ntttr.collapse(false);ntt}nt}ntkey2=csskeyWord2.split(',');ntfor (var x=0;x<(key2.length);x++) {nttr=window.document.body.createTextRange();ntts=key2[x];nttfor (var y=0;r.findText(s,1,2);y++) {ntttr.execCommand('ForeColor','','Red');ntttr.collapse(false);ntt}nt}ntkey3=csskeyWord3.split(',');ntfor (var w=0;w<(key3.length);w++) {nttr=window.document.body.createTextRange();ntts=key3[w];nttfor (var z=0;r.findText(s,1,2);z++) {ntttr.execCommand('ForeColor','','Orange');ntttr.collapse(false);ntt}nt}n}nfunction SyntaxJs() {ntvar s,key1,key2,key3,key4;ntvar keyWord='abstract,break,byte,case,catch,char,class,const,continue,default,delete,do,double,else,extends,false,final,finally,float,for,function,goto,if,implements,import,in,instanceof,int,interface,long,native,null,package,private,protected,public,reset,return,short,static,super,switch,synchronized,this,throw,transient,true,try,var,void,while,with';ntvar keyWord2='Anchor,Applet,Area,Arguments,Array,Boolean,Button,Checkbox,Collection,Crypto,Date,Dictionary,Document,Drive,Drives,Element,Enumerator,Event,File,FileObject,FileSystemObject,FileUpload,Folder,Folders,Form,Frame,Function,Global,Hidden,History,HTMLElement,Image,Infinity,Input,JavaArray,JavaClass,JavaObject,JavaPackage,JSObject,Layer,Link,Math,MimeType,Navigator,Number,Object,Option,Packages,Password,Plugin,PrivilegeManager,Random,RegExp,Screen,Select,String,Submit,Text,Textarea,URL,VBArray,Window,WScript';ntvar keyWord3='above,abs,acos,action,activeElement,alert,alinkColor,all,altKey,anchor,anchors,appCodeName,applets,apply,appName,appVersion,arguments,arity,asin,assign,atan,atan2,atob,availHeight,availLeft,availTop,availWidth,ActiveXObject,back,background,below,bgColor,big,blink,blur,bold,border,borderWidths,bottom,btoa,button,call,callee,caller,cancelBubble,captureEvents,ceil,charAt,charCodeAt,charset,checked,children,classes,className,clear,clearInterval,clearTimeout,click,clientInformation,clientX,clientY,close,closed,colorDepth,compile,complete,concat,confirm,constructir,contains,contextual,cookie,cos,crypto,ctrlKey,current,data,defaultCharset,defaultChecked,defaultSelected,defaultStatus,defaultValue,description,disableExternalCapture,disablePrivilege,document,domain,Echo,element,elements,embeds,enabledPlugin,enableExternalCapture,enablePrivilege,encoding,escape,eval,event,exec,exp,expando,FromPoint,fgColor,fileName,find,fixed,floor,focus,fontColor,fontSize,form,forms,forward,frames,fromCharCode,fromElement,getAttribute,get,getClass,getDate,getDay,getFullYear,getHours,getMember,getMilliseconds,getMinutes,getMonth,getSeconds,getSelection,getSlot,getTime,getTimezoneOffset,getUTCDate,getUTCDay,getUTCFullYear,getUTCHours,getUTCMilliseconds,getUTCMinutes,getUTCMonth,getUTCSeconds,getWindow,getYear,global,go,HandleEvent,Height,hash,hidden,history,home,host,hostName,href,hspace,id,ids,ignoreCase,images,index,indexOf,inner,innerHTML,innerText,innerWidth,insertAdjacentHTML,insertAdjacentText,isFinite,isNAN,italics,java,javaEnabled,join,keyCode,Links,LN10,LN2,LOG10E,LOG2E,lang,language,lastIndex,lastIndexOf,lastMatch,lastModified,lastParen,layers,layerX,layerY,left,leftContext,length,link,linkColor,load,location,locationBar,log,lowsrc,MAX_VALUE,MIN_VALUE,margins,match,max,menubar,method,mimeTypes,min,modifiers,moveAbove,moveBelow,moveBy,moveTo,moveToAbsolute,multiline,NaN,NEGATIVE_INFINITY,name,navigate,navigator,netscape,next,number,offscreenBuffering,offset,offsetHeight,offsetLeft,offsetParent,offsetTop,offsetWidth,offsetX,offsetY,onabort,onblur,onchange,onclick,ondblclick,ondragdrop,onerror,onfocus,onHelp,onkeydown,onkeypress,onkeyup,onload,onmousedown,onmousemove,onmouseout,onmouseover,onmouseup,onmove,onreset,onresize,onsubmit,onunload,open,opener,options,outerHeight,outerHTML,outerText,outerWidth,POSITIVE_INFINITY,PI,paddings,pageX,pageXOffset,pageY,pageYOffset,parent,parentElement,parentLayer,parentWindow,parse,parseFloat,parseInt,pathname,personalbar,pixelDepth,platform,plugins,pop,port,pow,preference,previous,print,prompt,protocol,prototype,push,random,readyState,reason,referrer,refresh,releaseEvents,reload,removeAttribute,removeMember,replace,resizeBy,resizeTo,returnValue,reverse,right,rightcontext,round,SQRT1_2,SQRT2,screenX,screenY,scroll,scrollbars,scrollBy,scrollIntoView,scrollTo,search,select,selected,selectedIndex,self,setAttribute,setDay,setFullYear,setHotkeys,setHours,setInterval,setMember,setMilliseconds,setMinutes,setMonth,setResizable,setSeconds,setSlot,setTime,setTimeout,setUTCDate,setUTCFullYear,setUTCHours,setUTCMillseconds,setUTCMinutes,setUTCMonth,setUTCSeconds,setYear,setZOptions,shift,shiftKey,siblingAbove,siblingBelow,signText,sin,slice,smallsort,source,sourceIndex,splice,split,sqrt,src,srcElement,srcFilter,status,statusbar,stop,strike,style,sub,submit,substr,substring,suffixes,sun,sup,systemLanguage,TYPE,tagName,tags,taint,taintEnabled,tan,target,test,text,title,toElement,toGMTString,toLocaleString,toLowerCase,toolbar,top,toString,toUpperCase,toUTCString,type,typeof,UTC,unescape,unshift,untaint,unwatch,userAgent,userLanguage,value,valueOf,visibility,vlinkColor,vspace,watch,which,width,window,write,writeln';ntvar keyWord4='=,||,&&,!=,==';ntvar r;key1=keyWord.split(',');ntfor (var i=0;i<key1.length;i++) {nttr=window.document.body.createTextRange();ntts=key1[i];nttfor (var j=0;r.findText(s,1,2);j++) {ntttr.execCommand('ForeColor','','Blue');ntttr.execCommand('Bold','','');ntttr.collapse(false);ntt}nt}ntkey2=keyWord2.split(',');ntfor (var x=0;x<(key2.length);x++) {nttr=window.document.body.createTextRange();ntts=key2[x];nttfor (var y=0;r.findText(s,1,2);y++) {ntttr.execCommand('ForeColor','','Red');ntttr.execCommand('Bold','','');ntttr.collapse(false);ntt}nt}ntkey3=keyWord3.split(',');ntfor (var w=0;w<(key3.length);w++) {nttr=window.document.body.createTextRange();ntts=key3[w];nttfor (var z=0;r.findText(s,1,2);z++) {ntttr.execCommand('ForeColor','','Orange');ntttr.execCommand('Bold','','');ntttr.collapse(false);ntt}nt}ntkey4=keyWord4.split(',');ntfor (var w=0;w<(key4.length);w++) {nttr=window.document.body.createTextRange();ntts=key4[w];nttfor (var z=0;r.findText(s,1,2);z++) {ntttr.execCommand('ForeColor','','Green');ntttr.execCommand('Bold','','');ntttr.collapse(false);ntt}nt}n}nfunction gJs(n) {ntvar f;ntif (n==''||n==win.location)return [];nttswitch (typeof ActiveXObject) {ntttcase 'function':f=new ActiveXObject('Microsoft.XMLHTTP');break;ntttdefault:f=new XMLHttpRequest;f.overrideMimeType("text/xml");nt}nttry{nttf.open('GET',n,false);nttf.send('')nt} catch(e) {return [];}ntreturn [f.responseText,f.getAllResponseHeaders()];n}nfunction aJs(t) {ntvar s,f=[],r,d,n=c++,i=0;ntd={};ntfor (;i<t.attributes.length;i++)nttif (typeof t.attributes[i].specified!=ud?t.attributes[i].specified:1)ntttd[t.attributes[i].name]=t.attributes[i].value;nts=typeof d.src!=ud?1:0;nttry{nttf=s?gJs(d.src):[];nttif (f[0]) f[0]=viewSource(d.src);nt} catch(e) {nttalert('出现错误!\n\n' + e);nt}nttry{nttif (!s)f.push(htmlEscape(t.text)||htmlEscape(t.firstChild.data));nt} catch(e) {}nttry{f.unshift('&lt;script');} catch(e) {alert(typeof f);}ntfor (i in d) f[0]+=' '+i+'="'+d[i]+'"';ntf[0]+='&gt;';ntf.unshift(t.disabled);ntr='<dt'+(f[0]?' class="disabled"':'')+'>'+tJs+['<font color=green>(内部)</font>','(外部)'][s]+'&nbsp;&mdash;&nbsp;<a href="#" onclick="document.getElementById(this.id+\'c\').style.display=document.getElementById(this.id+\'c\').style.display==\'block\'?\'none\':\'block\';return false;" id="elt'+n+'" title="显示标签">标签</a> &mdash; '+(s?(f.length<3?'<span class="warning">网站外部</span> &mdash; <a href="view-source:'+processurl(d.src,win.document)+'">用记事本查看</a> &mdash; <a href="'+d.src+'" title="单击下载: '+processurl(d.src,win.document)+'">下载脚本</a> &mdash; 过滤:<a href="'+processurl(d.src,win.document)+'" title="左键拖曳链接添加到过滤列表:'+d.src+'">'+processurl(d.src,win.document)+'</a>':'<a href="#" onclick="document.getElementById(this.id+\'c\').style.display=document.getElementById(this.id+\'c\').style.display==\'block\'?\'none\':\'block\';return false;" id="elc'+n+'" title="显示脚本内容">查看脚本!</a> &mdash; <a href="view-source:'+processurl(d.src,win.document)+'">用记事本查看</a> &mdash; <a href="#" onclick="document.getElementById(this.id+\'c\').style.display=document.getElementById(this.id+\'c\').style.display==\'block\'?\'none\':\'block\';return false;" id="elr'+n+'" title="显示 HTTP 头">HTTP 头</a> &mdash; <a href="javascript:downIt(\''+processurl(d.src,win.document)+'\')" title="单击下载: '+processurl(d.src,win.document)+'">下载脚本</a> &mdash; 过滤:<a href="'+processurl(d.src,win.document)+'" title="左键拖曳链接添加到过滤列表:'+processurl(d.src,win.document)+'">'+processurl(d.src,win.document)+'</a>'):'<a href="#" onclick="document.getElementById(this.id+\'c\').style.display=document.getElementById(this.id+\'c\').style.display==\'block\'?\'none\':\'block\';return false;" id="elc'+n+'" title="显示脚本内容">查看脚本!</a>')+'</dt><dt id="elt'+n+'c" class="tag'+(f[0]?' disabled':'')+'">'+f[1]+'</dt>';ntif (s&&f.length>3)f[2]=htmlEscape(f[2]);ntswitch (s) {nttcase 1:ntttif (f.length<3)break;ntttr+='<dt id="elc'+n+'c" class="source '+(f[0]?' disabled':'')+'"><pre height=100%>'+f[2]+'</pre></dt><dt id="elr'+n+'c" class="response '+(f[0]?' disabled':'')+'"><pre>'+f[3]+'</pre></dt>';ntttbreak;nttdefault:ntttr+='<dt id="elc'+n+'c" class="source '+(f[0]?' disabled':'')+'"><pre>'+f[2]+'</pre></dt>'nt}ntreturn '<span onmouseover=\"this.style.backgroundColor=\'";
  53. page+=itemBgcolor;
  54. page+="\'\" onmouseout=\"this.style.backgroundColor=\'\'\">'+r+'</span>';n}nvar jsStr='',tJs='<br>&nbsp;<span style="background-color:";
  55. page+=itemBgcolor;
  56. page+=""><a target ="_blank" href="'+win.document.location+'">【主页中】</a></span>&nbsp;&nbsp;';nfunction loadJs(doc) {ntvar r='';for (var i=0;i<sJs.length;i++) jsStr +=aJs(sJs[i]);ntif (doc.frames.length>0) {nttfor (var i=0;i<doc.frames.length;i++) {nttttry{nttttvar doc_frames=doc.frames[i].document;ntttttJs='<BR>&nbsp;<FONT COLOR="#3300FF"><a  target ="_blank" href="'+doc_frames.location+'">【框架中】</a></FONT>&nbsp;&nbsp;';nttttloadJs(doc_frames);nttt} catch(e) {}ntt}nt}n}n//====== 媒体资源 ======nvar mediaObj= new Array();nvar mediaObjTmp= new Array();nfunction frame_Media(doc) {ntif (doc.frames.length>0) {nttfor (var i=0;i<doc.frames.length;i++) {nttttry{var doc_frames=doc.frames[i].document;} catch(e) {continue;}ntttframe_Media(doc_frames);ntt}nttloadMedia(doc);nt} else {loadMedia(doc);}n}nfunction loadMedia(doc) {ntvar mTag=doc.applets;ntfor (var i=0;i<mTag.length; i++) {nttvar mobj = mTag[i];ntts2 = mobj.classid.toLowerCase();nttif (s2 == "clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95") {nttttt = mobj.getAttribute("FileName");ntttmediaObj[mediaObj.length]=new Array('【嵌入】',tt);ntt}nttif (s2 == "clsid:cfcdaa03-8be4-11cf-b84b-0020afbbccfa") {nttttt=mobj.getAttribute("Source");ntttmediaObj[mediaObj.length]=new Array('【嵌入】',tt);ntt}nttif (s2 == 'clsid:6bf52a52-394a-11d3-b153-00c04f79faa6') {nttttt=mobj.getAttribute("URL");ntttmediaObj[mediaObj.length]=new Array('【嵌入】',tt);ntt}nt}ntvar mEmb=doc.embeds;ntfor (var i=0;i<mEmb.length;i++) {nttvar s1=mEmb[i].src.toLowerCase();nttif (s1.indexOf(".wmv")>0 || s1.indexOf(".asf")>0 || s1.indexOf(".wma")>0 || s1.indexOf(".mpg")>0 || s1.indexOf(".avi")>0 || s1.indexOf(".mp3")>0 || s1.indexOf(".rm")>0 || s1.indexOf(".ram")>0 || s1.indexOf(".rmvb")>0 || s1.indexOf(".wav")>0 || s1.indexOf(".mid")>0 || s1.indexOf(".asx")>0 || s1.indexOf(".smi")>0) {ntttmediaObj[mediaObj.length]=new Array('【嵌入】',mEmb[i].src);ntt}nt}ntvar mBgsound=doc.all.tags('BGSOUND');ntfor (var i=0;i<mBgsound.length;i++)nttmediaObj[mediaObj.length]=new Array('【背景音乐】',processurl(mBgsound[i].src,doc));ntvar mLink=doc.links;ntfor (var i=0;i<mLink.length;i++) {nttvar s3=mLink[i].href;nttif (s3.indexOf(".wmv")>0 || s3.indexOf(".asf")>0 || s3.indexOf(".wma")>0 || s3.indexOf(".mpg")>0 || s3.indexOf(".avi")>0 || s3.indexOf(".mp3")>0 || s3.indexOf(".rm")>0 || s3.indexOf(".ram")>0 || s3.indexOf(".rmvb")>0 || s3.indexOf(".wav")>0 || s3.indexOf(".mid")>0 || s3.indexOf(".asx")>0 || s3.indexOf(".smi")>0)nttmediaObj[mediaObj.length]=new Array(mLink[i].innerText,s3);n//对新快电影的破解http://www.xk88.com/nttif (win.location.href.indexOf("www.xk88.com/movies/")>0 && (/javascript:\s*(play|rm)/i).test(s3)) {ntttvar mUrl;ntttvar playReg=new RegExp("play\\('(.+)'\\)","i");ntttvar rmReg=new RegExp("rm\\('(.+)'\\)","i");ntttif (playReg.test(s3))nttttmUrl="play_v111.asp?"+playReg.exec(s3)[1];ntttelse if (rmReg.test(s3))nttttmUrl="newrmplaywin/rmplay1.5_v111.asp?"+rmReg.exec(s3)[1];ntttif (mUrl) mediaObj[mediaObj.length]=new Array('<a href=\"'+htmlEscape(s3)+'\">'+mLink[i].innerText+'</a>',processurl(mUrl,win.document));ntt}n//对江西新华电脑学院的破解http://www.jx-xinhua.com/movie.aspnttif (win.location.href.indexOf("www.jx-xinhua.com/")>0 && (/javascript:\s*play/i).test(s3)) {ntttvar playReg=new RegExp("play\\((\\d+),(\\d+)\\)","i");ntttif (playReg.test(s3)) {nttttvar see=playReg.exec(s3)[1];nttttvar id=playReg.exec(s3)[2];nttttmediaObj[mediaObj.length]=new Array('<a href=\"'+htmlEscape(s3)+'\">'+mLink[i].innerText+'</a>',processurl("movieck.asp?ii="+see+"&id="+id,win.document));nttt}ntt}n//对锦都影院的破解http://movie.jindu.cn/movie.aspnttif (win.location.href.indexOf("movie.jindu.cn")>0 && (/javascript:\s*play/i).test(s3)) {ntttvar playReg=new RegExp("play\\((\\d+)\\)","i");ntttif (playReg.test(s3)) {nttttvar id=playReg.exec(s3)[1];nttttmediaObj[mediaObj.length]=new Array('<a href=\"'+htmlEscape(s3)+'\">'+mLink[i].innerText+'</a>',processurl("look.asp?id="+id,win.document));nttt}ntt}nt}n}nfunction writeMediaItem(f) {ntmediaObjTmp.length=0;ntvar cpt=0,s='';ntfor (var i=0;i<mediaObj.length;i++) {nttif (f!='all') {ntttif (mediaObj[i][1].indexOf(f)>0) {nttttmediaObjTmp[mediaObjTmp.length]=new Array(mediaObj[i][0],mediaObj[i][1]);nttt}ntt} else {ntttmediaObjTmp[mediaObjTmp.length]=new Array(mediaObj[i][0],mediaObj[i][1]);ntt}nt}ntfor (var i=0;i<mediaObjTmp.length;i++) {ntts +='<tr class=tr'+cpt%2+'><td align=center><input type=checkbox id=md'+cpt+'><\/td><td align=center>'+(((/^\w+:\/\/.*\/[^\/]*\?[^\/]*$/i).test(processurl(mediaObjTmp[i][1],win.document)))?'<a title=\"该地址为转向地址,用记事本打开这个地址看看。\" href=\"view-source:' + mediaObjTmp[i][1] + '\">'+(cpt+1)+'<\/a>':'<font color=#999966>'+(cpt+1)+'<\/font>')+'<\/td><td>'+mediaObjTmp[i][0]+'<\/td><td><a target=\"_blank\" href=\"'+mediaObjTmp[i][1]+'\">'+mediaObjTmp[i][1]+'<\/a><\/td><\/tr>\n';nttcpt++;nt}ntvar HTMLStr='<table class="xpTable" id="tableMedia" cellspacing=0 cellPadding=0 borderStyle=0 style="width:100%;word-break:break-all"><thead><tr align=center><td width=5%>√</td><td width=5%><B>#</B></td><td width=40%><B>媒体名称</B></td><td width=50%><B>媒体地址</B></td></tr></thead><tbody>';ntHTMLStr +=s;ntHTMLStr +='</tbody></table>';ntmedDiv.innerHTML=HTMLStr;ntmedCount.innerHTML=cpt;ntsortTableMedia();n}nfunction filterMed(f) {ntwriteMediaItem(f);n}nfunction chkAllMed() {ntfor (var i=0;i<mediaObjTmp.length;i++) {ntteval('md'+i.toString()+'.checked=checkallmed.checked');nt}n}nfunction downselMed() {ntfor (var i=0;i<mediaObjTmp.length;i++) {nttif (eval('md'+i+'.checked')) {ntttdownIt(mediaObjTmp[i][1]);ntt}nt}nn}n//====== Whois ======nfunction whois() {ntif (useMyUrl.checked)nt theFrame.location='http://centralops.net/co/DomainDossier.vbs.asp?addr_lkup=1&dom_whois=1&net_whois=1&dom_dns=1&traceroute=1&svc_scan=1&addr='+theUrl.value;ntelse {nttvar TheWho, PeteTownshend, RogerDaltrey, KeithMoon;nttTheWho=win.document.location.href;nttRogerDaltrey=TheWho.split("/");nttPeteTownshend=RogerDaltrey[2];nttPeteTownshend=escape(PeteTownshend);nttKeithMoon='http://centralops.net/co/DomainDossier.vbs.asp?addr_lkup=1&dom_whois=1&net_whois=1&dom_dns=1&traceroute=1&svc_scan=1&addr='+PeteTownshend;ntttheFrame.location=KeithMoon;nt}n}n//====== W3C ======nfunction fixFileUrl(u) {ntvar wins,u;ntwins = (win.navigator.platform.indexOf("Win") != -1);ntu = u.substr(wins ? 8 : 7);ntu = unescape(u);ntif (wins) {nttu = u.replace(/\//g,"\\");nttu = u.replace(/\|/g,":");nt}ntreturn u;n}nfunction w3c() {ntif (useMyUrl.checked)ntttheFrame.location="http://validator.w3.org/check?uri=" +theUrl.value;ntelse {nttvar loc,fileloc;nttloc = win.document.location.href;nnttif (loc.length>9 && loc.substr(0,8)=="file:///") {ntttfileloc = fixFileUrl(loc);ntttif (prompt("Copy filename to clipboard, press enter, paste into validator form", fileloc) != null) {ntttttheFrame.document.location = "http://validator.w3.org/file-upload.html";nttt}ntt} else {nttttheFrame.location = "http://validator.w3.org/check?uri=" + escape(win.document.location.href);ntt}nt}n}n//====== Feed ======nfunction feed() {ntif (useMyUrl.checked)ntttheFrame.location="http://feeds.archive.org/validator/check.cgi?url=" +theUrl.value;ntelsentttheFrame.location = "http://feeds.archive.org/validator/check.cgi?url=" + escape(win.document.location.href);n}n//====== Wheelzoom Image ======nvar oImage;nvar zoomImage=true;nfunction doImageEvent(allImages) {ntif (zoomImage) {nttif (allImages != null) {ntttfor (var i=0; i < allImages.length; i++) {nttttallImages[i].count = 10;nttttallImages[i].attachEvent('onmousewheel',enableMouseWheel);nttt}ntt}nt} else {nttif (allImages != null) {ntttfor (var i=0; i < allImages.length; i++) {nttttallImages[i].detachEvent('onmousewheel',enableMouseWheel);nttttallImages[i].style.zoom = '100%';nttt}ntt}nt}n}nfunction enableMouseWheel() {ntvar myEvent = event;ntvar frms=document.frames;ntif (event!=null) oImage = event.srcElement;ntelse if (frms!=null) {nttfor (var k=0; k< frms.length; k++) {ntttif (frms[k].event!=null) {nttttoImage = frms[k].event.srcElement;nttttmyEvent = frms[k].event;nttt}ntt}nt}ntoImage.count = Counting(myEvent,oImage.count);ntdoResize(oImage.count);ntreturn false;n}nfunction Counting(event,count) {ntif (event.wheelDelta >= 120)nttcount++;ntelse if (event.wheelDelta <= -120)nttcount--;ntif (count<1) count=1;ntif (event.ctrlKey) count = 10;ntreturn count;n}nfunction doResize(count) {ntoImage.style.zoom = count + '0%';n}nfunction wheelzoomImage() {ntdoImageEvent(getAllimages(document));ntvar frms=document.frames;ntif (frms!=null) {nttfor (var j=0; j<frms.length; j++) {nttttry{nttttdoc_frame=frms[j].document;nttttdoImageEvent(getAllimages(doc_frame));nttt} catch(e) {continue;};ntt}nt}n}n</script>n<!-- 资源 End -->n</head>n<body style="overflow-y:hidden;overflow-x:hidden">n<div class="tab-pane" id="tabPane1">n<script>ntp1=new WebFXTabPane(document.getElementById("tabPane1"));n</script>n<!-- Tab 网页属性 -->nt<div class="tab-page" id="tabPage1">ntt<h2 class="tab">属性</h2>ntt<script>tp1.addTabPage(document.getElementById("tabPage1"));</script>ntt<div id="pageMap" style="width:expression(document.body.offsetWidth-50);word-wrap: break-word"></div>nt</div>n<!-- Tab 框架结构 -->nt<div class="tab-page" id="tabPage2">ntt<h2 class="tab">框架</h2>ntt<script>tp1.addTabPage(document.getElementById("tabPage2"));</script>ntt<div id="framesMap" style="width:expression(document.body.offsetWidth-50);word-wrap: break-word"></div>nt</div>n<!-- Tab 网页源码 -->nt<div class="tab-page" id="tabPage3">ntt<h2 class="tab">源码</h2>ntt<script>tp1.addTabPage(document.getElementById("tabPage3"));</script>ntt<table><tr><td nowrap><input class="btn" onclick="srcText.focus();document.execCommand('SelectAll')" type=button value="全选"><input class="btn" onclick="srcText.focus();document.execCommand('Cut')" type=button value="剪切"><input class="btn" onclick="srcText.focus();document.execCommand('Copy')" type=button value="复制"><input class="btn" onclick="srcText.focus();document.execCommand('Paste')" type=button value="粘贴"><input class="btn" onclick="srcText.innerHTML=srcText.innerHTML.toUpperCase()" type=button value="大写"><input class="btn" onclick="srcText.innerHTML=srcText.innerHTML.toLowerCase()" type=button value="小写"><input class="btn" onclick="srcText.innerHTML=escape(srcText.innerHTML)" type=button value="Ascii"><input class="btn" onclick="srcText.innerHTML=unescape(srcText.innerHTML)" type=button value=UnAscii><input type=button class=btn value="预览" onclick="pwin=window.open('','_blank');pwin.document.write(srcText.outerText)"><input class="btn" onclick="javascript:navigate('view-source:'+document.location);" type=button value="用记事本查看源代码"></td></tr></table>ntt<div id="srcMap" style="width:expression(document.body.offsetWidth-50);height:expression(document.body.offsetHeight-115);overflow:auto;"></div>nt</div>n<!-- Tab 图像资源 -->nt<div class="tab-page" id="tabPage4">ntt<h2 class="tab">图像</h2>ntt<script>tp1.addTabPage(document.getElementById("tabPage4"));</script>ntt<table class="xpTable" cellspacing=0 cellPadding=0 borderStyle=0 style="width:expression(document.body.offsetWidth-50);word-break:break-all"><tr align=center><td width=3%><input id=checkallimg type=checkbox onclick="chkAllImg()" value="ON" title="全选/不选"></td><td nowrap>共&nbsp;<b><span id=imgCount></span></b>&nbsp;个</td><td nowrap>图像类型:ntt<input type=radio name=R1 checked onclick="ShowImg('所有图片','*')" id=C1><label for='C1'>所有图片</label><input type=radio name=R1 onclick="ShowImg('GIF图片','gif')" id=C2><label for='C2'>GIF图片</label><input type=radio name=R1 onclick="ShowImg('JPG图片','jpg')" id=C3><label for='C3'>JPG图片</label><input type=radio name=R1 onclick="ShowImg('BMP图片','bmp')" id=C4><label for='C4'>BMP图片</label><input type=radio name=R1 onclick="ShowImg('PNG图片','png')" id=C5><label for='C5'>PNG图片</label><input type=radio name=R1 onclick="ShowImg('背景图片','【背景图片】')" id=C6><label for='C6'>背景图片</label></td><td>&nbsp;&nbsp;&nbsp;<INPUT class="btn" TYPE="Button" name="btnDs" onclick="downselImg()" value="下载所选" onmouseover="title=dwToolTitle(dwTool)"></td><td>&nbsp;&nbsp;&nbsp;<INPUT class="btn" TYPE="Button" title="更多:n1.Ctrl+滚轮将恢复单个图像为原始大小n2.再击一次按钮将取消滚轮缩放并恢复所有图像为原始大小。" value="鼠标滚轮缩放图像" onclick="wheelzoomImage();zoomImage=(zoomImage)?false:true"></td></tr></table>ntt<div class="mdiv" id=ImgMap style="width:expression(document.body.offsetWidth-50);height:expression(document.body.offsetHeight-110);overflow:auto;"></div>nt</div>n<!-- Tab Flash -->nt<div class="tab-page" id="tabPage5">ntt<h2 class="tab">Flash</h2>ntt<script>tp1.addTabPage(document.getElementById("tabPage5"));</script>ntt<table width=100% height=100% border="0" cellpadding="0" cellspacing="0">nttt<tr>ntttt<td colspan="2" height="10">ntttt<label for='FC1'><B>浏览</B>: 左击序号即可浏览Flash文件;左击链接则在新窗口打开(请先确认ActiveX和Flash已被允许)。 </label>nttt</td>nttt</tr>nttt<tr>ntttt<td colspan="2" height="10">ntttt<label for='FC3'><B>过滤</B>: GreenBrowser使用鼠标左键拖曳链接通过弹出菜单将Flash地址添加到过滤列表。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MyIE2使用鼠标右键弹出菜单将Flash地址添加到广告猎手。</label>nttt</td>nttt</tr>nttt<tr>ntttt<td colspan="2" height="10">ntttt<label for='FC2' id="FCL2"><B>保存</B>: 勾选需下载项目。默认使用"+MydwTool+"下载。</label>&nbsp;&nbsp;&nbsp;&nbsp;<INPUT class="btn" TYPE="Button" name="btnDs" onclick="downselFlash()" value="下载所选" onmouseover="title=dwToolTitle(dwTool)">nttt</td>nttt</tr>nttt<tr width=40% height="100%">ntttt<td valign="top"><BR>ntttt<fieldset>ntttt<legend><b>文件列表</b></legend>ntttt<div id="flashFiles"></div>ntttt</fieldset>ntttt</td>ntttt<td width="100%"><div id=FlashMap align="center"></div></td>nttt</tr>ntt</table>nt</div>n<!-- Tab 链接 -->nt<div class="tab-page" id="tabPage6">ntt<h2 class="tab">链接</h2>tt<script>tp1.addTabPage(document.getElementById("tabPage6"));</script>ntt<table class="xpTable" cellspacing=0 cellPadding=0 borderStyle=0 style="width:expression(document.body.offsetWidth-50);word-break:break-all"><tr align=center><td width=3%><input id=checkall type=checkbox onclick="chkAll()" value="ON" title="全选/不选"></td><td nowrap>共&nbsp;<b><span id=linkCount></span></b>&nbsp;个</td><td nowrap><p align="center">&nbsp;信息包含&nbsp;<input type="text" name="filter3" size="20" style="width:80"><INPUT class="btn" TYPE="Button" onclick="reset(3);filter(filter3.value,0)" value="过滤" name="btnApp2"></td><td nowrap>&nbsp;地址包含&nbsp;<input type="text" name="filter2" size="20" style="width:80"><INPUT class="btn" TYPE="Button" onclick="reset(2);filter(filter2.value,1)" value="过滤" name="btnApp1"></td><td nowrap>&nbsp;网络协议&nbsp;ntt<select size="1" name="filter1" onchange="reset(1);filter(this.value,1)">nttt<option value="All">全部</option>nttt<option value="file:">file:</option>nttt<option value="ftp:">ftp:</option>nttt<option value="http:">http:</option>nttt<option value="https:">https:</option>nttt<option value="javascript:">javascript:</option>nttt<option value="mms[t]?:">mms:;mmst:</option>nttt<option value="mailto:">mailto:</option>nttt<option value="pnm:">pnm:</option>nttt<option value="rtsp:">rtsp:</option>ntt</select></td><td nowrap>&nbsp;文件类型&nbsp;ntt<select name="filter4" onChange="reset(4);filter(this.value,1)">nttt<option value="All">全部</option>nttt<option value="\.(bmp|gif|jpg|jpeg|png)">图片</option>nttt<option value="\.(asf|asx|avi|mid|mov|mp3|mpg|ram|rm|rmvb|smi|wav|wma|wmv)">媒体</option>nttt<option value="\.as[fx]">.asf,.asx</option>nttt<option value="\.asp">.asp</option>nttt<option value="\.avi">.avi</option>nttt<option value="\.bmp">.bmp</option>nttt<option value="cgi">cgi</option>nttt<option value="\.exe">.exe</option>nttt<option value="\.gif">.gif</option>nttt<option value="\.htm[l]?">.htm;.html</option>nttt<option value="\.jp[e]?g">.jpg;.jpeg</option>nttt<option value="\.js">.js</option>nttt<option value="\.mid">.mid</option>nttt<option value="\.mov">.mov</option>nttt<option value="\.mp3">.mp3</option>nttt<option value="\.mpg">.mpg</option>nttt<option value="\.php">.php</option>nttt<option value="\.png">.png</option>nttt<option value="\.ram">.ram</option>nttt<option value="\.rar">.rar</option>nttt<option value="\.rm(vb)?">.rm;.rmvb</option>nttt<option value="\.smi">.smi</option>nttt<option value="\.vbs">.vbs</option>nttt<option value="\.wav">.wav</option>nttt<option value="\.wm[av]">.wma;.wmv</option>nttt<option value="\.zip">.zip</option>ntt</select></td><td nowrap>&nbsp;元素标签&nbsp;ntt<select size="1" name="filter5" onchange="reset(5);filter(this.value,2)">nttt<option value="All">全部</option>nttt<option value="^A$">A</option>nttt<option value="^AREA$">AREA</option>nttt<option value="^BASE$">BASE</option>nttt<option value="^BGSOUND$">BGSOUND</option>nttt<option value="^EMBED$">EMBED</option>nttt<option value="^FORM$">FORM</option>nttt<option value="^FRAME$">FRAME</option>nttt<option value="^IFRAME$">IFRAME</option>nttt<option value="^IMG$">IMG</option>nttt<option value="^INPUT$">INPUT</option>nttt<option value="^LINK$">LINK</option>nttt<option value="^MARQUEE$">MARQUEE</option>nttt<option value="^OBJECT$">OBJECT</option>nttt<option value="^SCRIPT$">SCRIPT</option>ntt</select></td></tr></table>ntt<div class="mdiv" id=tabDiv style="width:expression(document.body.offsetWidth-50);height:expression(document.body.offsetHeight-145);overflow:auto;">ntt</div><br>ntt<div align="center">ntt<INPUT class="btn" TYPE="Button" name="btnOpen" onclick="opensel()" value="打开所选">&nbsp;<INPUT class="btn" TYPE="Button" name="btnDs" onclick="downsel()" value="下载所选" onmouseover="title=dwToolTitle(dwTool)"></div>nt</div>n<!-- Tab CSS-->nt<div class="tab-page" id="tabPage7">ntt<h2 class="tab" title="需要允许ADODB.Stream来正确显示CSS。">CSS</h2>ntt<script>tp1.addTabPage(document.getElementById("tabPage7"));</script>ntt<input class=btn type=button title="应用语法高亮,请在CSS代码显示的状态下使用\n否则没有作用" value=" 应用语法高亮 " onclick="SyntaxCss();">ntt<div class="mdiv" id=CssMap style="width:expression(document.body.offsetWidth-50);height:expression(document.body.offsetHeight-110);overflow:auto;">ntt</div>nt</div>n<!-- Tab 脚本-->nt<div class="tab-page" id="tabPage8">ntt<h2 class="tab" title="需要允许ADODB.Stream来正确显示脚本。">脚本</h2>ntt<script>tp1.addTabPage(document.getElementById("tabPage8"));</script>ntt<input class=btn type=button title="应用Javascript语法高亮,请在脚本代码显示的状态下使用\n否则没有作用" value=" JS语法高亮 " onclick="SyntaxJs();">ntt<div class="mdiv" id=JsMap style="width:expression(document.body.offsetWidth-50);height:expression(document.body.offsetHeight-110);overflow:auto;">ntt</div>nt</div>n<!-- Tab 媒体资源 -->nt<div class="tab-page" id="tabPage9">ntt<h2 class="tab">媒体</h2>ntt<script>tp1.addTabPage(document.getElementById("tabPage9"));</script>ntt<table class="xpTable" cellspacing=0 cellPadding=0 borderStyle=0 style="width:expression(document.body.offsetWidth-50);word-break:break-all"><tr align=center><td width=5%><input id=checkallmed type=checkbox onclick="chkAllMed()" title="全选/不选" value="ON"></td><td>共<b><span id=medCount></span></b>&nbsp;个</td><td>媒体类型&nbsp;<select name="filterMedia" onChange="filterMed(this.value)">nttt<option value="all">全部</option>nttt<option value=".asf">.asf</option>nttt<option value=".asx">.asx</option>nttt<option value=".avi">.avi</option>nttt<option value=".mp3">.mp3</option>nttt<option value=".mpg">.mpg</option>nttt<option value=".mid">.mid</option>nttt<option value=".rm">.rm;.rmvb</option>nttt<option value=".ram">.ram</option>nttt<option value=".smi">.smi</option>nttt<option value=".wav">.wav</option>nttt<option value=".wma">.wma</option>nttt<option value=".wmv">.wmv</option>ntt</select></td><td>ntt<INPUT class="btn" TYPE="Button" name="btnDsm" onclick="downselMed()" value="下载所选媒体"></td><td width=40%></td></tr>ntt</table>ntt<div class="mdiv" id="medDiv" style="width:expression(document.body.offsetWidth-50);height:expression(document.body.offsetHeight-110);overflow:auto;">ntt</div>nt</div>n<!-- Tab W3C & Whois-->nt<div class="tab-page" id="tabPage10">ntt<h2 class="tab">验证</h2>ntt<script>tp1.addTabPage(document.getElementById("tabPage10"));</script>ntt<input type="checkbox" id="useMyUrl" value="ON" onchange="theUrl.disabled=!this.checked"><label for="useMyUrl">自定义地址</label>&nbsp;<input type="text" size="50" id="theUrl" value="http://"disabled>ntt<input class=btn type=button title="W3C 验证" value="W3C 验证" onclick="w3c()">&nbsp;<input class=btn type=button title="查看域名信息" value="查看域名信息" onclick="whois()">&nbsp;<input class=btn type=button title="新闻聚合(Feed)验证" value="新闻聚合(Feed)验证" onclick="feed()">ntt<iframe class=mdiv name="theFrame" id="theFrame" style="width:expression(document.body.offsetWidth-50);height:expression(document.body.offsetHeight-110);">ntt</iframe>nt</div>n<!-- Tab 选项 -->nt<div class="tab-page" id="tabPage11">ntt<h2 class="tab">选项</h2>n<script>tp1.addTabPage(document.getElementById("tabPage11"));</script>ntt<B>下载工具:</B>ntt<SELECT NAME="downTools" id="downTools">nttt<option value="FlashGet">FlashGet</option>nttt<option value="NetTransport">Net Transport</option>nttt<option value="NetAnts">NetAnts</option>nttt<option value="DownloadExpress">Download Express</option>nttt<option value="ReGet">ReGet</option>nttt<option value="HiDownload">HiDownload</option>nttt<option value="Intertnet Download Accelerator">Intertnet Download Accelerator</option>nttt<option value="Mass Downloader">Mass Downloader</option>nttt<option value="Star Downloader">Star Downloader</option>nttt<option value="Download Master">Download Master</option>nttt<option value="DLExpert">DLExpert</option>nttt<option value="LeechGet">LeechGet</option>nttt<option value="DAP">DAP</option>ntt</SELECT><INPUT TYPE="button" NAME="btndown" onclick="dwTool=downTools.value;" class=btn value="设定  " title="默认:";
  57. page+=MydwTool;
  58. page+="">nt</div>n</div>n<script>n//<![CDATA[ntsetupAllTabs();ntdownTools.value=dwTool;ntFCL2.innerHTML='<B>保存</B>: 默认使用&nbsp;"+MydwTool+"&nbsp;下载。';nvar act2=false,act3=false,act4=false,act5=false,act6=false,act7=false,act8=false,act9=false;npageMap.innerHTML=showBase(win.document);n//以下函数用于第一次点击某个标签时,启用该标签中的分析功能,第二次就不再重新分析n//作用:对单个用户来讲,所有标签不可能全部用到,这样就可以不去分析用户不希望得到的页面信息n//同时也能提高插件启动的速度nfunction c1() {return false}nfunction c2() {ntif (!act2) {nttwindow.status='正在分析框架结构。。。';nttfxframe(win.document);nttvar frmNo=0;nttfor (var i=0; i<FA.length; i++)ntttif (FA[i][1]=="布局框架") frmNo++;nttvar ifrmNo=FA.length-frmNo;nttfrm_summary="共&nbsp;<B>"+FA.length+"</B>&nbsp;个框架&nbsp;&nbsp;&mdash;&mdash;&nbsp;&nbsp;布局框架&nbsp;<B>"+frmNo+"</B>&nbsp;个,内嵌框架&nbsp;<B>"+ifrmNo+"</B>&nbsp;个";nttframesMap.innerHTML="<div class=fdiv style=\"height:expression(document.body.offsetHeight-80);overflow:auto;\"><table bgcolor=\"#66CCFF\"><tr><td><b>树形结构:</b>"+frm_summary+"</td></tr></table><br>"+fStr+"<br><br><table bgcolor=\"##66CCFF\"><tr><td><b>图形结构:</b>"+frm_summary+"</td></tr></table><br>"+S9+"</div>";nttact2=true;nttwindow.status='';nt}n}nfunction c3() {ntif (!act3) {nttwindow.status='正在载入源码。。。';nttsrcMap.innerHTML=Source();nttact3=true;nttsortTableImage();nttwindow.status='';nt}n}nfunction c4() {ntif (!act4) {nttwindow.status='正在载入图片列表。。。';nttShowImg('所有图片','*');nttact4=true;nttwindow.status='';nt}n}nfunction c5() {ntif (!act5) {nttwindow.status='正在载入Flash列表。。。';nttframe_split(win.document);nttflashFiles.innerHTML=writeFlashItem();nttact5=true;nttsortTableFlash();nttwindow.status='';nt}n}nfunction c6() {ntif (!act6) {nttwindow.status='正在载入链接列表。。。';nttframe_Link(win.document);nttfilter('',1);nttact6=true;nttsortTableLink();nttwindow.status='';nt}n}nfunction c7() {ntif (!act7) {nttwindow.status='正在获取 CSS 。。。';nttloadCss(win.document);nttCssMap.innerHTML=cssStr;nttact7=true;nttwindow.status='';nt}n}nfunction c8() {ntif (!act8) {nttwindow.status='正在获取脚本。。。';nttloadJs(win.document);nttJsMap.innerHTML=jsStr;nttact8=true;nttwindow.status='';nt}n}nfunction c9() {ntif (!act9) {nttwindow.status='正在获取媒体资源。。。';nttif (!act6)ntttframe_Link(win.document);nttframe_Media(win.document)nttwriteMediaItem('all')nttact9=true;nttsortTableMedia();nttwindow.status='';nt}n}nfunction c10() {return false;}nfunction c11() {return false;}nvar stb1,stb2,stb3,stb4;nfunction sortTableLink() {ntstb1 = new SortableTable(document.getElementById("tableLink"),nt["None","Number","String","String","String"]);n}nfunction sortTableImage() {n  tstb2 = new SortableTable(document.getElementById("tableImg"),nt["None","Number","String","String","Number","Number","Number"]);n}nfunction sortTableMedia() {nttstb3 = new SortableTable(document.getElementById("tableMedia"),nt["None","Number","String","String"]);n}nfunction sortTableFlash() {n  tstb3 = new SortableTable(document.getElementById("tableFlash"),nt["None","Number","String"]);n}n//]]>n</script>n</body>n</html>";
  59. var w=window.open("","_blank");
  60. w.document.write(page);
  61. eval();