1var useragent = navigator.userAgent; 2if (useragent.indexOf('iPhone') != -1 || useragent.indexOf('iPad') != -1 || useragent.indexOf('Android') != -1) { 3 //ç§»å¨è®¾å¤ 4 var wurl = window.location.href; 5 if(wurl == "http://new.samr.gov.cn/" || wurl == "http://new.samr.gov.cn/index.html"){ 6 window.location.href = "/wap/index.html"; 7 } 8} else { 9 //çµèå¹³å° 10 11} 12 13 14$("body").attr("id","page_type"); 15$("body").attr("alt","综å页"); 16 17document.writeln('<script id="barrierfree" src="/accessiblereading/load.js"></script>'); 18 19 20 21document.writeln("<!-- å ¬ç¨å¤´é¨ -->"); 22 23document.writeln("<div class=\"saictop\">"); 24document.writeln(" <div class=\"saictopbox\" style=\"position:relative;\">"); 25 26document.writeln(""); 27document.writeln(" <div class=\"saictime\" id=\"divT\"></div>"); 28document.writeln(" <div class=\"saictopright\">"); 29document.writeln(" <ul>"); 30document.writeln(" <li class=\"saictopright01\"><img src=\"/cms_files/filemanager/1647978232/picture/20238/73eabe69341d4a8492188cecb0d3cadb.png\" /><a href=\"/wzpz/gfwx/index.html\" >宿¹å¾®ä¿¡</a></li>"); 31document.writeln(" <li class=\"saictopright01\" style=\"padding-left:0px;\">|</li>"); 32document.writeln(" <li class=\"saictopright01\"><img src=\"/cms_files/filemanager/1647978232/picture/20238/65ca425437af496a89d218942eaa4318.png\" /><a href=\"https://weibo.com/u/6535805862\" target=\"_blank\">宿¹å¾®å</a></li>"); 33document.writeln(" <li class=\"saictopright01\" style=\"padding-left:0px;\">|</li>"); 34document.writeln(" <li class=\"saictopright01 fenx\"><img src=\"/cms_files/filemanager/1647978232/picture/20238/12cfdc4d99144f3cb59b232c81967a15.jpg\" /><a href=\"\">å享</a>"); 35document.writeln(" <div class=\"share topshare\" style=\"position:absolute;right:-2px;top:25px;display:none;z-index:99;padding-top:10px;\">"); 36document.writeln(" <div class=\"mainShareDiv_24\" style=\"background:none; width:125px;\">"); 37document.writeln(" <div id=\"gwdShare_con_1\">"); 38document.writeln(" <div id=\"gwdshare\" class=\"gwdshare_t gwds_tools_24 get-codes-gwdshare sharemore1\">"); 39document.writeln(" <a class=\"gwds_weixin\" style=\"margin:-1px 3px 0px 3px; background:url(/cms_files/filemanager/1647978232/picture/20238/4e1924aee2a14a3c93d3b9cde2b1e670.png) no-repeat; background-position:2px 5px !important\" title=\"微信\" href=\"javascript:void(0);\"> </a>"); 40document.writeln(" <a class=\"gwds_tsina\" style=\"margin:-1px 3px 0px 3px; background:url(/cms_files/filemanager/1647978232/picture/20238/4507398eb143431aa4a75406f70feba2.png) no-repeat; background-position:2px 5px !important\" title=\"æ°æµªå¾®å\" href=\"javascript:void(0);\"> </a>"); 41document.writeln(" </div>"); 42document.writeln(" </div>"); 43document.writeln(" </div>"); 44document.writeln(" </div>"); 45document.writeln(" </li>"); 46if(window.location.pathname == "/index.html" || window.location.pathname == "/" ){ 47document.writeln(" <li class=\"saictopright01\" style=\"padding-left:0px;\">|</li>"); 48document.writeln(" <li class=\"saictopright01 dlzcxx\" style=\"padding-left:0px;\"><a href=\"javascript:void(0);\" class=\"sydlazc\">ç»å½æ³¨å</a></li>"); 49} 50if(window.location.pathname == "/index.html" || window.location.pathname == "/" ){ 51document.writeln(" <li class=\"saictopright01\" style=\"padding-left:0px;\">|</li>"); 52document.writeln(" <li class=\"saictopright01\" style=\"padding-left:0px;\"><a href=\"javascript:void(0);\" class=\"yhspace\">ç¨æ·ç©ºé´</a></li>"); 53} 54document.writeln(" <li class=\"saictopright01\" style=\"padding-left:0px;\">|</li>"); 55document.writeln(" <li class=\"saictopright01\" style=\"padding-left:0px;\"><a href=\"javascript:;\" onclick=\"toggleToolBar()\">æ éç¢æµè§</a></li>"); 56 57document.writeln("<li class=\'saictopright01\' style=\'padding-left:0px;\'>|</li>"); 58document.writeln("<li class=\'saictopright01\' style=\'padding-left:0px;\'>"); 59document.writeln(" <a href=\'https://english.samr.gov.cn\' target=\'_blank\'><img src=\'/cms_files/filemanager/1647978232/picture/20254/2e892adc9e1a4fcabd29231bf093a6fe.png\' /></a>"); 60document.writeln(" <a href=\'https://english.samr.gov.cn\' target=\'_blank\' style=\'left:20p;position:absolute;
60left:20px;\'>En</a>"); 61document.writeln("</li>"); 62 63document.writeln(" </ul>"); 64document.writeln(" <div class=\"dw\"></div>"); 65document.writeln(" </div>"); 66document.writeln(" <div class=\"dw\"></div>"); 67document.writeln(" </div>"); 68document.writeln(" <div class=\"dw\"></div>"); 69document.writeln("</div>"); 70 71var unewUrl=window.location.href; 72 73 74 75if(window.location.pathname == "/index.html" || window.location.pathname == "/" ){ 76 //ç»å½ç¶æ 77 document.writeln("<iframe id=\"myspace\" onload=\"myspaceFrame()\" style=\"visibility:hidden;display:none;\" marginwidth=\"0\" marginheight=\"0\" src=\"//login.samr.gov.cn/tacs-uc/login/index?backUrl=https://gzhd.samr.gov.cn:7443/islogin.html\" width=\"0\" height=\"0\" frameborder=\"0\"></iframe>"); 78 79 function myspaceFrame() { 80 //var data2Url="https://gzhd.samr.gov.cn:7443/getUserInfo.jsp?_="+Math.round(new Date().getTime()); 81 var data2Url = "https://gzhd.samr.gov.cn:7443/getSession.jsp?callback=?"; 82 $.getJSON(data2Url,function(data2){ 83 var uname = data2.uname; 84 console.log(uname) 85 if(typeof(uname)=="undefined"){ 86 var baseUrl = '//login.samr.gov.cn/tacs-uc/login/index?backUrl='; 87 $(".sydlazc").click(function(){ 88 window.location = baseUrl+unewUrl; 89 }); 90 }else{ 91 $(".dlzcxx").html("æ¨å¥½ï¼"+uname+" | <a style=\"color:#333;\" href=\"javascript:logout()\">éåº</a>"); 92 } 93 $(".yhspace").click(function(){ 94 window.open("//login.samr.gov.cn/tacs-uc/login/index?backUrl=https://gzhd.samr.gov.cn:7443/myspace.html"); 95 }); 96 }); 97 } 98 99 100 101 function logout(){ 102 window.location = "//login.samr.gov.cn/tacs-uc/login/logout?backUrl=//www.samr.gov.cn/" 103 $.getJSON("https://gzhd.samr.gov.cn:7443/logOut.jsp?callback=?"); 104 } 105 106} 107 108 109//é¦é¡µæ¶é´ 110function getCurDate(){ 111 var d = new Date(); 112 var week; 113 switch (d.getDay()){ 114 case 1: week="ææä¸"; break; 115 case 2: week="ææäº"; break; 116 case 3: week="ææä¸"; break; 117 case 4: week="ææå"; break; 118 case 5: week="ææäº"; break; 119 case 6: week="ææå "; break; 120 default: week="ææå¤©"; 121 } 122 var years = d.getFullYear(); 123 var month = add_zero(d.getMonth()+1); 124 var days = add_zero(d.getDate()); 125 var hours = add_zero(d.getHours()); 126 var minutes = add_zero(d.getMinutes()); 127 var seconds=add_zero(d.getSeconds()); 128 var ndate = years+"å¹´"+month+"æ"+days+"æ¥ "+week; 129 //divT.innerHTML= ndate; 130 $("#divT").html(ndate); 131} 132function add_zero(temp){ 133 if(temp<10) return "0"+temp; 134 else return temp; 135} 136 137 138$(function(){ 139 140 getCurDate(); 141 142 //头é¨åäº«ææ 143 $(".fenx").hover(function(){ 144 $(".topshare").show(); 145 },function(){ 146 $(".topshare").hide(); 147 }); 148 149 $(".topshare").hover(function(){ 150 $(".topshare").show(); 151 },function(){ 152 $(".topshare").hide(); 153 }); 154 155 $(".sharemore1 a").click(function(){ 156 $(".topshare").hide(); 157 }); 158 159 160 var documentTitle=document.title; 161 var weixin_share='https://www.samr.gov.cn/share/index.html?url=' + unewUrl; 162 var sina_share='http://service.weibo.com/share/share.php?url=' + unewUrl+ "&title=" + documentTitle; 163 $(".gwds_weixin").click(function(){ 164 window.open(weixin_share); 165 }); 166 $(".gwds_tsina").click(function(){ 167 window.open(sina_share); 168 }); 169 170}) 171 172 173document.writeln("<style>"); 174document.writeln("/*******顶鍿¡*******/"); 175document.writeln(".saictime{float:left;padding-left:20px;width:200px;height:30px;background:url(/cms_files/filemanager/1647978232/picture/20238/0a8b366f207d4a9fabc6595dbd8f39c3.png) no-repeat 0;color:#003182;font-size:12px;line-height:30px;}"); 176document.writeln(".dw{clear:both;}"); 177document.writeln(".saictop{width:100%;height:30px;border-bottom:1px solid #ccc;background:#fff;line-height:30px;}"); 178document.writeln(".saictopbox{width:1013px;margin:0 auto;}"); 179document.writeln(".saictopright{float:right;}"); 180document.writeln(".saictopright01,.saictopright02{position:relative;float:left;padding-right:12px;padding-left:20px;height:30px;color:#003182;font-size:12px;line-height:30px;}"); 181document.writeln(".saictopright01 a{color:#003182;}"); 182document.writeln(".saictopright02{padding-right:0;padding-left:0;color:#f0da4c;}"); 183document.writeln(".saictopright02 a{color:#f0da4c;}"); 184document.writeln(".saictopright01 img{position:absolute;top:8px;left:0;}"); 185document.writeln("</style>");
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.